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

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",
  [sym_regex] = "regex",
  [ts_builtin_sym_end] = "END",
  [anon_sym_for] = "for",
  [anon_sym_in] = "in",
  [anon_sym_LPAREN_LPAREN] = "((",
  [anon_sym_RPAREN_RPAREN] = "))",
  [anon_sym_SEMI] = ";",
  [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] = "!=",
  [anon_sym_PLUS] = "+",
  [anon_sym_DASH] = "-",
  [anon_sym_DASH_EQ] = "-=",
  [anon_sym_LT_EQ] = "<=",
  [anon_sym_GT_EQ] = ">=",
  [anon_sym_PLUS_PLUS] = "++",
  [anon_sym_DASH_DASH] = "--",
  [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_DOLLAR_LPAREN] = "$(",
  [anon_sym_BQUOTE] = "`",
  [anon_sym_LT_LPAREN] = "<(",
  [anon_sym_GT_LPAREN] = ">(",
  [sym_comment] = "comment",
  [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = "variable_name",
  [anon_sym_STAR] = "special_variable_name",
  [anon_sym_AT] = "special_variable_name",
  [anon_sym_QMARK] = "special_variable_name",
  [anon_sym_0] = "special_variable_name",
  [anon_sym__] = "special_variable_name",
  [sym_word] = "word",
  [sym_test_operator] = "test_operator",
  [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] = "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_postfix_expression] = "postfix_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_special_variable_name] = "special_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,
  },
  [sym_regex] = {
    .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_SEMI] = {
    .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,
  },
  [anon_sym_PLUS] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_LT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_GT_EQ] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_PLUS_PLUS] = {
    .visible = true,
    .named = false,
  },
  [anon_sym_DASH_DASH] = {
    .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_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 = true,
    .named = true,
  },
  [anon_sym_STAR] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_AT] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_QMARK] = {
    .visible = true,
    .named = true,
  },
  [anon_sym_0] = {
    .visible = true,
    .named = true,
  },
  [anon_sym__] = {
    .visible = true,
    .named = true,
  },
  [sym_word] = {
    .visible = true,
    .named = true,
  },
  [sym_test_operator] = {
    .visible = true,
    .named = true,
  },
  [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_postfix_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_special_variable_name] = {
    .visible = true,
    .named = true,
  },
  [alias_sym_word] = {
    .visible = true,
    .named = true,
  },
};

static TSSymbol ts_alias_sequences[8][MAX_ALIAS_SEQUENCE_LENGTH] = {
  [1] = {
    [0] = alias_sym_word,
  },
  [2] = {
    [1] = alias_sym_word,
  },
  [3] = {
    [1] = alias_sym_special_variable_name,
  },
  [4] = {
    [2] = alias_sym_word,
  },
  [5] = {
    [2] = alias_sym_special_variable_name,
  },
  [6] = {
    [3] = alias_sym_word,
  },
  [7] = {
    [4] = alias_sym_word,
  },
};

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(20);
      if (lookahead == '*')
        ADVANCE(21);
      if (lookahead == '+')
        ADVANCE(22);
      if (lookahead == '-')
        ADVANCE(25);
      if (lookahead == '/')
        ADVANCE(29);
      if (lookahead == '0')
        ADVANCE(30);
      if (lookahead == ':')
        ADVANCE(31);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(36);
      if (lookahead == '=')
        ADVANCE(43);
      if (lookahead == '>')
        ADVANCE(46);
      if (lookahead == '?')
        ADVANCE(51);
      if (lookahead == '@')
        ADVANCE(52);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(55);
      if (lookahead == ']')
        ADVANCE(56);
      if (lookahead == '_')
        ADVANCE(58);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == 'i')
        ADVANCE(64);
      if (lookahead == '{')
        ADVANCE(66);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(70);
      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);
      if (lookahead == '(')
        ADVANCE(19);
      END_STATE();
    case 19:
      ACCEPT_TOKEN(anon_sym_LPAREN_LPAREN);
      END_STATE();
    case 20:
      ACCEPT_TOKEN(anon_sym_RPAREN);
      END_STATE();
    case 21:
      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 22:
      ACCEPT_TOKEN(anon_sym_PLUS);
      if (lookahead == '+')
        ADVANCE(23);
      if (lookahead == '=')
        ADVANCE(24);
      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 23:
      ACCEPT_TOKEN(anon_sym_PLUS_PLUS);
      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_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 25:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-')
        ADVANCE(26);
      if (lookahead == '=')
        ADVANCE(27);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(28);
      if (lookahead != 0 &&
          lookahead != '\t' &&
          lookahead != '\n' &&
          lookahead != '\r' &&
          lookahead != ' ' &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < ';' || lookahead > '>') &&
          (lookahead < 'A' || lookahead > ']') &&
          (lookahead < '`' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 26:
      ACCEPT_TOKEN(anon_sym_DASH_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 27:
      ACCEPT_TOKEN(anon_sym_DASH_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 28:
      ACCEPT_TOKEN(sym_test_operator);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(28);
      END_STATE();
    case 29:
      ACCEPT_TOKEN(anon_sym_SLASH);
      END_STATE();
    case 30:
      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 31:
      ACCEPT_TOKEN(anon_sym_COLON);
      if (lookahead == '-')
        ADVANCE(32);
      if (lookahead == '?')
        ADVANCE(33);
      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 32:
      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 33:
      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 34:
      ACCEPT_TOKEN(anon_sym_SEMI);
      if (lookahead == ';')
        ADVANCE(35);
      END_STATE();
    case 35:
      ACCEPT_TOKEN(anon_sym_SEMI_SEMI);
      END_STATE();
    case 36:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(37);
      if (lookahead == '(')
        ADVANCE(38);
      if (lookahead == '<')
        ADVANCE(39);
      if (lookahead == '=')
        ADVANCE(42);
      END_STATE();
    case 37:
      ACCEPT_TOKEN(anon_sym_LT_AMP);
      END_STATE();
    case 38:
      ACCEPT_TOKEN(anon_sym_LT_LPAREN);
      END_STATE();
    case 39:
      ACCEPT_TOKEN(anon_sym_LT_LT);
      if (lookahead == '-')
        ADVANCE(40);
      if (lookahead == '<')
        ADVANCE(41);
      END_STATE();
    case 40:
      ACCEPT_TOKEN(anon_sym_LT_LT_DASH);
      END_STATE();
    case 41:
      ACCEPT_TOKEN(anon_sym_LT_LT_LT);
      END_STATE();
    case 42:
      ACCEPT_TOKEN(anon_sym_LT_EQ);
      END_STATE();
    case 43:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=')
        ADVANCE(44);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == '~')
        ADVANCE(45);
      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 44:
      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 45:
      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 46:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '&')
        ADVANCE(47);
      if (lookahead == '(')
        ADVANCE(48);
      if (lookahead == '=')
        ADVANCE(49);
      if (lookahead == '>')
        ADVANCE(50);
      END_STATE();
    case 47:
      ACCEPT_TOKEN(anon_sym_GT_AMP);
      END_STATE();
    case 48:
      ACCEPT_TOKEN(anon_sym_GT_LPAREN);
      END_STATE();
    case 49:
      ACCEPT_TOKEN(anon_sym_GT_EQ);
      END_STATE();
    case 50:
      ACCEPT_TOKEN(anon_sym_GT_GT);
      END_STATE();
    case 51:
      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 52:
      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 53:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      if (lookahead == '[')
        ADVANCE(54);
      END_STATE();
    case 54:
      ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK);
      END_STATE();
    case 55:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(0);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 56:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      if (lookahead == ']')
        ADVANCE(57);
      END_STATE();
    case 57:
      ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK);
      END_STATE();
    case 58:
      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 59:
      ACCEPT_TOKEN(anon_sym_BQUOTE);
      END_STATE();
    case 60:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 's')
        ADVANCE(61);
      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 61:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'a')
        ADVANCE(62);
      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 62:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'c')
        ADVANCE(63);
      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 63:
      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 64:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'n')
        ADVANCE(65);
      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 65:
      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 66:
      ACCEPT_TOKEN(anon_sym_LBRACE);
      END_STATE();
    case 67:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '&')
        ADVANCE(68);
      if (lookahead == '|')
        ADVANCE(69);
      END_STATE();
    case 68:
      ACCEPT_TOKEN(anon_sym_PIPE_AMP);
      END_STATE();
    case 69:
      ACCEPT_TOKEN(anon_sym_PIPE_PIPE);
      END_STATE();
    case 70:
      ACCEPT_TOKEN(anon_sym_RBRACE);
      END_STATE();
    case 71:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(76);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(71);
      if ((lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 72:
      ACCEPT_TOKEN(sym_comment);
      if (lookahead != 0 &&
          lookahead != '\n')
        ADVANCE(72);
      END_STATE();
    case 73:
      if (lookahead == '>')
        ADVANCE(14);
      END_STATE();
    case 74:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(37);
      if (lookahead == '(')
        ADVANCE(38);
      END_STATE();
    case 75:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '&')
        ADVANCE(47);
      if (lookahead == '(')
        ADVANCE(48);
      if (lookahead == '>')
        ADVANCE(50);
      END_STATE();
    case 76:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(71);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 77:
      ACCEPT_TOKEN(sym__special_characters);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      END_STATE();
    case 78:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == '+')
        ADVANCE(79);
      if (lookahead == '=')
        ADVANCE(81);
      if (lookahead == '[')
        ADVANCE(82);
      if (lookahead == '\\')
        SKIP(83);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(78);
      END_STATE();
    case 79:
      if (lookahead == '=')
        ADVANCE(80);
      END_STATE();
    case 80:
      ACCEPT_TOKEN(anon_sym_PLUS_EQ);
      END_STATE();
    case 81:
      ACCEPT_TOKEN(anon_sym_EQ);
      END_STATE();
    case 82:
      ACCEPT_TOKEN(anon_sym_LBRACK);
      END_STATE();
    case 83:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(78);
      END_STATE();
    case 84:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '(')
        ADVANCE(85);
      if (lookahead == '\\')
        SKIP(86);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(84);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 85:
      if (lookahead == '(')
        ADVANCE(19);
      END_STATE();
    case 86:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(84);
      END_STATE();
    case 87:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 88:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == '-')
        ADVANCE(90);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(93);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(88);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 89:
      ACCEPT_TOKEN(anon_sym_LPAREN);
      END_STATE();
    case 90:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(28);
      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 91:
      if (lookahead == '(')
        ADVANCE(38);
      END_STATE();
    case 92:
      if (lookahead == '(')
        ADVANCE(48);
      END_STATE();
    case 93:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(88);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 94:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(95);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(94);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 95:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(94);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 96:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(97);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(96);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 97:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(96);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 98:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(100);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(98);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 99:
      ACCEPT_TOKEN(anon_sym_AMP);
      if (lookahead == '&')
        ADVANCE(13);
      END_STATE();
    case 100:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(98);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 101:
      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(101);
      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 102:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(105);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(102);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 103:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(37);
      if (lookahead == '(')
        ADVANCE(38);
      if (lookahead == '<')
        ADVANCE(39);
      END_STATE();
    case 104:
      ACCEPT_TOKEN(sym_word);
      if (lookahead == '=')
        ADVANCE(44);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == '~')
        ADVANCE(45);
      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 105:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(102);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 106:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(107);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\\')
        ADVANCE(111);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(112);
      if (lookahead != 0)
        ADVANCE(108);
      END_STATE();
    case 107:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(108);
      if (lookahead == '\\')
        ADVANCE(110);
      if (lookahead != 0 &&
          lookahead != '\"' &&
          lookahead != '$' &&
          lookahead != '`')
        ADVANCE(107);
      END_STATE();
    case 108:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\\')
        ADVANCE(109);
      if (lookahead != 0 &&
          lookahead != '\"' &&
          lookahead != '$' &&
          lookahead != '`')
        ADVANCE(108);
      END_STATE();
    case 109:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(108);
      if (lookahead == '\\')
        ADVANCE(109);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(108);
      if (lookahead != 0)
        ADVANCE(108);
      END_STATE();
    case 110:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(108);
      if (lookahead == '\\')
        ADVANCE(110);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(107);
      if (lookahead != 0)
        ADVANCE(107);
      END_STATE();
    case 111:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(112);
      if (lookahead == '\\')
        ADVANCE(109);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(112);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(108);
      if (lookahead != 0)
        ADVANCE(108);
      END_STATE();
    case 112:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '#')
        ADVANCE(107);
      if (lookahead == '\\')
        ADVANCE(111);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(112);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          lookahead != '`')
        ADVANCE(108);
      END_STATE();
    case 113:
      if (lookahead == '!')
        ADVANCE(114);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(115);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '*')
        ADVANCE(116);
      if (lookahead == '-')
        ADVANCE(117);
      if (lookahead == '0')
        ADVANCE(118);
      if (lookahead == '?')
        ADVANCE(119);
      if (lookahead == '@')
        ADVANCE(120);
      if (lookahead == '\\')
        SKIP(121);
      if (lookahead == '_')
        ADVANCE(122);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(113);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 114:
      ACCEPT_TOKEN(anon_sym_BANG);
      END_STATE();
    case 115:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      END_STATE();
    case 116:
      ACCEPT_TOKEN(anon_sym_STAR);
      END_STATE();
    case 117:
      ACCEPT_TOKEN(anon_sym_DASH);
      END_STATE();
    case 118:
      ACCEPT_TOKEN(anon_sym_0);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 119:
      ACCEPT_TOKEN(anon_sym_QMARK);
      END_STATE();
    case 120:
      ACCEPT_TOKEN(anon_sym_AT);
      END_STATE();
    case 121:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(113);
      END_STATE();
    case 122:
      ACCEPT_TOKEN(anon_sym__);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 123:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(124);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(123);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 124:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(123);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 125:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '\\')
        SKIP(126);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(125);
      END_STATE();
    case 126:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(125);
      END_STATE();
    case 127:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(128);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(127);
      END_STATE();
    case 128:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(127);
      END_STATE();
    case 129:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(130);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(129);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 130:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(129);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 131:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(132);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(131);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 132:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(131);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 133:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(134);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(133);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 134:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(133);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 135:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(136);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == '-')
        ADVANCE(90);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(137);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(135);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 136:
      ACCEPT_TOKEN(anon_sym_AMP);
      END_STATE();
    case 137:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(135);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 138:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(136);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(139);
      if (lookahead == 'i')
        ADVANCE(140);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(138);
      END_STATE();
    case 139:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(138);
      END_STATE();
    case 140:
      if (lookahead == 'n')
        ADVANCE(141);
      END_STATE();
    case 141:
      ACCEPT_TOKEN(anon_sym_in);
      END_STATE();
    case 142:
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == ')')
        ADVANCE(146);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(159);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(142);
      END_STATE();
    case 143:
      if (lookahead == '=')
        ADVANCE(144);
      END_STATE();
    case 144:
      ACCEPT_TOKEN(anon_sym_BANG_EQ);
      END_STATE();
    case 145:
      if (lookahead == '&')
        ADVANCE(13);
      END_STATE();
    case 146:
      if (lookahead == ')')
        ADVANCE(147);
      END_STATE();
    case 147:
      ACCEPT_TOKEN(anon_sym_RPAREN_RPAREN);
      END_STATE();
    case 148:
      ACCEPT_TOKEN(anon_sym_PLUS);
      if (lookahead == '+')
        ADVANCE(149);
      if (lookahead == '=')
        ADVANCE(80);
      END_STATE();
    case 149:
      ACCEPT_TOKEN(anon_sym_PLUS_PLUS);
      END_STATE();
    case 150:
      ACCEPT_TOKEN(anon_sym_DASH);
      if (lookahead == '-')
        ADVANCE(151);
      if (lookahead == '=')
        ADVANCE(152);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(153);
      END_STATE();
    case 151:
      ACCEPT_TOKEN(anon_sym_DASH_DASH);
      END_STATE();
    case 152:
      ACCEPT_TOKEN(anon_sym_DASH_EQ);
      END_STATE();
    case 153:
      ACCEPT_TOKEN(sym_test_operator);
      if (('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(153);
      END_STATE();
    case 154:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '=')
        ADVANCE(42);
      END_STATE();
    case 155:
      ACCEPT_TOKEN(anon_sym_EQ);
      if (lookahead == '=')
        ADVANCE(156);
      if (lookahead == '~')
        ADVANCE(157);
      END_STATE();
    case 156:
      ACCEPT_TOKEN(anon_sym_EQ_EQ);
      END_STATE();
    case 157:
      ACCEPT_TOKEN(anon_sym_EQ_TILDE);
      END_STATE();
    case 158:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '=')
        ADVANCE(49);
      END_STATE();
    case 159:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(142);
      END_STATE();
    case 160:
      if (lookahead == '|')
        ADVANCE(69);
      END_STATE();
    case 161:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == '\\')
        SKIP(162);
      if (lookahead == '{')
        ADVANCE(66);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(161);
      END_STATE();
    case 162:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(161);
      END_STATE();
    case 163:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(164);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(163);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 164:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(163);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 165:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(166);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(165);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 166:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(165);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 167:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(168);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(167);
      if ((lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 168:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(167);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 169:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(170);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(169);
      END_STATE();
    case 170:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(169);
      END_STATE();
    case 171:
      if (lookahead == 's')
        ADVANCE(172);
      END_STATE();
    case 172:
      if (lookahead == 'a')
        ADVANCE(173);
      END_STATE();
    case 173:
      if (lookahead == 'c')
        ADVANCE(174);
      END_STATE();
    case 174:
      ACCEPT_TOKEN(anon_sym_esac);
      END_STATE();
    case 175:
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(176);
      if (lookahead == ']')
        ADVANCE(177);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(175);
      END_STATE();
    case 176:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(175);
      END_STATE();
    case 177:
      ACCEPT_TOKEN(anon_sym_RBRACK);
      END_STATE();
    case 178:
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(179);
      if (lookahead == ']')
        ADVANCE(180);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(178);
      END_STATE();
    case 179:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(178);
      END_STATE();
    case 180:
      if (lookahead == ']')
        ADVANCE(57);
      END_STATE();
    case 181:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(115);
      if (lookahead == '*')
        ADVANCE(116);
      if (lookahead == '-')
        ADVANCE(117);
      if (lookahead == '0')
        ADVANCE(182);
      if (lookahead == '?')
        ADVANCE(119);
      if (lookahead == '@')
        ADVANCE(120);
      if (lookahead == '\\')
        ADVANCE(184);
      if (lookahead == '_')
        ADVANCE(186);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(185);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(183);
      if (lookahead != 0 &&
          (lookahead < '_' || lookahead > 'z'))
        ADVANCE(108);
      END_STATE();
    case 182:
      ACCEPT_TOKEN(anon_sym_0);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(183);
      END_STATE();
    case 183:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(183);
      END_STATE();
    case 184:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '\n')
        ADVANCE(185);
      if (lookahead == '\\')
        ADVANCE(109);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(185);
      if (lookahead == '\"' ||
          lookahead == '$' ||
          lookahead == '`')
        ADVANCE(108);
      if (lookahead != 0)
        ADVANCE(108);
      END_STATE();
    case 185:
      ACCEPT_TOKEN(sym__string_content);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '*')
        ADVANCE(116);
      if (lookahead == '-')
        ADVANCE(117);
      if (lookahead == '0')
        ADVANCE(182);
      if (lookahead == '?')
        ADVANCE(119);
      if (lookahead == '@')
        ADVANCE(120);
      if (lookahead == '\\')
        ADVANCE(184);
      if (lookahead == '_')
        ADVANCE(186);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        ADVANCE(185);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(183);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '_' || lookahead > 'z'))
        ADVANCE(108);
      END_STATE();
    case 186:
      ACCEPT_TOKEN(anon_sym__);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(183);
      END_STATE();
    case 187:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(115);
      if (lookahead == '*')
        ADVANCE(116);
      if (lookahead == '-')
        ADVANCE(117);
      if (lookahead == '0')
        ADVANCE(118);
      if (lookahead == '?')
        ADVANCE(119);
      if (lookahead == '@')
        ADVANCE(120);
      if (lookahead == '\\')
        SKIP(188);
      if (lookahead == '_')
        ADVANCE(122);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(187);
      if (('1' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(87);
      END_STATE();
    case 188:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(187);
      END_STATE();
    case 189:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '%')
        ADVANCE(11);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '-')
        ADVANCE(190);
      if (lookahead == '/')
        ADVANCE(29);
      if (lookahead == ':')
        ADVANCE(31);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '=')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(192);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(70);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(189);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > ')') &&
          (lookahead < ':' || lookahead > '>') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 190:
      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 191:
      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 192:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(189);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 193:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(194);
      if (lookahead == '\\')
        SKIP(195);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(193);
      END_STATE();
    case 194:
      ACCEPT_TOKEN(anon_sym_DOLLAR);
      if (lookahead == '{')
        ADVANCE(10);
      END_STATE();
    case 195:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(193);
      END_STATE();
    case 196:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(197);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(196);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 197:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(196);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 198:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(199);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(201);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(198);
      END_STATE();
    case 199:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(37);
      if (lookahead == '<')
        ADVANCE(39);
      END_STATE();
    case 200:
      ACCEPT_TOKEN(anon_sym_GT);
      if (lookahead == '&')
        ADVANCE(47);
      if (lookahead == '>')
        ADVANCE(50);
      END_STATE();
    case 201:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(198);
      END_STATE();
    case 202:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(203);
      if (lookahead == ']')
        ADVANCE(177);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(202);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 203:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(202);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 204:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(205);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(204);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 205:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(204);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 206:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(207);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(206);
      END_STATE();
    case 207:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(206);
      END_STATE();
    case 208:
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(209);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(208);
      END_STATE();
    case 209:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(208);
      END_STATE();
    case 210:
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == ')')
        ADVANCE(146);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(211);
      if (lookahead == ']')
        ADVANCE(180);
      if (lookahead == '|')
        ADVANCE(160);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(210);
      END_STATE();
    case 211:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(210);
      END_STATE();
    case 212:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(213);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(70);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(212);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 213:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(212);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 214:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(215);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(216);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(214);
      END_STATE();
    case 215:
      ACCEPT_TOKEN(anon_sym_LT);
      if (lookahead == '&')
        ADVANCE(37);
      END_STATE();
    case 216:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(214);
      END_STATE();
    case 217:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(218);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(219);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(217);
      if (lookahead != 0 &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 218:
      if (lookahead == ';')
        ADVANCE(35);
      END_STATE();
    case 219:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(217);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 220:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(199);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(221);
      if (lookahead == '|')
        ADVANCE(67);
      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(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(223);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(70);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(222);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 223:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(222);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 224:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(7);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '%')
        ADVANCE(11);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '-')
        ADVANCE(190);
      if (lookahead == ':')
        ADVANCE(31);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '=')
        ADVANCE(191);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(225);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(70);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(224);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > ')') &&
          (lookahead < ':' || lookahead > '>') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 225:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(224);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 226:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(199);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(227);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(226);
      END_STATE();
    case 227:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(226);
      END_STATE();
    case 228:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(199);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(229);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(228);
      END_STATE();
    case 229:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(228);
      END_STATE();
    case 230:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '+')
        ADVANCE(79);
      if (lookahead == '=')
        ADVANCE(81);
      if (lookahead == '\\')
        SKIP(231);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(230);
      END_STATE();
    case 231:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(230);
      END_STATE();
    case 232:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == ')')
        ADVANCE(146);
      if (lookahead == '-')
        ADVANCE(90);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(233);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(232);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 233:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(232);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 234:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '!')
        ADVANCE(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(235);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(234);
      END_STATE();
    case 235:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(234);
      END_STATE();
    case 236:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(136);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(237);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(236);
      if (lookahead != 0 &&
          (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(143);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(145);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == '+')
        ADVANCE(148);
      if (lookahead == '-')
        ADVANCE(150);
      if (lookahead == '<')
        ADVANCE(154);
      if (lookahead == '=')
        ADVANCE(155);
      if (lookahead == '>')
        ADVANCE(158);
      if (lookahead == '\\')
        SKIP(239);
      if (lookahead == '|')
        ADVANCE(240);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(238);
      END_STATE();
    case 239:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(238);
      END_STATE();
    case 240:
      ACCEPT_TOKEN(anon_sym_PIPE);
      if (lookahead == '|')
        ADVANCE(69);
      END_STATE();
    case 241:
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(242);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(241);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 242:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(241);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 243:
      if (lookahead == 0)
        ADVANCE(1);
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(215);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(244);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(243);
      END_STATE();
    case 244:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(243);
      END_STATE();
    case 245:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == ';')
        ADVANCE(246);
      if (lookahead == '\\')
        ADVANCE(247);
      if (lookahead == '{')
        ADVANCE(66);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(245);
      if (lookahead != 0 &&
          (lookahead < '\"' || lookahead > '$') &&
          (lookahead < '&' || lookahead > ')') &&
          lookahead != ';' &&
          lookahead != '<' &&
          lookahead != '>' &&
          (lookahead < '[' || lookahead > ']') &&
          lookahead != '`' &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 246:
      ACCEPT_TOKEN(anon_sym_SEMI);
      END_STATE();
    case 247:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(245);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 248:
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == '\\')
        SKIP(249);
      if (lookahead == '|')
        ADVANCE(250);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(248);
      END_STATE();
    case 249:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(248);
      END_STATE();
    case 250:
      ACCEPT_TOKEN(anon_sym_PIPE);
      END_STATE();
    case 251:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(252);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(251);
      END_STATE();
    case 252:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(251);
      END_STATE();
    case 253:
      if (lookahead == '!')
        ADVANCE(3);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(73);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(18);
      if (lookahead == ';')
        ADVANCE(218);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(53);
      if (lookahead == '\\')
        ADVANCE(254);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(253);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')') &&
          (lookahead < '{' || lookahead > '}'))
        ADVANCE(5);
      END_STATE();
    case 254:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(253);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 255:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == ')')
        ADVANCE(20);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(256);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(255);
      END_STATE();
    case 256:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(255);
      END_STATE();
    case 257:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '\\')
        SKIP(258);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(257);
      END_STATE();
    case 258:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(257);
      END_STATE();
    case 259:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(99);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(91);
      if (lookahead == '>')
        ADVANCE(92);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(260);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(261);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(259);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          ('_' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 260:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(259);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 261:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 's')
        ADVANCE(262);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      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 262:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'a')
        ADVANCE(263);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('b' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      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 263:
      ACCEPT_TOKEN(aux_sym_SLASH_BSLASHw_PLUS_SLASH);
      if (lookahead == '\\')
        ADVANCE(4);
      if (lookahead == 'c')
        ADVANCE(264);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      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 264:
      ACCEPT_TOKEN(anon_sym_esac);
      if (lookahead == '\\')
        ADVANCE(4);
      if (('0' <= lookahead && lookahead <= '9') ||
          ('A' <= lookahead && lookahead <= 'Z') ||
          lookahead == '_' ||
          ('a' <= lookahead && lookahead <= 'z'))
        ADVANCE(101);
      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 265:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(266);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(265);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 266:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(265);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 267:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == '(')
        ADVANCE(89);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(103);
      if (lookahead == '=')
        ADVANCE(104);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(268);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(267);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 268:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(267);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 269:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '\"')
        ADVANCE(6);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '$')
        ADVANCE(8);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == '\'')
        ADVANCE(16);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(74);
      if (lookahead == '>')
        ADVANCE(75);
      if (lookahead == '[')
        ADVANCE(77);
      if (lookahead == '\\')
        ADVANCE(270);
      if (lookahead == ']')
        ADVANCE(77);
      if (lookahead == '`')
        ADVANCE(59);
      if (lookahead == 'e')
        ADVANCE(60);
      if (lookahead == '{')
        ADVANCE(77);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '}')
        ADVANCE(77);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(269);
      if (lookahead != 0 &&
          (lookahead < '&' || lookahead > ')'))
        ADVANCE(5);
      END_STATE();
    case 270:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(269);
      if (lookahead != 0)
        ADVANCE(5);
      END_STATE();
    case 271:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(199);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(272);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(271);
      END_STATE();
    case 272:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(271);
      END_STATE();
    case 273:
      if (lookahead == '\n')
        ADVANCE(2);
      if (lookahead == '#')
        ADVANCE(72);
      if (lookahead == '&')
        ADVANCE(12);
      if (lookahead == ';')
        ADVANCE(34);
      if (lookahead == '<')
        ADVANCE(215);
      if (lookahead == '>')
        ADVANCE(200);
      if (lookahead == '\\')
        SKIP(274);
      if (lookahead == 'e')
        ADVANCE(171);
      if (lookahead == '|')
        ADVANCE(67);
      if (lookahead == '\t' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(273);
      END_STATE();
    case 274:
      if (lookahead == '\t' ||
          lookahead == '\n' ||
          lookahead == '\r' ||
          lookahead == ' ')
        SKIP(273);
      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 = 71, .external_lex_state = 2},
  [2] = {.lex_state = 71},
  [3] = {.lex_state = 78},
  [4] = {.lex_state = 84},
  [5] = {.lex_state = 88},
  [6] = {.lex_state = 71, .external_lex_state = 2},
  [7] = {.lex_state = 71, .external_lex_state = 2},
  [8] = {.lex_state = 94},
  [9] = {.lex_state = 94},
  [10] = {.lex_state = 71, .external_lex_state = 2},
  [11] = {.lex_state = 96, .external_lex_state = 2},
  [12] = {.lex_state = 88},
  [13] = {.lex_state = 88},
  [14] = {.lex_state = 98, .external_lex_state = 3},
  [15] = {.lex_state = 98, .external_lex_state = 4},
  [16] = {.lex_state = 94},
  [17] = {.lex_state = 102, .external_lex_state = 5},
  [18] = {.lex_state = 106},
  [19] = {.lex_state = 113},
  [20] = {.lex_state = 102, .external_lex_state = 5},
  [21] = {.lex_state = 113, .external_lex_state = 6},
  [22] = {.lex_state = 71, .external_lex_state = 2},
  [23] = {.lex_state = 71, .external_lex_state = 2},
  [24] = {.lex_state = 71, .external_lex_state = 2},
  [25] = {.lex_state = 123, .external_lex_state = 5},
  [26] = {.lex_state = 125},
  [27] = {.lex_state = 127, .external_lex_state = 4},
  [28] = {.lex_state = 102, .external_lex_state = 7},
  [29] = {.lex_state = 129, .external_lex_state = 8},
  [30] = {.lex_state = 78},
  [31] = {.lex_state = 131, .external_lex_state = 7},
  [32] = {.lex_state = 71, .external_lex_state = 2},
  [33] = {.lex_state = 94, .external_lex_state = 2},
  [34] = {.lex_state = 94},
  [35] = {.lex_state = 94},
  [36] = {.lex_state = 133, .external_lex_state = 9},
  [37] = {.lex_state = 135, .external_lex_state = 4},
  [38] = {.lex_state = 138, .external_lex_state = 4},
  [39] = {.lex_state = 88},
  [40] = {.lex_state = 88},
  [41] = {.lex_state = 142, .external_lex_state = 10},
  [42] = {.lex_state = 106},
  [43] = {.lex_state = 113},
  [44] = {.lex_state = 142, .external_lex_state = 10},
  [45] = {.lex_state = 113, .external_lex_state = 6},
  [46] = {.lex_state = 71, .external_lex_state = 2},
  [47] = {.lex_state = 71, .external_lex_state = 2},
  [48] = {.lex_state = 71, .external_lex_state = 2},
  [49] = {.lex_state = 142},
  [50] = {.lex_state = 78},
  [51] = {.lex_state = 88},
  [52] = {.lex_state = 71, .external_lex_state = 2},
  [53] = {.lex_state = 94},
  [54] = {.lex_state = 96, .external_lex_state = 2},
  [55] = {.lex_state = 88},
  [56] = {.lex_state = 88},
  [57] = {.lex_state = 98, .external_lex_state = 3},
  [58] = {.lex_state = 98, .external_lex_state = 4},
  [59] = {.lex_state = 102, .external_lex_state = 5},
  [60] = {.lex_state = 102, .external_lex_state = 5},
  [61] = {.lex_state = 123, .external_lex_state = 5},
  [62] = {.lex_state = 94},
  [63] = {.lex_state = 98, .external_lex_state = 4},
  [64] = {.lex_state = 102, .external_lex_state = 7},
  [65] = {.lex_state = 129, .external_lex_state = 8},
  [66] = {.lex_state = 78},
  [67] = {.lex_state = 94, .external_lex_state = 2},
  [68] = {.lex_state = 94},
  [69] = {.lex_state = 138, .external_lex_state = 11},
  [70] = {.lex_state = 106},
  [71] = {.lex_state = 113},
  [72] = {.lex_state = 138, .external_lex_state = 11},
  [73] = {.lex_state = 113, .external_lex_state = 6},
  [74] = {.lex_state = 71, .external_lex_state = 2},
  [75] = {.lex_state = 71, .external_lex_state = 2},
  [76] = {.lex_state = 71, .external_lex_state = 2},
  [77] = {.lex_state = 138, .external_lex_state = 4},
  [78] = {.lex_state = 161},
  [79] = {.lex_state = 78},
  [80] = {.lex_state = 88},
  [81] = {.lex_state = 71, .external_lex_state = 2},
  [82] = {.lex_state = 94},
  [83] = {.lex_state = 96, .external_lex_state = 2},
  [84] = {.lex_state = 88},
  [85] = {.lex_state = 88},
  [86] = {.lex_state = 163, .external_lex_state = 3},
  [87] = {.lex_state = 163, .external_lex_state = 4},
  [88] = {.lex_state = 131, .external_lex_state = 5},
  [89] = {.lex_state = 131, .external_lex_state = 5},
  [90] = {.lex_state = 165, .external_lex_state = 5},
  [91] = {.lex_state = 163, .external_lex_state = 4},
  [92] = {.lex_state = 131, .external_lex_state = 7},
  [93] = {.lex_state = 167, .external_lex_state = 8},
  [94] = {.lex_state = 78},
  [95] = {.lex_state = 71, .external_lex_state = 2},
  [96] = {.lex_state = 94, .external_lex_state = 2},
  [97] = {.lex_state = 78},
  [98] = {.lex_state = 169, .external_lex_state = 4},
  [99] = {.lex_state = 78},
  [100] = {.lex_state = 88},
  [101] = {.lex_state = 88},
  [102] = {.lex_state = 175, .external_lex_state = 12},
  [103] = {.lex_state = 106},
  [104] = {.lex_state = 113},
  [105] = {.lex_state = 175, .external_lex_state = 12},
  [106] = {.lex_state = 113, .external_lex_state = 6},
  [107] = {.lex_state = 71, .external_lex_state = 2},
  [108] = {.lex_state = 71, .external_lex_state = 2},
  [109] = {.lex_state = 71, .external_lex_state = 2},
  [110] = {.lex_state = 175, .external_lex_state = 13},
  [111] = {.lex_state = 88},
  [112] = {.lex_state = 178, .external_lex_state = 10},
  [113] = {.lex_state = 178, .external_lex_state = 10},
  [114] = {.lex_state = 178},
  [115] = {.lex_state = 78},
  [116] = {.lex_state = 98, .external_lex_state = 14},
  [117] = {.lex_state = 106},
  [118] = {.lex_state = 113},
  [119] = {.lex_state = 98, .external_lex_state = 14},
  [120] = {.lex_state = 113, .external_lex_state = 6},
  [121] = {.lex_state = 71, .external_lex_state = 2},
  [122] = {.lex_state = 71, .external_lex_state = 2},
  [123] = {.lex_state = 71, .external_lex_state = 2},
  [124] = {.lex_state = 78},
  [125] = {.lex_state = 98, .external_lex_state = 3},
  [126] = {.lex_state = 98, .external_lex_state = 11},
  [127] = {.lex_state = 106},
  [128] = {.lex_state = 113},
  [129] = {.lex_state = 98, .external_lex_state = 11},
  [130] = {.lex_state = 113, .external_lex_state = 6},
  [131] = {.lex_state = 71, .external_lex_state = 2},
  [132] = {.lex_state = 71, .external_lex_state = 2},
  [133] = {.lex_state = 71, .external_lex_state = 2},
  [134] = {.lex_state = 98, .external_lex_state = 4},
  [135] = {.lex_state = 94, .external_lex_state = 15},
  [136] = {.lex_state = 106},
  [137] = {.lex_state = 113},
  [138] = {.lex_state = 94, .external_lex_state = 15},
  [139] = {.lex_state = 113, .external_lex_state = 6},
  [140] = {.lex_state = 71, .external_lex_state = 2},
  [141] = {.lex_state = 71, .external_lex_state = 2},
  [142] = {.lex_state = 71, .external_lex_state = 2},
  [143] = {.lex_state = 94, .external_lex_state = 2},
  [144] = {.lex_state = 94},
  [145] = {.lex_state = 102, .external_lex_state = 5},
  [146] = {.lex_state = 131, .external_lex_state = 5},
  [147] = {.lex_state = 181},
  [148] = {.lex_state = 106, .external_lex_state = 10},
  [149] = {.lex_state = 113, .external_lex_state = 6},
  [150] = {.lex_state = 71, .external_lex_state = 2},
  [151] = {.lex_state = 71, .external_lex_state = 2},
  [152] = {.lex_state = 106},
  [153] = {.lex_state = 131, .external_lex_state = 5},
  [154] = {.lex_state = 131, .external_lex_state = 5},
  [155] = {.lex_state = 131, .external_lex_state = 5},
  [156] = {.lex_state = 78},
  [157] = {.lex_state = 187, .external_lex_state = 6},
  [158] = {.lex_state = 189, .external_lex_state = 16},
  [159] = {.lex_state = 189, .external_lex_state = 16},
  [160] = {.lex_state = 163, .external_lex_state = 4},
  [161] = {.lex_state = 167, .external_lex_state = 8},
  [162] = {.lex_state = 71, .external_lex_state = 2},
  [163] = {.lex_state = 88},
  [164] = {.lex_state = 71, .external_lex_state = 2},
  [165] = {.lex_state = 94},
  [166] = {.lex_state = 96, .external_lex_state = 2},
  [167] = {.lex_state = 88},
  [168] = {.lex_state = 88},
  [169] = {.lex_state = 98, .external_lex_state = 3},
  [170] = {.lex_state = 98, .external_lex_state = 4},
  [171] = {.lex_state = 123, .external_lex_state = 5},
  [172] = {.lex_state = 98, .external_lex_state = 4},
  [173] = {.lex_state = 102, .external_lex_state = 7},
  [174] = {.lex_state = 129, .external_lex_state = 8},
  [175] = {.lex_state = 71, .external_lex_state = 2},
  [176] = {.lex_state = 94, .external_lex_state = 2},
  [177] = {.lex_state = 163, .external_lex_state = 4},
  [178] = {.lex_state = 167, .external_lex_state = 8},
  [179] = {.lex_state = 71, .external_lex_state = 2},
  [180] = {.lex_state = 78},
  [181] = {.lex_state = 71, .external_lex_state = 2},
  [182] = {.lex_state = 71, .external_lex_state = 2},
  [183] = {.lex_state = 71, .external_lex_state = 2},
  [184] = {.lex_state = 169, .external_lex_state = 4},
  [185] = {.lex_state = 193, .external_lex_state = 17},
  [186] = {.lex_state = 71},
  [187] = {.lex_state = 196, .external_lex_state = 18},
  [188] = {.lex_state = 94},
  [189] = {.lex_state = 71, .external_lex_state = 19},
  [190] = {.lex_state = 94},
  [191] = {.lex_state = 102, .external_lex_state = 5},
  [192] = {.lex_state = 102, .external_lex_state = 5},
  [193] = {.lex_state = 169, .external_lex_state = 4},
  [194] = {.lex_state = 198, .external_lex_state = 7},
  [195] = {.lex_state = 102, .external_lex_state = 7},
  [196] = {.lex_state = 127, .external_lex_state = 4},
  [197] = {.lex_state = 129, .external_lex_state = 8},
  [198] = {.lex_state = 71, .external_lex_state = 2},
  [199] = {.lex_state = 102, .external_lex_state = 7},
  [200] = {.lex_state = 94, .external_lex_state = 2},
  [201] = {.lex_state = 94, .external_lex_state = 15},
  [202] = {.lex_state = 94, .external_lex_state = 15},
  [203] = {.lex_state = 94, .external_lex_state = 2},
  [204] = {.lex_state = 202, .external_lex_state = 12},
  [205] = {.lex_state = 202, .external_lex_state = 12},
  [206] = {.lex_state = 202, .external_lex_state = 12},
  [207] = {.lex_state = 167, .external_lex_state = 8},
  [208] = {.lex_state = 204},
  [209] = {.lex_state = 129, .external_lex_state = 20},
  [210] = {.lex_state = 106},
  [211] = {.lex_state = 113},
  [212] = {.lex_state = 129, .external_lex_state = 20},
  [213] = {.lex_state = 113, .external_lex_state = 6},
  [214] = {.lex_state = 71, .external_lex_state = 2},
  [215] = {.lex_state = 71, .external_lex_state = 2},
  [216] = {.lex_state = 71, .external_lex_state = 2},
  [217] = {.lex_state = 135, .external_lex_state = 4},
  [218] = {.lex_state = 88},
  [219] = {.lex_state = 88},
  [220] = {.lex_state = 206, .external_lex_state = 11},
  [221] = {.lex_state = 106},
  [222] = {.lex_state = 113},
  [223] = {.lex_state = 206, .external_lex_state = 11},
  [224] = {.lex_state = 113, .external_lex_state = 6},
  [225] = {.lex_state = 71, .external_lex_state = 2},
  [226] = {.lex_state = 71, .external_lex_state = 2},
  [227] = {.lex_state = 71, .external_lex_state = 2},
  [228] = {.lex_state = 206, .external_lex_state = 4},
  [229] = {.lex_state = 94},
  [230] = {.lex_state = 94},
  [231] = {.lex_state = 88},
  [232] = {.lex_state = 88},
  [233] = {.lex_state = 208, .external_lex_state = 10},
  [234] = {.lex_state = 106},
  [235] = {.lex_state = 113},
  [236] = {.lex_state = 208, .external_lex_state = 10},
  [237] = {.lex_state = 113, .external_lex_state = 6},
  [238] = {.lex_state = 71, .external_lex_state = 2},
  [239] = {.lex_state = 71, .external_lex_state = 2},
  [240] = {.lex_state = 71, .external_lex_state = 2},
  [241] = {.lex_state = 208},
  [242] = {.lex_state = 142},
  [243] = {.lex_state = 94},
  [244] = {.lex_state = 142, .external_lex_state = 10},
  [245] = {.lex_state = 210, .external_lex_state = 10},
  [246] = {.lex_state = 181},
  [247] = {.lex_state = 106},
  [248] = {.lex_state = 210, .external_lex_state = 10},
  [249] = {.lex_state = 210, .external_lex_state = 10},
  [250] = {.lex_state = 210, .external_lex_state = 10},
  [251] = {.lex_state = 78},
  [252] = {.lex_state = 187, .external_lex_state = 6},
  [253] = {.lex_state = 189, .external_lex_state = 16},
  [254] = {.lex_state = 189, .external_lex_state = 16},
  [255] = {.lex_state = 163, .external_lex_state = 4},
  [256] = {.lex_state = 167, .external_lex_state = 8},
  [257] = {.lex_state = 71, .external_lex_state = 2},
  [258] = {.lex_state = 98, .external_lex_state = 4},
  [259] = {.lex_state = 129, .external_lex_state = 8},
  [260] = {.lex_state = 71, .external_lex_state = 2},
  [261] = {.lex_state = 163, .external_lex_state = 4},
  [262] = {.lex_state = 167, .external_lex_state = 8},
  [263] = {.lex_state = 71, .external_lex_state = 2},
  [264] = {.lex_state = 198, .external_lex_state = 21},
  [265] = {.lex_state = 88},
  [266] = {.lex_state = 88, .external_lex_state = 18},
  [267] = {.lex_state = 210},
  [268] = {.lex_state = 133, .external_lex_state = 9},
  [269] = {.lex_state = 142},
  [270] = {.lex_state = 94},
  [271] = {.lex_state = 161},
  [272] = {.lex_state = 175, .external_lex_state = 13},
  [273] = {.lex_state = 178},
  [274] = {.lex_state = 78},
  [275] = {.lex_state = 98, .external_lex_state = 14},
  [276] = {.lex_state = 98, .external_lex_state = 14},
  [277] = {.lex_state = 78},
  [278] = {.lex_state = 98, .external_lex_state = 3},
  [279] = {.lex_state = 98, .external_lex_state = 11},
  [280] = {.lex_state = 98, .external_lex_state = 11},
  [281] = {.lex_state = 98, .external_lex_state = 4},
  [282] = {.lex_state = 102, .external_lex_state = 5},
  [283] = {.lex_state = 78},
  [284] = {.lex_state = 71, .external_lex_state = 2},
  [285] = {.lex_state = 198, .external_lex_state = 7},
  [286] = {.lex_state = 94},
  [287] = {.lex_state = 71, .external_lex_state = 2},
  [288] = {.lex_state = 71, .external_lex_state = 2},
  [289] = {.lex_state = 71},
  [290] = {.lex_state = 196, .external_lex_state = 18},
  [291] = {.lex_state = 94},
  [292] = {.lex_state = 94},
  [293] = {.lex_state = 102, .external_lex_state = 5},
  [294] = {.lex_state = 102, .external_lex_state = 5},
  [295] = {.lex_state = 198, .external_lex_state = 7},
  [296] = {.lex_state = 102, .external_lex_state = 7},
  [297] = {.lex_state = 102, .external_lex_state = 7},
  [298] = {.lex_state = 71, .external_lex_state = 2},
  [299] = {.lex_state = 94},
  [300] = {.lex_state = 135, .external_lex_state = 4},
  [301] = {.lex_state = 138},
  [302] = {.lex_state = 138, .external_lex_state = 11},
  [303] = {.lex_state = 138, .external_lex_state = 11},
  [304] = {.lex_state = 181},
  [305] = {.lex_state = 106},
  [306] = {.lex_state = 138, .external_lex_state = 11},
  [307] = {.lex_state = 138, .external_lex_state = 11},
  [308] = {.lex_state = 138, .external_lex_state = 11},
  [309] = {.lex_state = 135, .external_lex_state = 4},
  [310] = {.lex_state = 138},
  [311] = {.lex_state = 78},
  [312] = {.lex_state = 187, .external_lex_state = 6},
  [313] = {.lex_state = 189, .external_lex_state = 16},
  [314] = {.lex_state = 189, .external_lex_state = 16},
  [315] = {.lex_state = 163, .external_lex_state = 4},
  [316] = {.lex_state = 167, .external_lex_state = 8},
  [317] = {.lex_state = 71, .external_lex_state = 2},
  [318] = {.lex_state = 98, .external_lex_state = 4},
  [319] = {.lex_state = 129, .external_lex_state = 8},
  [320] = {.lex_state = 71, .external_lex_state = 2},
  [321] = {.lex_state = 163, .external_lex_state = 4},
  [322] = {.lex_state = 167, .external_lex_state = 8},
  [323] = {.lex_state = 71, .external_lex_state = 2},
  [324] = {.lex_state = 78},
  [325] = {.lex_state = 212, .external_lex_state = 22},
  [326] = {.lex_state = 214, .external_lex_state = 21},
  [327] = {.lex_state = 133, .external_lex_state = 9},
  [328] = {.lex_state = 142},
  [329] = {.lex_state = 94},
  [330] = {.lex_state = 161},
  [331] = {.lex_state = 175, .external_lex_state = 13},
  [332] = {.lex_state = 178},
  [333] = {.lex_state = 78},
  [334] = {.lex_state = 163, .external_lex_state = 14},
  [335] = {.lex_state = 163, .external_lex_state = 14},
  [336] = {.lex_state = 78},
  [337] = {.lex_state = 163, .external_lex_state = 3},
  [338] = {.lex_state = 163, .external_lex_state = 11},
  [339] = {.lex_state = 163, .external_lex_state = 11},
  [340] = {.lex_state = 163, .external_lex_state = 4},
  [341] = {.lex_state = 131, .external_lex_state = 5},
  [342] = {.lex_state = 78},
  [343] = {.lex_state = 217, .external_lex_state = 2},
  [344] = {.lex_state = 71, .external_lex_state = 2},
  [345] = {.lex_state = 169, .external_lex_state = 4},
  [346] = {.lex_state = 71, .external_lex_state = 2},
  [347] = {.lex_state = 71},
  [348] = {.lex_state = 196, .external_lex_state = 18},
  [349] = {.lex_state = 94},
  [350] = {.lex_state = 94},
  [351] = {.lex_state = 131, .external_lex_state = 5},
  [352] = {.lex_state = 131, .external_lex_state = 5},
  [353] = {.lex_state = 220, .external_lex_state = 7},
  [354] = {.lex_state = 131, .external_lex_state = 7},
  [355] = {.lex_state = 163, .external_lex_state = 4},
  [356] = {.lex_state = 167, .external_lex_state = 8},
  [357] = {.lex_state = 131, .external_lex_state = 7},
  [358] = {.lex_state = 133, .external_lex_state = 9},
  [359] = {.lex_state = 208},
  [360] = {.lex_state = 175, .external_lex_state = 13},
  [361] = {.lex_state = 94},
  [362] = {.lex_state = 175, .external_lex_state = 12},
  [363] = {.lex_state = 175, .external_lex_state = 12},
  [364] = {.lex_state = 181},
  [365] = {.lex_state = 106},
  [366] = {.lex_state = 175, .external_lex_state = 12},
  [367] = {.lex_state = 175, .external_lex_state = 12},
  [368] = {.lex_state = 175, .external_lex_state = 12},
  [369] = {.lex_state = 78},
  [370] = {.lex_state = 187, .external_lex_state = 6},
  [371] = {.lex_state = 189, .external_lex_state = 16},
  [372] = {.lex_state = 189, .external_lex_state = 16},
  [373] = {.lex_state = 163, .external_lex_state = 4},
  [374] = {.lex_state = 167, .external_lex_state = 8},
  [375] = {.lex_state = 71, .external_lex_state = 2},
  [376] = {.lex_state = 98, .external_lex_state = 4},
  [377] = {.lex_state = 129, .external_lex_state = 8},
  [378] = {.lex_state = 71, .external_lex_state = 2},
  [379] = {.lex_state = 163, .external_lex_state = 4},
  [380] = {.lex_state = 167, .external_lex_state = 8},
  [381] = {.lex_state = 71, .external_lex_state = 2},
  [382] = {.lex_state = 88},
  [383] = {.lex_state = 88, .external_lex_state = 18},
  [384] = {.lex_state = 175, .external_lex_state = 13},
  [385] = {.lex_state = 178},
  [386] = {.lex_state = 178, .external_lex_state = 10},
  [387] = {.lex_state = 88},
  [388] = {.lex_state = 88, .external_lex_state = 18},
  [389] = {.lex_state = 133, .external_lex_state = 9},
  [390] = {.lex_state = 94},
  [391] = {.lex_state = 98, .external_lex_state = 14},
  [392] = {.lex_state = 163, .external_lex_state = 14},
  [393] = {.lex_state = 181},
  [394] = {.lex_state = 106},
  [395] = {.lex_state = 163, .external_lex_state = 14},
  [396] = {.lex_state = 163, .external_lex_state = 14},
  [397] = {.lex_state = 163, .external_lex_state = 14},
  [398] = {.lex_state = 78},
  [399] = {.lex_state = 187, .external_lex_state = 6},
  [400] = {.lex_state = 189, .external_lex_state = 16},
  [401] = {.lex_state = 189, .external_lex_state = 16},
  [402] = {.lex_state = 163, .external_lex_state = 4},
  [403] = {.lex_state = 167, .external_lex_state = 8},
  [404] = {.lex_state = 71, .external_lex_state = 2},
  [405] = {.lex_state = 98, .external_lex_state = 4},
  [406] = {.lex_state = 129, .external_lex_state = 8},
  [407] = {.lex_state = 71, .external_lex_state = 2},
  [408] = {.lex_state = 163, .external_lex_state = 4},
  [409] = {.lex_state = 167, .external_lex_state = 8},
  [410] = {.lex_state = 71, .external_lex_state = 2},
  [411] = {.lex_state = 98, .external_lex_state = 3},
  [412] = {.lex_state = 94},
  [413] = {.lex_state = 98, .external_lex_state = 11},
  [414] = {.lex_state = 163, .external_lex_state = 11},
  [415] = {.lex_state = 181},
  [416] = {.lex_state = 106},
  [417] = {.lex_state = 163, .external_lex_state = 11},
  [418] = {.lex_state = 163, .external_lex_state = 11},
  [419] = {.lex_state = 163, .external_lex_state = 11},
  [420] = {.lex_state = 78},
  [421] = {.lex_state = 187, .external_lex_state = 6},
  [422] = {.lex_state = 189, .external_lex_state = 16},
  [423] = {.lex_state = 189, .external_lex_state = 16},
  [424] = {.lex_state = 163, .external_lex_state = 4},
  [425] = {.lex_state = 167, .external_lex_state = 8},
  [426] = {.lex_state = 71, .external_lex_state = 2},
  [427] = {.lex_state = 98, .external_lex_state = 4},
  [428] = {.lex_state = 129, .external_lex_state = 8},
  [429] = {.lex_state = 71, .external_lex_state = 2},
  [430] = {.lex_state = 163, .external_lex_state = 4},
  [431] = {.lex_state = 167, .external_lex_state = 8},
  [432] = {.lex_state = 71, .external_lex_state = 2},
  [433] = {.lex_state = 98, .external_lex_state = 4},
  [434] = {.lex_state = 94},
  [435] = {.lex_state = 94, .external_lex_state = 15},
  [436] = {.lex_state = 94, .external_lex_state = 15},
  [437] = {.lex_state = 181},
  [438] = {.lex_state = 106},
  [439] = {.lex_state = 94, .external_lex_state = 15},
  [440] = {.lex_state = 94, .external_lex_state = 15},
  [441] = {.lex_state = 94, .external_lex_state = 15},
  [442] = {.lex_state = 78},
  [443] = {.lex_state = 187, .external_lex_state = 6},
  [444] = {.lex_state = 189, .external_lex_state = 16},
  [445] = {.lex_state = 189, .external_lex_state = 16},
  [446] = {.lex_state = 163, .external_lex_state = 4},
  [447] = {.lex_state = 167, .external_lex_state = 8},
  [448] = {.lex_state = 71, .external_lex_state = 2},
  [449] = {.lex_state = 98, .external_lex_state = 4},
  [450] = {.lex_state = 129, .external_lex_state = 8},
  [451] = {.lex_state = 71, .external_lex_state = 2},
  [452] = {.lex_state = 163, .external_lex_state = 4},
  [453] = {.lex_state = 167, .external_lex_state = 8},
  [454] = {.lex_state = 71, .external_lex_state = 2},
  [455] = {.lex_state = 131, .external_lex_state = 5},
  [456] = {.lex_state = 102, .external_lex_state = 5},
  [457] = {.lex_state = 106, .external_lex_state = 10},
  [458] = {.lex_state = 131, .external_lex_state = 5},
  [459] = {.lex_state = 106, .external_lex_state = 10},
  [460] = {.lex_state = 106, .external_lex_state = 10},
  [461] = {.lex_state = 106},
  [462] = {.lex_state = 78},
  [463] = {.lex_state = 187, .external_lex_state = 6},
  [464] = {.lex_state = 189, .external_lex_state = 16},
  [465] = {.lex_state = 189, .external_lex_state = 16},
  [466] = {.lex_state = 163, .external_lex_state = 4},
  [467] = {.lex_state = 167, .external_lex_state = 8},
  [468] = {.lex_state = 71, .external_lex_state = 2},
  [469] = {.lex_state = 98, .external_lex_state = 4},
  [470] = {.lex_state = 129, .external_lex_state = 8},
  [471] = {.lex_state = 71, .external_lex_state = 2},
  [472] = {.lex_state = 181},
  [473] = {.lex_state = 106},
  [474] = {.lex_state = 94},
  [475] = {.lex_state = 222, .external_lex_state = 16},
  [476] = {.lex_state = 78},
  [477] = {.lex_state = 189, .external_lex_state = 16},
  [478] = {.lex_state = 189, .external_lex_state = 16},
  [479] = {.lex_state = 131, .external_lex_state = 5},
  [480] = {.lex_state = 224, .external_lex_state = 23},
  [481] = {.lex_state = 106},
  [482] = {.lex_state = 113},
  [483] = {.lex_state = 224, .external_lex_state = 23},
  [484] = {.lex_state = 113, .external_lex_state = 6},
  [485] = {.lex_state = 224, .external_lex_state = 24},
  [486] = {.lex_state = 71, .external_lex_state = 2},
  [487] = {.lex_state = 71, .external_lex_state = 2},
  [488] = {.lex_state = 71, .external_lex_state = 2},
  [489] = {.lex_state = 224, .external_lex_state = 16},
  [490] = {.lex_state = 131, .external_lex_state = 5},
  [491] = {.lex_state = 224, .external_lex_state = 24},
  [492] = {.lex_state = 224, .external_lex_state = 16},
  [493] = {.lex_state = 217, .external_lex_state = 2},
  [494] = {.lex_state = 131, .external_lex_state = 5},
  [495] = {.lex_state = 163, .external_lex_state = 4},
  [496] = {.lex_state = 167, .external_lex_state = 8},
  [497] = {.lex_state = 142},
  [498] = {.lex_state = 94},
  [499] = {.lex_state = 161},
  [500] = {.lex_state = 175, .external_lex_state = 13},
  [501] = {.lex_state = 178},
  [502] = {.lex_state = 98, .external_lex_state = 3},
  [503] = {.lex_state = 98, .external_lex_state = 4},
  [504] = {.lex_state = 78},
  [505] = {.lex_state = 71, .external_lex_state = 2},
  [506] = {.lex_state = 71, .external_lex_state = 2},
  [507] = {.lex_state = 71, .external_lex_state = 2},
  [508] = {.lex_state = 71},
  [509] = {.lex_state = 94},
  [510] = {.lex_state = 94},
  [511] = {.lex_state = 226, .external_lex_state = 7},
  [512] = {.lex_state = 102, .external_lex_state = 7},
  [513] = {.lex_state = 98, .external_lex_state = 4},
  [514] = {.lex_state = 129, .external_lex_state = 8},
  [515] = {.lex_state = 102, .external_lex_state = 7},
  [516] = {.lex_state = 217, .external_lex_state = 2},
  [517] = {.lex_state = 131, .external_lex_state = 5},
  [518] = {.lex_state = 163, .external_lex_state = 4},
  [519] = {.lex_state = 167, .external_lex_state = 8},
  [520] = {.lex_state = 161},
  [521] = {.lex_state = 169, .external_lex_state = 4},
  [522] = {.lex_state = 167, .external_lex_state = 8},
  [523] = {.lex_state = 127, .external_lex_state = 4},
  [524] = {.lex_state = 129, .external_lex_state = 8},
  [525] = {.lex_state = 169, .external_lex_state = 4},
  [526] = {.lex_state = 113},
  [527] = {.lex_state = 113, .external_lex_state = 6},
  [528] = {.lex_state = 193, .external_lex_state = 17},
  [529] = {.lex_state = 94},
  [530] = {.lex_state = 131, .external_lex_state = 7},
  [531] = {.lex_state = 102, .external_lex_state = 5},
  [532] = {.lex_state = 102, .external_lex_state = 5},
  [533] = {.lex_state = 198, .external_lex_state = 5},
  [534] = {.lex_state = 198, .external_lex_state = 5},
  [535] = {.lex_state = 228, .external_lex_state = 7},
  [536] = {.lex_state = 228, .external_lex_state = 7},
  [537] = {.lex_state = 198, .external_lex_state = 5},
  [538] = {.lex_state = 198, .external_lex_state = 5},
  [539] = {.lex_state = 228, .external_lex_state = 7},
  [540] = {.lex_state = 169, .external_lex_state = 4},
  [541] = {.lex_state = 198, .external_lex_state = 7},
  [542] = {.lex_state = 198, .external_lex_state = 7},
  [543] = {.lex_state = 102, .external_lex_state = 7},
  [544] = {.lex_state = 71, .external_lex_state = 2},
  [545] = {.lex_state = 98, .external_lex_state = 4},
  [546] = {.lex_state = 129, .external_lex_state = 8},
  [547] = {.lex_state = 102, .external_lex_state = 7},
  [548] = {.lex_state = 202, .external_lex_state = 13},
  [549] = {.lex_state = 230, .external_lex_state = 10},
  [550] = {.lex_state = 202, .external_lex_state = 12},
  [551] = {.lex_state = 202, .external_lex_state = 13},
  [552] = {.lex_state = 230, .external_lex_state = 10},
  [553] = {.lex_state = 175, .external_lex_state = 13},
  [554] = {.lex_state = 167, .external_lex_state = 8},
  [555] = {.lex_state = 204, .external_lex_state = 10},
  [556] = {.lex_state = 106},
  [557] = {.lex_state = 113},
  [558] = {.lex_state = 204, .external_lex_state = 10},
  [559] = {.lex_state = 113, .external_lex_state = 6},
  [560] = {.lex_state = 71, .external_lex_state = 2},
  [561] = {.lex_state = 71, .external_lex_state = 2},
  [562] = {.lex_state = 71, .external_lex_state = 2},
  [563] = {.lex_state = 204},
  [564] = {.lex_state = 94},
  [565] = {.lex_state = 129, .external_lex_state = 20},
  [566] = {.lex_state = 167, .external_lex_state = 20},
  [567] = {.lex_state = 181},
  [568] = {.lex_state = 106},
  [569] = {.lex_state = 167, .external_lex_state = 20},
  [570] = {.lex_state = 167, .external_lex_state = 20},
  [571] = {.lex_state = 167, .external_lex_state = 20},
  [572] = {.lex_state = 78},
  [573] = {.lex_state = 187, .external_lex_state = 6},
  [574] = {.lex_state = 189, .external_lex_state = 16},
  [575] = {.lex_state = 189, .external_lex_state = 16},
  [576] = {.lex_state = 163, .external_lex_state = 4},
  [577] = {.lex_state = 167, .external_lex_state = 8},
  [578] = {.lex_state = 71, .external_lex_state = 2},
  [579] = {.lex_state = 98, .external_lex_state = 4},
  [580] = {.lex_state = 129, .external_lex_state = 8},
  [581] = {.lex_state = 71, .external_lex_state = 2},
  [582] = {.lex_state = 163, .external_lex_state = 4},
  [583] = {.lex_state = 167, .external_lex_state = 8},
  [584] = {.lex_state = 71, .external_lex_state = 2},
  [585] = {.lex_state = 232},
  [586] = {.lex_state = 206, .external_lex_state = 4},
  [587] = {.lex_state = 208},
  [588] = {.lex_state = 206, .external_lex_state = 4},
  [589] = {.lex_state = 94},
  [590] = {.lex_state = 206, .external_lex_state = 11},
  [591] = {.lex_state = 234, .external_lex_state = 11},
  [592] = {.lex_state = 181},
  [593] = {.lex_state = 106},
  [594] = {.lex_state = 234, .external_lex_state = 11},
  [595] = {.lex_state = 234, .external_lex_state = 11},
  [596] = {.lex_state = 234, .external_lex_state = 11},
  [597] = {.lex_state = 78},
  [598] = {.lex_state = 187, .external_lex_state = 6},
  [599] = {.lex_state = 189, .external_lex_state = 16},
  [600] = {.lex_state = 189, .external_lex_state = 16},
  [601] = {.lex_state = 163, .external_lex_state = 4},
  [602] = {.lex_state = 167, .external_lex_state = 8},
  [603] = {.lex_state = 71, .external_lex_state = 2},
  [604] = {.lex_state = 98, .external_lex_state = 4},
  [605] = {.lex_state = 129, .external_lex_state = 8},
  [606] = {.lex_state = 71, .external_lex_state = 2},
  [607] = {.lex_state = 163, .external_lex_state = 4},
  [608] = {.lex_state = 167, .external_lex_state = 8},
  [609] = {.lex_state = 71, .external_lex_state = 2},
  [610] = {.lex_state = 135, .external_lex_state = 4},
  [611] = {.lex_state = 88},
  [612] = {.lex_state = 88, .external_lex_state = 18},
  [613] = {.lex_state = 206, .external_lex_state = 4},
  [614] = {.lex_state = 236, .external_lex_state = 11},
  [615] = {.lex_state = 106},
  [616] = {.lex_state = 113},
  [617] = {.lex_state = 236, .external_lex_state = 11},
  [618] = {.lex_state = 113, .external_lex_state = 6},
  [619] = {.lex_state = 71, .external_lex_state = 2},
  [620] = {.lex_state = 71, .external_lex_state = 2},
  [621] = {.lex_state = 71, .external_lex_state = 2},
  [622] = {.lex_state = 236, .external_lex_state = 4},
  [623] = {.lex_state = 71, .external_lex_state = 2},
  [624] = {.lex_state = 169, .external_lex_state = 4},
  [625] = {.lex_state = 208},
  [626] = {.lex_state = 208},
  [627] = {.lex_state = 94},
  [628] = {.lex_state = 208, .external_lex_state = 10},
  [629] = {.lex_state = 238, .external_lex_state = 10},
  [630] = {.lex_state = 181},
  [631] = {.lex_state = 106},
  [632] = {.lex_state = 238, .external_lex_state = 10},
  [633] = {.lex_state = 238, .external_lex_state = 10},
  [634] = {.lex_state = 238, .external_lex_state = 10},
  [635] = {.lex_state = 78},
  [636] = {.lex_state = 187, .external_lex_state = 6},
  [637] = {.lex_state = 189, .external_lex_state = 16},
  [638] = {.lex_state = 189, .external_lex_state = 16},
  [639] = {.lex_state = 163, .external_lex_state = 4},
  [640] = {.lex_state = 167, .external_lex_state = 8},
  [641] = {.lex_state = 71, .external_lex_state = 2},
  [642] = {.lex_state = 98, .external_lex_state = 4},
  [643] = {.lex_state = 129, .external_lex_state = 8},
  [644] = {.lex_state = 71, .external_lex_state = 2},
  [645] = {.lex_state = 163, .external_lex_state = 4},
  [646] = {.lex_state = 167, .external_lex_state = 8},
  [647] = {.lex_state = 71, .external_lex_state = 2},
  [648] = {.lex_state = 210},
  [649] = {.lex_state = 88},
  [650] = {.lex_state = 88, .external_lex_state = 18},
  [651] = {.lex_state = 208},
  [652] = {.lex_state = 210, .external_lex_state = 10},
  [653] = {.lex_state = 142, .external_lex_state = 10},
  [654] = {.lex_state = 210, .external_lex_state = 10},
  [655] = {.lex_state = 181},
  [656] = {.lex_state = 222, .external_lex_state = 16},
  [657] = {.lex_state = 78},
  [658] = {.lex_state = 189, .external_lex_state = 16},
  [659] = {.lex_state = 189, .external_lex_state = 16},
  [660] = {.lex_state = 210, .external_lex_state = 10},
  [661] = {.lex_state = 224, .external_lex_state = 24},
  [662] = {.lex_state = 224, .external_lex_state = 16},
  [663] = {.lex_state = 210, .external_lex_state = 10},
  [664] = {.lex_state = 224, .external_lex_state = 24},
  [665] = {.lex_state = 224, .external_lex_state = 16},
  [666] = {.lex_state = 217, .external_lex_state = 2},
  [667] = {.lex_state = 210, .external_lex_state = 10},
  [668] = {.lex_state = 163, .external_lex_state = 4},
  [669] = {.lex_state = 167, .external_lex_state = 8},
  [670] = {.lex_state = 71, .external_lex_state = 2},
  [671] = {.lex_state = 98, .external_lex_state = 4},
  [672] = {.lex_state = 129, .external_lex_state = 8},
  [673] = {.lex_state = 217, .external_lex_state = 2},
  [674] = {.lex_state = 210, .external_lex_state = 10},
  [675] = {.lex_state = 163, .external_lex_state = 4},
  [676] = {.lex_state = 167, .external_lex_state = 8},
  [677] = {.lex_state = 71},
  [678] = {.lex_state = 94},
  [679] = {.lex_state = 71, .external_lex_state = 19},
  [680] = {.lex_state = 94},
  [681] = {.lex_state = 198, .external_lex_state = 21},
  [682] = {.lex_state = 210},
  [683] = {.lex_state = 210},
  [684] = {.lex_state = 129, .external_lex_state = 20},
  [685] = {.lex_state = 129, .external_lex_state = 20},
  [686] = {.lex_state = 198, .external_lex_state = 21},
  [687] = {.lex_state = 198, .external_lex_state = 7},
  [688] = {.lex_state = 78},
  [689] = {.lex_state = 129, .external_lex_state = 21},
  [690] = {.lex_state = 133, .external_lex_state = 9},
  [691] = {.lex_state = 98, .external_lex_state = 14},
  [692] = {.lex_state = 98, .external_lex_state = 3},
  [693] = {.lex_state = 98, .external_lex_state = 11},
  [694] = {.lex_state = 98, .external_lex_state = 4},
  [695] = {.lex_state = 102, .external_lex_state = 5},
  [696] = {.lex_state = 161},
  [697] = {.lex_state = 228, .external_lex_state = 7},
  [698] = {.lex_state = 71, .external_lex_state = 2},
  [699] = {.lex_state = 169, .external_lex_state = 4},
  [700] = {.lex_state = 198, .external_lex_state = 7},
  [701] = {.lex_state = 98, .external_lex_state = 4},
  [702] = {.lex_state = 129, .external_lex_state = 8},
  [703] = {.lex_state = 94},
  [704] = {.lex_state = 102, .external_lex_state = 5},
  [705] = {.lex_state = 102, .external_lex_state = 5},
  [706] = {.lex_state = 198, .external_lex_state = 5},
  [707] = {.lex_state = 198, .external_lex_state = 5},
  [708] = {.lex_state = 198, .external_lex_state = 5},
  [709] = {.lex_state = 198, .external_lex_state = 5},
  [710] = {.lex_state = 198, .external_lex_state = 7},
  [711] = {.lex_state = 198, .external_lex_state = 7},
  [712] = {.lex_state = 102, .external_lex_state = 7},
  [713] = {.lex_state = 102, .external_lex_state = 7},
  [714] = {.lex_state = 169, .external_lex_state = 4},
  [715] = {.lex_state = 71, .external_lex_state = 2},
  [716] = {.lex_state = 71, .external_lex_state = 2},
  [717] = {.lex_state = 94},
  [718] = {.lex_state = 71, .external_lex_state = 2},
  [719] = {.lex_state = 94},
  [720] = {.lex_state = 138, .external_lex_state = 11},
  [721] = {.lex_state = 241},
  [722] = {.lex_state = 135, .external_lex_state = 4},
  [723] = {.lex_state = 138, .external_lex_state = 11},
  [724] = {.lex_state = 138, .external_lex_state = 11},
  [725] = {.lex_state = 181},
  [726] = {.lex_state = 241},
  [727] = {.lex_state = 135, .external_lex_state = 4},
  [728] = {.lex_state = 222, .external_lex_state = 16},
  [729] = {.lex_state = 78},
  [730] = {.lex_state = 189, .external_lex_state = 16},
  [731] = {.lex_state = 189, .external_lex_state = 16},
  [732] = {.lex_state = 138, .external_lex_state = 11},
  [733] = {.lex_state = 224, .external_lex_state = 24},
  [734] = {.lex_state = 224, .external_lex_state = 16},
  [735] = {.lex_state = 138, .external_lex_state = 11},
  [736] = {.lex_state = 224, .external_lex_state = 24},
  [737] = {.lex_state = 224, .external_lex_state = 16},
  [738] = {.lex_state = 217, .external_lex_state = 2},
  [739] = {.lex_state = 138, .external_lex_state = 11},
  [740] = {.lex_state = 163, .external_lex_state = 4},
  [741] = {.lex_state = 167, .external_lex_state = 8},
  [742] = {.lex_state = 71, .external_lex_state = 2},
  [743] = {.lex_state = 98, .external_lex_state = 4},
  [744] = {.lex_state = 129, .external_lex_state = 8},
  [745] = {.lex_state = 217, .external_lex_state = 2},
  [746] = {.lex_state = 138, .external_lex_state = 11},
  [747] = {.lex_state = 163, .external_lex_state = 4},
  [748] = {.lex_state = 167, .external_lex_state = 8},
  [749] = {.lex_state = 161},
  [750] = {.lex_state = 243, .external_lex_state = 21},
  [751] = {.lex_state = 98, .external_lex_state = 4},
  [752] = {.lex_state = 129, .external_lex_state = 8},
  [753] = {.lex_state = 212, .external_lex_state = 22},
  [754] = {.lex_state = 71},
  [755] = {.lex_state = 94},
  [756] = {.lex_state = 169, .external_lex_state = 4},
  [757] = {.lex_state = 167, .external_lex_state = 20},
  [758] = {.lex_state = 167, .external_lex_state = 20},
  [759] = {.lex_state = 220, .external_lex_state = 21},
  [760] = {.lex_state = 220, .external_lex_state = 7},
  [761] = {.lex_state = 78},
  [762] = {.lex_state = 167, .external_lex_state = 21},
  [763] = {.lex_state = 133, .external_lex_state = 9},
  [764] = {.lex_state = 163, .external_lex_state = 14},
  [765] = {.lex_state = 163, .external_lex_state = 3},
  [766] = {.lex_state = 163, .external_lex_state = 11},
  [767] = {.lex_state = 163, .external_lex_state = 4},
  [768] = {.lex_state = 131, .external_lex_state = 5},
  [769] = {.lex_state = 161},
  [770] = {.lex_state = 169, .external_lex_state = 4},
  [771] = {.lex_state = 163, .external_lex_state = 4},
  [772] = {.lex_state = 167, .external_lex_state = 8},
  [773] = {.lex_state = 94},
  [774] = {.lex_state = 131, .external_lex_state = 5},
  [775] = {.lex_state = 131, .external_lex_state = 5},
  [776] = {.lex_state = 220, .external_lex_state = 5},
  [777] = {.lex_state = 220, .external_lex_state = 5},
  [778] = {.lex_state = 220, .external_lex_state = 5},
  [779] = {.lex_state = 220, .external_lex_state = 5},
  [780] = {.lex_state = 220, .external_lex_state = 7},
  [781] = {.lex_state = 220, .external_lex_state = 7},
  [782] = {.lex_state = 131, .external_lex_state = 7},
  [783] = {.lex_state = 217, .external_lex_state = 2},
  [784] = {.lex_state = 131, .external_lex_state = 7},
  [785] = {.lex_state = 94, .external_lex_state = 2},
  [786] = {.lex_state = 204},
  [787] = {.lex_state = 94, .external_lex_state = 15},
  [788] = {.lex_state = 94, .external_lex_state = 15},
  [789] = {.lex_state = 175, .external_lex_state = 13},
  [790] = {.lex_state = 175, .external_lex_state = 12},
  [791] = {.lex_state = 175, .external_lex_state = 12},
  [792] = {.lex_state = 175, .external_lex_state = 12},
  [793] = {.lex_state = 181},
  [794] = {.lex_state = 222, .external_lex_state = 16},
  [795] = {.lex_state = 78},
  [796] = {.lex_state = 189, .external_lex_state = 16},
  [797] = {.lex_state = 189, .external_lex_state = 16},
  [798] = {.lex_state = 175, .external_lex_state = 12},
  [799] = {.lex_state = 224, .external_lex_state = 24},
  [800] = {.lex_state = 224, .external_lex_state = 16},
  [801] = {.lex_state = 175, .external_lex_state = 12},
  [802] = {.lex_state = 224, .external_lex_state = 24},
  [803] = {.lex_state = 224, .external_lex_state = 16},
  [804] = {.lex_state = 217, .external_lex_state = 2},
  [805] = {.lex_state = 175, .external_lex_state = 12},
  [806] = {.lex_state = 163, .external_lex_state = 4},
  [807] = {.lex_state = 167, .external_lex_state = 8},
  [808] = {.lex_state = 71, .external_lex_state = 2},
  [809] = {.lex_state = 98, .external_lex_state = 4},
  [810] = {.lex_state = 129, .external_lex_state = 8},
  [811] = {.lex_state = 217, .external_lex_state = 2},
  [812] = {.lex_state = 175, .external_lex_state = 12},
  [813] = {.lex_state = 163, .external_lex_state = 4},
  [814] = {.lex_state = 167, .external_lex_state = 8},
  [815] = {.lex_state = 175, .external_lex_state = 13},
  [816] = {.lex_state = 175, .external_lex_state = 13},
  [817] = {.lex_state = 178, .external_lex_state = 10},
  [818] = {.lex_state = 163, .external_lex_state = 3},
  [819] = {.lex_state = 204},
  [820] = {.lex_state = 98, .external_lex_state = 14},
  [821] = {.lex_state = 98, .external_lex_state = 14},
  [822] = {.lex_state = 163, .external_lex_state = 14},
  [823] = {.lex_state = 98, .external_lex_state = 14},
  [824] = {.lex_state = 163, .external_lex_state = 14},
  [825] = {.lex_state = 181},
  [826] = {.lex_state = 222, .external_lex_state = 16},
  [827] = {.lex_state = 78},
  [828] = {.lex_state = 189, .external_lex_state = 16},
  [829] = {.lex_state = 189, .external_lex_state = 16},
  [830] = {.lex_state = 163, .external_lex_state = 14},
  [831] = {.lex_state = 224, .external_lex_state = 24},
  [832] = {.lex_state = 224, .external_lex_state = 16},
  [833] = {.lex_state = 163, .external_lex_state = 14},
  [834] = {.lex_state = 224, .external_lex_state = 24},
  [835] = {.lex_state = 224, .external_lex_state = 16},
  [836] = {.lex_state = 217, .external_lex_state = 2},
  [837] = {.lex_state = 163, .external_lex_state = 14},
  [838] = {.lex_state = 163, .external_lex_state = 4},
  [839] = {.lex_state = 167, .external_lex_state = 8},
  [840] = {.lex_state = 71, .external_lex_state = 2},
  [841] = {.lex_state = 98, .external_lex_state = 4},
  [842] = {.lex_state = 129, .external_lex_state = 8},
  [843] = {.lex_state = 217, .external_lex_state = 2},
  [844] = {.lex_state = 163, .external_lex_state = 14},
  [845] = {.lex_state = 163, .external_lex_state = 4},
  [846] = {.lex_state = 167, .external_lex_state = 8},
  [847] = {.lex_state = 163, .external_lex_state = 11},
  [848] = {.lex_state = 98, .external_lex_state = 11},
  [849] = {.lex_state = 163, .external_lex_state = 11},
  [850] = {.lex_state = 181},
  [851] = {.lex_state = 222, .external_lex_state = 16},
  [852] = {.lex_state = 78},
  [853] = {.lex_state = 189, .external_lex_state = 16},
  [854] = {.lex_state = 189, .external_lex_state = 16},
  [855] = {.lex_state = 163, .external_lex_state = 11},
  [856] = {.lex_state = 224, .external_lex_state = 24},
  [857] = {.lex_state = 224, .external_lex_state = 16},
  [858] = {.lex_state = 163, .external_lex_state = 11},
  [859] = {.lex_state = 224, .external_lex_state = 24},
  [860] = {.lex_state = 224, .external_lex_state = 16},
  [861] = {.lex_state = 217, .external_lex_state = 2},
  [862] = {.lex_state = 163, .external_lex_state = 11},
  [863] = {.lex_state = 163, .external_lex_state = 4},
  [864] = {.lex_state = 167, .external_lex_state = 8},
  [865] = {.lex_state = 71, .external_lex_state = 2},
  [866] = {.lex_state = 98, .external_lex_state = 4},
  [867] = {.lex_state = 129, .external_lex_state = 8},
  [868] = {.lex_state = 217, .external_lex_state = 2},
  [869] = {.lex_state = 163, .external_lex_state = 11},
  [870] = {.lex_state = 163, .external_lex_state = 4},
  [871] = {.lex_state = 167, .external_lex_state = 8},
  [872] = {.lex_state = 94, .external_lex_state = 15},
  [873] = {.lex_state = 94, .external_lex_state = 15},
  [874] = {.lex_state = 94, .external_lex_state = 15},
  [875] = {.lex_state = 181},
  [876] = {.lex_state = 222, .external_lex_state = 16},
  [877] = {.lex_state = 78},
  [878] = {.lex_state = 189, .external_lex_state = 16},
  [879] = {.lex_state = 189, .external_lex_state = 16},
  [880] = {.lex_state = 94, .external_lex_state = 15},
  [881] = {.lex_state = 224, .external_lex_state = 24},
  [882] = {.lex_state = 224, .external_lex_state = 16},
  [883] = {.lex_state = 94, .external_lex_state = 15},
  [884] = {.lex_state = 224, .external_lex_state = 24},
  [885] = {.lex_state = 224, .external_lex_state = 16},
  [886] = {.lex_state = 217, .external_lex_state = 2},
  [887] = {.lex_state = 94, .external_lex_state = 15},
  [888] = {.lex_state = 163, .external_lex_state = 4},
  [889] = {.lex_state = 167, .external_lex_state = 8},
  [890] = {.lex_state = 71, .external_lex_state = 2},
  [891] = {.lex_state = 98, .external_lex_state = 4},
  [892] = {.lex_state = 129, .external_lex_state = 8},
  [893] = {.lex_state = 217, .external_lex_state = 2},
  [894] = {.lex_state = 94, .external_lex_state = 15},
  [895] = {.lex_state = 163, .external_lex_state = 4},
  [896] = {.lex_state = 167, .external_lex_state = 8},
  [897] = {.lex_state = 106},
  [898] = {.lex_state = 222, .external_lex_state = 16},
  [899] = {.lex_state = 78},
  [900] = {.lex_state = 189, .external_lex_state = 16},
  [901] = {.lex_state = 189, .external_lex_state = 16},
  [902] = {.lex_state = 106, .external_lex_state = 10},
  [903] = {.lex_state = 224, .external_lex_state = 24},
  [904] = {.lex_state = 224, .external_lex_state = 16},
  [905] = {.lex_state = 106, .external_lex_state = 10},
  [906] = {.lex_state = 224, .external_lex_state = 24},
  [907] = {.lex_state = 224, .external_lex_state = 16},
  [908] = {.lex_state = 217, .external_lex_state = 2},
  [909] = {.lex_state = 106, .external_lex_state = 10},
  [910] = {.lex_state = 163, .external_lex_state = 4},
  [911] = {.lex_state = 167, .external_lex_state = 8},
  [912] = {.lex_state = 71, .external_lex_state = 2},
  [913] = {.lex_state = 98, .external_lex_state = 4},
  [914] = {.lex_state = 129, .external_lex_state = 8},
  [915] = {.lex_state = 131, .external_lex_state = 5},
  [916] = {.lex_state = 181},
  [917] = {.lex_state = 202, .external_lex_state = 12},
  [918] = {.lex_state = 202, .external_lex_state = 12},
  [919] = {.lex_state = 202, .external_lex_state = 12},
  [920] = {.lex_state = 131, .external_lex_state = 5},
  [921] = {.lex_state = 212, .external_lex_state = 23},
  [922] = {.lex_state = 106},
  [923] = {.lex_state = 113},
  [924] = {.lex_state = 212, .external_lex_state = 23},
  [925] = {.lex_state = 113, .external_lex_state = 6},
  [926] = {.lex_state = 71, .external_lex_state = 2},
  [927] = {.lex_state = 71, .external_lex_state = 2},
  [928] = {.lex_state = 71, .external_lex_state = 2},
  [929] = {.lex_state = 212, .external_lex_state = 16},
  [930] = {.lex_state = 222, .external_lex_state = 16},
  [931] = {.lex_state = 131, .external_lex_state = 5},
  [932] = {.lex_state = 224, .external_lex_state = 24},
  [933] = {.lex_state = 224, .external_lex_state = 16},
  [934] = {.lex_state = 224, .external_lex_state = 24},
  [935] = {.lex_state = 224, .external_lex_state = 16},
  [936] = {.lex_state = 94},
  [937] = {.lex_state = 224, .external_lex_state = 23},
  [938] = {.lex_state = 224, .external_lex_state = 23},
  [939] = {.lex_state = 181},
  [940] = {.lex_state = 106},
  [941] = {.lex_state = 224, .external_lex_state = 23},
  [942] = {.lex_state = 224, .external_lex_state = 23},
  [943] = {.lex_state = 224, .external_lex_state = 23},
  [944] = {.lex_state = 78},
  [945] = {.lex_state = 187, .external_lex_state = 6},
  [946] = {.lex_state = 189, .external_lex_state = 16},
  [947] = {.lex_state = 189, .external_lex_state = 16},
  [948] = {.lex_state = 224, .external_lex_state = 16},
  [949] = {.lex_state = 131, .external_lex_state = 5},
  [950] = {.lex_state = 224, .external_lex_state = 16},
  [951] = {.lex_state = 163, .external_lex_state = 4},
  [952] = {.lex_state = 167, .external_lex_state = 8},
  [953] = {.lex_state = 71, .external_lex_state = 2},
  [954] = {.lex_state = 98, .external_lex_state = 4},
  [955] = {.lex_state = 129, .external_lex_state = 8},
  [956] = {.lex_state = 71, .external_lex_state = 2},
  [957] = {.lex_state = 163, .external_lex_state = 4},
  [958] = {.lex_state = 167, .external_lex_state = 8},
  [959] = {.lex_state = 71, .external_lex_state = 2},
  [960] = {.lex_state = 224, .external_lex_state = 16},
  [961] = {.lex_state = 224, .external_lex_state = 16},
  [962] = {.lex_state = 131, .external_lex_state = 5},
  [963] = {.lex_state = 217, .external_lex_state = 2},
  [964] = {.lex_state = 226, .external_lex_state = 21},
  [965] = {.lex_state = 226, .external_lex_state = 7},
  [966] = {.lex_state = 78},
  [967] = {.lex_state = 129, .external_lex_state = 21},
  [968] = {.lex_state = 161},
  [969] = {.lex_state = 129, .external_lex_state = 8},
  [970] = {.lex_state = 98, .external_lex_state = 4},
  [971] = {.lex_state = 129, .external_lex_state = 8},
  [972] = {.lex_state = 94},
  [973] = {.lex_state = 226, .external_lex_state = 5},
  [974] = {.lex_state = 226, .external_lex_state = 5},
  [975] = {.lex_state = 226, .external_lex_state = 5},
  [976] = {.lex_state = 226, .external_lex_state = 5},
  [977] = {.lex_state = 226, .external_lex_state = 7},
  [978] = {.lex_state = 226, .external_lex_state = 7},
  [979] = {.lex_state = 71, .external_lex_state = 2},
  [980] = {.lex_state = 102, .external_lex_state = 7},
  [981] = {.lex_state = 131, .external_lex_state = 5},
  [982] = {.lex_state = 217, .external_lex_state = 2},
  [983] = {.lex_state = 214, .external_lex_state = 21},
  [984] = {.lex_state = 193, .external_lex_state = 17},
  [985] = {.lex_state = 193, .external_lex_state = 17},
  [986] = {.lex_state = 78},
  [987] = {.lex_state = 187, .external_lex_state = 6},
  [988] = {.lex_state = 189, .external_lex_state = 16},
  [989] = {.lex_state = 189, .external_lex_state = 16},
  [990] = {.lex_state = 169, .external_lex_state = 4},
  [991] = {.lex_state = 193, .external_lex_state = 17},
  [992] = {.lex_state = 198, .external_lex_state = 5},
  [993] = {.lex_state = 198, .external_lex_state = 5},
  [994] = {.lex_state = 228, .external_lex_state = 7},
  [995] = {.lex_state = 198, .external_lex_state = 5},
  [996] = {.lex_state = 169, .external_lex_state = 4},
  [997] = {.lex_state = 217, .external_lex_state = 2},
  [998] = {.lex_state = 198, .external_lex_state = 7},
  [999] = {.lex_state = 230, .external_lex_state = 10},
  [1000] = {.lex_state = 78},
  [1001] = {.lex_state = 202, .external_lex_state = 12},
  [1002] = {.lex_state = 230, .external_lex_state = 10},
  [1003] = {.lex_state = 78},
  [1004] = {.lex_state = 94},
  [1005] = {.lex_state = 204, .external_lex_state = 10},
  [1006] = {.lex_state = 204, .external_lex_state = 10},
  [1007] = {.lex_state = 181},
  [1008] = {.lex_state = 106},
  [1009] = {.lex_state = 204, .external_lex_state = 10},
  [1010] = {.lex_state = 204, .external_lex_state = 10},
  [1011] = {.lex_state = 204, .external_lex_state = 10},
  [1012] = {.lex_state = 78},
  [1013] = {.lex_state = 187, .external_lex_state = 6},
  [1014] = {.lex_state = 189, .external_lex_state = 16},
  [1015] = {.lex_state = 189, .external_lex_state = 16},
  [1016] = {.lex_state = 163, .external_lex_state = 4},
  [1017] = {.lex_state = 167, .external_lex_state = 8},
  [1018] = {.lex_state = 71, .external_lex_state = 2},
  [1019] = {.lex_state = 98, .external_lex_state = 4},
  [1020] = {.lex_state = 129, .external_lex_state = 8},
  [1021] = {.lex_state = 71, .external_lex_state = 2},
  [1022] = {.lex_state = 163, .external_lex_state = 4},
  [1023] = {.lex_state = 167, .external_lex_state = 8},
  [1024] = {.lex_state = 71, .external_lex_state = 2},
  [1025] = {.lex_state = 167, .external_lex_state = 8},
  [1026] = {.lex_state = 204},
  [1027] = {.lex_state = 167, .external_lex_state = 20},
  [1028] = {.lex_state = 129, .external_lex_state = 20},
  [1029] = {.lex_state = 167, .external_lex_state = 20},
  [1030] = {.lex_state = 181},
  [1031] = {.lex_state = 222, .external_lex_state = 16},
  [1032] = {.lex_state = 78},
  [1033] = {.lex_state = 189, .external_lex_state = 16},
  [1034] = {.lex_state = 189, .external_lex_state = 16},
  [1035] = {.lex_state = 167, .external_lex_state = 20},
  [1036] = {.lex_state = 224, .external_lex_state = 24},
  [1037] = {.lex_state = 224, .external_lex_state = 16},
  [1038] = {.lex_state = 167, .external_lex_state = 20},
  [1039] = {.lex_state = 224, .external_lex_state = 24},
  [1040] = {.lex_state = 224, .external_lex_state = 16},
  [1041] = {.lex_state = 217, .external_lex_state = 2},
  [1042] = {.lex_state = 167, .external_lex_state = 20},
  [1043] = {.lex_state = 163, .external_lex_state = 4},
  [1044] = {.lex_state = 167, .external_lex_state = 8},
  [1045] = {.lex_state = 71, .external_lex_state = 2},
  [1046] = {.lex_state = 98, .external_lex_state = 4},
  [1047] = {.lex_state = 129, .external_lex_state = 8},
  [1048] = {.lex_state = 217, .external_lex_state = 2},
  [1049] = {.lex_state = 167, .external_lex_state = 20},
  [1050] = {.lex_state = 163, .external_lex_state = 4},
  [1051] = {.lex_state = 167, .external_lex_state = 8},
  [1052] = {.lex_state = 245},
  [1053] = {.lex_state = 142},
  [1054] = {.lex_state = 232},
  [1055] = {.lex_state = 206, .external_lex_state = 4},
  [1056] = {.lex_state = 234, .external_lex_state = 11},
  [1057] = {.lex_state = 206, .external_lex_state = 11},
  [1058] = {.lex_state = 234, .external_lex_state = 11},
  [1059] = {.lex_state = 181},
  [1060] = {.lex_state = 222, .external_lex_state = 16},
  [1061] = {.lex_state = 78},
  [1062] = {.lex_state = 189, .external_lex_state = 16},
  [1063] = {.lex_state = 189, .external_lex_state = 16},
  [1064] = {.lex_state = 234, .external_lex_state = 11},
  [1065] = {.lex_state = 224, .external_lex_state = 24},
  [1066] = {.lex_state = 224, .external_lex_state = 16},
  [1067] = {.lex_state = 234, .external_lex_state = 11},
  [1068] = {.lex_state = 224, .external_lex_state = 24},
  [1069] = {.lex_state = 224, .external_lex_state = 16},
  [1070] = {.lex_state = 217, .external_lex_state = 2},
  [1071] = {.lex_state = 234, .external_lex_state = 11},
  [1072] = {.lex_state = 163, .external_lex_state = 4},
  [1073] = {.lex_state = 167, .external_lex_state = 8},
  [1074] = {.lex_state = 71, .external_lex_state = 2},
  [1075] = {.lex_state = 98, .external_lex_state = 4},
  [1076] = {.lex_state = 129, .external_lex_state = 8},
  [1077] = {.lex_state = 217, .external_lex_state = 2},
  [1078] = {.lex_state = 234, .external_lex_state = 11},
  [1079] = {.lex_state = 163, .external_lex_state = 4},
  [1080] = {.lex_state = 167, .external_lex_state = 8},
  [1081] = {.lex_state = 206, .external_lex_state = 4},
  [1082] = {.lex_state = 206, .external_lex_state = 4},
  [1083] = {.lex_state = 206, .external_lex_state = 4},
  [1084] = {.lex_state = 94},
  [1085] = {.lex_state = 236, .external_lex_state = 11},
  [1086] = {.lex_state = 236, .external_lex_state = 11},
  [1087] = {.lex_state = 181},
  [1088] = {.lex_state = 106},
  [1089] = {.lex_state = 236, .external_lex_state = 11},
  [1090] = {.lex_state = 236, .external_lex_state = 11},
  [1091] = {.lex_state = 236, .external_lex_state = 11},
  [1092] = {.lex_state = 78},
  [1093] = {.lex_state = 187, .external_lex_state = 6},
  [1094] = {.lex_state = 189, .external_lex_state = 16},
  [1095] = {.lex_state = 189, .external_lex_state = 16},
  [1096] = {.lex_state = 163, .external_lex_state = 4},
  [1097] = {.lex_state = 167, .external_lex_state = 8},
  [1098] = {.lex_state = 71, .external_lex_state = 2},
  [1099] = {.lex_state = 98, .external_lex_state = 4},
  [1100] = {.lex_state = 129, .external_lex_state = 8},
  [1101] = {.lex_state = 71, .external_lex_state = 2},
  [1102] = {.lex_state = 163, .external_lex_state = 4},
  [1103] = {.lex_state = 167, .external_lex_state = 8},
  [1104] = {.lex_state = 71, .external_lex_state = 2},
  [1105] = {.lex_state = 94},
  [1106] = {.lex_state = 236, .external_lex_state = 4},
  [1107] = {.lex_state = 169, .external_lex_state = 4},
  [1108] = {.lex_state = 71, .external_lex_state = 2},
  [1109] = {.lex_state = 208},
  [1110] = {.lex_state = 238, .external_lex_state = 10},
  [1111] = {.lex_state = 208, .external_lex_state = 10},
  [1112] = {.lex_state = 238, .external_lex_state = 10},
  [1113] = {.lex_state = 181},
  [1114] = {.lex_state = 222, .external_lex_state = 16},
  [1115] = {.lex_state = 78},
  [1116] = {.lex_state = 189, .external_lex_state = 16},
  [1117] = {.lex_state = 189, .external_lex_state = 16},
  [1118] = {.lex_state = 238, .external_lex_state = 10},
  [1119] = {.lex_state = 224, .external_lex_state = 24},
  [1120] = {.lex_state = 224, .external_lex_state = 16},
  [1121] = {.lex_state = 238, .external_lex_state = 10},
  [1122] = {.lex_state = 224, .external_lex_state = 24},
  [1123] = {.lex_state = 224, .external_lex_state = 16},
  [1124] = {.lex_state = 217, .external_lex_state = 2},
  [1125] = {.lex_state = 238, .external_lex_state = 10},
  [1126] = {.lex_state = 163, .external_lex_state = 4},
  [1127] = {.lex_state = 167, .external_lex_state = 8},
  [1128] = {.lex_state = 71, .external_lex_state = 2},
  [1129] = {.lex_state = 98, .external_lex_state = 4},
  [1130] = {.lex_state = 129, .external_lex_state = 8},
  [1131] = {.lex_state = 217, .external_lex_state = 2},
  [1132] = {.lex_state = 238, .external_lex_state = 10},
  [1133] = {.lex_state = 163, .external_lex_state = 4},
  [1134] = {.lex_state = 167, .external_lex_state = 8},
  [1135] = {.lex_state = 208},
  [1136] = {.lex_state = 208},
  [1137] = {.lex_state = 210, .external_lex_state = 10},
  [1138] = {.lex_state = 210, .external_lex_state = 10},
  [1139] = {.lex_state = 212, .external_lex_state = 23},
  [1140] = {.lex_state = 212, .external_lex_state = 23},
  [1141] = {.lex_state = 212, .external_lex_state = 16},
  [1142] = {.lex_state = 222, .external_lex_state = 16},
  [1143] = {.lex_state = 210, .external_lex_state = 10},
  [1144] = {.lex_state = 224, .external_lex_state = 24},
  [1145] = {.lex_state = 224, .external_lex_state = 16},
  [1146] = {.lex_state = 224, .external_lex_state = 24},
  [1147] = {.lex_state = 224, .external_lex_state = 16},
  [1148] = {.lex_state = 224, .external_lex_state = 16},
  [1149] = {.lex_state = 210, .external_lex_state = 10},
  [1150] = {.lex_state = 224, .external_lex_state = 16},
  [1151] = {.lex_state = 224, .external_lex_state = 16},
  [1152] = {.lex_state = 210, .external_lex_state = 10},
  [1153] = {.lex_state = 217, .external_lex_state = 2},
  [1154] = {.lex_state = 71, .external_lex_state = 2},
  [1155] = {.lex_state = 210, .external_lex_state = 10},
  [1156] = {.lex_state = 217, .external_lex_state = 2},
  [1157] = {.lex_state = 94},
  [1158] = {.lex_state = 198, .external_lex_state = 25},
  [1159] = {.lex_state = 106},
  [1160] = {.lex_state = 113},
  [1161] = {.lex_state = 198, .external_lex_state = 25},
  [1162] = {.lex_state = 113, .external_lex_state = 6},
  [1163] = {.lex_state = 71, .external_lex_state = 2},
  [1164] = {.lex_state = 71, .external_lex_state = 2},
  [1165] = {.lex_state = 71, .external_lex_state = 2},
  [1166] = {.lex_state = 228, .external_lex_state = 21},
  [1167] = {.lex_state = 228, .external_lex_state = 21},
  [1168] = {.lex_state = 198, .external_lex_state = 25},
  [1169] = {.lex_state = 198, .external_lex_state = 25},
  [1170] = {.lex_state = 228, .external_lex_state = 21},
  [1171] = {.lex_state = 198, .external_lex_state = 21},
  [1172] = {.lex_state = 129, .external_lex_state = 20},
  [1173] = {.lex_state = 71},
  [1174] = {.lex_state = 94},
  [1175] = {.lex_state = 94},
  [1176] = {.lex_state = 198, .external_lex_state = 21},
  [1177] = {.lex_state = 198, .external_lex_state = 7},
  [1178] = {.lex_state = 161},
  [1179] = {.lex_state = 71},
  [1180] = {.lex_state = 94},
  [1181] = {.lex_state = 98, .external_lex_state = 14},
  [1182] = {.lex_state = 98, .external_lex_state = 14},
  [1183] = {.lex_state = 98, .external_lex_state = 14},
  [1184] = {.lex_state = 98, .external_lex_state = 11},
  [1185] = {.lex_state = 129, .external_lex_state = 21},
  [1186] = {.lex_state = 228, .external_lex_state = 7},
  [1187] = {.lex_state = 71, .external_lex_state = 2},
  [1188] = {.lex_state = 169, .external_lex_state = 4},
  [1189] = {.lex_state = 198, .external_lex_state = 5},
  [1190] = {.lex_state = 198, .external_lex_state = 5},
  [1191] = {.lex_state = 198, .external_lex_state = 5},
  [1192] = {.lex_state = 198, .external_lex_state = 7},
  [1193] = {.lex_state = 94},
  [1194] = {.lex_state = 71, .external_lex_state = 2},
  [1195] = {.lex_state = 169, .external_lex_state = 4},
  [1196] = {.lex_state = 94},
  [1197] = {.lex_state = 71, .external_lex_state = 2},
  [1198] = {.lex_state = 94},
  [1199] = {.lex_state = 94},
  [1200] = {.lex_state = 169, .external_lex_state = 4},
  [1201] = {.lex_state = 248, .external_lex_state = 10},
  [1202] = {.lex_state = 248, .external_lex_state = 10},
  [1203] = {.lex_state = 251},
  [1204] = {.lex_state = 248},
  [1205] = {.lex_state = 94},
  [1206] = {.lex_state = 241},
  [1207] = {.lex_state = 138, .external_lex_state = 11},
  [1208] = {.lex_state = 169, .external_lex_state = 4},
  [1209] = {.lex_state = 251},
  [1210] = {.lex_state = 94},
  [1211] = {.lex_state = 241},
  [1212] = {.lex_state = 138, .external_lex_state = 11},
  [1213] = {.lex_state = 212, .external_lex_state = 23},
  [1214] = {.lex_state = 212, .external_lex_state = 23},
  [1215] = {.lex_state = 212, .external_lex_state = 16},
  [1216] = {.lex_state = 222, .external_lex_state = 16},
  [1217] = {.lex_state = 138, .external_lex_state = 11},
  [1218] = {.lex_state = 224, .external_lex_state = 24},
  [1219] = {.lex_state = 224, .external_lex_state = 16},
  [1220] = {.lex_state = 224, .external_lex_state = 24},
  [1221] = {.lex_state = 224, .external_lex_state = 16},
  [1222] = {.lex_state = 224, .external_lex_state = 16},
  [1223] = {.lex_state = 138, .external_lex_state = 11},
  [1224] = {.lex_state = 224, .external_lex_state = 16},
  [1225] = {.lex_state = 224, .external_lex_state = 16},
  [1226] = {.lex_state = 138, .external_lex_state = 11},
  [1227] = {.lex_state = 217, .external_lex_state = 2},
  [1228] = {.lex_state = 71, .external_lex_state = 2},
  [1229] = {.lex_state = 138, .external_lex_state = 11},
  [1230] = {.lex_state = 217, .external_lex_state = 2},
  [1231] = {.lex_state = 214, .external_lex_state = 21},
  [1232] = {.lex_state = 212, .external_lex_state = 22},
  [1233] = {.lex_state = 243, .external_lex_state = 21},
  [1234] = {.lex_state = 212, .external_lex_state = 22},
  [1235] = {.lex_state = 94},
  [1236] = {.lex_state = 127, .external_lex_state = 11},
  [1237] = {.lex_state = 127, .external_lex_state = 11},
  [1238] = {.lex_state = 169, .external_lex_state = 4},
  [1239] = {.lex_state = 167, .external_lex_state = 20},
  [1240] = {.lex_state = 71},
  [1241] = {.lex_state = 94},
  [1242] = {.lex_state = 94},
  [1243] = {.lex_state = 220, .external_lex_state = 21},
  [1244] = {.lex_state = 220, .external_lex_state = 7},
  [1245] = {.lex_state = 161},
  [1246] = {.lex_state = 71},
  [1247] = {.lex_state = 94},
  [1248] = {.lex_state = 163, .external_lex_state = 14},
  [1249] = {.lex_state = 163, .external_lex_state = 14},
  [1250] = {.lex_state = 163, .external_lex_state = 14},
  [1251] = {.lex_state = 163, .external_lex_state = 11},
  [1252] = {.lex_state = 167, .external_lex_state = 21},
  [1253] = {.lex_state = 220, .external_lex_state = 5},
  [1254] = {.lex_state = 220, .external_lex_state = 5},
  [1255] = {.lex_state = 220, .external_lex_state = 5},
  [1256] = {.lex_state = 169, .external_lex_state = 4},
  [1257] = {.lex_state = 220, .external_lex_state = 7},
  [1258] = {.lex_state = 94, .external_lex_state = 2},
  [1259] = {.lex_state = 204},
  [1260] = {.lex_state = 175, .external_lex_state = 12},
  [1261] = {.lex_state = 175, .external_lex_state = 12},
  [1262] = {.lex_state = 212, .external_lex_state = 23},
  [1263] = {.lex_state = 212, .external_lex_state = 23},
  [1264] = {.lex_state = 212, .external_lex_state = 16},
  [1265] = {.lex_state = 222, .external_lex_state = 16},
  [1266] = {.lex_state = 175, .external_lex_state = 12},
  [1267] = {.lex_state = 224, .external_lex_state = 24},
  [1268] = {.lex_state = 224, .external_lex_state = 16},
  [1269] = {.lex_state = 224, .external_lex_state = 24},
  [1270] = {.lex_state = 224, .external_lex_state = 16},
  [1271] = {.lex_state = 224, .external_lex_state = 16},
  [1272] = {.lex_state = 175, .external_lex_state = 12},
  [1273] = {.lex_state = 224, .external_lex_state = 16},
  [1274] = {.lex_state = 224, .external_lex_state = 16},
  [1275] = {.lex_state = 175, .external_lex_state = 12},
  [1276] = {.lex_state = 217, .external_lex_state = 2},
  [1277] = {.lex_state = 71, .external_lex_state = 2},
  [1278] = {.lex_state = 175, .external_lex_state = 12},
  [1279] = {.lex_state = 217, .external_lex_state = 2},
  [1280] = {.lex_state = 163, .external_lex_state = 3},
  [1281] = {.lex_state = 204},
  [1282] = {.lex_state = 163, .external_lex_state = 14},
  [1283] = {.lex_state = 163, .external_lex_state = 14},
  [1284] = {.lex_state = 212, .external_lex_state = 23},
  [1285] = {.lex_state = 212, .external_lex_state = 23},
  [1286] = {.lex_state = 212, .external_lex_state = 16},
  [1287] = {.lex_state = 222, .external_lex_state = 16},
  [1288] = {.lex_state = 163, .external_lex_state = 14},
  [1289] = {.lex_state = 224, .external_lex_state = 24},
  [1290] = {.lex_state = 224, .external_lex_state = 16},
  [1291] = {.lex_state = 224, .external_lex_state = 24},
  [1292] = {.lex_state = 224, .external_lex_state = 16},
  [1293] = {.lex_state = 224, .external_lex_state = 16},
  [1294] = {.lex_state = 163, .external_lex_state = 14},
  [1295] = {.lex_state = 224, .external_lex_state = 16},
  [1296] = {.lex_state = 224, .external_lex_state = 16},
  [1297] = {.lex_state = 163, .external_lex_state = 14},
  [1298] = {.lex_state = 217, .external_lex_state = 2},
  [1299] = {.lex_state = 71, .external_lex_state = 2},
  [1300] = {.lex_state = 163, .external_lex_state = 14},
  [1301] = {.lex_state = 217, .external_lex_state = 2},
  [1302] = {.lex_state = 163, .external_lex_state = 11},
  [1303] = {.lex_state = 163, .external_lex_state = 11},
  [1304] = {.lex_state = 212, .external_lex_state = 23},
  [1305] = {.lex_state = 212, .external_lex_state = 23},
  [1306] = {.lex_state = 212, .external_lex_state = 16},
  [1307] = {.lex_state = 222, .external_lex_state = 16},
  [1308] = {.lex_state = 163, .external_lex_state = 11},
  [1309] = {.lex_state = 224, .external_lex_state = 24},
  [1310] = {.lex_state = 224, .external_lex_state = 16},
  [1311] = {.lex_state = 224, .external_lex_state = 24},
  [1312] = {.lex_state = 224, .external_lex_state = 16},
  [1313] = {.lex_state = 224, .external_lex_state = 16},
  [1314] = {.lex_state = 163, .external_lex_state = 11},
  [1315] = {.lex_state = 224, .external_lex_state = 16},
  [1316] = {.lex_state = 224, .external_lex_state = 16},
  [1317] = {.lex_state = 163, .external_lex_state = 11},
  [1318] = {.lex_state = 217, .external_lex_state = 2},
  [1319] = {.lex_state = 71, .external_lex_state = 2},
  [1320] = {.lex_state = 163, .external_lex_state = 11},
  [1321] = {.lex_state = 217, .external_lex_state = 2},
  [1322] = {.lex_state = 94, .external_lex_state = 15},
  [1323] = {.lex_state = 94, .external_lex_state = 15},
  [1324] = {.lex_state = 212, .external_lex_state = 23},
  [1325] = {.lex_state = 212, .external_lex_state = 23},
  [1326] = {.lex_state = 212, .external_lex_state = 16},
  [1327] = {.lex_state = 222, .external_lex_state = 16},
  [1328] = {.lex_state = 94, .external_lex_state = 15},
  [1329] = {.lex_state = 224, .external_lex_state = 24},
  [1330] = {.lex_state = 224, .external_lex_state = 16},
  [1331] = {.lex_state = 224, .external_lex_state = 24},
  [1332] = {.lex_state = 224, .external_lex_state = 16},
  [1333] = {.lex_state = 224, .external_lex_state = 16},
  [1334] = {.lex_state = 94, .external_lex_state = 15},
  [1335] = {.lex_state = 224, .external_lex_state = 16},
  [1336] = {.lex_state = 224, .external_lex_state = 16},
  [1337] = {.lex_state = 94, .external_lex_state = 15},
  [1338] = {.lex_state = 217, .external_lex_state = 2},
  [1339] = {.lex_state = 71, .external_lex_state = 2},
  [1340] = {.lex_state = 94, .external_lex_state = 15},
  [1341] = {.lex_state = 217, .external_lex_state = 2},
  [1342] = {.lex_state = 106, .external_lex_state = 10},
  [1343] = {.lex_state = 212, .external_lex_state = 23},
  [1344] = {.lex_state = 212, .external_lex_state = 23},
  [1345] = {.lex_state = 212, .external_lex_state = 16},
  [1346] = {.lex_state = 222, .external_lex_state = 16},
  [1347] = {.lex_state = 106, .external_lex_state = 10},
  [1348] = {.lex_state = 224, .external_lex_state = 24},
  [1349] = {.lex_state = 224, .external_lex_state = 16},
  [1350] = {.lex_state = 224, .external_lex_state = 24},
  [1351] = {.lex_state = 224, .external_lex_state = 16},
  [1352] = {.lex_state = 224, .external_lex_state = 16},
  [1353] = {.lex_state = 106, .external_lex_state = 10},
  [1354] = {.lex_state = 224, .external_lex_state = 16},
  [1355] = {.lex_state = 224, .external_lex_state = 16},
  [1356] = {.lex_state = 106, .external_lex_state = 10},
  [1357] = {.lex_state = 217, .external_lex_state = 2},
  [1358] = {.lex_state = 71, .external_lex_state = 2},
  [1359] = {.lex_state = 202, .external_lex_state = 13},
  [1360] = {.lex_state = 189, .external_lex_state = 23},
  [1361] = {.lex_state = 202, .external_lex_state = 13},
  [1362] = {.lex_state = 189, .external_lex_state = 23},
  [1363] = {.lex_state = 175, .external_lex_state = 13},
  [1364] = {.lex_state = 94},
  [1365] = {.lex_state = 131, .external_lex_state = 5},
  [1366] = {.lex_state = 212, .external_lex_state = 23},
  [1367] = {.lex_state = 212, .external_lex_state = 23},
  [1368] = {.lex_state = 181},
  [1369] = {.lex_state = 106},
  [1370] = {.lex_state = 212, .external_lex_state = 23},
  [1371] = {.lex_state = 212, .external_lex_state = 23},
  [1372] = {.lex_state = 212, .external_lex_state = 23},
  [1373] = {.lex_state = 131, .external_lex_state = 5},
  [1374] = {.lex_state = 78},
  [1375] = {.lex_state = 187, .external_lex_state = 6},
  [1376] = {.lex_state = 189, .external_lex_state = 16},
  [1377] = {.lex_state = 189, .external_lex_state = 16},
  [1378] = {.lex_state = 163, .external_lex_state = 4},
  [1379] = {.lex_state = 167, .external_lex_state = 8},
  [1380] = {.lex_state = 71, .external_lex_state = 2},
  [1381] = {.lex_state = 98, .external_lex_state = 4},
  [1382] = {.lex_state = 129, .external_lex_state = 8},
  [1383] = {.lex_state = 71, .external_lex_state = 2},
  [1384] = {.lex_state = 163, .external_lex_state = 4},
  [1385] = {.lex_state = 167, .external_lex_state = 8},
  [1386] = {.lex_state = 71, .external_lex_state = 2},
  [1387] = {.lex_state = 212, .external_lex_state = 23},
  [1388] = {.lex_state = 212, .external_lex_state = 23},
  [1389] = {.lex_state = 212, .external_lex_state = 16},
  [1390] = {.lex_state = 224, .external_lex_state = 16},
  [1391] = {.lex_state = 131, .external_lex_state = 5},
  [1392] = {.lex_state = 224, .external_lex_state = 16},
  [1393] = {.lex_state = 224, .external_lex_state = 16},
  [1394] = {.lex_state = 224, .external_lex_state = 16},
  [1395] = {.lex_state = 224, .external_lex_state = 23},
  [1396] = {.lex_state = 224, .external_lex_state = 23},
  [1397] = {.lex_state = 224, .external_lex_state = 23},
  [1398] = {.lex_state = 181},
  [1399] = {.lex_state = 222, .external_lex_state = 16},
  [1400] = {.lex_state = 78},
  [1401] = {.lex_state = 189, .external_lex_state = 16},
  [1402] = {.lex_state = 189, .external_lex_state = 16},
  [1403] = {.lex_state = 224, .external_lex_state = 23},
  [1404] = {.lex_state = 224, .external_lex_state = 24},
  [1405] = {.lex_state = 224, .external_lex_state = 16},
  [1406] = {.lex_state = 224, .external_lex_state = 23},
  [1407] = {.lex_state = 224, .external_lex_state = 24},
  [1408] = {.lex_state = 224, .external_lex_state = 16},
  [1409] = {.lex_state = 131, .external_lex_state = 5},
  [1410] = {.lex_state = 224, .external_lex_state = 16},
  [1411] = {.lex_state = 217, .external_lex_state = 2},
  [1412] = {.lex_state = 224, .external_lex_state = 23},
  [1413] = {.lex_state = 163, .external_lex_state = 4},
  [1414] = {.lex_state = 167, .external_lex_state = 8},
  [1415] = {.lex_state = 71, .external_lex_state = 2},
  [1416] = {.lex_state = 98, .external_lex_state = 4},
  [1417] = {.lex_state = 129, .external_lex_state = 8},
  [1418] = {.lex_state = 217, .external_lex_state = 2},
  [1419] = {.lex_state = 224, .external_lex_state = 23},
  [1420] = {.lex_state = 163, .external_lex_state = 4},
  [1421] = {.lex_state = 167, .external_lex_state = 8},
  [1422] = {.lex_state = 131, .external_lex_state = 5},
  [1423] = {.lex_state = 71},
  [1424] = {.lex_state = 94},
  [1425] = {.lex_state = 94},
  [1426] = {.lex_state = 226, .external_lex_state = 21},
  [1427] = {.lex_state = 226, .external_lex_state = 7},
  [1428] = {.lex_state = 161},
  [1429] = {.lex_state = 71},
  [1430] = {.lex_state = 94},
  [1431] = {.lex_state = 129, .external_lex_state = 21},
  [1432] = {.lex_state = 226, .external_lex_state = 5},
  [1433] = {.lex_state = 226, .external_lex_state = 5},
  [1434] = {.lex_state = 226, .external_lex_state = 5},
  [1435] = {.lex_state = 226, .external_lex_state = 7},
  [1436] = {.lex_state = 131, .external_lex_state = 5},
  [1437] = {.lex_state = 169, .external_lex_state = 4},
  [1438] = {.lex_state = 222, .external_lex_state = 16},
  [1439] = {.lex_state = 78},
  [1440] = {.lex_state = 189, .external_lex_state = 16},
  [1441] = {.lex_state = 189, .external_lex_state = 16},
  [1442] = {.lex_state = 193, .external_lex_state = 17},
  [1443] = {.lex_state = 224, .external_lex_state = 24},
  [1444] = {.lex_state = 224, .external_lex_state = 16},
  [1445] = {.lex_state = 193, .external_lex_state = 17},
  [1446] = {.lex_state = 224, .external_lex_state = 24},
  [1447] = {.lex_state = 224, .external_lex_state = 16},
  [1448] = {.lex_state = 198, .external_lex_state = 5},
  [1449] = {.lex_state = 169, .external_lex_state = 4},
  [1450] = {.lex_state = 78},
  [1451] = {.lex_state = 78},
  [1452] = {.lex_state = 204, .external_lex_state = 10},
  [1453] = {.lex_state = 204, .external_lex_state = 10},
  [1454] = {.lex_state = 204, .external_lex_state = 10},
  [1455] = {.lex_state = 181},
  [1456] = {.lex_state = 222, .external_lex_state = 16},
  [1457] = {.lex_state = 78},
  [1458] = {.lex_state = 189, .external_lex_state = 16},
  [1459] = {.lex_state = 189, .external_lex_state = 16},
  [1460] = {.lex_state = 204, .external_lex_state = 10},
  [1461] = {.lex_state = 224, .external_lex_state = 24},
  [1462] = {.lex_state = 224, .external_lex_state = 16},
  [1463] = {.lex_state = 204, .external_lex_state = 10},
  [1464] = {.lex_state = 224, .external_lex_state = 24},
  [1465] = {.lex_state = 224, .external_lex_state = 16},
  [1466] = {.lex_state = 217, .external_lex_state = 2},
  [1467] = {.lex_state = 204, .external_lex_state = 10},
  [1468] = {.lex_state = 163, .external_lex_state = 4},
  [1469] = {.lex_state = 167, .external_lex_state = 8},
  [1470] = {.lex_state = 71, .external_lex_state = 2},
  [1471] = {.lex_state = 98, .external_lex_state = 4},
  [1472] = {.lex_state = 129, .external_lex_state = 8},
  [1473] = {.lex_state = 217, .external_lex_state = 2},
  [1474] = {.lex_state = 204, .external_lex_state = 10},
  [1475] = {.lex_state = 163, .external_lex_state = 4},
  [1476] = {.lex_state = 167, .external_lex_state = 8},
  [1477] = {.lex_state = 167, .external_lex_state = 20},
  [1478] = {.lex_state = 167, .external_lex_state = 20},
  [1479] = {.lex_state = 212, .external_lex_state = 23},
  [1480] = {.lex_state = 212, .external_lex_state = 23},
  [1481] = {.lex_state = 212, .external_lex_state = 16},
  [1482] = {.lex_state = 222, .external_lex_state = 16},
  [1483] = {.lex_state = 167, .external_lex_state = 20},
  [1484] = {.lex_state = 224, .external_lex_state = 24},
  [1485] = {.lex_state = 224, .external_lex_state = 16},
  [1486] = {.lex_state = 224, .external_lex_state = 24},
  [1487] = {.lex_state = 224, .external_lex_state = 16},
  [1488] = {.lex_state = 224, .external_lex_state = 16},
  [1489] = {.lex_state = 167, .external_lex_state = 20},
  [1490] = {.lex_state = 224, .external_lex_state = 16},
  [1491] = {.lex_state = 224, .external_lex_state = 16},
  [1492] = {.lex_state = 167, .external_lex_state = 20},
  [1493] = {.lex_state = 217, .external_lex_state = 2},
  [1494] = {.lex_state = 71, .external_lex_state = 2},
  [1495] = {.lex_state = 167, .external_lex_state = 20},
  [1496] = {.lex_state = 217, .external_lex_state = 2},
  [1497] = {.lex_state = 245},
  [1498] = {.lex_state = 212, .external_lex_state = 22},
  [1499] = {.lex_state = 169, .external_lex_state = 4},
  [1500] = {.lex_state = 245},
  [1501] = {.lex_state = 142},
  [1502] = {.lex_state = 234, .external_lex_state = 11},
  [1503] = {.lex_state = 234, .external_lex_state = 11},
  [1504] = {.lex_state = 212, .external_lex_state = 23},
  [1505] = {.lex_state = 212, .external_lex_state = 23},
  [1506] = {.lex_state = 212, .external_lex_state = 16},
  [1507] = {.lex_state = 222, .external_lex_state = 16},
  [1508] = {.lex_state = 234, .external_lex_state = 11},
  [1509] = {.lex_state = 224, .external_lex_state = 24},
  [1510] = {.lex_state = 224, .external_lex_state = 16},
  [1511] = {.lex_state = 224, .external_lex_state = 24},
  [1512] = {.lex_state = 224, .external_lex_state = 16},
  [1513] = {.lex_state = 224, .external_lex_state = 16},
  [1514] = {.lex_state = 234, .external_lex_state = 11},
  [1515] = {.lex_state = 224, .external_lex_state = 16},
  [1516] = {.lex_state = 224, .external_lex_state = 16},
  [1517] = {.lex_state = 234, .external_lex_state = 11},
  [1518] = {.lex_state = 217, .external_lex_state = 2},
  [1519] = {.lex_state = 71, .external_lex_state = 2},
  [1520] = {.lex_state = 234, .external_lex_state = 11},
  [1521] = {.lex_state = 217, .external_lex_state = 2},
  [1522] = {.lex_state = 232},
  [1523] = {.lex_state = 236, .external_lex_state = 11},
  [1524] = {.lex_state = 236, .external_lex_state = 11},
  [1525] = {.lex_state = 236, .external_lex_state = 11},
  [1526] = {.lex_state = 181},
  [1527] = {.lex_state = 222, .external_lex_state = 16},
  [1528] = {.lex_state = 78},
  [1529] = {.lex_state = 189, .external_lex_state = 16},
  [1530] = {.lex_state = 189, .external_lex_state = 16},
  [1531] = {.lex_state = 236, .external_lex_state = 11},
  [1532] = {.lex_state = 224, .external_lex_state = 24},
  [1533] = {.lex_state = 224, .external_lex_state = 16},
  [1534] = {.lex_state = 236, .external_lex_state = 11},
  [1535] = {.lex_state = 224, .external_lex_state = 24},
  [1536] = {.lex_state = 224, .external_lex_state = 16},
  [1537] = {.lex_state = 217, .external_lex_state = 2},
  [1538] = {.lex_state = 236, .external_lex_state = 11},
  [1539] = {.lex_state = 163, .external_lex_state = 4},
  [1540] = {.lex_state = 167, .external_lex_state = 8},
  [1541] = {.lex_state = 71, .external_lex_state = 2},
  [1542] = {.lex_state = 98, .external_lex_state = 4},
  [1543] = {.lex_state = 129, .external_lex_state = 8},
  [1544] = {.lex_state = 217, .external_lex_state = 2},
  [1545] = {.lex_state = 236, .external_lex_state = 11},
  [1546] = {.lex_state = 163, .external_lex_state = 4},
  [1547] = {.lex_state = 167, .external_lex_state = 8},
  [1548] = {.lex_state = 169, .external_lex_state = 4},
  [1549] = {.lex_state = 169, .external_lex_state = 4},
  [1550] = {.lex_state = 238, .external_lex_state = 10},
  [1551] = {.lex_state = 238, .external_lex_state = 10},
  [1552] = {.lex_state = 212, .external_lex_state = 23},
  [1553] = {.lex_state = 212, .external_lex_state = 23},
  [1554] = {.lex_state = 212, .external_lex_state = 16},
  [1555] = {.lex_state = 222, .external_lex_state = 16},
  [1556] = {.lex_state = 238, .external_lex_state = 10},
  [1557] = {.lex_state = 224, .external_lex_state = 24},
  [1558] = {.lex_state = 224, .external_lex_state = 16},
  [1559] = {.lex_state = 224, .external_lex_state = 24},
  [1560] = {.lex_state = 224, .external_lex_state = 16},
  [1561] = {.lex_state = 224, .external_lex_state = 16},
  [1562] = {.lex_state = 238, .external_lex_state = 10},
  [1563] = {.lex_state = 224, .external_lex_state = 16},
  [1564] = {.lex_state = 224, .external_lex_state = 16},
  [1565] = {.lex_state = 238, .external_lex_state = 10},
  [1566] = {.lex_state = 217, .external_lex_state = 2},
  [1567] = {.lex_state = 71, .external_lex_state = 2},
  [1568] = {.lex_state = 238, .external_lex_state = 10},
  [1569] = {.lex_state = 217, .external_lex_state = 2},
  [1570] = {.lex_state = 210, .external_lex_state = 10},
  [1571] = {.lex_state = 210, .external_lex_state = 10},
  [1572] = {.lex_state = 212, .external_lex_state = 23},
  [1573] = {.lex_state = 212, .external_lex_state = 23},
  [1574] = {.lex_state = 212, .external_lex_state = 16},
  [1575] = {.lex_state = 224, .external_lex_state = 16},
  [1576] = {.lex_state = 210, .external_lex_state = 10},
  [1577] = {.lex_state = 224, .external_lex_state = 16},
  [1578] = {.lex_state = 224, .external_lex_state = 16},
  [1579] = {.lex_state = 224, .external_lex_state = 16},
  [1580] = {.lex_state = 210, .external_lex_state = 10},
  [1581] = {.lex_state = 224, .external_lex_state = 16},
  [1582] = {.lex_state = 210, .external_lex_state = 10},
  [1583] = {.lex_state = 210, .external_lex_state = 10},
  [1584] = {.lex_state = 198, .external_lex_state = 25},
  [1585] = {.lex_state = 198, .external_lex_state = 25},
  [1586] = {.lex_state = 228, .external_lex_state = 21},
  [1587] = {.lex_state = 94},
  [1588] = {.lex_state = 198, .external_lex_state = 25},
  [1589] = {.lex_state = 228, .external_lex_state = 25},
  [1590] = {.lex_state = 181},
  [1591] = {.lex_state = 106},
  [1592] = {.lex_state = 228, .external_lex_state = 25},
  [1593] = {.lex_state = 228, .external_lex_state = 25},
  [1594] = {.lex_state = 228, .external_lex_state = 25},
  [1595] = {.lex_state = 78},
  [1596] = {.lex_state = 187, .external_lex_state = 6},
  [1597] = {.lex_state = 189, .external_lex_state = 16},
  [1598] = {.lex_state = 189, .external_lex_state = 16},
  [1599] = {.lex_state = 163, .external_lex_state = 4},
  [1600] = {.lex_state = 167, .external_lex_state = 8},
  [1601] = {.lex_state = 71, .external_lex_state = 2},
  [1602] = {.lex_state = 98, .external_lex_state = 4},
  [1603] = {.lex_state = 129, .external_lex_state = 8},
  [1604] = {.lex_state = 71, .external_lex_state = 2},
  [1605] = {.lex_state = 163, .external_lex_state = 4},
  [1606] = {.lex_state = 167, .external_lex_state = 8},
  [1607] = {.lex_state = 71, .external_lex_state = 2},
  [1608] = {.lex_state = 129, .external_lex_state = 20},
  [1609] = {.lex_state = 94},
  [1610] = {.lex_state = 198, .external_lex_state = 25},
  [1611] = {.lex_state = 198, .external_lex_state = 25},
  [1612] = {.lex_state = 198, .external_lex_state = 25},
  [1613] = {.lex_state = 198, .external_lex_state = 25},
  [1614] = {.lex_state = 198, .external_lex_state = 21},
  [1615] = {.lex_state = 129, .external_lex_state = 21},
  [1616] = {.lex_state = 94},
  [1617] = {.lex_state = 127, .external_lex_state = 11},
  [1618] = {.lex_state = 127, .external_lex_state = 11},
  [1619] = {.lex_state = 198, .external_lex_state = 5},
  [1620] = {.lex_state = 71, .external_lex_state = 2},
  [1621] = {.lex_state = 71, .external_lex_state = 2},
  [1622] = {.lex_state = 169, .external_lex_state = 4},
  [1623] = {.lex_state = 94},
  [1624] = {.lex_state = 94},
  [1625] = {.lex_state = 253, .external_lex_state = 2},
  [1626] = {.lex_state = 248},
  [1627] = {.lex_state = 248, .external_lex_state = 10},
  [1628] = {.lex_state = 253, .external_lex_state = 2},
  [1629] = {.lex_state = 248},
  [1630] = {.lex_state = 169, .external_lex_state = 4},
  [1631] = {.lex_state = 251},
  [1632] = {.lex_state = 94},
  [1633] = {.lex_state = 94},
  [1634] = {.lex_state = 169, .external_lex_state = 4},
  [1635] = {.lex_state = 251},
  [1636] = {.lex_state = 94},
  [1637] = {.lex_state = 138, .external_lex_state = 11},
  [1638] = {.lex_state = 138, .external_lex_state = 11},
  [1639] = {.lex_state = 212, .external_lex_state = 23},
  [1640] = {.lex_state = 212, .external_lex_state = 23},
  [1641] = {.lex_state = 212, .external_lex_state = 16},
  [1642] = {.lex_state = 224, .external_lex_state = 16},
  [1643] = {.lex_state = 138, .external_lex_state = 11},
  [1644] = {.lex_state = 224, .external_lex_state = 16},
  [1645] = {.lex_state = 224, .external_lex_state = 16},
  [1646] = {.lex_state = 224, .external_lex_state = 16},
  [1647] = {.lex_state = 138, .external_lex_state = 11},
  [1648] = {.lex_state = 224, .external_lex_state = 16},
  [1649] = {.lex_state = 138, .external_lex_state = 11},
  [1650] = {.lex_state = 138, .external_lex_state = 11},
  [1651] = {.lex_state = 169, .external_lex_state = 4},
  [1652] = {.lex_state = 127, .external_lex_state = 11},
  [1653] = {.lex_state = 127, .external_lex_state = 11},
  [1654] = {.lex_state = 169, .external_lex_state = 4},
  [1655] = {.lex_state = 127, .external_lex_state = 11},
  [1656] = {.lex_state = 167, .external_lex_state = 20},
  [1657] = {.lex_state = 94},
  [1658] = {.lex_state = 220, .external_lex_state = 25},
  [1659] = {.lex_state = 220, .external_lex_state = 25},
  [1660] = {.lex_state = 220, .external_lex_state = 25},
  [1661] = {.lex_state = 220, .external_lex_state = 25},
  [1662] = {.lex_state = 220, .external_lex_state = 21},
  [1663] = {.lex_state = 167, .external_lex_state = 21},
  [1664] = {.lex_state = 94},
  [1665] = {.lex_state = 255, .external_lex_state = 11},
  [1666] = {.lex_state = 255, .external_lex_state = 11},
  [1667] = {.lex_state = 220, .external_lex_state = 5},
  [1668] = {.lex_state = 94, .external_lex_state = 2},
  [1669] = {.lex_state = 175, .external_lex_state = 12},
  [1670] = {.lex_state = 175, .external_lex_state = 12},
  [1671] = {.lex_state = 212, .external_lex_state = 23},
  [1672] = {.lex_state = 212, .external_lex_state = 23},
  [1673] = {.lex_state = 212, .external_lex_state = 16},
  [1674] = {.lex_state = 224, .external_lex_state = 16},
  [1675] = {.lex_state = 175, .external_lex_state = 12},
  [1676] = {.lex_state = 224, .external_lex_state = 16},
  [1677] = {.lex_state = 224, .external_lex_state = 16},
  [1678] = {.lex_state = 224, .external_lex_state = 16},
  [1679] = {.lex_state = 175, .external_lex_state = 12},
  [1680] = {.lex_state = 224, .external_lex_state = 16},
  [1681] = {.lex_state = 175, .external_lex_state = 12},
  [1682] = {.lex_state = 175, .external_lex_state = 12},
  [1683] = {.lex_state = 163, .external_lex_state = 3},
  [1684] = {.lex_state = 163, .external_lex_state = 14},
  [1685] = {.lex_state = 163, .external_lex_state = 14},
  [1686] = {.lex_state = 212, .external_lex_state = 23},
  [1687] = {.lex_state = 212, .external_lex_state = 23},
  [1688] = {.lex_state = 212, .external_lex_state = 16},
  [1689] = {.lex_state = 224, .external_lex_state = 16},
  [1690] = {.lex_state = 163, .external_lex_state = 14},
  [1691] = {.lex_state = 224, .external_lex_state = 16},
  [1692] = {.lex_state = 224, .external_lex_state = 16},
  [1693] = {.lex_state = 224, .external_lex_state = 16},
  [1694] = {.lex_state = 163, .external_lex_state = 14},
  [1695] = {.lex_state = 224, .external_lex_state = 16},
  [1696] = {.lex_state = 163, .external_lex_state = 14},
  [1697] = {.lex_state = 163, .external_lex_state = 14},
  [1698] = {.lex_state = 163, .external_lex_state = 11},
  [1699] = {.lex_state = 163, .external_lex_state = 11},
  [1700] = {.lex_state = 212, .external_lex_state = 23},
  [1701] = {.lex_state = 212, .external_lex_state = 23},
  [1702] = {.lex_state = 212, .external_lex_state = 16},
  [1703] = {.lex_state = 224, .external_lex_state = 16},
  [1704] = {.lex_state = 163, .external_lex_state = 11},
  [1705] = {.lex_state = 224, .external_lex_state = 16},
  [1706] = {.lex_state = 224, .external_lex_state = 16},
  [1707] = {.lex_state = 224, .external_lex_state = 16},
  [1708] = {.lex_state = 163, .external_lex_state = 11},
  [1709] = {.lex_state = 224, .external_lex_state = 16},
  [1710] = {.lex_state = 163, .external_lex_state = 11},
  [1711] = {.lex_state = 163, .external_lex_state = 11},
  [1712] = {.lex_state = 94, .external_lex_state = 15},
  [1713] = {.lex_state = 94, .external_lex_state = 15},
  [1714] = {.lex_state = 212, .external_lex_state = 23},
  [1715] = {.lex_state = 212, .external_lex_state = 23},
  [1716] = {.lex_state = 212, .external_lex_state = 16},
  [1717] = {.lex_state = 224, .external_lex_state = 16},
  [1718] = {.lex_state = 94, .external_lex_state = 15},
  [1719] = {.lex_state = 224, .external_lex_state = 16},
  [1720] = {.lex_state = 224, .external_lex_state = 16},
  [1721] = {.lex_state = 224, .external_lex_state = 16},
  [1722] = {.lex_state = 94, .external_lex_state = 15},
  [1723] = {.lex_state = 224, .external_lex_state = 16},
  [1724] = {.lex_state = 94, .external_lex_state = 15},
  [1725] = {.lex_state = 94, .external_lex_state = 15},
  [1726] = {.lex_state = 106, .external_lex_state = 10},
  [1727] = {.lex_state = 106, .external_lex_state = 10},
  [1728] = {.lex_state = 212, .external_lex_state = 23},
  [1729] = {.lex_state = 212, .external_lex_state = 23},
  [1730] = {.lex_state = 212, .external_lex_state = 16},
  [1731] = {.lex_state = 224, .external_lex_state = 16},
  [1732] = {.lex_state = 106, .external_lex_state = 10},
  [1733] = {.lex_state = 224, .external_lex_state = 16},
  [1734] = {.lex_state = 224, .external_lex_state = 16},
  [1735] = {.lex_state = 224, .external_lex_state = 16},
  [1736] = {.lex_state = 106, .external_lex_state = 10},
  [1737] = {.lex_state = 224, .external_lex_state = 16},
  [1738] = {.lex_state = 106, .external_lex_state = 10},
  [1739] = {.lex_state = 189, .external_lex_state = 23},
  [1740] = {.lex_state = 189, .external_lex_state = 16},
  [1741] = {.lex_state = 189, .external_lex_state = 23},
  [1742] = {.lex_state = 189, .external_lex_state = 16},
  [1743] = {.lex_state = 212, .external_lex_state = 23},
  [1744] = {.lex_state = 212, .external_lex_state = 23},
  [1745] = {.lex_state = 212, .external_lex_state = 23},
  [1746] = {.lex_state = 181},
  [1747] = {.lex_state = 222, .external_lex_state = 16},
  [1748] = {.lex_state = 78},
  [1749] = {.lex_state = 189, .external_lex_state = 16},
  [1750] = {.lex_state = 189, .external_lex_state = 16},
  [1751] = {.lex_state = 212, .external_lex_state = 23},
  [1752] = {.lex_state = 224, .external_lex_state = 24},
  [1753] = {.lex_state = 224, .external_lex_state = 16},
  [1754] = {.lex_state = 212, .external_lex_state = 23},
  [1755] = {.lex_state = 224, .external_lex_state = 24},
  [1756] = {.lex_state = 224, .external_lex_state = 16},
  [1757] = {.lex_state = 217, .external_lex_state = 2},
  [1758] = {.lex_state = 212, .external_lex_state = 23},
  [1759] = {.lex_state = 163, .external_lex_state = 4},
  [1760] = {.lex_state = 167, .external_lex_state = 8},
  [1761] = {.lex_state = 71, .external_lex_state = 2},
  [1762] = {.lex_state = 98, .external_lex_state = 4},
  [1763] = {.lex_state = 129, .external_lex_state = 8},
  [1764] = {.lex_state = 217, .external_lex_state = 2},
  [1765] = {.lex_state = 212, .external_lex_state = 23},
  [1766] = {.lex_state = 163, .external_lex_state = 4},
  [1767] = {.lex_state = 167, .external_lex_state = 8},
  [1768] = {.lex_state = 131, .external_lex_state = 5},
  [1769] = {.lex_state = 131, .external_lex_state = 5},
  [1770] = {.lex_state = 131, .external_lex_state = 5},
  [1771] = {.lex_state = 224, .external_lex_state = 16},
  [1772] = {.lex_state = 224, .external_lex_state = 16},
  [1773] = {.lex_state = 224, .external_lex_state = 23},
  [1774] = {.lex_state = 224, .external_lex_state = 23},
  [1775] = {.lex_state = 212, .external_lex_state = 23},
  [1776] = {.lex_state = 212, .external_lex_state = 23},
  [1777] = {.lex_state = 212, .external_lex_state = 16},
  [1778] = {.lex_state = 222, .external_lex_state = 16},
  [1779] = {.lex_state = 224, .external_lex_state = 23},
  [1780] = {.lex_state = 224, .external_lex_state = 24},
  [1781] = {.lex_state = 224, .external_lex_state = 16},
  [1782] = {.lex_state = 224, .external_lex_state = 24},
  [1783] = {.lex_state = 224, .external_lex_state = 16},
  [1784] = {.lex_state = 224, .external_lex_state = 16},
  [1785] = {.lex_state = 224, .external_lex_state = 23},
  [1786] = {.lex_state = 224, .external_lex_state = 16},
  [1787] = {.lex_state = 224, .external_lex_state = 16},
  [1788] = {.lex_state = 131, .external_lex_state = 5},
  [1789] = {.lex_state = 224, .external_lex_state = 23},
  [1790] = {.lex_state = 217, .external_lex_state = 2},
  [1791] = {.lex_state = 71, .external_lex_state = 2},
  [1792] = {.lex_state = 224, .external_lex_state = 23},
  [1793] = {.lex_state = 217, .external_lex_state = 2},
  [1794] = {.lex_state = 94},
  [1795] = {.lex_state = 226, .external_lex_state = 25},
  [1796] = {.lex_state = 226, .external_lex_state = 25},
  [1797] = {.lex_state = 226, .external_lex_state = 25},
  [1798] = {.lex_state = 226, .external_lex_state = 25},
  [1799] = {.lex_state = 226, .external_lex_state = 21},
  [1800] = {.lex_state = 129, .external_lex_state = 21},
  [1801] = {.lex_state = 94},
  [1802] = {.lex_state = 257, .external_lex_state = 11},
  [1803] = {.lex_state = 257, .external_lex_state = 11},
  [1804] = {.lex_state = 226, .external_lex_state = 5},
  [1805] = {.lex_state = 193, .external_lex_state = 17},
  [1806] = {.lex_state = 212, .external_lex_state = 23},
  [1807] = {.lex_state = 212, .external_lex_state = 23},
  [1808] = {.lex_state = 212, .external_lex_state = 16},
  [1809] = {.lex_state = 222, .external_lex_state = 16},
  [1810] = {.lex_state = 193, .external_lex_state = 17},
  [1811] = {.lex_state = 224, .external_lex_state = 24},
  [1812] = {.lex_state = 224, .external_lex_state = 16},
  [1813] = {.lex_state = 224, .external_lex_state = 24},
  [1814] = {.lex_state = 224, .external_lex_state = 16},
  [1815] = {.lex_state = 224, .external_lex_state = 16},
  [1816] = {.lex_state = 193, .external_lex_state = 17},
  [1817] = {.lex_state = 224, .external_lex_state = 16},
  [1818] = {.lex_state = 224, .external_lex_state = 16},
  [1819] = {.lex_state = 204, .external_lex_state = 10},
  [1820] = {.lex_state = 204, .external_lex_state = 10},
  [1821] = {.lex_state = 212, .external_lex_state = 23},
  [1822] = {.lex_state = 212, .external_lex_state = 23},
  [1823] = {.lex_state = 212, .external_lex_state = 16},
  [1824] = {.lex_state = 222, .external_lex_state = 16},
  [1825] = {.lex_state = 204, .external_lex_state = 10},
  [1826] = {.lex_state = 224, .external_lex_state = 24},
  [1827] = {.lex_state = 224, .external_lex_state = 16},
  [1828] = {.lex_state = 224, .external_lex_state = 24},
  [1829] = {.lex_state = 224, .external_lex_state = 16},
  [1830] = {.lex_state = 224, .external_lex_state = 16},
  [1831] = {.lex_state = 204, .external_lex_state = 10},
  [1832] = {.lex_state = 224, .external_lex_state = 16},
  [1833] = {.lex_state = 224, .external_lex_state = 16},
  [1834] = {.lex_state = 204, .external_lex_state = 10},
  [1835] = {.lex_state = 217, .external_lex_state = 2},
  [1836] = {.lex_state = 71, .external_lex_state = 2},
  [1837] = {.lex_state = 204, .external_lex_state = 10},
  [1838] = {.lex_state = 217, .external_lex_state = 2},
  [1839] = {.lex_state = 167, .external_lex_state = 20},
  [1840] = {.lex_state = 167, .external_lex_state = 20},
  [1841] = {.lex_state = 212, .external_lex_state = 23},
  [1842] = {.lex_state = 212, .external_lex_state = 23},
  [1843] = {.lex_state = 212, .external_lex_state = 16},
  [1844] = {.lex_state = 224, .external_lex_state = 16},
  [1845] = {.lex_state = 167, .external_lex_state = 20},
  [1846] = {.lex_state = 224, .external_lex_state = 16},
  [1847] = {.lex_state = 224, .external_lex_state = 16},
  [1848] = {.lex_state = 224, .external_lex_state = 16},
  [1849] = {.lex_state = 167, .external_lex_state = 20},
  [1850] = {.lex_state = 224, .external_lex_state = 16},
  [1851] = {.lex_state = 167, .external_lex_state = 20},
  [1852] = {.lex_state = 167, .external_lex_state = 20},
  [1853] = {.lex_state = 169, .external_lex_state = 4},
  [1854] = {.lex_state = 169, .external_lex_state = 4},
  [1855] = {.lex_state = 212, .external_lex_state = 22},
  [1856] = {.lex_state = 245},
  [1857] = {.lex_state = 245},
  [1858] = {.lex_state = 234, .external_lex_state = 11},
  [1859] = {.lex_state = 234, .external_lex_state = 11},
  [1860] = {.lex_state = 212, .external_lex_state = 23},
  [1861] = {.lex_state = 212, .external_lex_state = 23},
  [1862] = {.lex_state = 212, .external_lex_state = 16},
  [1863] = {.lex_state = 224, .external_lex_state = 16},
  [1864] = {.lex_state = 234, .external_lex_state = 11},
  [1865] = {.lex_state = 224, .external_lex_state = 16},
  [1866] = {.lex_state = 224, .external_lex_state = 16},
  [1867] = {.lex_state = 224, .external_lex_state = 16},
  [1868] = {.lex_state = 234, .external_lex_state = 11},
  [1869] = {.lex_state = 224, .external_lex_state = 16},
  [1870] = {.lex_state = 234, .external_lex_state = 11},
  [1871] = {.lex_state = 234, .external_lex_state = 11},
  [1872] = {.lex_state = 142},
  [1873] = {.lex_state = 236, .external_lex_state = 11},
  [1874] = {.lex_state = 236, .external_lex_state = 11},
  [1875] = {.lex_state = 212, .external_lex_state = 23},
  [1876] = {.lex_state = 212, .external_lex_state = 23},
  [1877] = {.lex_state = 212, .external_lex_state = 16},
  [1878] = {.lex_state = 222, .external_lex_state = 16},
  [1879] = {.lex_state = 236, .external_lex_state = 11},
  [1880] = {.lex_state = 224, .external_lex_state = 24},
  [1881] = {.lex_state = 224, .external_lex_state = 16},
  [1882] = {.lex_state = 224, .external_lex_state = 24},
  [1883] = {.lex_state = 224, .external_lex_state = 16},
  [1884] = {.lex_state = 224, .external_lex_state = 16},
  [1885] = {.lex_state = 236, .external_lex_state = 11},
  [1886] = {.lex_state = 224, .external_lex_state = 16},
  [1887] = {.lex_state = 224, .external_lex_state = 16},
  [1888] = {.lex_state = 236, .external_lex_state = 11},
  [1889] = {.lex_state = 217, .external_lex_state = 2},
  [1890] = {.lex_state = 71, .external_lex_state = 2},
  [1891] = {.lex_state = 236, .external_lex_state = 11},
  [1892] = {.lex_state = 217, .external_lex_state = 2},
  [1893] = {.lex_state = 238, .external_lex_state = 10},
  [1894] = {.lex_state = 238, .external_lex_state = 10},
  [1895] = {.lex_state = 212, .external_lex_state = 23},
  [1896] = {.lex_state = 212, .external_lex_state = 23},
  [1897] = {.lex_state = 212, .external_lex_state = 16},
  [1898] = {.lex_state = 224, .external_lex_state = 16},
  [1899] = {.lex_state = 238, .external_lex_state = 10},
  [1900] = {.lex_state = 224, .external_lex_state = 16},
  [1901] = {.lex_state = 224, .external_lex_state = 16},
  [1902] = {.lex_state = 224, .external_lex_state = 16},
  [1903] = {.lex_state = 238, .external_lex_state = 10},
  [1904] = {.lex_state = 224, .external_lex_state = 16},
  [1905] = {.lex_state = 238, .external_lex_state = 10},
  [1906] = {.lex_state = 238, .external_lex_state = 10},
  [1907] = {.lex_state = 210, .external_lex_state = 10},
  [1908] = {.lex_state = 210, .external_lex_state = 10},
  [1909] = {.lex_state = 210, .external_lex_state = 10},
  [1910] = {.lex_state = 224, .external_lex_state = 16},
  [1911] = {.lex_state = 224, .external_lex_state = 16},
  [1912] = {.lex_state = 210, .external_lex_state = 10},
  [1913] = {.lex_state = 228, .external_lex_state = 25},
  [1914] = {.lex_state = 198, .external_lex_state = 25},
  [1915] = {.lex_state = 228, .external_lex_state = 25},
  [1916] = {.lex_state = 181},
  [1917] = {.lex_state = 222, .external_lex_state = 16},
  [1918] = {.lex_state = 78},
  [1919] = {.lex_state = 189, .external_lex_state = 16},
  [1920] = {.lex_state = 189, .external_lex_state = 16},
  [1921] = {.lex_state = 228, .external_lex_state = 25},
  [1922] = {.lex_state = 224, .external_lex_state = 24},
  [1923] = {.lex_state = 224, .external_lex_state = 16},
  [1924] = {.lex_state = 228, .external_lex_state = 25},
  [1925] = {.lex_state = 224, .external_lex_state = 24},
  [1926] = {.lex_state = 224, .external_lex_state = 16},
  [1927] = {.lex_state = 217, .external_lex_state = 2},
  [1928] = {.lex_state = 228, .external_lex_state = 25},
  [1929] = {.lex_state = 163, .external_lex_state = 4},
  [1930] = {.lex_state = 167, .external_lex_state = 8},
  [1931] = {.lex_state = 71, .external_lex_state = 2},
  [1932] = {.lex_state = 98, .external_lex_state = 4},
  [1933] = {.lex_state = 129, .external_lex_state = 8},
  [1934] = {.lex_state = 217, .external_lex_state = 2},
  [1935] = {.lex_state = 228, .external_lex_state = 25},
  [1936] = {.lex_state = 163, .external_lex_state = 4},
  [1937] = {.lex_state = 167, .external_lex_state = 8},
  [1938] = {.lex_state = 198, .external_lex_state = 25},
  [1939] = {.lex_state = 198, .external_lex_state = 25},
  [1940] = {.lex_state = 198, .external_lex_state = 25},
  [1941] = {.lex_state = 127, .external_lex_state = 11},
  [1942] = {.lex_state = 127, .external_lex_state = 11},
  [1943] = {.lex_state = 127, .external_lex_state = 11},
  [1944] = {.lex_state = 71, .external_lex_state = 2},
  [1945] = {.lex_state = 169, .external_lex_state = 4},
  [1946] = {.lex_state = 248, .external_lex_state = 10},
  [1947] = {.lex_state = 248, .external_lex_state = 10},
  [1948] = {.lex_state = 248},
  [1949] = {.lex_state = 78},
  [1950] = {.lex_state = 88},
  [1951] = {.lex_state = 71, .external_lex_state = 2},
  [1952] = {.lex_state = 241},
  [1953] = {.lex_state = 94},
  [1954] = {.lex_state = 96, .external_lex_state = 2},
  [1955] = {.lex_state = 88},
  [1956] = {.lex_state = 88},
  [1957] = {.lex_state = 259, .external_lex_state = 3},
  [1958] = {.lex_state = 259, .external_lex_state = 4},
  [1959] = {.lex_state = 265, .external_lex_state = 5},
  [1960] = {.lex_state = 106},
  [1961] = {.lex_state = 113},
  [1962] = {.lex_state = 265, .external_lex_state = 5},
  [1963] = {.lex_state = 113, .external_lex_state = 6},
  [1964] = {.lex_state = 71, .external_lex_state = 2},
  [1965] = {.lex_state = 71, .external_lex_state = 2},
  [1966] = {.lex_state = 71, .external_lex_state = 2},
  [1967] = {.lex_state = 267, .external_lex_state = 5},
  [1968] = {.lex_state = 251, .external_lex_state = 4},
  [1969] = {.lex_state = 265, .external_lex_state = 7},
  [1970] = {.lex_state = 269, .external_lex_state = 8},
  [1971] = {.lex_state = 78},
  [1972] = {.lex_state = 265, .external_lex_state = 7},
  [1973] = {.lex_state = 253, .external_lex_state = 2},
  [1974] = {.lex_state = 94, .external_lex_state = 2},
  [1975] = {.lex_state = 253, .external_lex_state = 2},
  [1976] = {.lex_state = 248},
  [1977] = {.lex_state = 248, .external_lex_state = 10},
  [1978] = {.lex_state = 241},
  [1979] = {.lex_state = 251, .external_lex_state = 4},
  [1980] = {.lex_state = 269, .external_lex_state = 8},
  [1981] = {.lex_state = 253, .external_lex_state = 2},
  [1982] = {.lex_state = 253, .external_lex_state = 2},
  [1983] = {.lex_state = 169, .external_lex_state = 4},
  [1984] = {.lex_state = 248, .external_lex_state = 10},
  [1985] = {.lex_state = 248, .external_lex_state = 10},
  [1986] = {.lex_state = 248},
  [1987] = {.lex_state = 251},
  [1988] = {.lex_state = 169, .external_lex_state = 4},
  [1989] = {.lex_state = 251},
  [1990] = {.lex_state = 138, .external_lex_state = 11},
  [1991] = {.lex_state = 138, .external_lex_state = 11},
  [1992] = {.lex_state = 138, .external_lex_state = 11},
  [1993] = {.lex_state = 224, .external_lex_state = 16},
  [1994] = {.lex_state = 224, .external_lex_state = 16},
  [1995] = {.lex_state = 138, .external_lex_state = 11},
  [1996] = {.lex_state = 127, .external_lex_state = 11},
  [1997] = {.lex_state = 220, .external_lex_state = 25},
  [1998] = {.lex_state = 220, .external_lex_state = 25},
  [1999] = {.lex_state = 220, .external_lex_state = 25},
  [2000] = {.lex_state = 255, .external_lex_state = 11},
  [2001] = {.lex_state = 255, .external_lex_state = 11},
  [2002] = {.lex_state = 255, .external_lex_state = 11},
  [2003] = {.lex_state = 175, .external_lex_state = 12},
  [2004] = {.lex_state = 175, .external_lex_state = 12},
  [2005] = {.lex_state = 175, .external_lex_state = 12},
  [2006] = {.lex_state = 224, .external_lex_state = 16},
  [2007] = {.lex_state = 224, .external_lex_state = 16},
  [2008] = {.lex_state = 175, .external_lex_state = 12},
  [2009] = {.lex_state = 163, .external_lex_state = 14},
  [2010] = {.lex_state = 163, .external_lex_state = 14},
  [2011] = {.lex_state = 163, .external_lex_state = 14},
  [2012] = {.lex_state = 224, .external_lex_state = 16},
  [2013] = {.lex_state = 224, .external_lex_state = 16},
  [2014] = {.lex_state = 163, .external_lex_state = 14},
  [2015] = {.lex_state = 163, .external_lex_state = 11},
  [2016] = {.lex_state = 163, .external_lex_state = 11},
  [2017] = {.lex_state = 163, .external_lex_state = 11},
  [2018] = {.lex_state = 224, .external_lex_state = 16},
  [2019] = {.lex_state = 224, .external_lex_state = 16},
  [2020] = {.lex_state = 163, .external_lex_state = 11},
  [2021] = {.lex_state = 94, .external_lex_state = 15},
  [2022] = {.lex_state = 94, .external_lex_state = 15},
  [2023] = {.lex_state = 94, .external_lex_state = 15},
  [2024] = {.lex_state = 224, .external_lex_state = 16},
  [2025] = {.lex_state = 224, .external_lex_state = 16},
  [2026] = {.lex_state = 94, .external_lex_state = 15},
  [2027] = {.lex_state = 106, .external_lex_state = 10},
  [2028] = {.lex_state = 106, .external_lex_state = 10},
  [2029] = {.lex_state = 106, .external_lex_state = 10},
  [2030] = {.lex_state = 224, .external_lex_state = 16},
  [2031] = {.lex_state = 224, .external_lex_state = 16},
  [2032] = {.lex_state = 106, .external_lex_state = 10},
  [2033] = {.lex_state = 189, .external_lex_state = 16},
  [2034] = {.lex_state = 189, .external_lex_state = 16},
  [2035] = {.lex_state = 212, .external_lex_state = 23},
  [2036] = {.lex_state = 212, .external_lex_state = 23},
  [2037] = {.lex_state = 212, .external_lex_state = 23},
  [2038] = {.lex_state = 212, .external_lex_state = 23},
  [2039] = {.lex_state = 212, .external_lex_state = 16},
  [2040] = {.lex_state = 222, .external_lex_state = 16},
  [2041] = {.lex_state = 212, .external_lex_state = 23},
  [2042] = {.lex_state = 224, .external_lex_state = 24},
  [2043] = {.lex_state = 224, .external_lex_state = 16},
  [2044] = {.lex_state = 224, .external_lex_state = 24},
  [2045] = {.lex_state = 224, .external_lex_state = 16},
  [2046] = {.lex_state = 224, .external_lex_state = 16},
  [2047] = {.lex_state = 212, .external_lex_state = 23},
  [2048] = {.lex_state = 224, .external_lex_state = 16},
  [2049] = {.lex_state = 224, .external_lex_state = 16},
  [2050] = {.lex_state = 212, .external_lex_state = 23},
  [2051] = {.lex_state = 217, .external_lex_state = 2},
  [2052] = {.lex_state = 71, .external_lex_state = 2},
  [2053] = {.lex_state = 212, .external_lex_state = 23},
  [2054] = {.lex_state = 217, .external_lex_state = 2},
  [2055] = {.lex_state = 131, .external_lex_state = 5},
  [2056] = {.lex_state = 131, .external_lex_state = 5},
  [2057] = {.lex_state = 224, .external_lex_state = 23},
  [2058] = {.lex_state = 224, .external_lex_state = 23},
  [2059] = {.lex_state = 212, .external_lex_state = 23},
  [2060] = {.lex_state = 212, .external_lex_state = 23},
  [2061] = {.lex_state = 212, .external_lex_state = 16},
  [2062] = {.lex_state = 224, .external_lex_state = 16},
  [2063] = {.lex_state = 224, .external_lex_state = 23},
  [2064] = {.lex_state = 224, .external_lex_state = 16},
  [2065] = {.lex_state = 224, .external_lex_state = 16},
  [2066] = {.lex_state = 224, .external_lex_state = 16},
  [2067] = {.lex_state = 224, .external_lex_state = 23},
  [2068] = {.lex_state = 224, .external_lex_state = 16},
  [2069] = {.lex_state = 224, .external_lex_state = 23},
  [2070] = {.lex_state = 224, .external_lex_state = 23},
  [2071] = {.lex_state = 226, .external_lex_state = 25},
  [2072] = {.lex_state = 226, .external_lex_state = 25},
  [2073] = {.lex_state = 226, .external_lex_state = 25},
  [2074] = {.lex_state = 257, .external_lex_state = 11},
  [2075] = {.lex_state = 257, .external_lex_state = 11},
  [2076] = {.lex_state = 257, .external_lex_state = 11},
  [2077] = {.lex_state = 193, .external_lex_state = 17},
  [2078] = {.lex_state = 193, .external_lex_state = 17},
  [2079] = {.lex_state = 212, .external_lex_state = 23},
  [2080] = {.lex_state = 212, .external_lex_state = 23},
  [2081] = {.lex_state = 212, .external_lex_state = 16},
  [2082] = {.lex_state = 224, .external_lex_state = 16},
  [2083] = {.lex_state = 193, .external_lex_state = 17},
  [2084] = {.lex_state = 224, .external_lex_state = 16},
  [2085] = {.lex_state = 224, .external_lex_state = 16},
  [2086] = {.lex_state = 224, .external_lex_state = 16},
  [2087] = {.lex_state = 193, .external_lex_state = 17},
  [2088] = {.lex_state = 224, .external_lex_state = 16},
  [2089] = {.lex_state = 204, .external_lex_state = 10},
  [2090] = {.lex_state = 204, .external_lex_state = 10},
  [2091] = {.lex_state = 212, .external_lex_state = 23},
  [2092] = {.lex_state = 212, .external_lex_state = 23},
  [2093] = {.lex_state = 212, .external_lex_state = 16},
  [2094] = {.lex_state = 224, .external_lex_state = 16},
  [2095] = {.lex_state = 204, .external_lex_state = 10},
  [2096] = {.lex_state = 224, .external_lex_state = 16},
  [2097] = {.lex_state = 224, .external_lex_state = 16},
  [2098] = {.lex_state = 224, .external_lex_state = 16},
  [2099] = {.lex_state = 204, .external_lex_state = 10},
  [2100] = {.lex_state = 224, .external_lex_state = 16},
  [2101] = {.lex_state = 204, .external_lex_state = 10},
  [2102] = {.lex_state = 204, .external_lex_state = 10},
  [2103] = {.lex_state = 167, .external_lex_state = 20},
  [2104] = {.lex_state = 167, .external_lex_state = 20},
  [2105] = {.lex_state = 167, .external_lex_state = 20},
  [2106] = {.lex_state = 224, .external_lex_state = 16},
  [2107] = {.lex_state = 224, .external_lex_state = 16},
  [2108] = {.lex_state = 167, .external_lex_state = 20},
  [2109] = {.lex_state = 169, .external_lex_state = 4},
  [2110] = {.lex_state = 169, .external_lex_state = 4},
  [2111] = {.lex_state = 245},
  [2112] = {.lex_state = 234, .external_lex_state = 11},
  [2113] = {.lex_state = 234, .external_lex_state = 11},
  [2114] = {.lex_state = 234, .external_lex_state = 11},
  [2115] = {.lex_state = 224, .external_lex_state = 16},
  [2116] = {.lex_state = 224, .external_lex_state = 16},
  [2117] = {.lex_state = 234, .external_lex_state = 11},
  [2118] = {.lex_state = 245},
  [2119] = {.lex_state = 236, .external_lex_state = 11},
  [2120] = {.lex_state = 236, .external_lex_state = 11},
  [2121] = {.lex_state = 212, .external_lex_state = 23},
  [2122] = {.lex_state = 212, .external_lex_state = 23},
  [2123] = {.lex_state = 212, .external_lex_state = 16},
  [2124] = {.lex_state = 224, .external_lex_state = 16},
  [2125] = {.lex_state = 236, .external_lex_state = 11},
  [2126] = {.lex_state = 224, .external_lex_state = 16},
  [2127] = {.lex_state = 224, .external_lex_state = 16},
  [2128] = {.lex_state = 224, .external_lex_state = 16},
  [2129] = {.lex_state = 236, .external_lex_state = 11},
  [2130] = {.lex_state = 224, .external_lex_state = 16},
  [2131] = {.lex_state = 236, .external_lex_state = 11},
  [2132] = {.lex_state = 236, .external_lex_state = 11},
  [2133] = {.lex_state = 238, .external_lex_state = 10},
  [2134] = {.lex_state = 238, .external_lex_state = 10},
  [2135] = {.lex_state = 238, .external_lex_state = 10},
  [2136] = {.lex_state = 224, .external_lex_state = 16},
  [2137] = {.lex_state = 224, .external_lex_state = 16},
  [2138] = {.lex_state = 238, .external_lex_state = 10},
  [2139] = {.lex_state = 210, .external_lex_state = 10},
  [2140] = {.lex_state = 210, .external_lex_state = 10},
  [2141] = {.lex_state = 228, .external_lex_state = 25},
  [2142] = {.lex_state = 228, .external_lex_state = 25},
  [2143] = {.lex_state = 212, .external_lex_state = 23},
  [2144] = {.lex_state = 212, .external_lex_state = 23},
  [2145] = {.lex_state = 212, .external_lex_state = 16},
  [2146] = {.lex_state = 222, .external_lex_state = 16},
  [2147] = {.lex_state = 228, .external_lex_state = 25},
  [2148] = {.lex_state = 224, .external_lex_state = 24},
  [2149] = {.lex_state = 224, .external_lex_state = 16},
  [2150] = {.lex_state = 224, .external_lex_state = 24},
  [2151] = {.lex_state = 224, .external_lex_state = 16},
  [2152] = {.lex_state = 224, .external_lex_state = 16},
  [2153] = {.lex_state = 228, .external_lex_state = 25},
  [2154] = {.lex_state = 224, .external_lex_state = 16},
  [2155] = {.lex_state = 224, .external_lex_state = 16},
  [2156] = {.lex_state = 228, .external_lex_state = 25},
  [2157] = {.lex_state = 217, .external_lex_state = 2},
  [2158] = {.lex_state = 71, .external_lex_state = 2},
  [2159] = {.lex_state = 228, .external_lex_state = 25},
  [2160] = {.lex_state = 217, .external_lex_state = 2},
  [2161] = {.lex_state = 198, .external_lex_state = 25},
  [2162] = {.lex_state = 127, .external_lex_state = 11},
  [2163] = {.lex_state = 133, .external_lex_state = 9},
  [2164] = {.lex_state = 142},
  [2165] = {.lex_state = 94},
  [2166] = {.lex_state = 161},
  [2167] = {.lex_state = 175, .external_lex_state = 13},
  [2168] = {.lex_state = 178},
  [2169] = {.lex_state = 78},
  [2170] = {.lex_state = 259, .external_lex_state = 14},
  [2171] = {.lex_state = 106},
  [2172] = {.lex_state = 113},
  [2173] = {.lex_state = 259, .external_lex_state = 14},
  [2174] = {.lex_state = 113, .external_lex_state = 6},
  [2175] = {.lex_state = 71, .external_lex_state = 2},
  [2176] = {.lex_state = 71, .external_lex_state = 2},
  [2177] = {.lex_state = 71, .external_lex_state = 2},
  [2178] = {.lex_state = 78},
  [2179] = {.lex_state = 259, .external_lex_state = 3},
  [2180] = {.lex_state = 259, .external_lex_state = 11},
  [2181] = {.lex_state = 106},
  [2182] = {.lex_state = 113},
  [2183] = {.lex_state = 259, .external_lex_state = 11},
  [2184] = {.lex_state = 113, .external_lex_state = 6},
  [2185] = {.lex_state = 71, .external_lex_state = 2},
  [2186] = {.lex_state = 71, .external_lex_state = 2},
  [2187] = {.lex_state = 71, .external_lex_state = 2},
  [2188] = {.lex_state = 259, .external_lex_state = 4},
  [2189] = {.lex_state = 94},
  [2190] = {.lex_state = 265, .external_lex_state = 5},
  [2191] = {.lex_state = 265, .external_lex_state = 5},
  [2192] = {.lex_state = 181},
  [2193] = {.lex_state = 106},
  [2194] = {.lex_state = 265, .external_lex_state = 5},
  [2195] = {.lex_state = 265, .external_lex_state = 5},
  [2196] = {.lex_state = 265, .external_lex_state = 5},
  [2197] = {.lex_state = 78},
  [2198] = {.lex_state = 187, .external_lex_state = 6},
  [2199] = {.lex_state = 189, .external_lex_state = 16},
  [2200] = {.lex_state = 189, .external_lex_state = 16},
  [2201] = {.lex_state = 163, .external_lex_state = 4},
  [2202] = {.lex_state = 167, .external_lex_state = 8},
  [2203] = {.lex_state = 71, .external_lex_state = 2},
  [2204] = {.lex_state = 98, .external_lex_state = 4},
  [2205] = {.lex_state = 129, .external_lex_state = 8},
  [2206] = {.lex_state = 71, .external_lex_state = 2},
  [2207] = {.lex_state = 163, .external_lex_state = 4},
  [2208] = {.lex_state = 167, .external_lex_state = 8},
  [2209] = {.lex_state = 71, .external_lex_state = 2},
  [2210] = {.lex_state = 78},
  [2211] = {.lex_state = 253, .external_lex_state = 2},
  [2212] = {.lex_state = 71, .external_lex_state = 2},
  [2213] = {.lex_state = 253, .external_lex_state = 2},
  [2214] = {.lex_state = 71, .external_lex_state = 2},
  [2215] = {.lex_state = 71},
  [2216] = {.lex_state = 196, .external_lex_state = 18},
  [2217] = {.lex_state = 94},
  [2218] = {.lex_state = 94},
  [2219] = {.lex_state = 265, .external_lex_state = 5},
  [2220] = {.lex_state = 265, .external_lex_state = 5},
  [2221] = {.lex_state = 271, .external_lex_state = 7},
  [2222] = {.lex_state = 265, .external_lex_state = 7},
  [2223] = {.lex_state = 241},
  [2224] = {.lex_state = 251, .external_lex_state = 4},
  [2225] = {.lex_state = 269, .external_lex_state = 8},
  [2226] = {.lex_state = 253, .external_lex_state = 2},
  [2227] = {.lex_state = 265, .external_lex_state = 7},
  [2228] = {.lex_state = 253, .external_lex_state = 2},
  [2229] = {.lex_state = 253, .external_lex_state = 2},
  [2230] = {.lex_state = 241},
  [2231] = {.lex_state = 251, .external_lex_state = 4},
  [2232] = {.lex_state = 269, .external_lex_state = 8},
  [2233] = {.lex_state = 253, .external_lex_state = 2},
  [2234] = {.lex_state = 217, .external_lex_state = 2},
  [2235] = {.lex_state = 248},
  [2236] = {.lex_state = 217, .external_lex_state = 2},
  [2237] = {.lex_state = 248},
  [2238] = {.lex_state = 169, .external_lex_state = 4},
  [2239] = {.lex_state = 169, .external_lex_state = 4},
  [2240] = {.lex_state = 138, .external_lex_state = 11},
  [2241] = {.lex_state = 138, .external_lex_state = 11},
  [2242] = {.lex_state = 220, .external_lex_state = 25},
  [2243] = {.lex_state = 255, .external_lex_state = 11},
  [2244] = {.lex_state = 175, .external_lex_state = 12},
  [2245] = {.lex_state = 175, .external_lex_state = 12},
  [2246] = {.lex_state = 163, .external_lex_state = 14},
  [2247] = {.lex_state = 163, .external_lex_state = 14},
  [2248] = {.lex_state = 163, .external_lex_state = 11},
  [2249] = {.lex_state = 163, .external_lex_state = 11},
  [2250] = {.lex_state = 94, .external_lex_state = 15},
  [2251] = {.lex_state = 94, .external_lex_state = 15},
  [2252] = {.lex_state = 106, .external_lex_state = 10},
  [2253] = {.lex_state = 106, .external_lex_state = 10},
  [2254] = {.lex_state = 212, .external_lex_state = 23},
  [2255] = {.lex_state = 212, .external_lex_state = 23},
  [2256] = {.lex_state = 212, .external_lex_state = 23},
  [2257] = {.lex_state = 212, .external_lex_state = 23},
  [2258] = {.lex_state = 212, .external_lex_state = 16},
  [2259] = {.lex_state = 224, .external_lex_state = 16},
  [2260] = {.lex_state = 212, .external_lex_state = 23},
  [2261] = {.lex_state = 224, .external_lex_state = 16},
  [2262] = {.lex_state = 224, .external_lex_state = 16},
  [2263] = {.lex_state = 224, .external_lex_state = 16},
  [2264] = {.lex_state = 212, .external_lex_state = 23},
  [2265] = {.lex_state = 224, .external_lex_state = 16},
  [2266] = {.lex_state = 212, .external_lex_state = 23},
  [2267] = {.lex_state = 212, .external_lex_state = 23},
  [2268] = {.lex_state = 224, .external_lex_state = 23},
  [2269] = {.lex_state = 224, .external_lex_state = 23},
  [2270] = {.lex_state = 224, .external_lex_state = 23},
  [2271] = {.lex_state = 224, .external_lex_state = 16},
  [2272] = {.lex_state = 224, .external_lex_state = 16},
  [2273] = {.lex_state = 224, .external_lex_state = 23},
  [2274] = {.lex_state = 226, .external_lex_state = 25},
  [2275] = {.lex_state = 257, .external_lex_state = 11},
  [2276] = {.lex_state = 193, .external_lex_state = 17},
  [2277] = {.lex_state = 193, .external_lex_state = 17},
  [2278] = {.lex_state = 193, .external_lex_state = 17},
  [2279] = {.lex_state = 224, .external_lex_state = 16},
  [2280] = {.lex_state = 224, .external_lex_state = 16},
  [2281] = {.lex_state = 193, .external_lex_state = 17},
  [2282] = {.lex_state = 204, .external_lex_state = 10},
  [2283] = {.lex_state = 204, .external_lex_state = 10},
  [2284] = {.lex_state = 204, .external_lex_state = 10},
  [2285] = {.lex_state = 224, .external_lex_state = 16},
  [2286] = {.lex_state = 224, .external_lex_state = 16},
  [2287] = {.lex_state = 204, .external_lex_state = 10},
  [2288] = {.lex_state = 167, .external_lex_state = 20},
  [2289] = {.lex_state = 167, .external_lex_state = 20},
  [2290] = {.lex_state = 169, .external_lex_state = 4},
  [2291] = {.lex_state = 234, .external_lex_state = 11},
  [2292] = {.lex_state = 234, .external_lex_state = 11},
  [2293] = {.lex_state = 245},
  [2294] = {.lex_state = 236, .external_lex_state = 11},
  [2295] = {.lex_state = 236, .external_lex_state = 11},
  [2296] = {.lex_state = 236, .external_lex_state = 11},
  [2297] = {.lex_state = 224, .external_lex_state = 16},
  [2298] = {.lex_state = 224, .external_lex_state = 16},
  [2299] = {.lex_state = 236, .external_lex_state = 11},
  [2300] = {.lex_state = 238, .external_lex_state = 10},
  [2301] = {.lex_state = 238, .external_lex_state = 10},
  [2302] = {.lex_state = 228, .external_lex_state = 25},
  [2303] = {.lex_state = 228, .external_lex_state = 25},
  [2304] = {.lex_state = 212, .external_lex_state = 23},
  [2305] = {.lex_state = 212, .external_lex_state = 23},
  [2306] = {.lex_state = 212, .external_lex_state = 16},
  [2307] = {.lex_state = 224, .external_lex_state = 16},
  [2308] = {.lex_state = 228, .external_lex_state = 25},
  [2309] = {.lex_state = 224, .external_lex_state = 16},
  [2310] = {.lex_state = 224, .external_lex_state = 16},
  [2311] = {.lex_state = 224, .external_lex_state = 16},
  [2312] = {.lex_state = 228, .external_lex_state = 25},
  [2313] = {.lex_state = 224, .external_lex_state = 16},
  [2314] = {.lex_state = 228, .external_lex_state = 25},
  [2315] = {.lex_state = 228, .external_lex_state = 25},
  [2316] = {.lex_state = 269, .external_lex_state = 8},
  [2317] = {.lex_state = 204},
  [2318] = {.lex_state = 269, .external_lex_state = 20},
  [2319] = {.lex_state = 106},
  [2320] = {.lex_state = 113},
  [2321] = {.lex_state = 269, .external_lex_state = 20},
  [2322] = {.lex_state = 113, .external_lex_state = 6},
  [2323] = {.lex_state = 71, .external_lex_state = 2},
  [2324] = {.lex_state = 71, .external_lex_state = 2},
  [2325] = {.lex_state = 71, .external_lex_state = 2},
  [2326] = {.lex_state = 271, .external_lex_state = 21},
  [2327] = {.lex_state = 271, .external_lex_state = 7},
  [2328] = {.lex_state = 78},
  [2329] = {.lex_state = 273, .external_lex_state = 21},
  [2330] = {.lex_state = 133, .external_lex_state = 9},
  [2331] = {.lex_state = 94},
  [2332] = {.lex_state = 259, .external_lex_state = 14},
  [2333] = {.lex_state = 259, .external_lex_state = 14},
  [2334] = {.lex_state = 181},
  [2335] = {.lex_state = 106},
  [2336] = {.lex_state = 259, .external_lex_state = 14},
  [2337] = {.lex_state = 259, .external_lex_state = 14},
  [2338] = {.lex_state = 259, .external_lex_state = 14},
  [2339] = {.lex_state = 78},
  [2340] = {.lex_state = 187, .external_lex_state = 6},
  [2341] = {.lex_state = 189, .external_lex_state = 16},
  [2342] = {.lex_state = 189, .external_lex_state = 16},
  [2343] = {.lex_state = 163, .external_lex_state = 4},
  [2344] = {.lex_state = 167, .external_lex_state = 8},
  [2345] = {.lex_state = 71, .external_lex_state = 2},
  [2346] = {.lex_state = 98, .external_lex_state = 4},
  [2347] = {.lex_state = 129, .external_lex_state = 8},
  [2348] = {.lex_state = 71, .external_lex_state = 2},
  [2349] = {.lex_state = 163, .external_lex_state = 4},
  [2350] = {.lex_state = 167, .external_lex_state = 8},
  [2351] = {.lex_state = 71, .external_lex_state = 2},
  [2352] = {.lex_state = 259, .external_lex_state = 3},
  [2353] = {.lex_state = 94},
  [2354] = {.lex_state = 259, .external_lex_state = 11},
  [2355] = {.lex_state = 259, .external_lex_state = 11},
  [2356] = {.lex_state = 181},
  [2357] = {.lex_state = 106},
  [2358] = {.lex_state = 259, .external_lex_state = 11},
  [2359] = {.lex_state = 259, .external_lex_state = 11},
  [2360] = {.lex_state = 259, .external_lex_state = 11},
  [2361] = {.lex_state = 78},
  [2362] = {.lex_state = 187, .external_lex_state = 6},
  [2363] = {.lex_state = 189, .external_lex_state = 16},
  [2364] = {.lex_state = 189, .external_lex_state = 16},
  [2365] = {.lex_state = 163, .external_lex_state = 4},
  [2366] = {.lex_state = 167, .external_lex_state = 8},
  [2367] = {.lex_state = 71, .external_lex_state = 2},
  [2368] = {.lex_state = 98, .external_lex_state = 4},
  [2369] = {.lex_state = 129, .external_lex_state = 8},
  [2370] = {.lex_state = 71, .external_lex_state = 2},
  [2371] = {.lex_state = 163, .external_lex_state = 4},
  [2372] = {.lex_state = 167, .external_lex_state = 8},
  [2373] = {.lex_state = 71, .external_lex_state = 2},
  [2374] = {.lex_state = 259, .external_lex_state = 4},
  [2375] = {.lex_state = 265, .external_lex_state = 5},
  [2376] = {.lex_state = 265, .external_lex_state = 5},
  [2377] = {.lex_state = 265, .external_lex_state = 5},
  [2378] = {.lex_state = 181},
  [2379] = {.lex_state = 222, .external_lex_state = 16},
  [2380] = {.lex_state = 78},
  [2381] = {.lex_state = 189, .external_lex_state = 16},
  [2382] = {.lex_state = 189, .external_lex_state = 16},
  [2383] = {.lex_state = 265, .external_lex_state = 5},
  [2384] = {.lex_state = 224, .external_lex_state = 24},
  [2385] = {.lex_state = 224, .external_lex_state = 16},
  [2386] = {.lex_state = 265, .external_lex_state = 5},
  [2387] = {.lex_state = 224, .external_lex_state = 24},
  [2388] = {.lex_state = 224, .external_lex_state = 16},
  [2389] = {.lex_state = 217, .external_lex_state = 2},
  [2390] = {.lex_state = 265, .external_lex_state = 5},
  [2391] = {.lex_state = 163, .external_lex_state = 4},
  [2392] = {.lex_state = 167, .external_lex_state = 8},
  [2393] = {.lex_state = 71, .external_lex_state = 2},
  [2394] = {.lex_state = 98, .external_lex_state = 4},
  [2395] = {.lex_state = 129, .external_lex_state = 8},
  [2396] = {.lex_state = 217, .external_lex_state = 2},
  [2397] = {.lex_state = 265, .external_lex_state = 5},
  [2398] = {.lex_state = 163, .external_lex_state = 4},
  [2399] = {.lex_state = 167, .external_lex_state = 8},
  [2400] = {.lex_state = 161},
  [2401] = {.lex_state = 269, .external_lex_state = 8},
  [2402] = {.lex_state = 251, .external_lex_state = 4},
  [2403] = {.lex_state = 269, .external_lex_state = 8},
  [2404] = {.lex_state = 94},
  [2405] = {.lex_state = 265, .external_lex_state = 7},
  [2406] = {.lex_state = 265, .external_lex_state = 5},
  [2407] = {.lex_state = 265, .external_lex_state = 5},
  [2408] = {.lex_state = 271, .external_lex_state = 5},
  [2409] = {.lex_state = 106},
  [2410] = {.lex_state = 113},
  [2411] = {.lex_state = 271, .external_lex_state = 5},
  [2412] = {.lex_state = 113, .external_lex_state = 6},
  [2413] = {.lex_state = 71, .external_lex_state = 2},
  [2414] = {.lex_state = 71, .external_lex_state = 2},
  [2415] = {.lex_state = 71, .external_lex_state = 2},
  [2416] = {.lex_state = 271, .external_lex_state = 5},
  [2417] = {.lex_state = 271, .external_lex_state = 5},
  [2418] = {.lex_state = 271, .external_lex_state = 7},
  [2419] = {.lex_state = 271, .external_lex_state = 7},
  [2420] = {.lex_state = 265, .external_lex_state = 7},
  [2421] = {.lex_state = 253, .external_lex_state = 2},
  [2422] = {.lex_state = 98, .external_lex_state = 4},
  [2423] = {.lex_state = 129, .external_lex_state = 8},
  [2424] = {.lex_state = 265, .external_lex_state = 7},
  [2425] = {.lex_state = 241},
  [2426] = {.lex_state = 251, .external_lex_state = 4},
  [2427] = {.lex_state = 269, .external_lex_state = 8},
  [2428] = {.lex_state = 253, .external_lex_state = 2},
  [2429] = {.lex_state = 241},
  [2430] = {.lex_state = 251, .external_lex_state = 4},
  [2431] = {.lex_state = 269, .external_lex_state = 8},
  [2432] = {.lex_state = 94},
  [2433] = {.lex_state = 98, .external_lex_state = 4},
  [2434] = {.lex_state = 129, .external_lex_state = 8},
  [2435] = {.lex_state = 217, .external_lex_state = 2},
  [2436] = {.lex_state = 217, .external_lex_state = 2},
  [2437] = {.lex_state = 94},
  [2438] = {.lex_state = 98, .external_lex_state = 4},
  [2439] = {.lex_state = 129, .external_lex_state = 8},
  [2440] = {.lex_state = 217, .external_lex_state = 2},
  [2441] = {.lex_state = 217, .external_lex_state = 2},
  [2442] = {.lex_state = 212, .external_lex_state = 23},
  [2443] = {.lex_state = 212, .external_lex_state = 23},
  [2444] = {.lex_state = 212, .external_lex_state = 23},
  [2445] = {.lex_state = 224, .external_lex_state = 16},
  [2446] = {.lex_state = 224, .external_lex_state = 16},
  [2447] = {.lex_state = 212, .external_lex_state = 23},
  [2448] = {.lex_state = 224, .external_lex_state = 23},
  [2449] = {.lex_state = 224, .external_lex_state = 23},
  [2450] = {.lex_state = 193, .external_lex_state = 17},
  [2451] = {.lex_state = 193, .external_lex_state = 17},
  [2452] = {.lex_state = 204, .external_lex_state = 10},
  [2453] = {.lex_state = 204, .external_lex_state = 10},
  [2454] = {.lex_state = 169, .external_lex_state = 4},
  [2455] = {.lex_state = 236, .external_lex_state = 11},
  [2456] = {.lex_state = 236, .external_lex_state = 11},
  [2457] = {.lex_state = 228, .external_lex_state = 25},
  [2458] = {.lex_state = 228, .external_lex_state = 25},
  [2459] = {.lex_state = 228, .external_lex_state = 25},
  [2460] = {.lex_state = 224, .external_lex_state = 16},
  [2461] = {.lex_state = 224, .external_lex_state = 16},
  [2462] = {.lex_state = 228, .external_lex_state = 25},
  [2463] = {.lex_state = 269, .external_lex_state = 8},
  [2464] = {.lex_state = 204},
  [2465] = {.lex_state = 94},
  [2466] = {.lex_state = 269, .external_lex_state = 20},
  [2467] = {.lex_state = 269, .external_lex_state = 20},
  [2468] = {.lex_state = 181},
  [2469] = {.lex_state = 106},
  [2470] = {.lex_state = 269, .external_lex_state = 20},
  [2471] = {.lex_state = 269, .external_lex_state = 20},
  [2472] = {.lex_state = 269, .external_lex_state = 20},
  [2473] = {.lex_state = 78},
  [2474] = {.lex_state = 187, .external_lex_state = 6},
  [2475] = {.lex_state = 189, .external_lex_state = 16},
  [2476] = {.lex_state = 189, .external_lex_state = 16},
  [2477] = {.lex_state = 163, .external_lex_state = 4},
  [2478] = {.lex_state = 167, .external_lex_state = 8},
  [2479] = {.lex_state = 71, .external_lex_state = 2},
  [2480] = {.lex_state = 98, .external_lex_state = 4},
  [2481] = {.lex_state = 129, .external_lex_state = 8},
  [2482] = {.lex_state = 71, .external_lex_state = 2},
  [2483] = {.lex_state = 163, .external_lex_state = 4},
  [2484] = {.lex_state = 167, .external_lex_state = 8},
  [2485] = {.lex_state = 71, .external_lex_state = 2},
  [2486] = {.lex_state = 71},
  [2487] = {.lex_state = 94},
  [2488] = {.lex_state = 94},
  [2489] = {.lex_state = 271, .external_lex_state = 21},
  [2490] = {.lex_state = 271, .external_lex_state = 7},
  [2491] = {.lex_state = 161},
  [2492] = {.lex_state = 71},
  [2493] = {.lex_state = 94},
  [2494] = {.lex_state = 259, .external_lex_state = 3},
  [2495] = {.lex_state = 204},
  [2496] = {.lex_state = 259, .external_lex_state = 14},
  [2497] = {.lex_state = 259, .external_lex_state = 14},
  [2498] = {.lex_state = 259, .external_lex_state = 14},
  [2499] = {.lex_state = 259, .external_lex_state = 14},
  [2500] = {.lex_state = 259, .external_lex_state = 14},
  [2501] = {.lex_state = 181},
  [2502] = {.lex_state = 222, .external_lex_state = 16},
  [2503] = {.lex_state = 78},
  [2504] = {.lex_state = 189, .external_lex_state = 16},
  [2505] = {.lex_state = 189, .external_lex_state = 16},
  [2506] = {.lex_state = 259, .external_lex_state = 14},
  [2507] = {.lex_state = 224, .external_lex_state = 24},
  [2508] = {.lex_state = 224, .external_lex_state = 16},
  [2509] = {.lex_state = 259, .external_lex_state = 14},
  [2510] = {.lex_state = 224, .external_lex_state = 24},
  [2511] = {.lex_state = 224, .external_lex_state = 16},
  [2512] = {.lex_state = 217, .external_lex_state = 2},
  [2513] = {.lex_state = 259, .external_lex_state = 14},
  [2514] = {.lex_state = 163, .external_lex_state = 4},
  [2515] = {.lex_state = 167, .external_lex_state = 8},
  [2516] = {.lex_state = 71, .external_lex_state = 2},
  [2517] = {.lex_state = 98, .external_lex_state = 4},
  [2518] = {.lex_state = 129, .external_lex_state = 8},
  [2519] = {.lex_state = 217, .external_lex_state = 2},
  [2520] = {.lex_state = 259, .external_lex_state = 14},
  [2521] = {.lex_state = 163, .external_lex_state = 4},
  [2522] = {.lex_state = 167, .external_lex_state = 8},
  [2523] = {.lex_state = 259, .external_lex_state = 11},
  [2524] = {.lex_state = 259, .external_lex_state = 11},
  [2525] = {.lex_state = 259, .external_lex_state = 11},
  [2526] = {.lex_state = 181},
  [2527] = {.lex_state = 222, .external_lex_state = 16},
  [2528] = {.lex_state = 78},
  [2529] = {.lex_state = 189, .external_lex_state = 16},
  [2530] = {.lex_state = 189, .external_lex_state = 16},
  [2531] = {.lex_state = 259, .external_lex_state = 11},
  [2532] = {.lex_state = 224, .external_lex_state = 24},
  [2533] = {.lex_state = 224, .external_lex_state = 16},
  [2534] = {.lex_state = 259, .external_lex_state = 11},
  [2535] = {.lex_state = 224, .external_lex_state = 24},
  [2536] = {.lex_state = 224, .external_lex_state = 16},
  [2537] = {.lex_state = 217, .external_lex_state = 2},
  [2538] = {.lex_state = 259, .external_lex_state = 11},
  [2539] = {.lex_state = 163, .external_lex_state = 4},
  [2540] = {.lex_state = 167, .external_lex_state = 8},
  [2541] = {.lex_state = 71, .external_lex_state = 2},
  [2542] = {.lex_state = 98, .external_lex_state = 4},
  [2543] = {.lex_state = 129, .external_lex_state = 8},
  [2544] = {.lex_state = 217, .external_lex_state = 2},
  [2545] = {.lex_state = 259, .external_lex_state = 11},
  [2546] = {.lex_state = 163, .external_lex_state = 4},
  [2547] = {.lex_state = 167, .external_lex_state = 8},
  [2548] = {.lex_state = 265, .external_lex_state = 5},
  [2549] = {.lex_state = 265, .external_lex_state = 5},
  [2550] = {.lex_state = 212, .external_lex_state = 23},
  [2551] = {.lex_state = 212, .external_lex_state = 23},
  [2552] = {.lex_state = 212, .external_lex_state = 16},
  [2553] = {.lex_state = 222, .external_lex_state = 16},
  [2554] = {.lex_state = 265, .external_lex_state = 5},
  [2555] = {.lex_state = 224, .external_lex_state = 24},
  [2556] = {.lex_state = 224, .external_lex_state = 16},
  [2557] = {.lex_state = 224, .external_lex_state = 24},
  [2558] = {.lex_state = 224, .external_lex_state = 16},
  [2559] = {.lex_state = 224, .external_lex_state = 16},
  [2560] = {.lex_state = 265, .external_lex_state = 5},
  [2561] = {.lex_state = 224, .external_lex_state = 16},
  [2562] = {.lex_state = 224, .external_lex_state = 16},
  [2563] = {.lex_state = 265, .external_lex_state = 5},
  [2564] = {.lex_state = 217, .external_lex_state = 2},
  [2565] = {.lex_state = 71, .external_lex_state = 2},
  [2566] = {.lex_state = 265, .external_lex_state = 5},
  [2567] = {.lex_state = 217, .external_lex_state = 2},
  [2568] = {.lex_state = 273, .external_lex_state = 21},
  [2569] = {.lex_state = 271, .external_lex_state = 5},
  [2570] = {.lex_state = 271, .external_lex_state = 5},
  [2571] = {.lex_state = 94},
  [2572] = {.lex_state = 271, .external_lex_state = 5},
  [2573] = {.lex_state = 271, .external_lex_state = 5},
  [2574] = {.lex_state = 181},
  [2575] = {.lex_state = 106},
  [2576] = {.lex_state = 271, .external_lex_state = 5},
  [2577] = {.lex_state = 271, .external_lex_state = 5},
  [2578] = {.lex_state = 271, .external_lex_state = 5},
  [2579] = {.lex_state = 78},
  [2580] = {.lex_state = 187, .external_lex_state = 6},
  [2581] = {.lex_state = 189, .external_lex_state = 16},
  [2582] = {.lex_state = 189, .external_lex_state = 16},
  [2583] = {.lex_state = 163, .external_lex_state = 4},
  [2584] = {.lex_state = 167, .external_lex_state = 8},
  [2585] = {.lex_state = 71, .external_lex_state = 2},
  [2586] = {.lex_state = 98, .external_lex_state = 4},
  [2587] = {.lex_state = 129, .external_lex_state = 8},
  [2588] = {.lex_state = 71, .external_lex_state = 2},
  [2589] = {.lex_state = 163, .external_lex_state = 4},
  [2590] = {.lex_state = 167, .external_lex_state = 8},
  [2591] = {.lex_state = 71, .external_lex_state = 2},
  [2592] = {.lex_state = 271, .external_lex_state = 7},
  [2593] = {.lex_state = 253, .external_lex_state = 2},
  [2594] = {.lex_state = 253, .external_lex_state = 2},
  [2595] = {.lex_state = 217, .external_lex_state = 2},
  [2596] = {.lex_state = 94},
  [2597] = {.lex_state = 98, .external_lex_state = 4},
  [2598] = {.lex_state = 129, .external_lex_state = 8},
  [2599] = {.lex_state = 217, .external_lex_state = 2},
  [2600] = {.lex_state = 217, .external_lex_state = 2},
  [2601] = {.lex_state = 217, .external_lex_state = 2},
  [2602] = {.lex_state = 94},
  [2603] = {.lex_state = 98, .external_lex_state = 4},
  [2604] = {.lex_state = 129, .external_lex_state = 8},
  [2605] = {.lex_state = 217, .external_lex_state = 2},
  [2606] = {.lex_state = 212, .external_lex_state = 23},
  [2607] = {.lex_state = 212, .external_lex_state = 23},
  [2608] = {.lex_state = 228, .external_lex_state = 25},
  [2609] = {.lex_state = 228, .external_lex_state = 25},
  [2610] = {.lex_state = 269, .external_lex_state = 8},
  [2611] = {.lex_state = 269, .external_lex_state = 20},
  [2612] = {.lex_state = 269, .external_lex_state = 20},
  [2613] = {.lex_state = 269, .external_lex_state = 20},
  [2614] = {.lex_state = 181},
  [2615] = {.lex_state = 222, .external_lex_state = 16},
  [2616] = {.lex_state = 78},
  [2617] = {.lex_state = 189, .external_lex_state = 16},
  [2618] = {.lex_state = 189, .external_lex_state = 16},
  [2619] = {.lex_state = 269, .external_lex_state = 20},
  [2620] = {.lex_state = 224, .external_lex_state = 24},
  [2621] = {.lex_state = 224, .external_lex_state = 16},
  [2622] = {.lex_state = 269, .external_lex_state = 20},
  [2623] = {.lex_state = 224, .external_lex_state = 24},
  [2624] = {.lex_state = 224, .external_lex_state = 16},
  [2625] = {.lex_state = 217, .external_lex_state = 2},
  [2626] = {.lex_state = 269, .external_lex_state = 20},
  [2627] = {.lex_state = 163, .external_lex_state = 4},
  [2628] = {.lex_state = 167, .external_lex_state = 8},
  [2629] = {.lex_state = 71, .external_lex_state = 2},
  [2630] = {.lex_state = 98, .external_lex_state = 4},
  [2631] = {.lex_state = 129, .external_lex_state = 8},
  [2632] = {.lex_state = 217, .external_lex_state = 2},
  [2633] = {.lex_state = 269, .external_lex_state = 20},
  [2634] = {.lex_state = 163, .external_lex_state = 4},
  [2635] = {.lex_state = 167, .external_lex_state = 8},
  [2636] = {.lex_state = 94},
  [2637] = {.lex_state = 271, .external_lex_state = 25},
  [2638] = {.lex_state = 271, .external_lex_state = 25},
  [2639] = {.lex_state = 271, .external_lex_state = 25},
  [2640] = {.lex_state = 271, .external_lex_state = 25},
  [2641] = {.lex_state = 271, .external_lex_state = 21},
  [2642] = {.lex_state = 273, .external_lex_state = 21},
  [2643] = {.lex_state = 94},
  [2644] = {.lex_state = 251, .external_lex_state = 11},
  [2645] = {.lex_state = 251, .external_lex_state = 11},
  [2646] = {.lex_state = 259, .external_lex_state = 3},
  [2647] = {.lex_state = 204},
  [2648] = {.lex_state = 259, .external_lex_state = 14},
  [2649] = {.lex_state = 259, .external_lex_state = 14},
  [2650] = {.lex_state = 212, .external_lex_state = 23},
  [2651] = {.lex_state = 212, .external_lex_state = 23},
  [2652] = {.lex_state = 212, .external_lex_state = 16},
  [2653] = {.lex_state = 222, .external_lex_state = 16},
  [2654] = {.lex_state = 259, .external_lex_state = 14},
  [2655] = {.lex_state = 224, .external_lex_state = 24},
  [2656] = {.lex_state = 224, .external_lex_state = 16},
  [2657] = {.lex_state = 224, .external_lex_state = 24},
  [2658] = {.lex_state = 224, .external_lex_state = 16},
  [2659] = {.lex_state = 224, .external_lex_state = 16},
  [2660] = {.lex_state = 259, .external_lex_state = 14},
  [2661] = {.lex_state = 224, .external_lex_state = 16},
  [2662] = {.lex_state = 224, .external_lex_state = 16},
  [2663] = {.lex_state = 259, .external_lex_state = 14},
  [2664] = {.lex_state = 217, .external_lex_state = 2},
  [2665] = {.lex_state = 71, .external_lex_state = 2},
  [2666] = {.lex_state = 259, .external_lex_state = 14},
  [2667] = {.lex_state = 217, .external_lex_state = 2},
  [2668] = {.lex_state = 259, .external_lex_state = 11},
  [2669] = {.lex_state = 259, .external_lex_state = 11},
  [2670] = {.lex_state = 212, .external_lex_state = 23},
  [2671] = {.lex_state = 212, .external_lex_state = 23},
  [2672] = {.lex_state = 212, .external_lex_state = 16},
  [2673] = {.lex_state = 222, .external_lex_state = 16},
  [2674] = {.lex_state = 259, .external_lex_state = 11},
  [2675] = {.lex_state = 224, .external_lex_state = 24},
  [2676] = {.lex_state = 224, .external_lex_state = 16},
  [2677] = {.lex_state = 224, .external_lex_state = 24},
  [2678] = {.lex_state = 224, .external_lex_state = 16},
  [2679] = {.lex_state = 224, .external_lex_state = 16},
  [2680] = {.lex_state = 259, .external_lex_state = 11},
  [2681] = {.lex_state = 224, .external_lex_state = 16},
  [2682] = {.lex_state = 224, .external_lex_state = 16},
  [2683] = {.lex_state = 259, .external_lex_state = 11},
  [2684] = {.lex_state = 217, .external_lex_state = 2},
  [2685] = {.lex_state = 71, .external_lex_state = 2},
  [2686] = {.lex_state = 259, .external_lex_state = 11},
  [2687] = {.lex_state = 217, .external_lex_state = 2},
  [2688] = {.lex_state = 265, .external_lex_state = 5},
  [2689] = {.lex_state = 265, .external_lex_state = 5},
  [2690] = {.lex_state = 212, .external_lex_state = 23},
  [2691] = {.lex_state = 212, .external_lex_state = 23},
  [2692] = {.lex_state = 212, .external_lex_state = 16},
  [2693] = {.lex_state = 224, .external_lex_state = 16},
  [2694] = {.lex_state = 265, .external_lex_state = 5},
  [2695] = {.lex_state = 224, .external_lex_state = 16},
  [2696] = {.lex_state = 224, .external_lex_state = 16},
  [2697] = {.lex_state = 224, .external_lex_state = 16},
  [2698] = {.lex_state = 265, .external_lex_state = 5},
  [2699] = {.lex_state = 224, .external_lex_state = 16},
  [2700] = {.lex_state = 265, .external_lex_state = 5},
  [2701] = {.lex_state = 265, .external_lex_state = 5},
  [2702] = {.lex_state = 271, .external_lex_state = 5},
  [2703] = {.lex_state = 271, .external_lex_state = 5},
  [2704] = {.lex_state = 271, .external_lex_state = 5},
  [2705] = {.lex_state = 181},
  [2706] = {.lex_state = 222, .external_lex_state = 16},
  [2707] = {.lex_state = 78},
  [2708] = {.lex_state = 189, .external_lex_state = 16},
  [2709] = {.lex_state = 189, .external_lex_state = 16},
  [2710] = {.lex_state = 271, .external_lex_state = 5},
  [2711] = {.lex_state = 224, .external_lex_state = 24},
  [2712] = {.lex_state = 224, .external_lex_state = 16},
  [2713] = {.lex_state = 271, .external_lex_state = 5},
  [2714] = {.lex_state = 224, .external_lex_state = 24},
  [2715] = {.lex_state = 224, .external_lex_state = 16},
  [2716] = {.lex_state = 217, .external_lex_state = 2},
  [2717] = {.lex_state = 271, .external_lex_state = 5},
  [2718] = {.lex_state = 163, .external_lex_state = 4},
  [2719] = {.lex_state = 167, .external_lex_state = 8},
  [2720] = {.lex_state = 71, .external_lex_state = 2},
  [2721] = {.lex_state = 98, .external_lex_state = 4},
  [2722] = {.lex_state = 129, .external_lex_state = 8},
  [2723] = {.lex_state = 217, .external_lex_state = 2},
  [2724] = {.lex_state = 271, .external_lex_state = 5},
  [2725] = {.lex_state = 163, .external_lex_state = 4},
  [2726] = {.lex_state = 167, .external_lex_state = 8},
  [2727] = {.lex_state = 217, .external_lex_state = 2},
  [2728] = {.lex_state = 94},
  [2729] = {.lex_state = 98, .external_lex_state = 4},
  [2730] = {.lex_state = 129, .external_lex_state = 8},
  [2731] = {.lex_state = 217, .external_lex_state = 2},
  [2732] = {.lex_state = 94},
  [2733] = {.lex_state = 98, .external_lex_state = 4},
  [2734] = {.lex_state = 129, .external_lex_state = 8},
  [2735] = {.lex_state = 269, .external_lex_state = 20},
  [2736] = {.lex_state = 269, .external_lex_state = 20},
  [2737] = {.lex_state = 212, .external_lex_state = 23},
  [2738] = {.lex_state = 212, .external_lex_state = 23},
  [2739] = {.lex_state = 212, .external_lex_state = 16},
  [2740] = {.lex_state = 222, .external_lex_state = 16},
  [2741] = {.lex_state = 269, .external_lex_state = 20},
  [2742] = {.lex_state = 224, .external_lex_state = 24},
  [2743] = {.lex_state = 224, .external_lex_state = 16},
  [2744] = {.lex_state = 224, .external_lex_state = 24},
  [2745] = {.lex_state = 224, .external_lex_state = 16},
  [2746] = {.lex_state = 224, .external_lex_state = 16},
  [2747] = {.lex_state = 269, .external_lex_state = 20},
  [2748] = {.lex_state = 224, .external_lex_state = 16},
  [2749] = {.lex_state = 224, .external_lex_state = 16},
  [2750] = {.lex_state = 269, .external_lex_state = 20},
  [2751] = {.lex_state = 217, .external_lex_state = 2},
  [2752] = {.lex_state = 71, .external_lex_state = 2},
  [2753] = {.lex_state = 269, .external_lex_state = 20},
  [2754] = {.lex_state = 217, .external_lex_state = 2},
  [2755] = {.lex_state = 271, .external_lex_state = 25},
  [2756] = {.lex_state = 271, .external_lex_state = 25},
  [2757] = {.lex_state = 271, .external_lex_state = 25},
  [2758] = {.lex_state = 251, .external_lex_state = 11},
  [2759] = {.lex_state = 251, .external_lex_state = 11},
  [2760] = {.lex_state = 251, .external_lex_state = 11},
  [2761] = {.lex_state = 259, .external_lex_state = 3},
  [2762] = {.lex_state = 259, .external_lex_state = 14},
  [2763] = {.lex_state = 259, .external_lex_state = 14},
  [2764] = {.lex_state = 212, .external_lex_state = 23},
  [2765] = {.lex_state = 212, .external_lex_state = 23},
  [2766] = {.lex_state = 212, .external_lex_state = 16},
  [2767] = {.lex_state = 224, .external_lex_state = 16},
  [2768] = {.lex_state = 259, .external_lex_state = 14},
  [2769] = {.lex_state = 224, .external_lex_state = 16},
  [2770] = {.lex_state = 224, .external_lex_state = 16},
  [2771] = {.lex_state = 224, .external_lex_state = 16},
  [2772] = {.lex_state = 259, .external_lex_state = 14},
  [2773] = {.lex_state = 224, .external_lex_state = 16},
  [2774] = {.lex_state = 259, .external_lex_state = 14},
  [2775] = {.lex_state = 259, .external_lex_state = 14},
  [2776] = {.lex_state = 259, .external_lex_state = 11},
  [2777] = {.lex_state = 259, .external_lex_state = 11},
  [2778] = {.lex_state = 212, .external_lex_state = 23},
  [2779] = {.lex_state = 212, .external_lex_state = 23},
  [2780] = {.lex_state = 212, .external_lex_state = 16},
  [2781] = {.lex_state = 224, .external_lex_state = 16},
  [2782] = {.lex_state = 259, .external_lex_state = 11},
  [2783] = {.lex_state = 224, .external_lex_state = 16},
  [2784] = {.lex_state = 224, .external_lex_state = 16},
  [2785] = {.lex_state = 224, .external_lex_state = 16},
  [2786] = {.lex_state = 259, .external_lex_state = 11},
  [2787] = {.lex_state = 224, .external_lex_state = 16},
  [2788] = {.lex_state = 259, .external_lex_state = 11},
  [2789] = {.lex_state = 259, .external_lex_state = 11},
  [2790] = {.lex_state = 265, .external_lex_state = 5},
  [2791] = {.lex_state = 265, .external_lex_state = 5},
  [2792] = {.lex_state = 265, .external_lex_state = 5},
  [2793] = {.lex_state = 224, .external_lex_state = 16},
  [2794] = {.lex_state = 224, .external_lex_state = 16},
  [2795] = {.lex_state = 265, .external_lex_state = 5},
  [2796] = {.lex_state = 271, .external_lex_state = 5},
  [2797] = {.lex_state = 271, .external_lex_state = 5},
  [2798] = {.lex_state = 212, .external_lex_state = 23},
  [2799] = {.lex_state = 212, .external_lex_state = 23},
  [2800] = {.lex_state = 212, .external_lex_state = 16},
  [2801] = {.lex_state = 222, .external_lex_state = 16},
  [2802] = {.lex_state = 271, .external_lex_state = 5},
  [2803] = {.lex_state = 224, .external_lex_state = 24},
  [2804] = {.lex_state = 224, .external_lex_state = 16},
  [2805] = {.lex_state = 224, .external_lex_state = 24},
  [2806] = {.lex_state = 224, .external_lex_state = 16},
  [2807] = {.lex_state = 224, .external_lex_state = 16},
  [2808] = {.lex_state = 271, .external_lex_state = 5},
  [2809] = {.lex_state = 224, .external_lex_state = 16},
  [2810] = {.lex_state = 224, .external_lex_state = 16},
  [2811] = {.lex_state = 271, .external_lex_state = 5},
  [2812] = {.lex_state = 217, .external_lex_state = 2},
  [2813] = {.lex_state = 71, .external_lex_state = 2},
  [2814] = {.lex_state = 271, .external_lex_state = 5},
  [2815] = {.lex_state = 217, .external_lex_state = 2},
  [2816] = {.lex_state = 217, .external_lex_state = 2},
  [2817] = {.lex_state = 217, .external_lex_state = 2},
  [2818] = {.lex_state = 269, .external_lex_state = 20},
  [2819] = {.lex_state = 269, .external_lex_state = 20},
  [2820] = {.lex_state = 212, .external_lex_state = 23},
  [2821] = {.lex_state = 212, .external_lex_state = 23},
  [2822] = {.lex_state = 212, .external_lex_state = 16},
  [2823] = {.lex_state = 224, .external_lex_state = 16},
  [2824] = {.lex_state = 269, .external_lex_state = 20},
  [2825] = {.lex_state = 224, .external_lex_state = 16},
  [2826] = {.lex_state = 224, .external_lex_state = 16},
  [2827] = {.lex_state = 224, .external_lex_state = 16},
  [2828] = {.lex_state = 269, .external_lex_state = 20},
  [2829] = {.lex_state = 224, .external_lex_state = 16},
  [2830] = {.lex_state = 269, .external_lex_state = 20},
  [2831] = {.lex_state = 269, .external_lex_state = 20},
  [2832] = {.lex_state = 271, .external_lex_state = 25},
  [2833] = {.lex_state = 251, .external_lex_state = 11},
  [2834] = {.lex_state = 259, .external_lex_state = 14},
  [2835] = {.lex_state = 259, .external_lex_state = 14},
  [2836] = {.lex_state = 259, .external_lex_state = 14},
  [2837] = {.lex_state = 224, .external_lex_state = 16},
  [2838] = {.lex_state = 224, .external_lex_state = 16},
  [2839] = {.lex_state = 259, .external_lex_state = 14},
  [2840] = {.lex_state = 259, .external_lex_state = 11},
  [2841] = {.lex_state = 259, .external_lex_state = 11},
  [2842] = {.lex_state = 259, .external_lex_state = 11},
  [2843] = {.lex_state = 224, .external_lex_state = 16},
  [2844] = {.lex_state = 224, .external_lex_state = 16},
  [2845] = {.lex_state = 259, .external_lex_state = 11},
  [2846] = {.lex_state = 265, .external_lex_state = 5},
  [2847] = {.lex_state = 265, .external_lex_state = 5},
  [2848] = {.lex_state = 271, .external_lex_state = 5},
  [2849] = {.lex_state = 271, .external_lex_state = 5},
  [2850] = {.lex_state = 212, .external_lex_state = 23},
  [2851] = {.lex_state = 212, .external_lex_state = 23},
  [2852] = {.lex_state = 212, .external_lex_state = 16},
  [2853] = {.lex_state = 224, .external_lex_state = 16},
  [2854] = {.lex_state = 271, .external_lex_state = 5},
  [2855] = {.lex_state = 224, .external_lex_state = 16},
  [2856] = {.lex_state = 224, .external_lex_state = 16},
  [2857] = {.lex_state = 224, .external_lex_state = 16},
  [2858] = {.lex_state = 271, .external_lex_state = 5},
  [2859] = {.lex_state = 224, .external_lex_state = 16},
  [2860] = {.lex_state = 271, .external_lex_state = 5},
  [2861] = {.lex_state = 271, .external_lex_state = 5},
  [2862] = {.lex_state = 269, .external_lex_state = 20},
  [2863] = {.lex_state = 269, .external_lex_state = 20},
  [2864] = {.lex_state = 269, .external_lex_state = 20},
  [2865] = {.lex_state = 224, .external_lex_state = 16},
  [2866] = {.lex_state = 224, .external_lex_state = 16},
  [2867] = {.lex_state = 269, .external_lex_state = 20},
  [2868] = {.lex_state = 259, .external_lex_state = 14},
  [2869] = {.lex_state = 259, .external_lex_state = 14},
  [2870] = {.lex_state = 259, .external_lex_state = 11},
  [2871] = {.lex_state = 259, .external_lex_state = 11},
  [2872] = {.lex_state = 271, .external_lex_state = 5},
  [2873] = {.lex_state = 271, .external_lex_state = 5},
  [2874] = {.lex_state = 271, .external_lex_state = 5},
  [2875] = {.lex_state = 224, .external_lex_state = 16},
  [2876] = {.lex_state = 224, .external_lex_state = 16},
  [2877] = {.lex_state = 271, .external_lex_state = 5},
  [2878] = {.lex_state = 269, .external_lex_state = 20},
  [2879] = {.lex_state = 269, .external_lex_state = 20},
  [2880] = {.lex_state = 271, .external_lex_state = 5},
  [2881] = {.lex_state = 271, .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_regex,
  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_regex] = sym_regex,
  [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[26][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_regex] = 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,
  },
  [11] = {
    [ts_external_token__concat] = true,
    [ts_external_token_LF] = true,
  },
  [12] = {
    [ts_external_token__concat] = true,
    [ts_external_token_RBRACK] = true,
  },
  [13] = {
    [ts_external_token_RBRACK] = 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_regex] = true,
  },
  [19] = {
    [ts_external_token_heredoc_start] = true,
  },
  [20] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token__concat] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_LF] = true,
  },
  [21] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_LF] = true,
  },
  [22] = {
    [ts_external_token_file_descriptor] = true,
    [ts_external_token_variable_name] = true,
    [ts_external_token_RBRACE] = true,
  },
  [23] = {
    [ts_external_token__concat] = true,
    [ts_external_token_RBRACE] = true,
  },
  [24] = {
    [ts_external_token_regex] = true,
    [ts_external_token_RBRACE] = true,
  },
  [25] = {
    [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),
    [sym_regex] = ACTIONS(1),
    [ts_builtin_sym_end] = ACTIONS(1),
    [anon_sym_for] = ACTIONS(1),
    [anon_sym_in] = ACTIONS(1),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1),
    [anon_sym_SEMI] = ACTIONS(3),
    [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(3),
    [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(3),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1),
    [anon_sym_RBRACK_RBRACK] = 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),
    [anon_sym_PLUS] = ACTIONS(3),
    [anon_sym_DASH] = ACTIONS(3),
    [anon_sym_DASH_EQ] = ACTIONS(1),
    [anon_sym_LT_EQ] = ACTIONS(1),
    [anon_sym_GT_EQ] = ACTIONS(1),
    [anon_sym_PLUS_PLUS] = ACTIONS(1),
    [anon_sym_DASH_DASH] = 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_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),
    [sym_test_operator] = ACTIONS(1),
    [anon_sym_LF] = ACTIONS(1),
    [anon_sym_AMP] = ACTIONS(3),
  },
  [1] = {
    [sym_program] = STATE(26),
    [sym__terminated_statement] = STATE(32),
    [sym_for_statement] = STATE(27),
    [sym_c_style_for_statement] = STATE(27),
    [sym_while_statement] = STATE(27),
    [sym_if_statement] = STATE(27),
    [sym_case_statement] = STATE(27),
    [sym_function_definition] = STATE(27),
    [sym_subshell] = STATE(27),
    [sym_pipeline] = STATE(27),
    [sym_list] = STATE(27),
    [sym_negated_command] = STATE(27),
    [sym_test_command] = STATE(27),
    [sym_declaration_command] = STATE(27),
    [sym_unset_command] = STATE(27),
    [sym_command] = STATE(27),
    [sym_command_name] = STATE(28),
    [sym_variable_assignment] = STATE(29),
    [sym_subscript] = STATE(30),
    [sym_file_redirect] = STATE(33),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [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_LPAREN_LPAREN] = ACTIONS(13),
    [anon_sym_while] = ACTIONS(15),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(21),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(25),
    [anon_sym_LBRACK] = ACTIONS(27),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(29),
    [anon_sym_declare] = ACTIONS(31),
    [anon_sym_typeset] = ACTIONS(31),
    [anon_sym_export] = ACTIONS(31),
    [anon_sym_readonly] = ACTIONS(31),
    [anon_sym_local] = ACTIONS(31),
    [anon_sym_unset] = ACTIONS(33),
    [anon_sym_unsetenv] = ACTIONS(33),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(39),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(57),
  },
  [2] = {
    [anon_sym_LT] = ACTIONS(59),
    [anon_sym_GT] = ACTIONS(59),
    [anon_sym_GT_GT] = ACTIONS(61),
    [anon_sym_AMP_GT] = ACTIONS(59),
    [anon_sym_AMP_GT_GT] = ACTIONS(61),
    [anon_sym_LT_AMP] = ACTIONS(61),
    [anon_sym_GT_AMP] = ACTIONS(61),
    [sym_comment] = ACTIONS(55),
  },
  [3] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(65),
    [anon_sym_PLUS_EQ] = ACTIONS(65),
    [sym_comment] = ACTIONS(55),
  },
  [4] = {
    [anon_sym_LPAREN_LPAREN] = ACTIONS(67),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(69),
  },
  [5] = {
    [sym__expression] = STATE(49),
    [sym_binary_expression] = STATE(49),
    [sym_unary_expression] = STATE(49),
    [sym_postfix_expression] = STATE(49),
    [sym_parenthesized_expression] = STATE(49),
    [sym_concatenation] = STATE(49),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [6] = {
    [sym__terminated_statement] = STATE(62),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [7] = {
    [sym__terminated_statement] = STATE(68),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [8] = {
    [sym_concatenation] = STATE(77),
    [sym_string] = STATE(72),
    [sym_simple_expansion] = STATE(72),
    [sym_string_expansion] = STATE(72),
    [sym_expansion] = STATE(72),
    [sym_command_substitution] = STATE(72),
    [sym_process_substitution] = STATE(72),
    [sym__special_characters] = ACTIONS(119),
    [anon_sym_DQUOTE] = ACTIONS(121),
    [anon_sym_DOLLAR] = ACTIONS(123),
    [sym_raw_string] = ACTIONS(125),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(127),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(129),
    [anon_sym_BQUOTE] = ACTIONS(131),
    [anon_sym_LT_LPAREN] = ACTIONS(133),
    [anon_sym_GT_LPAREN] = ACTIONS(133),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(125),
  },
  [9] = {
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(135),
  },
  [10] = {
    [sym__terminated_statement] = STATE(95),
    [sym_for_statement] = STATE(91),
    [sym_c_style_for_statement] = STATE(91),
    [sym_while_statement] = STATE(91),
    [sym_if_statement] = STATE(91),
    [sym_case_statement] = STATE(91),
    [sym_function_definition] = STATE(91),
    [sym_subshell] = STATE(91),
    [sym_pipeline] = STATE(91),
    [sym_list] = STATE(91),
    [sym_negated_command] = STATE(91),
    [sym_test_command] = STATE(91),
    [sym_declaration_command] = STATE(91),
    [sym_unset_command] = STATE(91),
    [sym_command] = STATE(91),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(93),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(95),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [11] = {
    [sym_subshell] = STATE(98),
    [sym_test_command] = STATE(98),
    [sym_command] = STATE(98),
    [sym_command_name] = STATE(28),
    [sym_variable_assignment] = STATE(33),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(33),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(13),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(27),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(29),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(39),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(45),
  },
  [12] = {
    [sym__expression] = STATE(110),
    [sym_binary_expression] = STATE(110),
    [sym_unary_expression] = STATE(110),
    [sym_postfix_expression] = STATE(110),
    [sym_parenthesized_expression] = STATE(110),
    [sym_concatenation] = STATE(110),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [13] = {
    [sym__expression] = STATE(114),
    [sym_binary_expression] = STATE(114),
    [sym_unary_expression] = STATE(114),
    [sym_postfix_expression] = STATE(114),
    [sym_parenthesized_expression] = STATE(114),
    [sym_concatenation] = STATE(114),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [14] = {
    [sym_variable_assignment] = STATE(125),
    [sym_subscript] = STATE(124),
    [sym_concatenation] = STATE(125),
    [sym_string] = STATE(119),
    [sym_simple_expansion] = STATE(119),
    [sym_string_expansion] = STATE(119),
    [sym_expansion] = STATE(119),
    [sym_command_substitution] = STATE(119),
    [sym_process_substitution] = STATE(119),
    [aux_sym_declaration_command_repeat1] = STATE(125),
    [sym_variable_name] = ACTIONS(197),
    [ts_builtin_sym_end] = ACTIONS(199),
    [anon_sym_SEMI] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_SEMI_SEMI] = ACTIONS(199),
    [anon_sym_PIPE_AMP] = ACTIONS(199),
    [anon_sym_AMP_AMP] = ACTIONS(199),
    [anon_sym_PIPE_PIPE] = ACTIONS(199),
    [sym__special_characters] = ACTIONS(203),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(209),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(219),
    [sym_word] = ACTIONS(221),
    [anon_sym_LF] = ACTIONS(199),
    [anon_sym_AMP] = ACTIONS(201),
  },
  [15] = {
    [sym_concatenation] = STATE(134),
    [sym_string] = STATE(129),
    [sym_simple_expansion] = STATE(129),
    [sym_string_expansion] = STATE(129),
    [sym_expansion] = STATE(129),
    [sym_command_substitution] = STATE(129),
    [sym_process_substitution] = STATE(129),
    [aux_sym_unset_command_repeat1] = STATE(134),
    [ts_builtin_sym_end] = ACTIONS(223),
    [anon_sym_SEMI] = ACTIONS(225),
    [anon_sym_PIPE] = ACTIONS(225),
    [anon_sym_SEMI_SEMI] = ACTIONS(223),
    [anon_sym_PIPE_AMP] = ACTIONS(223),
    [anon_sym_AMP_AMP] = ACTIONS(223),
    [anon_sym_PIPE_PIPE] = ACTIONS(223),
    [sym__special_characters] = ACTIONS(227),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(233),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(243),
    [sym_word] = ACTIONS(245),
    [anon_sym_LF] = ACTIONS(223),
    [anon_sym_AMP] = ACTIONS(225),
  },
  [16] = {
    [sym_concatenation] = STATE(143),
    [sym_string] = STATE(138),
    [sym_simple_expansion] = STATE(138),
    [sym_string_expansion] = STATE(138),
    [sym_expansion] = STATE(138),
    [sym_command_substitution] = STATE(138),
    [sym_process_substitution] = STATE(138),
    [sym__special_characters] = ACTIONS(247),
    [anon_sym_DQUOTE] = ACTIONS(249),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(253),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(255),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(257),
    [anon_sym_BQUOTE] = ACTIONS(259),
    [anon_sym_LT_LPAREN] = ACTIONS(261),
    [anon_sym_GT_LPAREN] = ACTIONS(261),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(253),
  },
  [17] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(263),
    [sym__heredoc_body_beginning] = ACTIONS(263),
    [sym_file_descriptor] = ACTIONS(263),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(263),
    [anon_sym_SEMI] = ACTIONS(267),
    [anon_sym_PIPE] = ACTIONS(267),
    [anon_sym_SEMI_SEMI] = ACTIONS(263),
    [anon_sym_PIPE_AMP] = ACTIONS(263),
    [anon_sym_AMP_AMP] = ACTIONS(263),
    [anon_sym_PIPE_PIPE] = ACTIONS(263),
    [anon_sym_EQ_TILDE] = ACTIONS(267),
    [anon_sym_EQ_EQ] = ACTIONS(267),
    [anon_sym_LT] = ACTIONS(267),
    [anon_sym_GT] = ACTIONS(267),
    [anon_sym_GT_GT] = ACTIONS(263),
    [anon_sym_AMP_GT] = ACTIONS(267),
    [anon_sym_AMP_GT_GT] = ACTIONS(263),
    [anon_sym_LT_AMP] = ACTIONS(263),
    [anon_sym_GT_AMP] = ACTIONS(263),
    [anon_sym_LT_LT] = ACTIONS(267),
    [anon_sym_LT_LT_DASH] = ACTIONS(263),
    [anon_sym_LT_LT_LT] = ACTIONS(263),
    [sym__special_characters] = ACTIONS(263),
    [anon_sym_DQUOTE] = ACTIONS(263),
    [anon_sym_DOLLAR] = ACTIONS(267),
    [sym_raw_string] = ACTIONS(263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(263),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [anon_sym_LT_LPAREN] = ACTIONS(263),
    [anon_sym_GT_LPAREN] = ACTIONS(263),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(267),
    [anon_sym_LF] = ACTIONS(263),
    [anon_sym_AMP] = ACTIONS(267),
  },
  [18] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(152),
    [anon_sym_DQUOTE] = ACTIONS(269),
    [anon_sym_DOLLAR] = ACTIONS(271),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [19] = {
    [sym_string] = STATE(154),
    [anon_sym_DASH] = ACTIONS(283),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(283),
    [sym_raw_string] = ACTIONS(285),
    [anon_sym_POUND] = ACTIONS(283),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(287),
    [anon_sym_STAR] = ACTIONS(289),
    [anon_sym_AT] = ACTIONS(289),
    [anon_sym_QMARK] = ACTIONS(289),
    [anon_sym_0] = ACTIONS(287),
    [anon_sym__] = ACTIONS(287),
  },
  [20] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(291),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [21] = {
    [sym_subscript] = STATE(159),
    [sym_variable_name] = ACTIONS(295),
    [anon_sym_BANG] = ACTIONS(297),
    [anon_sym_DASH] = ACTIONS(299),
    [anon_sym_DOLLAR] = ACTIONS(299),
    [anon_sym_POUND] = ACTIONS(297),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(301),
    [anon_sym_STAR] = ACTIONS(303),
    [anon_sym_AT] = ACTIONS(303),
    [anon_sym_QMARK] = ACTIONS(303),
    [anon_sym_0] = ACTIONS(301),
    [anon_sym__] = ACTIONS(301),
  },
  [22] = {
    [sym__terminated_statement] = STATE(162),
    [sym_for_statement] = STATE(160),
    [sym_c_style_for_statement] = STATE(160),
    [sym_while_statement] = STATE(160),
    [sym_if_statement] = STATE(160),
    [sym_case_statement] = STATE(160),
    [sym_function_definition] = STATE(160),
    [sym_subshell] = STATE(160),
    [sym_pipeline] = STATE(160),
    [sym_list] = STATE(160),
    [sym_negated_command] = STATE(160),
    [sym_test_command] = STATE(160),
    [sym_declaration_command] = STATE(160),
    [sym_unset_command] = STATE(160),
    [sym_command] = STATE(160),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(161),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(162),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [23] = {
    [sym__terminated_statement] = STATE(175),
    [sym_for_statement] = STATE(172),
    [sym_c_style_for_statement] = STATE(172),
    [sym_while_statement] = STATE(172),
    [sym_if_statement] = STATE(172),
    [sym_case_statement] = STATE(172),
    [sym_function_definition] = STATE(172),
    [sym_subshell] = STATE(172),
    [sym_pipeline] = STATE(172),
    [sym_list] = STATE(172),
    [sym_negated_command] = STATE(172),
    [sym_test_command] = STATE(172),
    [sym_declaration_command] = STATE(172),
    [sym_unset_command] = STATE(172),
    [sym_command] = STATE(172),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(174),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(175),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [24] = {
    [sym__terminated_statement] = STATE(179),
    [sym_for_statement] = STATE(177),
    [sym_c_style_for_statement] = STATE(177),
    [sym_while_statement] = STATE(177),
    [sym_if_statement] = STATE(177),
    [sym_case_statement] = STATE(177),
    [sym_function_definition] = STATE(177),
    [sym_subshell] = STATE(177),
    [sym_pipeline] = STATE(177),
    [sym_list] = STATE(177),
    [sym_negated_command] = STATE(177),
    [sym_test_command] = STATE(177),
    [sym_declaration_command] = STATE(177),
    [sym_unset_command] = STATE(177),
    [sym_command] = STATE(177),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(178),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(179),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [25] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(291),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(323),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [26] = {
    [ts_builtin_sym_end] = ACTIONS(325),
    [sym_comment] = ACTIONS(55),
  },
  [27] = {
    [ts_builtin_sym_end] = ACTIONS(327),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(333),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(337),
    [anon_sym_PIPE_PIPE] = ACTIONS(337),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(333),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [28] = {
    [sym_file_redirect] = STATE(194),
    [sym_heredoc_redirect] = STATE(194),
    [sym_heredoc_body] = STATE(193),
    [sym_herestring_redirect] = STATE(194),
    [sym_concatenation] = STATE(195),
    [sym_string] = STATE(192),
    [sym_simple_expansion] = STATE(192),
    [sym_string_expansion] = STATE(192),
    [sym_expansion] = STATE(192),
    [sym_command_substitution] = STATE(192),
    [sym_process_substitution] = STATE(192),
    [aux_sym_while_statement_repeat1] = STATE(194),
    [aux_sym_command_repeat2] = STATE(195),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(345),
    [anon_sym_SEMI] = ACTIONS(347),
    [anon_sym_PIPE] = ACTIONS(347),
    [anon_sym_SEMI_SEMI] = ACTIONS(345),
    [anon_sym_PIPE_AMP] = ACTIONS(345),
    [anon_sym_AMP_AMP] = ACTIONS(345),
    [anon_sym_PIPE_PIPE] = ACTIONS(345),
    [anon_sym_EQ_TILDE] = ACTIONS(349),
    [anon_sym_EQ_EQ] = ACTIONS(349),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym__special_characters] = ACTIONS(361),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(363),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(365),
    [anon_sym_LF] = ACTIONS(345),
    [anon_sym_AMP] = ACTIONS(347),
  },
  [29] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [ts_builtin_sym_end] = ACTIONS(327),
    [anon_sym_SEMI] = ACTIONS(329),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(333),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(337),
    [anon_sym_PIPE_PIPE] = ACTIONS(337),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(333),
    [anon_sym_AMP] = ACTIONS(329),
  },
  [30] = {
    [anon_sym_EQ] = ACTIONS(65),
    [anon_sym_PLUS_EQ] = ACTIONS(65),
    [sym_comment] = ACTIONS(55),
  },
  [31] = {
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [ts_builtin_sym_end] = ACTIONS(291),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_RPAREN] = ACTIONS(291),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [32] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(196),
    [sym_c_style_for_statement] = STATE(196),
    [sym_while_statement] = STATE(196),
    [sym_if_statement] = STATE(196),
    [sym_case_statement] = STATE(196),
    [sym_function_definition] = STATE(196),
    [sym_subshell] = STATE(196),
    [sym_pipeline] = STATE(196),
    [sym_list] = STATE(196),
    [sym_negated_command] = STATE(196),
    [sym_test_command] = STATE(196),
    [sym_declaration_command] = STATE(196),
    [sym_unset_command] = STATE(196),
    [sym_command] = STATE(196),
    [sym_command_name] = STATE(28),
    [sym_variable_assignment] = STATE(197),
    [sym_subscript] = STATE(30),
    [sym_file_redirect] = STATE(33),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(13),
    [anon_sym_while] = ACTIONS(15),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(21),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(25),
    [anon_sym_LBRACK] = ACTIONS(27),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(29),
    [anon_sym_declare] = ACTIONS(31),
    [anon_sym_typeset] = ACTIONS(31),
    [anon_sym_export] = ACTIONS(31),
    [anon_sym_readonly] = ACTIONS(31),
    [anon_sym_local] = ACTIONS(31),
    [anon_sym_unset] = ACTIONS(33),
    [anon_sym_unsetenv] = ACTIONS(33),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(39),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(57),
  },
  [33] = {
    [sym_command_name] = STATE(199),
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(371),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(45),
  },
  [34] = {
    [sym_concatenation] = STATE(203),
    [sym_string] = STATE(202),
    [sym_simple_expansion] = STATE(202),
    [sym_string_expansion] = STATE(202),
    [sym_expansion] = STATE(202),
    [sym_command_substitution] = STATE(202),
    [sym_process_substitution] = STATE(202),
    [sym__special_characters] = ACTIONS(373),
    [anon_sym_DQUOTE] = ACTIONS(249),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(375),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(255),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(257),
    [anon_sym_BQUOTE] = ACTIONS(259),
    [anon_sym_LT_LPAREN] = ACTIONS(261),
    [anon_sym_GT_LPAREN] = ACTIONS(261),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(375),
  },
  [35] = {
    [sym_concatenation] = STATE(206),
    [sym_string] = STATE(205),
    [sym_simple_expansion] = STATE(205),
    [sym_string_expansion] = STATE(205),
    [sym_expansion] = STATE(205),
    [sym_command_substitution] = STATE(205),
    [sym_process_substitution] = STATE(205),
    [sym__special_characters] = ACTIONS(377),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(379),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(379),
  },
  [36] = {
    [sym_concatenation] = STATE(207),
    [sym_string] = STATE(212),
    [sym_array] = STATE(207),
    [sym_simple_expansion] = STATE(212),
    [sym_string_expansion] = STATE(212),
    [sym_expansion] = STATE(212),
    [sym_command_substitution] = STATE(212),
    [sym_process_substitution] = STATE(212),
    [sym__empty_value] = ACTIONS(381),
    [anon_sym_LPAREN] = ACTIONS(383),
    [sym__special_characters] = ACTIONS(385),
    [anon_sym_DQUOTE] = ACTIONS(387),
    [anon_sym_DOLLAR] = ACTIONS(389),
    [sym_raw_string] = ACTIONS(391),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(393),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(395),
    [anon_sym_BQUOTE] = ACTIONS(397),
    [anon_sym_LT_LPAREN] = ACTIONS(399),
    [anon_sym_GT_LPAREN] = ACTIONS(399),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(391),
  },
  [37] = {
    [sym__expression] = STATE(228),
    [sym_binary_expression] = STATE(228),
    [sym_unary_expression] = STATE(228),
    [sym_postfix_expression] = STATE(228),
    [sym_parenthesized_expression] = STATE(228),
    [sym_concatenation] = STATE(228),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [anon_sym_SEMI] = ACTIONS(401),
    [anon_sym_SEMI_SEMI] = ACTIONS(403),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
    [anon_sym_LF] = ACTIONS(403),
    [anon_sym_AMP] = ACTIONS(403),
  },
  [38] = {
    [anon_sym_in] = ACTIONS(429),
    [anon_sym_SEMI] = ACTIONS(431),
    [anon_sym_SEMI_SEMI] = ACTIONS(433),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(433),
    [anon_sym_AMP] = ACTIONS(433),
  },
  [39] = {
    [sym__expression] = STATE(241),
    [sym_binary_expression] = STATE(241),
    [sym_unary_expression] = STATE(241),
    [sym_postfix_expression] = STATE(241),
    [sym_parenthesized_expression] = STATE(241),
    [sym_concatenation] = STATE(241),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [40] = {
    [sym__expression] = STATE(242),
    [sym_binary_expression] = STATE(242),
    [sym_unary_expression] = STATE(242),
    [sym_postfix_expression] = STATE(242),
    [sym_parenthesized_expression] = STATE(242),
    [sym_concatenation] = STATE(242),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [41] = {
    [aux_sym_concatenation_repeat1] = STATE(244),
    [sym__concat] = ACTIONS(459),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(461),
    [anon_sym_AMP_AMP] = ACTIONS(461),
    [anon_sym_PIPE_PIPE] = ACTIONS(461),
    [anon_sym_EQ_TILDE] = ACTIONS(461),
    [anon_sym_EQ_EQ] = ACTIONS(461),
    [anon_sym_EQ] = ACTIONS(463),
    [anon_sym_PLUS_EQ] = ACTIONS(461),
    [anon_sym_LT] = ACTIONS(463),
    [anon_sym_GT] = ACTIONS(463),
    [anon_sym_BANG_EQ] = ACTIONS(461),
    [anon_sym_PLUS] = ACTIONS(463),
    [anon_sym_DASH] = ACTIONS(463),
    [anon_sym_DASH_EQ] = ACTIONS(461),
    [anon_sym_LT_EQ] = ACTIONS(461),
    [anon_sym_GT_EQ] = ACTIONS(461),
    [anon_sym_PLUS_PLUS] = ACTIONS(461),
    [anon_sym_DASH_DASH] = ACTIONS(461),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(461),
  },
  [42] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(247),
    [anon_sym_DQUOTE] = ACTIONS(465),
    [anon_sym_DOLLAR] = ACTIONS(467),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [43] = {
    [sym_string] = STATE(249),
    [anon_sym_DASH] = ACTIONS(469),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(469),
    [sym_raw_string] = ACTIONS(471),
    [anon_sym_POUND] = ACTIONS(469),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(473),
    [anon_sym_STAR] = ACTIONS(475),
    [anon_sym_AT] = ACTIONS(475),
    [anon_sym_QMARK] = ACTIONS(475),
    [anon_sym_0] = ACTIONS(473),
    [anon_sym__] = ACTIONS(473),
  },
  [44] = {
    [aux_sym_concatenation_repeat1] = STATE(244),
    [sym__concat] = ACTIONS(459),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(477),
    [anon_sym_AMP_AMP] = ACTIONS(477),
    [anon_sym_PIPE_PIPE] = ACTIONS(477),
    [anon_sym_EQ_TILDE] = ACTIONS(477),
    [anon_sym_EQ_EQ] = ACTIONS(477),
    [anon_sym_EQ] = ACTIONS(479),
    [anon_sym_PLUS_EQ] = ACTIONS(477),
    [anon_sym_LT] = ACTIONS(479),
    [anon_sym_GT] = ACTIONS(479),
    [anon_sym_BANG_EQ] = ACTIONS(477),
    [anon_sym_PLUS] = ACTIONS(479),
    [anon_sym_DASH] = ACTIONS(479),
    [anon_sym_DASH_EQ] = ACTIONS(477),
    [anon_sym_LT_EQ] = ACTIONS(477),
    [anon_sym_GT_EQ] = ACTIONS(477),
    [anon_sym_PLUS_PLUS] = ACTIONS(477),
    [anon_sym_DASH_DASH] = ACTIONS(477),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(477),
  },
  [45] = {
    [sym_subscript] = STATE(254),
    [sym_variable_name] = ACTIONS(481),
    [anon_sym_BANG] = ACTIONS(483),
    [anon_sym_DASH] = ACTIONS(485),
    [anon_sym_DOLLAR] = ACTIONS(485),
    [anon_sym_POUND] = ACTIONS(483),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(487),
    [anon_sym_STAR] = ACTIONS(489),
    [anon_sym_AT] = ACTIONS(489),
    [anon_sym_QMARK] = ACTIONS(489),
    [anon_sym_0] = ACTIONS(487),
    [anon_sym__] = ACTIONS(487),
  },
  [46] = {
    [sym__terminated_statement] = STATE(257),
    [sym_for_statement] = STATE(255),
    [sym_c_style_for_statement] = STATE(255),
    [sym_while_statement] = STATE(255),
    [sym_if_statement] = STATE(255),
    [sym_case_statement] = STATE(255),
    [sym_function_definition] = STATE(255),
    [sym_subshell] = STATE(255),
    [sym_pipeline] = STATE(255),
    [sym_list] = STATE(255),
    [sym_negated_command] = STATE(255),
    [sym_test_command] = STATE(255),
    [sym_declaration_command] = STATE(255),
    [sym_unset_command] = STATE(255),
    [sym_command] = STATE(255),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(256),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(257),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [47] = {
    [sym__terminated_statement] = STATE(260),
    [sym_for_statement] = STATE(258),
    [sym_c_style_for_statement] = STATE(258),
    [sym_while_statement] = STATE(258),
    [sym_if_statement] = STATE(258),
    [sym_case_statement] = STATE(258),
    [sym_function_definition] = STATE(258),
    [sym_subshell] = STATE(258),
    [sym_pipeline] = STATE(258),
    [sym_list] = STATE(258),
    [sym_negated_command] = STATE(258),
    [sym_test_command] = STATE(258),
    [sym_declaration_command] = STATE(258),
    [sym_unset_command] = STATE(258),
    [sym_command] = STATE(258),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(259),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(260),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [48] = {
    [sym__terminated_statement] = STATE(263),
    [sym_for_statement] = STATE(261),
    [sym_c_style_for_statement] = STATE(261),
    [sym_while_statement] = STATE(261),
    [sym_if_statement] = STATE(261),
    [sym_case_statement] = STATE(261),
    [sym_function_definition] = STATE(261),
    [sym_subshell] = STATE(261),
    [sym_pipeline] = STATE(261),
    [sym_list] = STATE(261),
    [sym_negated_command] = STATE(261),
    [sym_test_command] = STATE(261),
    [sym_declaration_command] = STATE(261),
    [sym_unset_command] = STATE(261),
    [sym_command] = STATE(261),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(262),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(263),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [49] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(491),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [50] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(501),
    [anon_sym_PLUS_EQ] = ACTIONS(501),
    [sym_comment] = ACTIONS(55),
  },
  [51] = {
    [sym__expression] = STATE(269),
    [sym_binary_expression] = STATE(269),
    [sym_unary_expression] = STATE(269),
    [sym_postfix_expression] = STATE(269),
    [sym_parenthesized_expression] = STATE(269),
    [sym_concatenation] = STATE(269),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [52] = {
    [sym__terminated_statement] = STATE(270),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [53] = {
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(503),
  },
  [54] = {
    [sym_subshell] = STATE(98),
    [sym_test_command] = STATE(98),
    [sym_command] = STATE(98),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(67),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(115),
  },
  [55] = {
    [sym__expression] = STATE(272),
    [sym_binary_expression] = STATE(272),
    [sym_unary_expression] = STATE(272),
    [sym_postfix_expression] = STATE(272),
    [sym_parenthesized_expression] = STATE(272),
    [sym_concatenation] = STATE(272),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [56] = {
    [sym__expression] = STATE(273),
    [sym_binary_expression] = STATE(273),
    [sym_unary_expression] = STATE(273),
    [sym_postfix_expression] = STATE(273),
    [sym_parenthesized_expression] = STATE(273),
    [sym_concatenation] = STATE(273),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [57] = {
    [sym_variable_assignment] = STATE(278),
    [sym_subscript] = STATE(277),
    [sym_concatenation] = STATE(278),
    [sym_string] = STATE(276),
    [sym_simple_expansion] = STATE(276),
    [sym_string_expansion] = STATE(276),
    [sym_expansion] = STATE(276),
    [sym_command_substitution] = STATE(276),
    [sym_process_substitution] = STATE(276),
    [aux_sym_declaration_command_repeat1] = STATE(278),
    [sym_variable_name] = ACTIONS(505),
    [anon_sym_SEMI] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_SEMI_SEMI] = ACTIONS(199),
    [anon_sym_PIPE_AMP] = ACTIONS(199),
    [anon_sym_AMP_AMP] = ACTIONS(199),
    [anon_sym_PIPE_PIPE] = ACTIONS(199),
    [sym__special_characters] = ACTIONS(507),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(509),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(511),
    [sym_word] = ACTIONS(513),
    [anon_sym_LF] = ACTIONS(199),
    [anon_sym_AMP] = ACTIONS(201),
  },
  [58] = {
    [sym_concatenation] = STATE(281),
    [sym_string] = STATE(280),
    [sym_simple_expansion] = STATE(280),
    [sym_string_expansion] = STATE(280),
    [sym_expansion] = STATE(280),
    [sym_command_substitution] = STATE(280),
    [sym_process_substitution] = STATE(280),
    [aux_sym_unset_command_repeat1] = STATE(281),
    [anon_sym_SEMI] = ACTIONS(225),
    [anon_sym_PIPE] = ACTIONS(225),
    [anon_sym_SEMI_SEMI] = ACTIONS(223),
    [anon_sym_PIPE_AMP] = ACTIONS(223),
    [anon_sym_AMP_AMP] = ACTIONS(223),
    [anon_sym_PIPE_PIPE] = ACTIONS(223),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(519),
    [sym_word] = ACTIONS(521),
    [anon_sym_LF] = ACTIONS(223),
    [anon_sym_AMP] = ACTIONS(225),
  },
  [59] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(263),
    [sym__heredoc_body_beginning] = ACTIONS(263),
    [sym_file_descriptor] = ACTIONS(263),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(267),
    [anon_sym_PIPE] = ACTIONS(267),
    [anon_sym_SEMI_SEMI] = ACTIONS(263),
    [anon_sym_PIPE_AMP] = ACTIONS(263),
    [anon_sym_AMP_AMP] = ACTIONS(263),
    [anon_sym_PIPE_PIPE] = ACTIONS(263),
    [anon_sym_EQ_TILDE] = ACTIONS(267),
    [anon_sym_EQ_EQ] = ACTIONS(267),
    [anon_sym_LT] = ACTIONS(267),
    [anon_sym_GT] = ACTIONS(267),
    [anon_sym_GT_GT] = ACTIONS(263),
    [anon_sym_AMP_GT] = ACTIONS(267),
    [anon_sym_AMP_GT_GT] = ACTIONS(263),
    [anon_sym_LT_AMP] = ACTIONS(263),
    [anon_sym_GT_AMP] = ACTIONS(263),
    [anon_sym_LT_LT] = ACTIONS(267),
    [anon_sym_LT_LT_DASH] = ACTIONS(263),
    [anon_sym_LT_LT_LT] = ACTIONS(263),
    [sym__special_characters] = ACTIONS(263),
    [anon_sym_DQUOTE] = ACTIONS(263),
    [anon_sym_DOLLAR] = ACTIONS(267),
    [sym_raw_string] = ACTIONS(263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(263),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [anon_sym_LT_LPAREN] = ACTIONS(263),
    [anon_sym_GT_LPAREN] = ACTIONS(263),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(267),
    [anon_sym_LF] = ACTIONS(263),
    [anon_sym_AMP] = ACTIONS(267),
  },
  [60] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [61] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(523),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [62] = {
    [sym_do_group] = STATE(285),
    [anon_sym_do] = ACTIONS(525),
    [sym_comment] = ACTIONS(55),
  },
  [63] = {
    [anon_sym_SEMI] = ACTIONS(527),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(531),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(531),
    [anon_sym_AMP] = ACTIONS(527),
  },
  [64] = {
    [sym_file_redirect] = STATE(295),
    [sym_heredoc_redirect] = STATE(295),
    [sym_heredoc_body] = STATE(193),
    [sym_herestring_redirect] = STATE(295),
    [sym_concatenation] = STATE(296),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(295),
    [aux_sym_command_repeat2] = STATE(296),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(347),
    [anon_sym_PIPE] = ACTIONS(347),
    [anon_sym_SEMI_SEMI] = ACTIONS(345),
    [anon_sym_PIPE_AMP] = ACTIONS(345),
    [anon_sym_AMP_AMP] = ACTIONS(345),
    [anon_sym_PIPE_PIPE] = ACTIONS(345),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(345),
    [anon_sym_AMP] = ACTIONS(347),
  },
  [65] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(527),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(531),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(531),
    [anon_sym_AMP] = ACTIONS(527),
  },
  [66] = {
    [anon_sym_EQ] = ACTIONS(501),
    [anon_sym_PLUS_EQ] = ACTIONS(501),
    [sym_comment] = ACTIONS(55),
  },
  [67] = {
    [sym_command_name] = STATE(297),
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(553),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(115),
  },
  [68] = {
    [anon_sym_then] = ACTIONS(555),
    [sym_comment] = ACTIONS(55),
  },
  [69] = {
    [aux_sym_concatenation_repeat1] = STATE(302),
    [sym__concat] = ACTIONS(557),
    [anon_sym_in] = ACTIONS(559),
    [anon_sym_SEMI] = ACTIONS(561),
    [anon_sym_SEMI_SEMI] = ACTIONS(563),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(563),
    [anon_sym_AMP] = ACTIONS(563),
  },
  [70] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(305),
    [anon_sym_DQUOTE] = ACTIONS(565),
    [anon_sym_DOLLAR] = ACTIONS(567),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [71] = {
    [sym_string] = STATE(307),
    [anon_sym_DASH] = ACTIONS(569),
    [anon_sym_DQUOTE] = ACTIONS(121),
    [anon_sym_DOLLAR] = ACTIONS(569),
    [sym_raw_string] = ACTIONS(571),
    [anon_sym_POUND] = ACTIONS(569),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(573),
    [anon_sym_STAR] = ACTIONS(575),
    [anon_sym_AT] = ACTIONS(575),
    [anon_sym_QMARK] = ACTIONS(575),
    [anon_sym_0] = ACTIONS(573),
    [anon_sym__] = ACTIONS(573),
  },
  [72] = {
    [aux_sym_concatenation_repeat1] = STATE(302),
    [sym__concat] = ACTIONS(557),
    [anon_sym_in] = ACTIONS(577),
    [anon_sym_SEMI] = ACTIONS(579),
    [anon_sym_SEMI_SEMI] = ACTIONS(581),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(581),
    [anon_sym_AMP] = ACTIONS(581),
  },
  [73] = {
    [sym_subscript] = STATE(314),
    [sym_variable_name] = ACTIONS(583),
    [anon_sym_BANG] = ACTIONS(585),
    [anon_sym_DASH] = ACTIONS(587),
    [anon_sym_DOLLAR] = ACTIONS(587),
    [anon_sym_POUND] = ACTIONS(585),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(589),
    [anon_sym_STAR] = ACTIONS(591),
    [anon_sym_AT] = ACTIONS(591),
    [anon_sym_QMARK] = ACTIONS(591),
    [anon_sym_0] = ACTIONS(589),
    [anon_sym__] = ACTIONS(589),
  },
  [74] = {
    [sym__terminated_statement] = STATE(317),
    [sym_for_statement] = STATE(315),
    [sym_c_style_for_statement] = STATE(315),
    [sym_while_statement] = STATE(315),
    [sym_if_statement] = STATE(315),
    [sym_case_statement] = STATE(315),
    [sym_function_definition] = STATE(315),
    [sym_subshell] = STATE(315),
    [sym_pipeline] = STATE(315),
    [sym_list] = STATE(315),
    [sym_negated_command] = STATE(315),
    [sym_test_command] = STATE(315),
    [sym_declaration_command] = STATE(315),
    [sym_unset_command] = STATE(315),
    [sym_command] = STATE(315),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(316),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(317),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [75] = {
    [sym__terminated_statement] = STATE(320),
    [sym_for_statement] = STATE(318),
    [sym_c_style_for_statement] = STATE(318),
    [sym_while_statement] = STATE(318),
    [sym_if_statement] = STATE(318),
    [sym_case_statement] = STATE(318),
    [sym_function_definition] = STATE(318),
    [sym_subshell] = STATE(318),
    [sym_pipeline] = STATE(318),
    [sym_list] = STATE(318),
    [sym_negated_command] = STATE(318),
    [sym_test_command] = STATE(318),
    [sym_declaration_command] = STATE(318),
    [sym_unset_command] = STATE(318),
    [sym_command] = STATE(318),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(319),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(320),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [76] = {
    [sym__terminated_statement] = STATE(323),
    [sym_for_statement] = STATE(321),
    [sym_c_style_for_statement] = STATE(321),
    [sym_while_statement] = STATE(321),
    [sym_if_statement] = STATE(321),
    [sym_case_statement] = STATE(321),
    [sym_function_definition] = STATE(321),
    [sym_subshell] = STATE(321),
    [sym_pipeline] = STATE(321),
    [sym_list] = STATE(321),
    [sym_negated_command] = STATE(321),
    [sym_test_command] = STATE(321),
    [sym_declaration_command] = STATE(321),
    [sym_unset_command] = STATE(321),
    [sym_command] = STATE(321),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(322),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(323),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [77] = {
    [anon_sym_in] = ACTIONS(577),
    [anon_sym_SEMI] = ACTIONS(579),
    [anon_sym_SEMI_SEMI] = ACTIONS(581),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(581),
    [anon_sym_AMP] = ACTIONS(581),
  },
  [78] = {
    [sym_compound_statement] = STATE(326),
    [anon_sym_LPAREN] = ACTIONS(593),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [79] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(597),
    [anon_sym_PLUS_EQ] = ACTIONS(597),
    [sym_comment] = ACTIONS(55),
  },
  [80] = {
    [sym__expression] = STATE(328),
    [sym_binary_expression] = STATE(328),
    [sym_unary_expression] = STATE(328),
    [sym_postfix_expression] = STATE(328),
    [sym_parenthesized_expression] = STATE(328),
    [sym_concatenation] = STATE(328),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [81] = {
    [sym__terminated_statement] = STATE(329),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [82] = {
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(599),
  },
  [83] = {
    [sym_subshell] = STATE(98),
    [sym_test_command] = STATE(98),
    [sym_command] = STATE(98),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(96),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(157),
  },
  [84] = {
    [sym__expression] = STATE(331),
    [sym_binary_expression] = STATE(331),
    [sym_unary_expression] = STATE(331),
    [sym_postfix_expression] = STATE(331),
    [sym_parenthesized_expression] = STATE(331),
    [sym_concatenation] = STATE(331),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [85] = {
    [sym__expression] = STATE(332),
    [sym_binary_expression] = STATE(332),
    [sym_unary_expression] = STATE(332),
    [sym_postfix_expression] = STATE(332),
    [sym_parenthesized_expression] = STATE(332),
    [sym_concatenation] = STATE(332),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [86] = {
    [sym_variable_assignment] = STATE(337),
    [sym_subscript] = STATE(336),
    [sym_concatenation] = STATE(337),
    [sym_string] = STATE(335),
    [sym_simple_expansion] = STATE(335),
    [sym_string_expansion] = STATE(335),
    [sym_expansion] = STATE(335),
    [sym_command_substitution] = STATE(335),
    [sym_process_substitution] = STATE(335),
    [aux_sym_declaration_command_repeat1] = STATE(337),
    [sym_variable_name] = ACTIONS(601),
    [anon_sym_SEMI] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_RPAREN] = ACTIONS(199),
    [anon_sym_SEMI_SEMI] = ACTIONS(199),
    [anon_sym_PIPE_AMP] = ACTIONS(199),
    [anon_sym_AMP_AMP] = ACTIONS(199),
    [anon_sym_PIPE_PIPE] = ACTIONS(199),
    [sym__special_characters] = ACTIONS(603),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(605),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(607),
    [sym_word] = ACTIONS(609),
    [anon_sym_LF] = ACTIONS(199),
    [anon_sym_AMP] = ACTIONS(201),
  },
  [87] = {
    [sym_concatenation] = STATE(340),
    [sym_string] = STATE(339),
    [sym_simple_expansion] = STATE(339),
    [sym_string_expansion] = STATE(339),
    [sym_expansion] = STATE(339),
    [sym_command_substitution] = STATE(339),
    [sym_process_substitution] = STATE(339),
    [aux_sym_unset_command_repeat1] = STATE(340),
    [anon_sym_SEMI] = ACTIONS(225),
    [anon_sym_PIPE] = ACTIONS(225),
    [anon_sym_RPAREN] = ACTIONS(223),
    [anon_sym_SEMI_SEMI] = ACTIONS(223),
    [anon_sym_PIPE_AMP] = ACTIONS(223),
    [anon_sym_AMP_AMP] = ACTIONS(223),
    [anon_sym_PIPE_PIPE] = ACTIONS(223),
    [sym__special_characters] = ACTIONS(611),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(613),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(615),
    [sym_word] = ACTIONS(617),
    [anon_sym_LF] = ACTIONS(223),
    [anon_sym_AMP] = ACTIONS(225),
  },
  [88] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(263),
    [sym__heredoc_body_beginning] = ACTIONS(263),
    [sym_file_descriptor] = ACTIONS(263),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(267),
    [anon_sym_PIPE] = ACTIONS(267),
    [anon_sym_RPAREN] = ACTIONS(263),
    [anon_sym_SEMI_SEMI] = ACTIONS(263),
    [anon_sym_PIPE_AMP] = ACTIONS(263),
    [anon_sym_AMP_AMP] = ACTIONS(263),
    [anon_sym_PIPE_PIPE] = ACTIONS(263),
    [anon_sym_EQ_TILDE] = ACTIONS(267),
    [anon_sym_EQ_EQ] = ACTIONS(267),
    [anon_sym_LT] = ACTIONS(267),
    [anon_sym_GT] = ACTIONS(267),
    [anon_sym_GT_GT] = ACTIONS(263),
    [anon_sym_AMP_GT] = ACTIONS(267),
    [anon_sym_AMP_GT_GT] = ACTIONS(263),
    [anon_sym_LT_AMP] = ACTIONS(263),
    [anon_sym_GT_AMP] = ACTIONS(263),
    [anon_sym_LT_LT] = ACTIONS(267),
    [anon_sym_LT_LT_DASH] = ACTIONS(263),
    [anon_sym_LT_LT_LT] = ACTIONS(263),
    [sym__special_characters] = ACTIONS(263),
    [anon_sym_DQUOTE] = ACTIONS(263),
    [anon_sym_DOLLAR] = ACTIONS(267),
    [sym_raw_string] = ACTIONS(263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(263),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [anon_sym_LT_LPAREN] = ACTIONS(263),
    [anon_sym_GT_LPAREN] = ACTIONS(263),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(267),
    [anon_sym_LF] = ACTIONS(263),
    [anon_sym_AMP] = ACTIONS(267),
  },
  [89] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_RPAREN] = ACTIONS(291),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [90] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_RPAREN] = ACTIONS(291),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(619),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [91] = {
    [anon_sym_SEMI] = ACTIONS(621),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(625),
    [anon_sym_SEMI_SEMI] = ACTIONS(627),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(627),
    [anon_sym_AMP] = ACTIONS(621),
  },
  [92] = {
    [sym_file_redirect] = STATE(353),
    [sym_heredoc_redirect] = STATE(353),
    [sym_heredoc_body] = STATE(193),
    [sym_herestring_redirect] = STATE(353),
    [sym_concatenation] = STATE(354),
    [sym_string] = STATE(352),
    [sym_simple_expansion] = STATE(352),
    [sym_string_expansion] = STATE(352),
    [sym_expansion] = STATE(352),
    [sym_command_substitution] = STATE(352),
    [sym_process_substitution] = STATE(352),
    [aux_sym_while_statement_repeat1] = STATE(353),
    [aux_sym_command_repeat2] = STATE(354),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(347),
    [anon_sym_PIPE] = ACTIONS(347),
    [anon_sym_RPAREN] = ACTIONS(345),
    [anon_sym_SEMI_SEMI] = ACTIONS(345),
    [anon_sym_PIPE_AMP] = ACTIONS(345),
    [anon_sym_AMP_AMP] = ACTIONS(345),
    [anon_sym_PIPE_PIPE] = ACTIONS(345),
    [anon_sym_EQ_TILDE] = ACTIONS(635),
    [anon_sym_EQ_EQ] = ACTIONS(635),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym__special_characters] = ACTIONS(643),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(645),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(647),
    [anon_sym_LF] = ACTIONS(345),
    [anon_sym_AMP] = ACTIONS(347),
  },
  [93] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(621),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(625),
    [anon_sym_SEMI_SEMI] = ACTIONS(627),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(627),
    [anon_sym_AMP] = ACTIONS(621),
  },
  [94] = {
    [anon_sym_EQ] = ACTIONS(597),
    [anon_sym_PLUS_EQ] = ACTIONS(597),
    [sym_comment] = ACTIONS(55),
  },
  [95] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(355),
    [sym_c_style_for_statement] = STATE(355),
    [sym_while_statement] = STATE(355),
    [sym_if_statement] = STATE(355),
    [sym_case_statement] = STATE(355),
    [sym_function_definition] = STATE(355),
    [sym_subshell] = STATE(355),
    [sym_pipeline] = STATE(355),
    [sym_list] = STATE(355),
    [sym_negated_command] = STATE(355),
    [sym_test_command] = STATE(355),
    [sym_declaration_command] = STATE(355),
    [sym_unset_command] = STATE(355),
    [sym_command] = STATE(355),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(356),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [96] = {
    [sym_command_name] = STATE(357),
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(649),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(157),
  },
  [97] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(651),
    [anon_sym_PLUS_EQ] = ACTIONS(651),
    [sym_comment] = ACTIONS(55),
  },
  [98] = {
    [ts_builtin_sym_end] = ACTIONS(653),
    [anon_sym_SEMI] = ACTIONS(655),
    [anon_sym_esac] = ACTIONS(653),
    [anon_sym_PIPE] = ACTIONS(655),
    [anon_sym_RPAREN] = ACTIONS(653),
    [anon_sym_SEMI_SEMI] = ACTIONS(653),
    [anon_sym_PIPE_AMP] = ACTIONS(653),
    [anon_sym_AMP_AMP] = ACTIONS(653),
    [anon_sym_PIPE_PIPE] = ACTIONS(653),
    [anon_sym_BQUOTE] = ACTIONS(653),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(653),
    [anon_sym_AMP] = ACTIONS(655),
  },
  [99] = {
    [anon_sym_EQ] = ACTIONS(651),
    [anon_sym_PLUS_EQ] = ACTIONS(651),
    [sym_comment] = ACTIONS(55),
  },
  [100] = {
    [sym__expression] = STATE(359),
    [sym_binary_expression] = STATE(359),
    [sym_unary_expression] = STATE(359),
    [sym_postfix_expression] = STATE(359),
    [sym_parenthesized_expression] = STATE(359),
    [sym_concatenation] = STATE(359),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [101] = {
    [sym__expression] = STATE(360),
    [sym_binary_expression] = STATE(360),
    [sym_unary_expression] = STATE(360),
    [sym_postfix_expression] = STATE(360),
    [sym_parenthesized_expression] = STATE(360),
    [sym_concatenation] = STATE(360),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [102] = {
    [aux_sym_concatenation_repeat1] = STATE(362),
    [sym__concat] = ACTIONS(657),
    [anon_sym_AMP_AMP] = ACTIONS(461),
    [anon_sym_PIPE_PIPE] = ACTIONS(461),
    [anon_sym_RBRACK] = ACTIONS(461),
    [anon_sym_EQ_TILDE] = ACTIONS(461),
    [anon_sym_EQ_EQ] = ACTIONS(461),
    [anon_sym_EQ] = ACTIONS(463),
    [anon_sym_PLUS_EQ] = ACTIONS(461),
    [anon_sym_LT] = ACTIONS(463),
    [anon_sym_GT] = ACTIONS(463),
    [anon_sym_BANG_EQ] = ACTIONS(461),
    [anon_sym_PLUS] = ACTIONS(463),
    [anon_sym_DASH] = ACTIONS(463),
    [anon_sym_DASH_EQ] = ACTIONS(461),
    [anon_sym_LT_EQ] = ACTIONS(461),
    [anon_sym_GT_EQ] = ACTIONS(461),
    [anon_sym_PLUS_PLUS] = ACTIONS(461),
    [anon_sym_DASH_DASH] = ACTIONS(461),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(461),
  },
  [103] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(365),
    [anon_sym_DQUOTE] = ACTIONS(659),
    [anon_sym_DOLLAR] = ACTIONS(661),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [104] = {
    [sym_string] = STATE(367),
    [anon_sym_DASH] = ACTIONS(663),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(663),
    [sym_raw_string] = ACTIONS(665),
    [anon_sym_POUND] = ACTIONS(663),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(667),
    [anon_sym_STAR] = ACTIONS(669),
    [anon_sym_AT] = ACTIONS(669),
    [anon_sym_QMARK] = ACTIONS(669),
    [anon_sym_0] = ACTIONS(667),
    [anon_sym__] = ACTIONS(667),
  },
  [105] = {
    [aux_sym_concatenation_repeat1] = STATE(362),
    [sym__concat] = ACTIONS(657),
    [anon_sym_AMP_AMP] = ACTIONS(477),
    [anon_sym_PIPE_PIPE] = ACTIONS(477),
    [anon_sym_RBRACK] = ACTIONS(477),
    [anon_sym_EQ_TILDE] = ACTIONS(477),
    [anon_sym_EQ_EQ] = ACTIONS(477),
    [anon_sym_EQ] = ACTIONS(479),
    [anon_sym_PLUS_EQ] = ACTIONS(477),
    [anon_sym_LT] = ACTIONS(479),
    [anon_sym_GT] = ACTIONS(479),
    [anon_sym_BANG_EQ] = ACTIONS(477),
    [anon_sym_PLUS] = ACTIONS(479),
    [anon_sym_DASH] = ACTIONS(479),
    [anon_sym_DASH_EQ] = ACTIONS(477),
    [anon_sym_LT_EQ] = ACTIONS(477),
    [anon_sym_GT_EQ] = ACTIONS(477),
    [anon_sym_PLUS_PLUS] = ACTIONS(477),
    [anon_sym_DASH_DASH] = ACTIONS(477),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(477),
  },
  [106] = {
    [sym_subscript] = STATE(372),
    [sym_variable_name] = ACTIONS(671),
    [anon_sym_BANG] = ACTIONS(673),
    [anon_sym_DASH] = ACTIONS(675),
    [anon_sym_DOLLAR] = ACTIONS(675),
    [anon_sym_POUND] = ACTIONS(673),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(677),
    [anon_sym_STAR] = ACTIONS(679),
    [anon_sym_AT] = ACTIONS(679),
    [anon_sym_QMARK] = ACTIONS(679),
    [anon_sym_0] = ACTIONS(677),
    [anon_sym__] = ACTIONS(677),
  },
  [107] = {
    [sym__terminated_statement] = STATE(375),
    [sym_for_statement] = STATE(373),
    [sym_c_style_for_statement] = STATE(373),
    [sym_while_statement] = STATE(373),
    [sym_if_statement] = STATE(373),
    [sym_case_statement] = STATE(373),
    [sym_function_definition] = STATE(373),
    [sym_subshell] = STATE(373),
    [sym_pipeline] = STATE(373),
    [sym_list] = STATE(373),
    [sym_negated_command] = STATE(373),
    [sym_test_command] = STATE(373),
    [sym_declaration_command] = STATE(373),
    [sym_unset_command] = STATE(373),
    [sym_command] = STATE(373),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(374),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(375),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [108] = {
    [sym__terminated_statement] = STATE(378),
    [sym_for_statement] = STATE(376),
    [sym_c_style_for_statement] = STATE(376),
    [sym_while_statement] = STATE(376),
    [sym_if_statement] = STATE(376),
    [sym_case_statement] = STATE(376),
    [sym_function_definition] = STATE(376),
    [sym_subshell] = STATE(376),
    [sym_pipeline] = STATE(376),
    [sym_list] = STATE(376),
    [sym_negated_command] = STATE(376),
    [sym_test_command] = STATE(376),
    [sym_declaration_command] = STATE(376),
    [sym_unset_command] = STATE(376),
    [sym_command] = STATE(376),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(377),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(378),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [109] = {
    [sym__terminated_statement] = STATE(381),
    [sym_for_statement] = STATE(379),
    [sym_c_style_for_statement] = STATE(379),
    [sym_while_statement] = STATE(379),
    [sym_if_statement] = STATE(379),
    [sym_case_statement] = STATE(379),
    [sym_function_definition] = STATE(379),
    [sym_subshell] = STATE(379),
    [sym_pipeline] = STATE(379),
    [sym_list] = STATE(379),
    [sym_negated_command] = STATE(379),
    [sym_test_command] = STATE(379),
    [sym_declaration_command] = STATE(379),
    [sym_unset_command] = STATE(379),
    [sym_command] = STATE(379),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(380),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(381),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [110] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(491),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [111] = {
    [sym__expression] = STATE(385),
    [sym_binary_expression] = STATE(385),
    [sym_unary_expression] = STATE(385),
    [sym_postfix_expression] = STATE(385),
    [sym_parenthesized_expression] = STATE(385),
    [sym_concatenation] = STATE(385),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [112] = {
    [aux_sym_concatenation_repeat1] = STATE(386),
    [sym__concat] = ACTIONS(459),
    [anon_sym_AMP_AMP] = ACTIONS(461),
    [anon_sym_PIPE_PIPE] = ACTIONS(461),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(461),
    [anon_sym_EQ_TILDE] = ACTIONS(461),
    [anon_sym_EQ_EQ] = ACTIONS(461),
    [anon_sym_EQ] = ACTIONS(463),
    [anon_sym_PLUS_EQ] = ACTIONS(461),
    [anon_sym_LT] = ACTIONS(463),
    [anon_sym_GT] = ACTIONS(463),
    [anon_sym_BANG_EQ] = ACTIONS(461),
    [anon_sym_PLUS] = ACTIONS(463),
    [anon_sym_DASH] = ACTIONS(463),
    [anon_sym_DASH_EQ] = ACTIONS(461),
    [anon_sym_LT_EQ] = ACTIONS(461),
    [anon_sym_GT_EQ] = ACTIONS(461),
    [anon_sym_PLUS_PLUS] = ACTIONS(461),
    [anon_sym_DASH_DASH] = ACTIONS(461),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(461),
  },
  [113] = {
    [aux_sym_concatenation_repeat1] = STATE(386),
    [sym__concat] = ACTIONS(459),
    [anon_sym_AMP_AMP] = ACTIONS(477),
    [anon_sym_PIPE_PIPE] = ACTIONS(477),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(477),
    [anon_sym_EQ_TILDE] = ACTIONS(477),
    [anon_sym_EQ_EQ] = ACTIONS(477),
    [anon_sym_EQ] = ACTIONS(479),
    [anon_sym_PLUS_EQ] = ACTIONS(477),
    [anon_sym_LT] = ACTIONS(479),
    [anon_sym_GT] = ACTIONS(479),
    [anon_sym_BANG_EQ] = ACTIONS(477),
    [anon_sym_PLUS] = ACTIONS(479),
    [anon_sym_DASH] = ACTIONS(479),
    [anon_sym_DASH_EQ] = ACTIONS(477),
    [anon_sym_LT_EQ] = ACTIONS(477),
    [anon_sym_GT_EQ] = ACTIONS(477),
    [anon_sym_PLUS_PLUS] = ACTIONS(477),
    [anon_sym_DASH_DASH] = ACTIONS(477),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(477),
  },
  [114] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(491),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [115] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(695),
    [anon_sym_PLUS_EQ] = ACTIONS(695),
    [sym_comment] = ACTIONS(55),
  },
  [116] = {
    [aux_sym_concatenation_repeat1] = STATE(391),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(699),
    [ts_builtin_sym_end] = ACTIONS(699),
    [anon_sym_SEMI] = ACTIONS(701),
    [anon_sym_PIPE] = ACTIONS(701),
    [anon_sym_SEMI_SEMI] = ACTIONS(699),
    [anon_sym_PIPE_AMP] = ACTIONS(699),
    [anon_sym_AMP_AMP] = ACTIONS(699),
    [anon_sym_PIPE_PIPE] = ACTIONS(699),
    [sym__special_characters] = ACTIONS(699),
    [anon_sym_DQUOTE] = ACTIONS(699),
    [anon_sym_DOLLAR] = ACTIONS(701),
    [sym_raw_string] = ACTIONS(699),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(699),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(699),
    [anon_sym_BQUOTE] = ACTIONS(699),
    [anon_sym_LT_LPAREN] = ACTIONS(699),
    [anon_sym_GT_LPAREN] = ACTIONS(699),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(701),
    [sym_word] = ACTIONS(701),
    [anon_sym_LF] = ACTIONS(699),
    [anon_sym_AMP] = ACTIONS(701),
  },
  [117] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(394),
    [anon_sym_DQUOTE] = ACTIONS(703),
    [anon_sym_DOLLAR] = ACTIONS(705),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [118] = {
    [sym_string] = STATE(396),
    [anon_sym_DASH] = ACTIONS(707),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(707),
    [sym_raw_string] = ACTIONS(709),
    [anon_sym_POUND] = ACTIONS(707),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(711),
    [anon_sym_STAR] = ACTIONS(713),
    [anon_sym_AT] = ACTIONS(713),
    [anon_sym_QMARK] = ACTIONS(713),
    [anon_sym_0] = ACTIONS(711),
    [anon_sym__] = ACTIONS(711),
  },
  [119] = {
    [aux_sym_concatenation_repeat1] = STATE(391),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(715),
    [ts_builtin_sym_end] = ACTIONS(715),
    [anon_sym_SEMI] = ACTIONS(717),
    [anon_sym_PIPE] = ACTIONS(717),
    [anon_sym_SEMI_SEMI] = ACTIONS(715),
    [anon_sym_PIPE_AMP] = ACTIONS(715),
    [anon_sym_AMP_AMP] = ACTIONS(715),
    [anon_sym_PIPE_PIPE] = ACTIONS(715),
    [sym__special_characters] = ACTIONS(715),
    [anon_sym_DQUOTE] = ACTIONS(715),
    [anon_sym_DOLLAR] = ACTIONS(717),
    [sym_raw_string] = ACTIONS(715),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(715),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(715),
    [anon_sym_BQUOTE] = ACTIONS(715),
    [anon_sym_LT_LPAREN] = ACTIONS(715),
    [anon_sym_GT_LPAREN] = ACTIONS(715),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(717),
    [sym_word] = ACTIONS(717),
    [anon_sym_LF] = ACTIONS(715),
    [anon_sym_AMP] = ACTIONS(717),
  },
  [120] = {
    [sym_subscript] = STATE(401),
    [sym_variable_name] = ACTIONS(719),
    [anon_sym_BANG] = ACTIONS(721),
    [anon_sym_DASH] = ACTIONS(723),
    [anon_sym_DOLLAR] = ACTIONS(723),
    [anon_sym_POUND] = ACTIONS(721),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(725),
    [anon_sym_STAR] = ACTIONS(727),
    [anon_sym_AT] = ACTIONS(727),
    [anon_sym_QMARK] = ACTIONS(727),
    [anon_sym_0] = ACTIONS(725),
    [anon_sym__] = ACTIONS(725),
  },
  [121] = {
    [sym__terminated_statement] = STATE(404),
    [sym_for_statement] = STATE(402),
    [sym_c_style_for_statement] = STATE(402),
    [sym_while_statement] = STATE(402),
    [sym_if_statement] = STATE(402),
    [sym_case_statement] = STATE(402),
    [sym_function_definition] = STATE(402),
    [sym_subshell] = STATE(402),
    [sym_pipeline] = STATE(402),
    [sym_list] = STATE(402),
    [sym_negated_command] = STATE(402),
    [sym_test_command] = STATE(402),
    [sym_declaration_command] = STATE(402),
    [sym_unset_command] = STATE(402),
    [sym_command] = STATE(402),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(403),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(404),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [122] = {
    [sym__terminated_statement] = STATE(407),
    [sym_for_statement] = STATE(405),
    [sym_c_style_for_statement] = STATE(405),
    [sym_while_statement] = STATE(405),
    [sym_if_statement] = STATE(405),
    [sym_case_statement] = STATE(405),
    [sym_function_definition] = STATE(405),
    [sym_subshell] = STATE(405),
    [sym_pipeline] = STATE(405),
    [sym_list] = STATE(405),
    [sym_negated_command] = STATE(405),
    [sym_test_command] = STATE(405),
    [sym_declaration_command] = STATE(405),
    [sym_unset_command] = STATE(405),
    [sym_command] = STATE(405),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(406),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(407),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [123] = {
    [sym__terminated_statement] = STATE(410),
    [sym_for_statement] = STATE(408),
    [sym_c_style_for_statement] = STATE(408),
    [sym_while_statement] = STATE(408),
    [sym_if_statement] = STATE(408),
    [sym_case_statement] = STATE(408),
    [sym_function_definition] = STATE(408),
    [sym_subshell] = STATE(408),
    [sym_pipeline] = STATE(408),
    [sym_list] = STATE(408),
    [sym_negated_command] = STATE(408),
    [sym_test_command] = STATE(408),
    [sym_declaration_command] = STATE(408),
    [sym_unset_command] = STATE(408),
    [sym_command] = STATE(408),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(409),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(410),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [124] = {
    [anon_sym_EQ] = ACTIONS(695),
    [anon_sym_PLUS_EQ] = ACTIONS(695),
    [sym_comment] = ACTIONS(55),
  },
  [125] = {
    [sym_variable_assignment] = STATE(411),
    [sym_subscript] = STATE(124),
    [sym_concatenation] = STATE(411),
    [sym_string] = STATE(119),
    [sym_simple_expansion] = STATE(119),
    [sym_string_expansion] = STATE(119),
    [sym_expansion] = STATE(119),
    [sym_command_substitution] = STATE(119),
    [sym_process_substitution] = STATE(119),
    [aux_sym_declaration_command_repeat1] = STATE(411),
    [sym_variable_name] = ACTIONS(197),
    [ts_builtin_sym_end] = ACTIONS(729),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(729),
    [anon_sym_PIPE_AMP] = ACTIONS(729),
    [anon_sym_AMP_AMP] = ACTIONS(729),
    [anon_sym_PIPE_PIPE] = ACTIONS(729),
    [sym__special_characters] = ACTIONS(203),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(209),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(733),
    [sym_word] = ACTIONS(221),
    [anon_sym_LF] = ACTIONS(729),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [126] = {
    [aux_sym_concatenation_repeat1] = STATE(413),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(737),
    [anon_sym_SEMI] = ACTIONS(739),
    [anon_sym_PIPE] = ACTIONS(739),
    [anon_sym_SEMI_SEMI] = ACTIONS(737),
    [anon_sym_PIPE_AMP] = ACTIONS(737),
    [anon_sym_AMP_AMP] = ACTIONS(737),
    [anon_sym_PIPE_PIPE] = ACTIONS(737),
    [sym__special_characters] = ACTIONS(737),
    [anon_sym_DQUOTE] = ACTIONS(737),
    [anon_sym_DOLLAR] = ACTIONS(739),
    [sym_raw_string] = ACTIONS(737),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(737),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(737),
    [anon_sym_BQUOTE] = ACTIONS(737),
    [anon_sym_LT_LPAREN] = ACTIONS(737),
    [anon_sym_GT_LPAREN] = ACTIONS(737),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(739),
    [sym_word] = ACTIONS(739),
    [anon_sym_LF] = ACTIONS(737),
    [anon_sym_AMP] = ACTIONS(739),
  },
  [127] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(416),
    [anon_sym_DQUOTE] = ACTIONS(741),
    [anon_sym_DOLLAR] = ACTIONS(743),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [128] = {
    [sym_string] = STATE(418),
    [anon_sym_DASH] = ACTIONS(745),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(745),
    [sym_raw_string] = ACTIONS(747),
    [anon_sym_POUND] = ACTIONS(745),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(749),
    [anon_sym_STAR] = ACTIONS(751),
    [anon_sym_AT] = ACTIONS(751),
    [anon_sym_QMARK] = ACTIONS(751),
    [anon_sym_0] = ACTIONS(749),
    [anon_sym__] = ACTIONS(749),
  },
  [129] = {
    [aux_sym_concatenation_repeat1] = STATE(413),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(753),
    [anon_sym_SEMI] = ACTIONS(755),
    [anon_sym_PIPE] = ACTIONS(755),
    [anon_sym_SEMI_SEMI] = ACTIONS(753),
    [anon_sym_PIPE_AMP] = ACTIONS(753),
    [anon_sym_AMP_AMP] = ACTIONS(753),
    [anon_sym_PIPE_PIPE] = ACTIONS(753),
    [sym__special_characters] = ACTIONS(753),
    [anon_sym_DQUOTE] = ACTIONS(753),
    [anon_sym_DOLLAR] = ACTIONS(755),
    [sym_raw_string] = ACTIONS(753),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(753),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(753),
    [anon_sym_BQUOTE] = ACTIONS(753),
    [anon_sym_LT_LPAREN] = ACTIONS(753),
    [anon_sym_GT_LPAREN] = ACTIONS(753),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(755),
    [sym_word] = ACTIONS(755),
    [anon_sym_LF] = ACTIONS(753),
    [anon_sym_AMP] = ACTIONS(755),
  },
  [130] = {
    [sym_subscript] = STATE(423),
    [sym_variable_name] = ACTIONS(757),
    [anon_sym_BANG] = ACTIONS(759),
    [anon_sym_DASH] = ACTIONS(761),
    [anon_sym_DOLLAR] = ACTIONS(761),
    [anon_sym_POUND] = ACTIONS(759),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(763),
    [anon_sym_STAR] = ACTIONS(765),
    [anon_sym_AT] = ACTIONS(765),
    [anon_sym_QMARK] = ACTIONS(765),
    [anon_sym_0] = ACTIONS(763),
    [anon_sym__] = ACTIONS(763),
  },
  [131] = {
    [sym__terminated_statement] = STATE(426),
    [sym_for_statement] = STATE(424),
    [sym_c_style_for_statement] = STATE(424),
    [sym_while_statement] = STATE(424),
    [sym_if_statement] = STATE(424),
    [sym_case_statement] = STATE(424),
    [sym_function_definition] = STATE(424),
    [sym_subshell] = STATE(424),
    [sym_pipeline] = STATE(424),
    [sym_list] = STATE(424),
    [sym_negated_command] = STATE(424),
    [sym_test_command] = STATE(424),
    [sym_declaration_command] = STATE(424),
    [sym_unset_command] = STATE(424),
    [sym_command] = STATE(424),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(425),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(426),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [132] = {
    [sym__terminated_statement] = STATE(429),
    [sym_for_statement] = STATE(427),
    [sym_c_style_for_statement] = STATE(427),
    [sym_while_statement] = STATE(427),
    [sym_if_statement] = STATE(427),
    [sym_case_statement] = STATE(427),
    [sym_function_definition] = STATE(427),
    [sym_subshell] = STATE(427),
    [sym_pipeline] = STATE(427),
    [sym_list] = STATE(427),
    [sym_negated_command] = STATE(427),
    [sym_test_command] = STATE(427),
    [sym_declaration_command] = STATE(427),
    [sym_unset_command] = STATE(427),
    [sym_command] = STATE(427),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(428),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(429),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [133] = {
    [sym__terminated_statement] = STATE(432),
    [sym_for_statement] = STATE(430),
    [sym_c_style_for_statement] = STATE(430),
    [sym_while_statement] = STATE(430),
    [sym_if_statement] = STATE(430),
    [sym_case_statement] = STATE(430),
    [sym_function_definition] = STATE(430),
    [sym_subshell] = STATE(430),
    [sym_pipeline] = STATE(430),
    [sym_list] = STATE(430),
    [sym_negated_command] = STATE(430),
    [sym_test_command] = STATE(430),
    [sym_declaration_command] = STATE(430),
    [sym_unset_command] = STATE(430),
    [sym_command] = STATE(430),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(431),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(432),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [134] = {
    [sym_concatenation] = STATE(433),
    [sym_string] = STATE(129),
    [sym_simple_expansion] = STATE(129),
    [sym_string_expansion] = STATE(129),
    [sym_expansion] = STATE(129),
    [sym_command_substitution] = STATE(129),
    [sym_process_substitution] = STATE(129),
    [aux_sym_unset_command_repeat1] = STATE(433),
    [ts_builtin_sym_end] = ACTIONS(767),
    [anon_sym_SEMI] = ACTIONS(769),
    [anon_sym_PIPE] = ACTIONS(769),
    [anon_sym_SEMI_SEMI] = ACTIONS(767),
    [anon_sym_PIPE_AMP] = ACTIONS(767),
    [anon_sym_AMP_AMP] = ACTIONS(767),
    [anon_sym_PIPE_PIPE] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(227),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(233),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(771),
    [sym_word] = ACTIONS(245),
    [anon_sym_LF] = ACTIONS(767),
    [anon_sym_AMP] = ACTIONS(769),
  },
  [135] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [sym__special_characters] = ACTIONS(773),
    [anon_sym_DQUOTE] = ACTIONS(773),
    [anon_sym_DOLLAR] = ACTIONS(777),
    [sym_raw_string] = ACTIONS(773),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(773),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(773),
    [anon_sym_BQUOTE] = ACTIONS(773),
    [anon_sym_LT_LPAREN] = ACTIONS(773),
    [anon_sym_GT_LPAREN] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(773),
  },
  [136] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(438),
    [anon_sym_DQUOTE] = ACTIONS(779),
    [anon_sym_DOLLAR] = ACTIONS(781),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [137] = {
    [sym_string] = STATE(440),
    [anon_sym_DASH] = ACTIONS(783),
    [anon_sym_DQUOTE] = ACTIONS(249),
    [anon_sym_DOLLAR] = ACTIONS(783),
    [sym_raw_string] = ACTIONS(785),
    [anon_sym_POUND] = ACTIONS(783),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(787),
    [anon_sym_STAR] = ACTIONS(789),
    [anon_sym_AT] = ACTIONS(789),
    [anon_sym_QMARK] = ACTIONS(789),
    [anon_sym_0] = ACTIONS(787),
    [anon_sym__] = ACTIONS(787),
  },
  [138] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [sym__special_characters] = ACTIONS(791),
    [anon_sym_DQUOTE] = ACTIONS(791),
    [anon_sym_DOLLAR] = ACTIONS(793),
    [sym_raw_string] = ACTIONS(791),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(791),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [anon_sym_LT_LPAREN] = ACTIONS(791),
    [anon_sym_GT_LPAREN] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(791),
  },
  [139] = {
    [sym_subscript] = STATE(445),
    [sym_variable_name] = ACTIONS(795),
    [anon_sym_BANG] = ACTIONS(797),
    [anon_sym_DASH] = ACTIONS(799),
    [anon_sym_DOLLAR] = ACTIONS(799),
    [anon_sym_POUND] = ACTIONS(797),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(801),
    [anon_sym_STAR] = ACTIONS(803),
    [anon_sym_AT] = ACTIONS(803),
    [anon_sym_QMARK] = ACTIONS(803),
    [anon_sym_0] = ACTIONS(801),
    [anon_sym__] = ACTIONS(801),
  },
  [140] = {
    [sym__terminated_statement] = STATE(448),
    [sym_for_statement] = STATE(446),
    [sym_c_style_for_statement] = STATE(446),
    [sym_while_statement] = STATE(446),
    [sym_if_statement] = STATE(446),
    [sym_case_statement] = STATE(446),
    [sym_function_definition] = STATE(446),
    [sym_subshell] = STATE(446),
    [sym_pipeline] = STATE(446),
    [sym_list] = STATE(446),
    [sym_negated_command] = STATE(446),
    [sym_test_command] = STATE(446),
    [sym_declaration_command] = STATE(446),
    [sym_unset_command] = STATE(446),
    [sym_command] = STATE(446),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(447),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(448),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [141] = {
    [sym__terminated_statement] = STATE(451),
    [sym_for_statement] = STATE(449),
    [sym_c_style_for_statement] = STATE(449),
    [sym_while_statement] = STATE(449),
    [sym_if_statement] = STATE(449),
    [sym_case_statement] = STATE(449),
    [sym_function_definition] = STATE(449),
    [sym_subshell] = STATE(449),
    [sym_pipeline] = STATE(449),
    [sym_list] = STATE(449),
    [sym_negated_command] = STATE(449),
    [sym_test_command] = STATE(449),
    [sym_declaration_command] = STATE(449),
    [sym_unset_command] = STATE(449),
    [sym_command] = STATE(449),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(450),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(451),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [142] = {
    [sym__terminated_statement] = STATE(454),
    [sym_for_statement] = STATE(452),
    [sym_c_style_for_statement] = STATE(452),
    [sym_while_statement] = STATE(452),
    [sym_if_statement] = STATE(452),
    [sym_case_statement] = STATE(452),
    [sym_function_definition] = STATE(452),
    [sym_subshell] = STATE(452),
    [sym_pipeline] = STATE(452),
    [sym_list] = STATE(452),
    [sym_negated_command] = STATE(452),
    [sym_test_command] = STATE(452),
    [sym_declaration_command] = STATE(452),
    [sym_unset_command] = STATE(452),
    [sym_command] = STATE(452),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(453),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(454),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [143] = {
    [sym_file_descriptor] = ACTIONS(791),
    [sym_variable_name] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [sym__special_characters] = ACTIONS(791),
    [anon_sym_DQUOTE] = ACTIONS(791),
    [anon_sym_DOLLAR] = ACTIONS(793),
    [sym_raw_string] = ACTIONS(791),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(791),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [anon_sym_LT_LPAREN] = ACTIONS(791),
    [anon_sym_GT_LPAREN] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(791),
  },
  [144] = {
    [sym_string] = STATE(455),
    [sym_simple_expansion] = STATE(455),
    [sym_string_expansion] = STATE(455),
    [sym_expansion] = STATE(455),
    [sym_command_substitution] = STATE(455),
    [sym_process_substitution] = STATE(455),
    [sym__special_characters] = ACTIONS(805),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(805),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(805),
  },
  [145] = {
    [aux_sym_concatenation_repeat1] = STATE(456),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(809),
    [anon_sym_EQ_EQ] = ACTIONS(809),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [146] = {
    [sym__simple_heredoc_body] = ACTIONS(811),
    [sym__heredoc_body_beginning] = ACTIONS(811),
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [ts_builtin_sym_end] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(813),
    [anon_sym_EQ_EQ] = ACTIONS(813),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [anon_sym_LT_LT] = ACTIONS(813),
    [anon_sym_LT_LT_DASH] = ACTIONS(811),
    [anon_sym_LT_LT_LT] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [147] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(817),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [148] = {
    [sym__concat] = ACTIONS(827),
    [anon_sym_DQUOTE] = ACTIONS(829),
    [anon_sym_DOLLAR] = ACTIONS(829),
    [sym__string_content] = ACTIONS(831),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(829),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(829),
    [anon_sym_BQUOTE] = ACTIONS(829),
    [sym_comment] = ACTIONS(281),
  },
  [149] = {
    [sym_subscript] = STATE(465),
    [sym_variable_name] = ACTIONS(833),
    [anon_sym_BANG] = ACTIONS(835),
    [anon_sym_DASH] = ACTIONS(837),
    [anon_sym_DOLLAR] = ACTIONS(837),
    [anon_sym_POUND] = ACTIONS(835),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(839),
    [anon_sym_STAR] = ACTIONS(841),
    [anon_sym_AT] = ACTIONS(841),
    [anon_sym_QMARK] = ACTIONS(841),
    [anon_sym_0] = ACTIONS(839),
    [anon_sym__] = ACTIONS(839),
  },
  [150] = {
    [sym__terminated_statement] = STATE(468),
    [sym_for_statement] = STATE(466),
    [sym_c_style_for_statement] = STATE(466),
    [sym_while_statement] = STATE(466),
    [sym_if_statement] = STATE(466),
    [sym_case_statement] = STATE(466),
    [sym_function_definition] = STATE(466),
    [sym_subshell] = STATE(466),
    [sym_pipeline] = STATE(466),
    [sym_list] = STATE(466),
    [sym_negated_command] = STATE(466),
    [sym_test_command] = STATE(466),
    [sym_declaration_command] = STATE(466),
    [sym_unset_command] = STATE(466),
    [sym_command] = STATE(466),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(467),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(468),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [151] = {
    [sym__terminated_statement] = STATE(471),
    [sym_for_statement] = STATE(469),
    [sym_c_style_for_statement] = STATE(469),
    [sym_while_statement] = STATE(469),
    [sym_if_statement] = STATE(469),
    [sym_case_statement] = STATE(469),
    [sym_function_definition] = STATE(469),
    [sym_subshell] = STATE(469),
    [sym_pipeline] = STATE(469),
    [sym_list] = STATE(469),
    [sym_negated_command] = STATE(469),
    [sym_test_command] = STATE(469),
    [sym_declaration_command] = STATE(469),
    [sym_unset_command] = STATE(469),
    [sym_command] = STATE(469),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(470),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(471),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [152] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(817),
    [anon_sym_DOLLAR] = ACTIONS(843),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [153] = {
    [sym__simple_heredoc_body] = ACTIONS(845),
    [sym__heredoc_body_beginning] = ACTIONS(845),
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [ts_builtin_sym_end] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(847),
    [anon_sym_EQ_EQ] = ACTIONS(847),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [anon_sym_LT_LT] = ACTIONS(847),
    [anon_sym_LT_LT_DASH] = ACTIONS(845),
    [anon_sym_LT_LT_LT] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [154] = {
    [sym__simple_heredoc_body] = ACTIONS(849),
    [sym__heredoc_body_beginning] = ACTIONS(849),
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [ts_builtin_sym_end] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(851),
    [anon_sym_EQ_EQ] = ACTIONS(851),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [anon_sym_LT_LT] = ACTIONS(851),
    [anon_sym_LT_LT_DASH] = ACTIONS(849),
    [anon_sym_LT_LT_LT] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [155] = {
    [sym__simple_heredoc_body] = ACTIONS(853),
    [sym__heredoc_body_beginning] = ACTIONS(853),
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [ts_builtin_sym_end] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(855),
    [anon_sym_EQ_EQ] = ACTIONS(855),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [anon_sym_LT_LT] = ACTIONS(855),
    [anon_sym_LT_LT_DASH] = ACTIONS(853),
    [anon_sym_LT_LT_LT] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [156] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(859),
    [sym_comment] = ACTIONS(55),
  },
  [157] = {
    [sym_subscript] = STATE(478),
    [sym_variable_name] = ACTIONS(861),
    [anon_sym_DASH] = ACTIONS(863),
    [anon_sym_DOLLAR] = ACTIONS(863),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(865),
    [anon_sym_STAR] = ACTIONS(867),
    [anon_sym_AT] = ACTIONS(867),
    [anon_sym_QMARK] = ACTIONS(867),
    [anon_sym_0] = ACTIONS(865),
    [anon_sym__] = ACTIONS(865),
  },
  [158] = {
    [sym_concatenation] = STATE(489),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(489),
    [anon_sym_RBRACE] = ACTIONS(869),
    [anon_sym_EQ] = ACTIONS(871),
    [anon_sym_DASH] = ACTIONS(871),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(881),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(885),
    [anon_sym_COLON] = ACTIONS(871),
    [anon_sym_COLON_QMARK] = ACTIONS(871),
    [anon_sym_COLON_DASH] = ACTIONS(871),
    [anon_sym_PERCENT] = ACTIONS(871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [159] = {
    [sym_concatenation] = STATE(492),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(492),
    [anon_sym_RBRACE] = ACTIONS(895),
    [anon_sym_EQ] = ACTIONS(897),
    [anon_sym_DASH] = ACTIONS(897),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(899),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(901),
    [anon_sym_COLON] = ACTIONS(897),
    [anon_sym_COLON_QMARK] = ACTIONS(897),
    [anon_sym_COLON_DASH] = ACTIONS(897),
    [anon_sym_PERCENT] = ACTIONS(897),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [160] = {
    [anon_sym_SEMI] = ACTIONS(903),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(905),
    [anon_sym_SEMI_SEMI] = ACTIONS(907),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(907),
    [anon_sym_AMP] = ACTIONS(903),
  },
  [161] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(903),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(905),
    [anon_sym_SEMI_SEMI] = ACTIONS(907),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(907),
    [anon_sym_AMP] = ACTIONS(903),
  },
  [162] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(495),
    [sym_c_style_for_statement] = STATE(495),
    [sym_while_statement] = STATE(495),
    [sym_if_statement] = STATE(495),
    [sym_case_statement] = STATE(495),
    [sym_function_definition] = STATE(495),
    [sym_subshell] = STATE(495),
    [sym_pipeline] = STATE(495),
    [sym_list] = STATE(495),
    [sym_negated_command] = STATE(495),
    [sym_test_command] = STATE(495),
    [sym_declaration_command] = STATE(495),
    [sym_unset_command] = STATE(495),
    [sym_command] = STATE(495),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(496),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [163] = {
    [sym__expression] = STATE(497),
    [sym_binary_expression] = STATE(497),
    [sym_unary_expression] = STATE(497),
    [sym_postfix_expression] = STATE(497),
    [sym_parenthesized_expression] = STATE(497),
    [sym_concatenation] = STATE(497),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [164] = {
    [sym__terminated_statement] = STATE(498),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [165] = {
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(909),
  },
  [166] = {
    [sym_subshell] = STATE(98),
    [sym_test_command] = STATE(98),
    [sym_command] = STATE(98),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(176),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(115),
  },
  [167] = {
    [sym__expression] = STATE(500),
    [sym_binary_expression] = STATE(500),
    [sym_unary_expression] = STATE(500),
    [sym_postfix_expression] = STATE(500),
    [sym_parenthesized_expression] = STATE(500),
    [sym_concatenation] = STATE(500),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [168] = {
    [sym__expression] = STATE(501),
    [sym_binary_expression] = STATE(501),
    [sym_unary_expression] = STATE(501),
    [sym_postfix_expression] = STATE(501),
    [sym_parenthesized_expression] = STATE(501),
    [sym_concatenation] = STATE(501),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [169] = {
    [sym_variable_assignment] = STATE(502),
    [sym_subscript] = STATE(277),
    [sym_concatenation] = STATE(502),
    [sym_string] = STATE(276),
    [sym_simple_expansion] = STATE(276),
    [sym_string_expansion] = STATE(276),
    [sym_expansion] = STATE(276),
    [sym_command_substitution] = STATE(276),
    [sym_process_substitution] = STATE(276),
    [aux_sym_declaration_command_repeat1] = STATE(502),
    [sym_variable_name] = ACTIONS(505),
    [anon_sym_SEMI] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_SEMI_SEMI] = ACTIONS(199),
    [anon_sym_PIPE_AMP] = ACTIONS(199),
    [anon_sym_AMP_AMP] = ACTIONS(199),
    [anon_sym_PIPE_PIPE] = ACTIONS(199),
    [sym__special_characters] = ACTIONS(507),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(509),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(199),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(911),
    [sym_word] = ACTIONS(513),
    [anon_sym_LF] = ACTIONS(199),
    [anon_sym_AMP] = ACTIONS(201),
  },
  [170] = {
    [sym_concatenation] = STATE(503),
    [sym_string] = STATE(280),
    [sym_simple_expansion] = STATE(280),
    [sym_string_expansion] = STATE(280),
    [sym_expansion] = STATE(280),
    [sym_command_substitution] = STATE(280),
    [sym_process_substitution] = STATE(280),
    [aux_sym_unset_command_repeat1] = STATE(503),
    [anon_sym_SEMI] = ACTIONS(225),
    [anon_sym_PIPE] = ACTIONS(225),
    [anon_sym_SEMI_SEMI] = ACTIONS(223),
    [anon_sym_PIPE_AMP] = ACTIONS(223),
    [anon_sym_AMP_AMP] = ACTIONS(223),
    [anon_sym_PIPE_PIPE] = ACTIONS(223),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(223),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(913),
    [sym_word] = ACTIONS(521),
    [anon_sym_LF] = ACTIONS(223),
    [anon_sym_AMP] = ACTIONS(225),
  },
  [171] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(915),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [172] = {
    [anon_sym_SEMI] = ACTIONS(917),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(921),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(905),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(921),
    [anon_sym_AMP] = ACTIONS(917),
  },
  [173] = {
    [sym_file_redirect] = STATE(511),
    [sym_heredoc_redirect] = STATE(511),
    [sym_heredoc_body] = STATE(193),
    [sym_herestring_redirect] = STATE(511),
    [sym_concatenation] = STATE(512),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(511),
    [aux_sym_command_repeat2] = STATE(512),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(347),
    [anon_sym_PIPE] = ACTIONS(347),
    [anon_sym_SEMI_SEMI] = ACTIONS(345),
    [anon_sym_PIPE_AMP] = ACTIONS(345),
    [anon_sym_AMP_AMP] = ACTIONS(345),
    [anon_sym_PIPE_PIPE] = ACTIONS(345),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(345),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(345),
    [anon_sym_AMP] = ACTIONS(347),
  },
  [174] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(917),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(921),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(905),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(921),
    [anon_sym_AMP] = ACTIONS(917),
  },
  [175] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(513),
    [sym_c_style_for_statement] = STATE(513),
    [sym_while_statement] = STATE(513),
    [sym_if_statement] = STATE(513),
    [sym_case_statement] = STATE(513),
    [sym_function_definition] = STATE(513),
    [sym_subshell] = STATE(513),
    [sym_pipeline] = STATE(513),
    [sym_list] = STATE(513),
    [sym_negated_command] = STATE(513),
    [sym_test_command] = STATE(513),
    [sym_declaration_command] = STATE(513),
    [sym_unset_command] = STATE(513),
    [sym_command] = STATE(513),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(514),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [176] = {
    [sym_command_name] = STATE(515),
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(553),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(115),
  },
  [177] = {
    [anon_sym_SEMI] = ACTIONS(935),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(937),
    [anon_sym_SEMI_SEMI] = ACTIONS(939),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(939),
    [anon_sym_AMP] = ACTIONS(935),
  },
  [178] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(935),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(937),
    [anon_sym_SEMI_SEMI] = ACTIONS(939),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(939),
    [anon_sym_AMP] = ACTIONS(935),
  },
  [179] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(518),
    [sym_c_style_for_statement] = STATE(518),
    [sym_while_statement] = STATE(518),
    [sym_if_statement] = STATE(518),
    [sym_case_statement] = STATE(518),
    [sym_function_definition] = STATE(518),
    [sym_subshell] = STATE(518),
    [sym_pipeline] = STATE(518),
    [sym_list] = STATE(518),
    [sym_negated_command] = STATE(518),
    [sym_test_command] = STATE(518),
    [sym_declaration_command] = STATE(518),
    [sym_unset_command] = STATE(518),
    [sym_command] = STATE(518),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(519),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [180] = {
    [anon_sym_RPAREN] = ACTIONS(941),
    [sym_comment] = ACTIONS(55),
  },
  [181] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [ts_builtin_sym_end] = ACTIONS(945),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [182] = {
    [sym_for_statement] = STATE(521),
    [sym_c_style_for_statement] = STATE(521),
    [sym_while_statement] = STATE(521),
    [sym_if_statement] = STATE(521),
    [sym_case_statement] = STATE(521),
    [sym_function_definition] = STATE(521),
    [sym_subshell] = STATE(521),
    [sym_pipeline] = STATE(521),
    [sym_list] = STATE(521),
    [sym_negated_command] = STATE(521),
    [sym_test_command] = STATE(521),
    [sym_declaration_command] = STATE(521),
    [sym_unset_command] = STATE(521),
    [sym_command] = STATE(521),
    [sym_command_name] = STATE(28),
    [sym_variable_assignment] = STATE(522),
    [sym_subscript] = STATE(30),
    [sym_file_redirect] = STATE(33),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(13),
    [anon_sym_while] = ACTIONS(15),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(21),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(25),
    [anon_sym_LBRACK] = ACTIONS(27),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(29),
    [anon_sym_declare] = ACTIONS(31),
    [anon_sym_typeset] = ACTIONS(31),
    [anon_sym_export] = ACTIONS(31),
    [anon_sym_readonly] = ACTIONS(31),
    [anon_sym_local] = ACTIONS(31),
    [anon_sym_unset] = ACTIONS(33),
    [anon_sym_unsetenv] = ACTIONS(33),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(39),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(57),
  },
  [183] = {
    [sym_for_statement] = STATE(523),
    [sym_c_style_for_statement] = STATE(523),
    [sym_while_statement] = STATE(523),
    [sym_if_statement] = STATE(523),
    [sym_case_statement] = STATE(523),
    [sym_function_definition] = STATE(523),
    [sym_subshell] = STATE(523),
    [sym_pipeline] = STATE(523),
    [sym_list] = STATE(523),
    [sym_negated_command] = STATE(523),
    [sym_test_command] = STATE(523),
    [sym_declaration_command] = STATE(523),
    [sym_unset_command] = STATE(523),
    [sym_command] = STATE(523),
    [sym_command_name] = STATE(28),
    [sym_variable_assignment] = STATE(524),
    [sym_subscript] = STATE(30),
    [sym_file_redirect] = STATE(33),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(20),
    [sym_simple_expansion] = STATE(20),
    [sym_string_expansion] = STATE(20),
    [sym_expansion] = STATE(20),
    [sym_command_substitution] = STATE(20),
    [sym_process_substitution] = STATE(20),
    [aux_sym_command_repeat1] = STATE(33),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(7),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(13),
    [anon_sym_while] = ACTIONS(15),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(21),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(25),
    [anon_sym_LBRACK] = ACTIONS(27),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(29),
    [anon_sym_declare] = ACTIONS(31),
    [anon_sym_typeset] = ACTIONS(31),
    [anon_sym_export] = ACTIONS(31),
    [anon_sym_readonly] = ACTIONS(31),
    [anon_sym_local] = ACTIONS(31),
    [anon_sym_unset] = ACTIONS(33),
    [anon_sym_unsetenv] = ACTIONS(33),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(39),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(45),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(57),
  },
  [184] = {
    [ts_builtin_sym_end] = ACTIONS(949),
    [anon_sym_SEMI] = ACTIONS(951),
    [anon_sym_esac] = ACTIONS(949),
    [anon_sym_PIPE] = ACTIONS(951),
    [anon_sym_RPAREN] = ACTIONS(949),
    [anon_sym_SEMI_SEMI] = ACTIONS(949),
    [anon_sym_PIPE_AMP] = ACTIONS(949),
    [anon_sym_AMP_AMP] = ACTIONS(949),
    [anon_sym_PIPE_PIPE] = ACTIONS(949),
    [anon_sym_BQUOTE] = ACTIONS(949),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(949),
    [anon_sym_AMP] = ACTIONS(951),
  },
  [185] = {
    [sym_simple_expansion] = STATE(528),
    [sym_expansion] = STATE(528),
    [aux_sym_heredoc_body_repeat1] = STATE(528),
    [sym__heredoc_body_middle] = ACTIONS(953),
    [sym__heredoc_body_end] = ACTIONS(955),
    [anon_sym_DOLLAR] = ACTIONS(957),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(959),
    [sym_comment] = ACTIONS(55),
  },
  [186] = {
    [anon_sym_LT] = ACTIONS(961),
    [anon_sym_GT] = ACTIONS(961),
    [anon_sym_GT_GT] = ACTIONS(963),
    [anon_sym_AMP_GT] = ACTIONS(961),
    [anon_sym_AMP_GT_GT] = ACTIONS(963),
    [anon_sym_LT_AMP] = ACTIONS(963),
    [anon_sym_GT_AMP] = ACTIONS(963),
    [sym_comment] = ACTIONS(55),
  },
  [187] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(532),
    [sym_simple_expansion] = STATE(532),
    [sym_string_expansion] = STATE(532),
    [sym_expansion] = STATE(532),
    [sym_command_substitution] = STATE(532),
    [sym_process_substitution] = STATE(532),
    [sym_regex] = ACTIONS(965),
    [sym__special_characters] = ACTIONS(967),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(969),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(969),
  },
  [188] = {
    [sym_concatenation] = STATE(535),
    [sym_string] = STATE(534),
    [sym_simple_expansion] = STATE(534),
    [sym_string_expansion] = STATE(534),
    [sym_expansion] = STATE(534),
    [sym_command_substitution] = STATE(534),
    [sym_process_substitution] = STATE(534),
    [sym__special_characters] = ACTIONS(971),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(973),
  },
  [189] = {
    [sym_heredoc_start] = ACTIONS(975),
    [sym_comment] = ACTIONS(55),
  },
  [190] = {
    [sym_concatenation] = STATE(539),
    [sym_string] = STATE(538),
    [sym_simple_expansion] = STATE(538),
    [sym_string_expansion] = STATE(538),
    [sym_expansion] = STATE(538),
    [sym_command_substitution] = STATE(538),
    [sym_process_substitution] = STATE(538),
    [sym__special_characters] = ACTIONS(977),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(979),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(979),
  },
  [191] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(981),
    [sym__heredoc_body_beginning] = ACTIONS(981),
    [sym_file_descriptor] = ACTIONS(981),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(981),
    [anon_sym_SEMI] = ACTIONS(983),
    [anon_sym_PIPE] = ACTIONS(983),
    [anon_sym_SEMI_SEMI] = ACTIONS(981),
    [anon_sym_PIPE_AMP] = ACTIONS(981),
    [anon_sym_AMP_AMP] = ACTIONS(981),
    [anon_sym_PIPE_PIPE] = ACTIONS(981),
    [anon_sym_EQ_TILDE] = ACTIONS(983),
    [anon_sym_EQ_EQ] = ACTIONS(983),
    [anon_sym_LT] = ACTIONS(983),
    [anon_sym_GT] = ACTIONS(983),
    [anon_sym_GT_GT] = ACTIONS(981),
    [anon_sym_AMP_GT] = ACTIONS(983),
    [anon_sym_AMP_GT_GT] = ACTIONS(981),
    [anon_sym_LT_AMP] = ACTIONS(981),
    [anon_sym_GT_AMP] = ACTIONS(981),
    [anon_sym_LT_LT] = ACTIONS(983),
    [anon_sym_LT_LT_DASH] = ACTIONS(981),
    [anon_sym_LT_LT_LT] = ACTIONS(981),
    [sym__special_characters] = ACTIONS(981),
    [anon_sym_DQUOTE] = ACTIONS(981),
    [anon_sym_DOLLAR] = ACTIONS(983),
    [sym_raw_string] = ACTIONS(981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(981),
    [anon_sym_BQUOTE] = ACTIONS(981),
    [anon_sym_LT_LPAREN] = ACTIONS(981),
    [anon_sym_GT_LPAREN] = ACTIONS(981),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(983),
    [anon_sym_LF] = ACTIONS(981),
    [anon_sym_AMP] = ACTIONS(983),
  },
  [192] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(985),
    [sym__heredoc_body_beginning] = ACTIONS(985),
    [sym_file_descriptor] = ACTIONS(985),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(985),
    [anon_sym_SEMI] = ACTIONS(987),
    [anon_sym_PIPE] = ACTIONS(987),
    [anon_sym_SEMI_SEMI] = ACTIONS(985),
    [anon_sym_PIPE_AMP] = ACTIONS(985),
    [anon_sym_AMP_AMP] = ACTIONS(985),
    [anon_sym_PIPE_PIPE] = ACTIONS(985),
    [anon_sym_EQ_TILDE] = ACTIONS(987),
    [anon_sym_EQ_EQ] = ACTIONS(987),
    [anon_sym_LT] = ACTIONS(987),
    [anon_sym_GT] = ACTIONS(987),
    [anon_sym_GT_GT] = ACTIONS(985),
    [anon_sym_AMP_GT] = ACTIONS(987),
    [anon_sym_AMP_GT_GT] = ACTIONS(985),
    [anon_sym_LT_AMP] = ACTIONS(985),
    [anon_sym_GT_AMP] = ACTIONS(985),
    [anon_sym_LT_LT] = ACTIONS(987),
    [anon_sym_LT_LT_DASH] = ACTIONS(985),
    [anon_sym_LT_LT_LT] = ACTIONS(985),
    [sym__special_characters] = ACTIONS(985),
    [anon_sym_DQUOTE] = ACTIONS(985),
    [anon_sym_DOLLAR] = ACTIONS(987),
    [sym_raw_string] = ACTIONS(985),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(985),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(985),
    [anon_sym_BQUOTE] = ACTIONS(985),
    [anon_sym_LT_LPAREN] = ACTIONS(985),
    [anon_sym_GT_LPAREN] = ACTIONS(985),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(987),
    [anon_sym_LF] = ACTIONS(985),
    [anon_sym_AMP] = ACTIONS(987),
  },
  [193] = {
    [ts_builtin_sym_end] = ACTIONS(989),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_esac] = ACTIONS(989),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_RPAREN] = ACTIONS(989),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_BQUOTE] = ACTIONS(989),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [194] = {
    [sym_file_redirect] = STATE(541),
    [sym_heredoc_redirect] = STATE(541),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(541),
    [aux_sym_while_statement_repeat1] = STATE(541),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(989),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [195] = {
    [sym_file_redirect] = STATE(542),
    [sym_heredoc_redirect] = STATE(542),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(542),
    [sym_concatenation] = STATE(543),
    [sym_string] = STATE(192),
    [sym_simple_expansion] = STATE(192),
    [sym_string_expansion] = STATE(192),
    [sym_expansion] = STATE(192),
    [sym_command_substitution] = STATE(192),
    [sym_process_substitution] = STATE(192),
    [aux_sym_while_statement_repeat1] = STATE(542),
    [aux_sym_command_repeat2] = STATE(543),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(989),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(349),
    [anon_sym_EQ_EQ] = ACTIONS(349),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym__special_characters] = ACTIONS(361),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(363),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(365),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [196] = {
    [ts_builtin_sym_end] = ACTIONS(945),
    [anon_sym_SEMI] = ACTIONS(993),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(995),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(337),
    [anon_sym_PIPE_PIPE] = ACTIONS(337),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(995),
    [anon_sym_AMP] = ACTIONS(993),
  },
  [197] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [ts_builtin_sym_end] = ACTIONS(945),
    [anon_sym_SEMI] = ACTIONS(993),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(995),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(337),
    [anon_sym_PIPE_PIPE] = ACTIONS(337),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(995),
    [anon_sym_AMP] = ACTIONS(993),
  },
  [198] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [199] = {
    [sym_file_redirect] = STATE(542),
    [sym_heredoc_redirect] = STATE(542),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(542),
    [sym_concatenation] = STATE(547),
    [sym_string] = STATE(192),
    [sym_simple_expansion] = STATE(192),
    [sym_string_expansion] = STATE(192),
    [sym_expansion] = STATE(192),
    [sym_command_substitution] = STATE(192),
    [sym_process_substitution] = STATE(192),
    [aux_sym_while_statement_repeat1] = STATE(542),
    [aux_sym_command_repeat2] = STATE(547),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(989),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(349),
    [anon_sym_EQ_EQ] = ACTIONS(349),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym__special_characters] = ACTIONS(361),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(363),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(365),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [200] = {
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(1072),
    [sym_variable_name] = ACTIONS(1075),
    [anon_sym_LT] = ACTIONS(1078),
    [anon_sym_GT] = ACTIONS(1078),
    [anon_sym_GT_GT] = ACTIONS(1081),
    [anon_sym_AMP_GT] = ACTIONS(1078),
    [anon_sym_AMP_GT_GT] = ACTIONS(1081),
    [anon_sym_LT_AMP] = ACTIONS(1081),
    [anon_sym_GT_AMP] = ACTIONS(1081),
    [sym__special_characters] = ACTIONS(1084),
    [anon_sym_DQUOTE] = ACTIONS(1084),
    [anon_sym_DOLLAR] = ACTIONS(1086),
    [sym_raw_string] = ACTIONS(1084),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1084),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1084),
    [anon_sym_BQUOTE] = ACTIONS(1084),
    [anon_sym_LT_LPAREN] = ACTIONS(1084),
    [anon_sym_GT_LPAREN] = ACTIONS(1084),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1084),
  },
  [201] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [sym__special_characters] = ACTIONS(1088),
    [anon_sym_DQUOTE] = ACTIONS(1088),
    [anon_sym_DOLLAR] = ACTIONS(1090),
    [sym_raw_string] = ACTIONS(1088),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1088),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1088),
    [anon_sym_BQUOTE] = ACTIONS(1088),
    [anon_sym_LT_LPAREN] = ACTIONS(1088),
    [anon_sym_GT_LPAREN] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1088),
  },
  [202] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [sym__special_characters] = ACTIONS(1092),
    [anon_sym_DQUOTE] = ACTIONS(1092),
    [anon_sym_DOLLAR] = ACTIONS(1094),
    [sym_raw_string] = ACTIONS(1092),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1092),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [anon_sym_LT_LPAREN] = ACTIONS(1092),
    [anon_sym_GT_LPAREN] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1092),
  },
  [203] = {
    [sym_file_descriptor] = ACTIONS(1092),
    [sym_variable_name] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [sym__special_characters] = ACTIONS(1092),
    [anon_sym_DQUOTE] = ACTIONS(1092),
    [anon_sym_DOLLAR] = ACTIONS(1094),
    [sym_raw_string] = ACTIONS(1092),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1092),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [anon_sym_LT_LPAREN] = ACTIONS(1092),
    [anon_sym_GT_LPAREN] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1092),
  },
  [204] = {
    [aux_sym_concatenation_repeat1] = STATE(550),
    [sym__concat] = ACTIONS(1096),
    [anon_sym_RBRACK] = ACTIONS(1098),
    [sym_comment] = ACTIONS(55),
  },
  [205] = {
    [aux_sym_concatenation_repeat1] = STATE(550),
    [sym__concat] = ACTIONS(1100),
    [anon_sym_RBRACK] = ACTIONS(1102),
    [sym_comment] = ACTIONS(55),
  },
  [206] = {
    [sym__concat] = ACTIONS(1104),
    [anon_sym_RBRACK] = ACTIONS(1102),
    [sym_comment] = ACTIONS(55),
  },
  [207] = {
    [sym_file_descriptor] = ACTIONS(1106),
    [sym_variable_name] = ACTIONS(1106),
    [ts_builtin_sym_end] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_RPAREN] = ACTIONS(1106),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [208] = {
    [sym_concatenation] = STATE(563),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(563),
    [anon_sym_RPAREN] = ACTIONS(1110),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [209] = {
    [aux_sym_concatenation_repeat1] = STATE(565),
    [sym_file_descriptor] = ACTIONS(1128),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1128),
    [ts_builtin_sym_end] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [anon_sym_LT] = ACTIONS(1132),
    [anon_sym_GT] = ACTIONS(1132),
    [anon_sym_GT_GT] = ACTIONS(1128),
    [anon_sym_AMP_GT] = ACTIONS(1132),
    [anon_sym_AMP_GT_GT] = ACTIONS(1128),
    [anon_sym_LT_AMP] = ACTIONS(1128),
    [anon_sym_GT_AMP] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [210] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(568),
    [anon_sym_DQUOTE] = ACTIONS(1134),
    [anon_sym_DOLLAR] = ACTIONS(1136),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [211] = {
    [sym_string] = STATE(570),
    [anon_sym_DASH] = ACTIONS(1138),
    [anon_sym_DQUOTE] = ACTIONS(387),
    [anon_sym_DOLLAR] = ACTIONS(1138),
    [sym_raw_string] = ACTIONS(1140),
    [anon_sym_POUND] = ACTIONS(1138),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1142),
    [anon_sym_STAR] = ACTIONS(1144),
    [anon_sym_AT] = ACTIONS(1144),
    [anon_sym_QMARK] = ACTIONS(1144),
    [anon_sym_0] = ACTIONS(1142),
    [anon_sym__] = ACTIONS(1142),
  },
  [212] = {
    [aux_sym_concatenation_repeat1] = STATE(565),
    [sym_file_descriptor] = ACTIONS(1106),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1106),
    [ts_builtin_sym_end] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [213] = {
    [sym_subscript] = STATE(575),
    [sym_variable_name] = ACTIONS(1146),
    [anon_sym_BANG] = ACTIONS(1148),
    [anon_sym_DASH] = ACTIONS(1150),
    [anon_sym_DOLLAR] = ACTIONS(1150),
    [anon_sym_POUND] = ACTIONS(1148),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1152),
    [anon_sym_STAR] = ACTIONS(1154),
    [anon_sym_AT] = ACTIONS(1154),
    [anon_sym_QMARK] = ACTIONS(1154),
    [anon_sym_0] = ACTIONS(1152),
    [anon_sym__] = ACTIONS(1152),
  },
  [214] = {
    [sym__terminated_statement] = STATE(578),
    [sym_for_statement] = STATE(576),
    [sym_c_style_for_statement] = STATE(576),
    [sym_while_statement] = STATE(576),
    [sym_if_statement] = STATE(576),
    [sym_case_statement] = STATE(576),
    [sym_function_definition] = STATE(576),
    [sym_subshell] = STATE(576),
    [sym_pipeline] = STATE(576),
    [sym_list] = STATE(576),
    [sym_negated_command] = STATE(576),
    [sym_test_command] = STATE(576),
    [sym_declaration_command] = STATE(576),
    [sym_unset_command] = STATE(576),
    [sym_command] = STATE(576),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(577),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(578),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [215] = {
    [sym__terminated_statement] = STATE(581),
    [sym_for_statement] = STATE(579),
    [sym_c_style_for_statement] = STATE(579),
    [sym_while_statement] = STATE(579),
    [sym_if_statement] = STATE(579),
    [sym_case_statement] = STATE(579),
    [sym_function_definition] = STATE(579),
    [sym_subshell] = STATE(579),
    [sym_pipeline] = STATE(579),
    [sym_list] = STATE(579),
    [sym_negated_command] = STATE(579),
    [sym_test_command] = STATE(579),
    [sym_declaration_command] = STATE(579),
    [sym_unset_command] = STATE(579),
    [sym_command] = STATE(579),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(580),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(581),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [216] = {
    [sym__terminated_statement] = STATE(584),
    [sym_for_statement] = STATE(582),
    [sym_c_style_for_statement] = STATE(582),
    [sym_while_statement] = STATE(582),
    [sym_if_statement] = STATE(582),
    [sym_case_statement] = STATE(582),
    [sym_function_definition] = STATE(582),
    [sym_subshell] = STATE(582),
    [sym_pipeline] = STATE(582),
    [sym_list] = STATE(582),
    [sym_negated_command] = STATE(582),
    [sym_test_command] = STATE(582),
    [sym_declaration_command] = STATE(582),
    [sym_unset_command] = STATE(582),
    [sym_command] = STATE(582),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(583),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(584),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [217] = {
    [sym__expression] = STATE(586),
    [sym_binary_expression] = STATE(586),
    [sym_unary_expression] = STATE(586),
    [sym_postfix_expression] = STATE(586),
    [sym_parenthesized_expression] = STATE(586),
    [sym_concatenation] = STATE(586),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [anon_sym_SEMI] = ACTIONS(1156),
    [anon_sym_SEMI_SEMI] = ACTIONS(1158),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
    [anon_sym_LF] = ACTIONS(1158),
    [anon_sym_AMP] = ACTIONS(1158),
  },
  [218] = {
    [sym__expression] = STATE(587),
    [sym_binary_expression] = STATE(587),
    [sym_unary_expression] = STATE(587),
    [sym_postfix_expression] = STATE(587),
    [sym_parenthesized_expression] = STATE(587),
    [sym_concatenation] = STATE(587),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [219] = {
    [sym__expression] = STATE(588),
    [sym_binary_expression] = STATE(588),
    [sym_unary_expression] = STATE(588),
    [sym_postfix_expression] = STATE(588),
    [sym_parenthesized_expression] = STATE(588),
    [sym_concatenation] = STATE(588),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
  },
  [220] = {
    [aux_sym_concatenation_repeat1] = STATE(590),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(463),
    [anon_sym_SEMI_SEMI] = ACTIONS(461),
    [anon_sym_AMP_AMP] = ACTIONS(461),
    [anon_sym_PIPE_PIPE] = ACTIONS(461),
    [anon_sym_EQ_TILDE] = ACTIONS(461),
    [anon_sym_EQ_EQ] = ACTIONS(461),
    [anon_sym_EQ] = ACTIONS(463),
    [anon_sym_PLUS_EQ] = ACTIONS(461),
    [anon_sym_LT] = ACTIONS(463),
    [anon_sym_GT] = ACTIONS(463),
    [anon_sym_BANG_EQ] = ACTIONS(461),
    [anon_sym_PLUS] = ACTIONS(463),
    [anon_sym_DASH] = ACTIONS(463),
    [anon_sym_DASH_EQ] = ACTIONS(461),
    [anon_sym_LT_EQ] = ACTIONS(461),
    [anon_sym_GT_EQ] = ACTIONS(461),
    [anon_sym_PLUS_PLUS] = ACTIONS(461),
    [anon_sym_DASH_DASH] = ACTIONS(461),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(461),
    [anon_sym_LF] = ACTIONS(461),
    [anon_sym_AMP] = ACTIONS(463),
  },
  [221] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(593),
    [anon_sym_DQUOTE] = ACTIONS(1162),
    [anon_sym_DOLLAR] = ACTIONS(1164),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [222] = {
    [sym_string] = STATE(595),
    [anon_sym_DASH] = ACTIONS(1166),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(1166),
    [sym_raw_string] = ACTIONS(1168),
    [anon_sym_POUND] = ACTIONS(1166),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1170),
    [anon_sym_STAR] = ACTIONS(1172),
    [anon_sym_AT] = ACTIONS(1172),
    [anon_sym_QMARK] = ACTIONS(1172),
    [anon_sym_0] = ACTIONS(1170),
    [anon_sym__] = ACTIONS(1170),
  },
  [223] = {
    [aux_sym_concatenation_repeat1] = STATE(590),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(479),
    [anon_sym_SEMI_SEMI] = ACTIONS(477),
    [anon_sym_AMP_AMP] = ACTIONS(477),
    [anon_sym_PIPE_PIPE] = ACTIONS(477),
    [anon_sym_EQ_TILDE] = ACTIONS(477),
    [anon_sym_EQ_EQ] = ACTIONS(477),
    [anon_sym_EQ] = ACTIONS(479),
    [anon_sym_PLUS_EQ] = ACTIONS(477),
    [anon_sym_LT] = ACTIONS(479),
    [anon_sym_GT] = ACTIONS(479),
    [anon_sym_BANG_EQ] = ACTIONS(477),
    [anon_sym_PLUS] = ACTIONS(479),
    [anon_sym_DASH] = ACTIONS(479),
    [anon_sym_DASH_EQ] = ACTIONS(477),
    [anon_sym_LT_EQ] = ACTIONS(477),
    [anon_sym_GT_EQ] = ACTIONS(477),
    [anon_sym_PLUS_PLUS] = ACTIONS(477),
    [anon_sym_DASH_DASH] = ACTIONS(477),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(477),
    [anon_sym_LF] = ACTIONS(477),
    [anon_sym_AMP] = ACTIONS(479),
  },
  [224] = {
    [sym_subscript] = STATE(600),
    [sym_variable_name] = ACTIONS(1174),
    [anon_sym_BANG] = ACTIONS(1176),
    [anon_sym_DASH] = ACTIONS(1178),
    [anon_sym_DOLLAR] = ACTIONS(1178),
    [anon_sym_POUND] = ACTIONS(1176),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1180),
    [anon_sym_STAR] = ACTIONS(1182),
    [anon_sym_AT] = ACTIONS(1182),
    [anon_sym_QMARK] = ACTIONS(1182),
    [anon_sym_0] = ACTIONS(1180),
    [anon_sym__] = ACTIONS(1180),
  },
  [225] = {
    [sym__terminated_statement] = STATE(603),
    [sym_for_statement] = STATE(601),
    [sym_c_style_for_statement] = STATE(601),
    [sym_while_statement] = STATE(601),
    [sym_if_statement] = STATE(601),
    [sym_case_statement] = STATE(601),
    [sym_function_definition] = STATE(601),
    [sym_subshell] = STATE(601),
    [sym_pipeline] = STATE(601),
    [sym_list] = STATE(601),
    [sym_negated_command] = STATE(601),
    [sym_test_command] = STATE(601),
    [sym_declaration_command] = STATE(601),
    [sym_unset_command] = STATE(601),
    [sym_command] = STATE(601),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(602),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(603),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [226] = {
    [sym__terminated_statement] = STATE(606),
    [sym_for_statement] = STATE(604),
    [sym_c_style_for_statement] = STATE(604),
    [sym_while_statement] = STATE(604),
    [sym_if_statement] = STATE(604),
    [sym_case_statement] = STATE(604),
    [sym_function_definition] = STATE(604),
    [sym_subshell] = STATE(604),
    [sym_pipeline] = STATE(604),
    [sym_list] = STATE(604),
    [sym_negated_command] = STATE(604),
    [sym_test_command] = STATE(604),
    [sym_declaration_command] = STATE(604),
    [sym_unset_command] = STATE(604),
    [sym_command] = STATE(604),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(605),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(606),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [227] = {
    [sym__terminated_statement] = STATE(609),
    [sym_for_statement] = STATE(607),
    [sym_c_style_for_statement] = STATE(607),
    [sym_while_statement] = STATE(607),
    [sym_if_statement] = STATE(607),
    [sym_case_statement] = STATE(607),
    [sym_function_definition] = STATE(607),
    [sym_subshell] = STATE(607),
    [sym_pipeline] = STATE(607),
    [sym_list] = STATE(607),
    [sym_negated_command] = STATE(607),
    [sym_test_command] = STATE(607),
    [sym_declaration_command] = STATE(607),
    [sym_unset_command] = STATE(607),
    [sym_command] = STATE(607),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(608),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(609),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [228] = {
    [anon_sym_SEMI] = ACTIONS(1184),
    [anon_sym_SEMI_SEMI] = ACTIONS(1186),
    [anon_sym_AMP_AMP] = ACTIONS(1188),
    [anon_sym_PIPE_PIPE] = ACTIONS(1188),
    [anon_sym_EQ_TILDE] = ACTIONS(1190),
    [anon_sym_EQ_EQ] = ACTIONS(1190),
    [anon_sym_EQ] = ACTIONS(1192),
    [anon_sym_PLUS_EQ] = ACTIONS(1188),
    [anon_sym_LT] = ACTIONS(1192),
    [anon_sym_GT] = ACTIONS(1192),
    [anon_sym_BANG_EQ] = ACTIONS(1188),
    [anon_sym_PLUS] = ACTIONS(1192),
    [anon_sym_DASH] = ACTIONS(1192),
    [anon_sym_DASH_EQ] = ACTIONS(1188),
    [anon_sym_LT_EQ] = ACTIONS(1188),
    [anon_sym_GT_EQ] = ACTIONS(1188),
    [anon_sym_PLUS_PLUS] = ACTIONS(1194),
    [anon_sym_DASH_DASH] = ACTIONS(1194),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1188),
    [anon_sym_LF] = ACTIONS(1186),
    [anon_sym_AMP] = ACTIONS(1184),
  },
  [229] = {
    [sym_concatenation] = STATE(622),
    [sym_string] = STATE(617),
    [sym_simple_expansion] = STATE(617),
    [sym_string_expansion] = STATE(617),
    [sym_expansion] = STATE(617),
    [sym_command_substitution] = STATE(617),
    [sym_process_substitution] = STATE(617),
    [aux_sym_for_statement_repeat1] = STATE(622),
    [sym__special_characters] = ACTIONS(1196),
    [anon_sym_DQUOTE] = ACTIONS(1198),
    [anon_sym_DOLLAR] = ACTIONS(1200),
    [sym_raw_string] = ACTIONS(1202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1206),
    [anon_sym_BQUOTE] = ACTIONS(1208),
    [anon_sym_LT_LPAREN] = ACTIONS(1210),
    [anon_sym_GT_LPAREN] = ACTIONS(1210),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1202),
  },
  [230] = {
    [sym_do_group] = STATE(624),
    [anon_sym_do] = ACTIONS(1212),
    [sym_comment] = ACTIONS(55),
  },
  [231] = {
    [sym__expression] = STATE(625),
    [sym_binary_expression] = STATE(625),
    [sym_unary_expression] = STATE(625),
    [sym_postfix_expression] = STATE(625),
    [sym_parenthesized_expression] = STATE(625),
    [sym_concatenation] = STATE(625),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [232] = {
    [sym__expression] = STATE(626),
    [sym_binary_expression] = STATE(626),
    [sym_unary_expression] = STATE(626),
    [sym_postfix_expression] = STATE(626),
    [sym_parenthesized_expression] = STATE(626),
    [sym_concatenation] = STATE(626),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [233] = {
    [aux_sym_concatenation_repeat1] = STATE(628),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_RPAREN] = ACTIONS(461),
    [anon_sym_AMP_AMP] = ACTIONS(461),
    [anon_sym_PIPE_PIPE] = ACTIONS(461),
    [anon_sym_EQ_TILDE] = ACTIONS(461),
    [anon_sym_EQ_EQ] = ACTIONS(461),
    [anon_sym_EQ] = ACTIONS(463),
    [anon_sym_PLUS_EQ] = ACTIONS(461),
    [anon_sym_LT] = ACTIONS(463),
    [anon_sym_GT] = ACTIONS(463),
    [anon_sym_BANG_EQ] = ACTIONS(461),
    [anon_sym_PLUS] = ACTIONS(463),
    [anon_sym_DASH] = ACTIONS(463),
    [anon_sym_DASH_EQ] = ACTIONS(461),
    [anon_sym_LT_EQ] = ACTIONS(461),
    [anon_sym_GT_EQ] = ACTIONS(461),
    [anon_sym_PLUS_PLUS] = ACTIONS(461),
    [anon_sym_DASH_DASH] = ACTIONS(461),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(461),
  },
  [234] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(631),
    [anon_sym_DQUOTE] = ACTIONS(1216),
    [anon_sym_DOLLAR] = ACTIONS(1218),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [235] = {
    [sym_string] = STATE(633),
    [anon_sym_DASH] = ACTIONS(1220),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(1220),
    [sym_raw_string] = ACTIONS(1222),
    [anon_sym_POUND] = ACTIONS(1220),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1224),
    [anon_sym_STAR] = ACTIONS(1226),
    [anon_sym_AT] = ACTIONS(1226),
    [anon_sym_QMARK] = ACTIONS(1226),
    [anon_sym_0] = ACTIONS(1224),
    [anon_sym__] = ACTIONS(1224),
  },
  [236] = {
    [aux_sym_concatenation_repeat1] = STATE(628),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_RPAREN] = ACTIONS(477),
    [anon_sym_AMP_AMP] = ACTIONS(477),
    [anon_sym_PIPE_PIPE] = ACTIONS(477),
    [anon_sym_EQ_TILDE] = ACTIONS(477),
    [anon_sym_EQ_EQ] = ACTIONS(477),
    [anon_sym_EQ] = ACTIONS(479),
    [anon_sym_PLUS_EQ] = ACTIONS(477),
    [anon_sym_LT] = ACTIONS(479),
    [anon_sym_GT] = ACTIONS(479),
    [anon_sym_BANG_EQ] = ACTIONS(477),
    [anon_sym_PLUS] = ACTIONS(479),
    [anon_sym_DASH] = ACTIONS(479),
    [anon_sym_DASH_EQ] = ACTIONS(477),
    [anon_sym_LT_EQ] = ACTIONS(477),
    [anon_sym_GT_EQ] = ACTIONS(477),
    [anon_sym_PLUS_PLUS] = ACTIONS(477),
    [anon_sym_DASH_DASH] = ACTIONS(477),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(477),
  },
  [237] = {
    [sym_subscript] = STATE(638),
    [sym_variable_name] = ACTIONS(1228),
    [anon_sym_BANG] = ACTIONS(1230),
    [anon_sym_DASH] = ACTIONS(1232),
    [anon_sym_DOLLAR] = ACTIONS(1232),
    [anon_sym_POUND] = ACTIONS(1230),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1234),
    [anon_sym_STAR] = ACTIONS(1236),
    [anon_sym_AT] = ACTIONS(1236),
    [anon_sym_QMARK] = ACTIONS(1236),
    [anon_sym_0] = ACTIONS(1234),
    [anon_sym__] = ACTIONS(1234),
  },
  [238] = {
    [sym__terminated_statement] = STATE(641),
    [sym_for_statement] = STATE(639),
    [sym_c_style_for_statement] = STATE(639),
    [sym_while_statement] = STATE(639),
    [sym_if_statement] = STATE(639),
    [sym_case_statement] = STATE(639),
    [sym_function_definition] = STATE(639),
    [sym_subshell] = STATE(639),
    [sym_pipeline] = STATE(639),
    [sym_list] = STATE(639),
    [sym_negated_command] = STATE(639),
    [sym_test_command] = STATE(639),
    [sym_declaration_command] = STATE(639),
    [sym_unset_command] = STATE(639),
    [sym_command] = STATE(639),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(640),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(641),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [239] = {
    [sym__terminated_statement] = STATE(644),
    [sym_for_statement] = STATE(642),
    [sym_c_style_for_statement] = STATE(642),
    [sym_while_statement] = STATE(642),
    [sym_if_statement] = STATE(642),
    [sym_case_statement] = STATE(642),
    [sym_function_definition] = STATE(642),
    [sym_subshell] = STATE(642),
    [sym_pipeline] = STATE(642),
    [sym_list] = STATE(642),
    [sym_negated_command] = STATE(642),
    [sym_test_command] = STATE(642),
    [sym_declaration_command] = STATE(642),
    [sym_unset_command] = STATE(642),
    [sym_command] = STATE(642),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(643),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(644),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [240] = {
    [sym__terminated_statement] = STATE(647),
    [sym_for_statement] = STATE(645),
    [sym_c_style_for_statement] = STATE(645),
    [sym_while_statement] = STATE(645),
    [sym_if_statement] = STATE(645),
    [sym_case_statement] = STATE(645),
    [sym_function_definition] = STATE(645),
    [sym_subshell] = STATE(645),
    [sym_pipeline] = STATE(645),
    [sym_list] = STATE(645),
    [sym_negated_command] = STATE(645),
    [sym_test_command] = STATE(645),
    [sym_declaration_command] = STATE(645),
    [sym_unset_command] = STATE(645),
    [sym_command] = STATE(645),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(646),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(647),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [241] = {
    [anon_sym_RPAREN] = ACTIONS(1238),
    [anon_sym_AMP_AMP] = ACTIONS(1240),
    [anon_sym_PIPE_PIPE] = ACTIONS(1240),
    [anon_sym_EQ_TILDE] = ACTIONS(1242),
    [anon_sym_EQ_EQ] = ACTIONS(1242),
    [anon_sym_EQ] = ACTIONS(1244),
    [anon_sym_PLUS_EQ] = ACTIONS(1240),
    [anon_sym_LT] = ACTIONS(1244),
    [anon_sym_GT] = ACTIONS(1244),
    [anon_sym_BANG_EQ] = ACTIONS(1240),
    [anon_sym_PLUS] = ACTIONS(1244),
    [anon_sym_DASH] = ACTIONS(1244),
    [anon_sym_DASH_EQ] = ACTIONS(1240),
    [anon_sym_LT_EQ] = ACTIONS(1240),
    [anon_sym_GT_EQ] = ACTIONS(1240),
    [anon_sym_PLUS_PLUS] = ACTIONS(1246),
    [anon_sym_DASH_DASH] = ACTIONS(1246),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1240),
  },
  [242] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1248),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [243] = {
    [sym_string] = STATE(652),
    [sym_simple_expansion] = STATE(652),
    [sym_string_expansion] = STATE(652),
    [sym_expansion] = STATE(652),
    [sym_command_substitution] = STATE(652),
    [sym_process_substitution] = STATE(652),
    [sym__special_characters] = ACTIONS(1250),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(1250),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1250),
  },
  [244] = {
    [aux_sym_concatenation_repeat1] = STATE(653),
    [sym__concat] = ACTIONS(459),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_PLUS_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_BANG_EQ] = ACTIONS(807),
    [anon_sym_PLUS] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [anon_sym_DASH_EQ] = ACTIONS(807),
    [anon_sym_LT_EQ] = ACTIONS(807),
    [anon_sym_GT_EQ] = ACTIONS(807),
    [anon_sym_PLUS_PLUS] = ACTIONS(807),
    [anon_sym_DASH_DASH] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(807),
  },
  [245] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(811),
    [anon_sym_EQ_EQ] = ACTIONS(811),
    [anon_sym_EQ] = ACTIONS(813),
    [anon_sym_PLUS_EQ] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_BANG_EQ] = ACTIONS(811),
    [anon_sym_PLUS] = ACTIONS(813),
    [anon_sym_DASH] = ACTIONS(813),
    [anon_sym_DASH_EQ] = ACTIONS(811),
    [anon_sym_LT_EQ] = ACTIONS(811),
    [anon_sym_GT_EQ] = ACTIONS(811),
    [anon_sym_PLUS_PLUS] = ACTIONS(811),
    [anon_sym_DASH_DASH] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(811),
  },
  [246] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1252),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [247] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1252),
    [anon_sym_DOLLAR] = ACTIONS(1254),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [248] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(845),
    [anon_sym_EQ_EQ] = ACTIONS(845),
    [anon_sym_EQ] = ACTIONS(847),
    [anon_sym_PLUS_EQ] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_BANG_EQ] = ACTIONS(845),
    [anon_sym_PLUS] = ACTIONS(847),
    [anon_sym_DASH] = ACTIONS(847),
    [anon_sym_DASH_EQ] = ACTIONS(845),
    [anon_sym_LT_EQ] = ACTIONS(845),
    [anon_sym_GT_EQ] = ACTIONS(845),
    [anon_sym_PLUS_PLUS] = ACTIONS(845),
    [anon_sym_DASH_DASH] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(845),
  },
  [249] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(849),
    [anon_sym_EQ_EQ] = ACTIONS(849),
    [anon_sym_EQ] = ACTIONS(851),
    [anon_sym_PLUS_EQ] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_BANG_EQ] = ACTIONS(849),
    [anon_sym_PLUS] = ACTIONS(851),
    [anon_sym_DASH] = ACTIONS(851),
    [anon_sym_DASH_EQ] = ACTIONS(849),
    [anon_sym_LT_EQ] = ACTIONS(849),
    [anon_sym_GT_EQ] = ACTIONS(849),
    [anon_sym_PLUS_PLUS] = ACTIONS(849),
    [anon_sym_DASH_DASH] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(849),
  },
  [250] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(853),
    [anon_sym_EQ_EQ] = ACTIONS(853),
    [anon_sym_EQ] = ACTIONS(855),
    [anon_sym_PLUS_EQ] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_BANG_EQ] = ACTIONS(853),
    [anon_sym_PLUS] = ACTIONS(855),
    [anon_sym_DASH] = ACTIONS(855),
    [anon_sym_DASH_EQ] = ACTIONS(853),
    [anon_sym_LT_EQ] = ACTIONS(853),
    [anon_sym_GT_EQ] = ACTIONS(853),
    [anon_sym_PLUS_PLUS] = ACTIONS(853),
    [anon_sym_DASH_DASH] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(853),
  },
  [251] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1256),
    [sym_comment] = ACTIONS(55),
  },
  [252] = {
    [sym_subscript] = STATE(659),
    [sym_variable_name] = ACTIONS(1258),
    [anon_sym_DASH] = ACTIONS(1260),
    [anon_sym_DOLLAR] = ACTIONS(1260),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1262),
    [anon_sym_STAR] = ACTIONS(1264),
    [anon_sym_AT] = ACTIONS(1264),
    [anon_sym_QMARK] = ACTIONS(1264),
    [anon_sym_0] = ACTIONS(1262),
    [anon_sym__] = ACTIONS(1262),
  },
  [253] = {
    [sym_concatenation] = STATE(662),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(662),
    [anon_sym_RBRACE] = ACTIONS(1266),
    [anon_sym_EQ] = ACTIONS(1268),
    [anon_sym_DASH] = ACTIONS(1268),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1270),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1272),
    [anon_sym_COLON] = ACTIONS(1268),
    [anon_sym_COLON_QMARK] = ACTIONS(1268),
    [anon_sym_COLON_DASH] = ACTIONS(1268),
    [anon_sym_PERCENT] = ACTIONS(1268),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [254] = {
    [sym_concatenation] = STATE(665),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(665),
    [anon_sym_RBRACE] = ACTIONS(1274),
    [anon_sym_EQ] = ACTIONS(1276),
    [anon_sym_DASH] = ACTIONS(1276),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1278),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1280),
    [anon_sym_COLON] = ACTIONS(1276),
    [anon_sym_COLON_QMARK] = ACTIONS(1276),
    [anon_sym_COLON_DASH] = ACTIONS(1276),
    [anon_sym_PERCENT] = ACTIONS(1276),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [255] = {
    [anon_sym_SEMI] = ACTIONS(1282),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1284),
    [anon_sym_SEMI_SEMI] = ACTIONS(1286),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1286),
    [anon_sym_AMP] = ACTIONS(1282),
  },
  [256] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1282),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1284),
    [anon_sym_SEMI_SEMI] = ACTIONS(1286),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1286),
    [anon_sym_AMP] = ACTIONS(1282),
  },
  [257] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(668),
    [sym_c_style_for_statement] = STATE(668),
    [sym_while_statement] = STATE(668),
    [sym_if_statement] = STATE(668),
    [sym_case_statement] = STATE(668),
    [sym_function_definition] = STATE(668),
    [sym_subshell] = STATE(668),
    [sym_pipeline] = STATE(668),
    [sym_list] = STATE(668),
    [sym_negated_command] = STATE(668),
    [sym_test_command] = STATE(668),
    [sym_declaration_command] = STATE(668),
    [sym_unset_command] = STATE(668),
    [sym_command] = STATE(668),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(669),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [258] = {
    [anon_sym_SEMI] = ACTIONS(1288),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1290),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1284),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1290),
    [anon_sym_AMP] = ACTIONS(1288),
  },
  [259] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1288),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1290),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1284),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1290),
    [anon_sym_AMP] = ACTIONS(1288),
  },
  [260] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(671),
    [sym_c_style_for_statement] = STATE(671),
    [sym_while_statement] = STATE(671),
    [sym_if_statement] = STATE(671),
    [sym_case_statement] = STATE(671),
    [sym_function_definition] = STATE(671),
    [sym_subshell] = STATE(671),
    [sym_pipeline] = STATE(671),
    [sym_list] = STATE(671),
    [sym_negated_command] = STATE(671),
    [sym_test_command] = STATE(671),
    [sym_declaration_command] = STATE(671),
    [sym_unset_command] = STATE(671),
    [sym_command] = STATE(671),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(672),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [261] = {
    [anon_sym_SEMI] = ACTIONS(1292),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1294),
    [anon_sym_SEMI_SEMI] = ACTIONS(1296),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1296),
    [anon_sym_AMP] = ACTIONS(1292),
  },
  [262] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1292),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1294),
    [anon_sym_SEMI_SEMI] = ACTIONS(1296),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1296),
    [anon_sym_AMP] = ACTIONS(1292),
  },
  [263] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(675),
    [sym_c_style_for_statement] = STATE(675),
    [sym_while_statement] = STATE(675),
    [sym_if_statement] = STATE(675),
    [sym_case_statement] = STATE(675),
    [sym_function_definition] = STATE(675),
    [sym_subshell] = STATE(675),
    [sym_pipeline] = STATE(675),
    [sym_list] = STATE(675),
    [sym_negated_command] = STATE(675),
    [sym_test_command] = STATE(675),
    [sym_declaration_command] = STATE(675),
    [sym_unset_command] = STATE(675),
    [sym_command] = STATE(675),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(676),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [264] = {
    [sym_file_redirect] = STATE(681),
    [sym_heredoc_redirect] = STATE(681),
    [sym_herestring_redirect] = STATE(681),
    [aux_sym_while_statement_repeat1] = STATE(681),
    [sym_file_descriptor] = ACTIONS(1298),
    [ts_builtin_sym_end] = ACTIONS(1300),
    [anon_sym_SEMI] = ACTIONS(1302),
    [anon_sym_PIPE] = ACTIONS(1302),
    [anon_sym_SEMI_SEMI] = ACTIONS(1300),
    [anon_sym_PIPE_AMP] = ACTIONS(1300),
    [anon_sym_AMP_AMP] = ACTIONS(1300),
    [anon_sym_PIPE_PIPE] = ACTIONS(1300),
    [anon_sym_LT] = ACTIONS(1304),
    [anon_sym_GT] = ACTIONS(1304),
    [anon_sym_GT_GT] = ACTIONS(1306),
    [anon_sym_AMP_GT] = ACTIONS(1304),
    [anon_sym_AMP_GT_GT] = ACTIONS(1306),
    [anon_sym_LT_AMP] = ACTIONS(1306),
    [anon_sym_GT_AMP] = ACTIONS(1306),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(1312),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1300),
    [anon_sym_AMP] = ACTIONS(1302),
  },
  [265] = {
    [sym__expression] = STATE(682),
    [sym_binary_expression] = STATE(682),
    [sym_unary_expression] = STATE(682),
    [sym_postfix_expression] = STATE(682),
    [sym_parenthesized_expression] = STATE(682),
    [sym_concatenation] = STATE(682),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [266] = {
    [sym__expression] = STATE(682),
    [sym_binary_expression] = STATE(682),
    [sym_unary_expression] = STATE(682),
    [sym_postfix_expression] = STATE(682),
    [sym_parenthesized_expression] = STATE(682),
    [sym_concatenation] = STATE(682),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [sym_regex] = ACTIONS(1314),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [267] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1316),
    [anon_sym_AMP_AMP] = ACTIONS(1316),
    [anon_sym_PIPE_PIPE] = ACTIONS(1316),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1316),
    [anon_sym_EQ_TILDE] = ACTIONS(1316),
    [anon_sym_EQ_EQ] = ACTIONS(1316),
    [anon_sym_EQ] = ACTIONS(1318),
    [anon_sym_PLUS_EQ] = ACTIONS(1316),
    [anon_sym_LT] = ACTIONS(1318),
    [anon_sym_GT] = ACTIONS(1318),
    [anon_sym_BANG_EQ] = ACTIONS(1316),
    [anon_sym_PLUS] = ACTIONS(1318),
    [anon_sym_DASH] = ACTIONS(1318),
    [anon_sym_DASH_EQ] = ACTIONS(1316),
    [anon_sym_LT_EQ] = ACTIONS(1316),
    [anon_sym_GT_EQ] = ACTIONS(1316),
    [anon_sym_PLUS_PLUS] = ACTIONS(1316),
    [anon_sym_DASH_DASH] = ACTIONS(1316),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1316),
  },
  [268] = {
    [sym_concatenation] = STATE(207),
    [sym_string] = STATE(685),
    [sym_array] = STATE(207),
    [sym_simple_expansion] = STATE(685),
    [sym_string_expansion] = STATE(685),
    [sym_expansion] = STATE(685),
    [sym_command_substitution] = STATE(685),
    [sym_process_substitution] = STATE(685),
    [sym__empty_value] = ACTIONS(381),
    [anon_sym_LPAREN] = ACTIONS(383),
    [sym__special_characters] = ACTIONS(1320),
    [anon_sym_DQUOTE] = ACTIONS(387),
    [anon_sym_DOLLAR] = ACTIONS(389),
    [sym_raw_string] = ACTIONS(1322),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(393),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(395),
    [anon_sym_BQUOTE] = ACTIONS(397),
    [anon_sym_LT_LPAREN] = ACTIONS(399),
    [anon_sym_GT_LPAREN] = ACTIONS(399),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1322),
  },
  [269] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1324),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [270] = {
    [sym_do_group] = STATE(687),
    [anon_sym_do] = ACTIONS(525),
    [sym_comment] = ACTIONS(55),
  },
  [271] = {
    [sym_compound_statement] = STATE(689),
    [anon_sym_LPAREN] = ACTIONS(1326),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [272] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(1324),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [273] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1324),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [274] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(1328),
    [anon_sym_PLUS_EQ] = ACTIONS(1328),
    [sym_comment] = ACTIONS(55),
  },
  [275] = {
    [aux_sym_concatenation_repeat1] = STATE(691),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(699),
    [anon_sym_SEMI] = ACTIONS(701),
    [anon_sym_PIPE] = ACTIONS(701),
    [anon_sym_SEMI_SEMI] = ACTIONS(699),
    [anon_sym_PIPE_AMP] = ACTIONS(699),
    [anon_sym_AMP_AMP] = ACTIONS(699),
    [anon_sym_PIPE_PIPE] = ACTIONS(699),
    [sym__special_characters] = ACTIONS(699),
    [anon_sym_DQUOTE] = ACTIONS(699),
    [anon_sym_DOLLAR] = ACTIONS(701),
    [sym_raw_string] = ACTIONS(699),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(699),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(699),
    [anon_sym_BQUOTE] = ACTIONS(699),
    [anon_sym_LT_LPAREN] = ACTIONS(699),
    [anon_sym_GT_LPAREN] = ACTIONS(699),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(701),
    [sym_word] = ACTIONS(701),
    [anon_sym_LF] = ACTIONS(699),
    [anon_sym_AMP] = ACTIONS(701),
  },
  [276] = {
    [aux_sym_concatenation_repeat1] = STATE(691),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(715),
    [anon_sym_SEMI] = ACTIONS(717),
    [anon_sym_PIPE] = ACTIONS(717),
    [anon_sym_SEMI_SEMI] = ACTIONS(715),
    [anon_sym_PIPE_AMP] = ACTIONS(715),
    [anon_sym_AMP_AMP] = ACTIONS(715),
    [anon_sym_PIPE_PIPE] = ACTIONS(715),
    [sym__special_characters] = ACTIONS(715),
    [anon_sym_DQUOTE] = ACTIONS(715),
    [anon_sym_DOLLAR] = ACTIONS(717),
    [sym_raw_string] = ACTIONS(715),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(715),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(715),
    [anon_sym_BQUOTE] = ACTIONS(715),
    [anon_sym_LT_LPAREN] = ACTIONS(715),
    [anon_sym_GT_LPAREN] = ACTIONS(715),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(717),
    [sym_word] = ACTIONS(717),
    [anon_sym_LF] = ACTIONS(715),
    [anon_sym_AMP] = ACTIONS(717),
  },
  [277] = {
    [anon_sym_EQ] = ACTIONS(1328),
    [anon_sym_PLUS_EQ] = ACTIONS(1328),
    [sym_comment] = ACTIONS(55),
  },
  [278] = {
    [sym_variable_assignment] = STATE(692),
    [sym_subscript] = STATE(277),
    [sym_concatenation] = STATE(692),
    [sym_string] = STATE(276),
    [sym_simple_expansion] = STATE(276),
    [sym_string_expansion] = STATE(276),
    [sym_expansion] = STATE(276),
    [sym_command_substitution] = STATE(276),
    [sym_process_substitution] = STATE(276),
    [aux_sym_declaration_command_repeat1] = STATE(692),
    [sym_variable_name] = ACTIONS(505),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(729),
    [anon_sym_PIPE_AMP] = ACTIONS(729),
    [anon_sym_AMP_AMP] = ACTIONS(729),
    [anon_sym_PIPE_PIPE] = ACTIONS(729),
    [sym__special_characters] = ACTIONS(507),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(509),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1330),
    [sym_word] = ACTIONS(513),
    [anon_sym_LF] = ACTIONS(729),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [279] = {
    [aux_sym_concatenation_repeat1] = STATE(693),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(739),
    [anon_sym_PIPE] = ACTIONS(739),
    [anon_sym_SEMI_SEMI] = ACTIONS(737),
    [anon_sym_PIPE_AMP] = ACTIONS(737),
    [anon_sym_AMP_AMP] = ACTIONS(737),
    [anon_sym_PIPE_PIPE] = ACTIONS(737),
    [sym__special_characters] = ACTIONS(737),
    [anon_sym_DQUOTE] = ACTIONS(737),
    [anon_sym_DOLLAR] = ACTIONS(739),
    [sym_raw_string] = ACTIONS(737),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(737),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(737),
    [anon_sym_BQUOTE] = ACTIONS(737),
    [anon_sym_LT_LPAREN] = ACTIONS(737),
    [anon_sym_GT_LPAREN] = ACTIONS(737),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(739),
    [sym_word] = ACTIONS(739),
    [anon_sym_LF] = ACTIONS(737),
    [anon_sym_AMP] = ACTIONS(739),
  },
  [280] = {
    [aux_sym_concatenation_repeat1] = STATE(693),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(755),
    [anon_sym_PIPE] = ACTIONS(755),
    [anon_sym_SEMI_SEMI] = ACTIONS(753),
    [anon_sym_PIPE_AMP] = ACTIONS(753),
    [anon_sym_AMP_AMP] = ACTIONS(753),
    [anon_sym_PIPE_PIPE] = ACTIONS(753),
    [sym__special_characters] = ACTIONS(753),
    [anon_sym_DQUOTE] = ACTIONS(753),
    [anon_sym_DOLLAR] = ACTIONS(755),
    [sym_raw_string] = ACTIONS(753),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(753),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(753),
    [anon_sym_BQUOTE] = ACTIONS(753),
    [anon_sym_LT_LPAREN] = ACTIONS(753),
    [anon_sym_GT_LPAREN] = ACTIONS(753),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(755),
    [sym_word] = ACTIONS(755),
    [anon_sym_LF] = ACTIONS(753),
    [anon_sym_AMP] = ACTIONS(755),
  },
  [281] = {
    [sym_concatenation] = STATE(694),
    [sym_string] = STATE(280),
    [sym_simple_expansion] = STATE(280),
    [sym_string_expansion] = STATE(280),
    [sym_expansion] = STATE(280),
    [sym_command_substitution] = STATE(280),
    [sym_process_substitution] = STATE(280),
    [aux_sym_unset_command_repeat1] = STATE(694),
    [anon_sym_SEMI] = ACTIONS(769),
    [anon_sym_PIPE] = ACTIONS(769),
    [anon_sym_SEMI_SEMI] = ACTIONS(767),
    [anon_sym_PIPE_AMP] = ACTIONS(767),
    [anon_sym_AMP_AMP] = ACTIONS(767),
    [anon_sym_PIPE_PIPE] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1332),
    [sym_word] = ACTIONS(521),
    [anon_sym_LF] = ACTIONS(767),
    [anon_sym_AMP] = ACTIONS(769),
  },
  [282] = {
    [aux_sym_concatenation_repeat1] = STATE(695),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(809),
    [anon_sym_EQ_EQ] = ACTIONS(809),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [283] = {
    [anon_sym_RPAREN] = ACTIONS(1334),
    [sym_comment] = ACTIONS(55),
  },
  [284] = {
    [sym__terminated_statement] = STATE(698),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(698),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_done] = ACTIONS(1336),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [285] = {
    [sym_file_redirect] = STATE(700),
    [sym_heredoc_redirect] = STATE(700),
    [sym_heredoc_body] = STATE(699),
    [sym_herestring_redirect] = STATE(700),
    [aux_sym_while_statement_repeat1] = STATE(700),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(1338),
    [anon_sym_SEMI] = ACTIONS(1340),
    [anon_sym_PIPE] = ACTIONS(1340),
    [anon_sym_SEMI_SEMI] = ACTIONS(1338),
    [anon_sym_PIPE_AMP] = ACTIONS(1338),
    [anon_sym_AMP_AMP] = ACTIONS(1338),
    [anon_sym_PIPE_PIPE] = ACTIONS(1338),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1338),
    [anon_sym_AMP] = ACTIONS(1340),
  },
  [286] = {
    [anon_sym_do] = ACTIONS(943),
    [anon_sym_then] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
  },
  [287] = {
    [sym_for_statement] = STATE(521),
    [sym_c_style_for_statement] = STATE(521),
    [sym_while_statement] = STATE(521),
    [sym_if_statement] = STATE(521),
    [sym_case_statement] = STATE(521),
    [sym_function_definition] = STATE(521),
    [sym_subshell] = STATE(521),
    [sym_pipeline] = STATE(521),
    [sym_list] = STATE(521),
    [sym_negated_command] = STATE(521),
    [sym_test_command] = STATE(521),
    [sym_declaration_command] = STATE(521),
    [sym_unset_command] = STATE(521),
    [sym_command] = STATE(521),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(522),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [288] = {
    [sym_for_statement] = STATE(701),
    [sym_c_style_for_statement] = STATE(701),
    [sym_while_statement] = STATE(701),
    [sym_if_statement] = STATE(701),
    [sym_case_statement] = STATE(701),
    [sym_function_definition] = STATE(701),
    [sym_subshell] = STATE(701),
    [sym_pipeline] = STATE(701),
    [sym_list] = STATE(701),
    [sym_negated_command] = STATE(701),
    [sym_test_command] = STATE(701),
    [sym_declaration_command] = STATE(701),
    [sym_unset_command] = STATE(701),
    [sym_command] = STATE(701),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(702),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [289] = {
    [anon_sym_LT] = ACTIONS(1342),
    [anon_sym_GT] = ACTIONS(1342),
    [anon_sym_GT_GT] = ACTIONS(1344),
    [anon_sym_AMP_GT] = ACTIONS(1342),
    [anon_sym_AMP_GT_GT] = ACTIONS(1344),
    [anon_sym_LT_AMP] = ACTIONS(1344),
    [anon_sym_GT_AMP] = ACTIONS(1344),
    [sym_comment] = ACTIONS(55),
  },
  [290] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(705),
    [sym_simple_expansion] = STATE(705),
    [sym_string_expansion] = STATE(705),
    [sym_expansion] = STATE(705),
    [sym_command_substitution] = STATE(705),
    [sym_process_substitution] = STATE(705),
    [sym_regex] = ACTIONS(965),
    [sym__special_characters] = ACTIONS(1346),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1348),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1348),
  },
  [291] = {
    [sym_concatenation] = STATE(535),
    [sym_string] = STATE(707),
    [sym_simple_expansion] = STATE(707),
    [sym_string_expansion] = STATE(707),
    [sym_expansion] = STATE(707),
    [sym_command_substitution] = STATE(707),
    [sym_process_substitution] = STATE(707),
    [sym__special_characters] = ACTIONS(1350),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1352),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1352),
  },
  [292] = {
    [sym_concatenation] = STATE(539),
    [sym_string] = STATE(709),
    [sym_simple_expansion] = STATE(709),
    [sym_string_expansion] = STATE(709),
    [sym_expansion] = STATE(709),
    [sym_command_substitution] = STATE(709),
    [sym_process_substitution] = STATE(709),
    [sym__special_characters] = ACTIONS(1354),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1356),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1356),
  },
  [293] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(981),
    [sym__heredoc_body_beginning] = ACTIONS(981),
    [sym_file_descriptor] = ACTIONS(981),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(983),
    [anon_sym_PIPE] = ACTIONS(983),
    [anon_sym_SEMI_SEMI] = ACTIONS(981),
    [anon_sym_PIPE_AMP] = ACTIONS(981),
    [anon_sym_AMP_AMP] = ACTIONS(981),
    [anon_sym_PIPE_PIPE] = ACTIONS(981),
    [anon_sym_EQ_TILDE] = ACTIONS(983),
    [anon_sym_EQ_EQ] = ACTIONS(983),
    [anon_sym_LT] = ACTIONS(983),
    [anon_sym_GT] = ACTIONS(983),
    [anon_sym_GT_GT] = ACTIONS(981),
    [anon_sym_AMP_GT] = ACTIONS(983),
    [anon_sym_AMP_GT_GT] = ACTIONS(981),
    [anon_sym_LT_AMP] = ACTIONS(981),
    [anon_sym_GT_AMP] = ACTIONS(981),
    [anon_sym_LT_LT] = ACTIONS(983),
    [anon_sym_LT_LT_DASH] = ACTIONS(981),
    [anon_sym_LT_LT_LT] = ACTIONS(981),
    [sym__special_characters] = ACTIONS(981),
    [anon_sym_DQUOTE] = ACTIONS(981),
    [anon_sym_DOLLAR] = ACTIONS(983),
    [sym_raw_string] = ACTIONS(981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(981),
    [anon_sym_BQUOTE] = ACTIONS(981),
    [anon_sym_LT_LPAREN] = ACTIONS(981),
    [anon_sym_GT_LPAREN] = ACTIONS(981),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(983),
    [anon_sym_LF] = ACTIONS(981),
    [anon_sym_AMP] = ACTIONS(983),
  },
  [294] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(985),
    [sym__heredoc_body_beginning] = ACTIONS(985),
    [sym_file_descriptor] = ACTIONS(985),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(987),
    [anon_sym_PIPE] = ACTIONS(987),
    [anon_sym_SEMI_SEMI] = ACTIONS(985),
    [anon_sym_PIPE_AMP] = ACTIONS(985),
    [anon_sym_AMP_AMP] = ACTIONS(985),
    [anon_sym_PIPE_PIPE] = ACTIONS(985),
    [anon_sym_EQ_TILDE] = ACTIONS(987),
    [anon_sym_EQ_EQ] = ACTIONS(987),
    [anon_sym_LT] = ACTIONS(987),
    [anon_sym_GT] = ACTIONS(987),
    [anon_sym_GT_GT] = ACTIONS(985),
    [anon_sym_AMP_GT] = ACTIONS(987),
    [anon_sym_AMP_GT_GT] = ACTIONS(985),
    [anon_sym_LT_AMP] = ACTIONS(985),
    [anon_sym_GT_AMP] = ACTIONS(985),
    [anon_sym_LT_LT] = ACTIONS(987),
    [anon_sym_LT_LT_DASH] = ACTIONS(985),
    [anon_sym_LT_LT_LT] = ACTIONS(985),
    [sym__special_characters] = ACTIONS(985),
    [anon_sym_DQUOTE] = ACTIONS(985),
    [anon_sym_DOLLAR] = ACTIONS(987),
    [sym_raw_string] = ACTIONS(985),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(985),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(985),
    [anon_sym_BQUOTE] = ACTIONS(985),
    [anon_sym_LT_LPAREN] = ACTIONS(985),
    [anon_sym_GT_LPAREN] = ACTIONS(985),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(987),
    [anon_sym_LF] = ACTIONS(985),
    [anon_sym_AMP] = ACTIONS(987),
  },
  [295] = {
    [sym_file_redirect] = STATE(710),
    [sym_heredoc_redirect] = STATE(710),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(710),
    [aux_sym_while_statement_repeat1] = STATE(710),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [296] = {
    [sym_file_redirect] = STATE(711),
    [sym_heredoc_redirect] = STATE(711),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(711),
    [sym_concatenation] = STATE(712),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(711),
    [aux_sym_command_repeat2] = STATE(712),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [297] = {
    [sym_file_redirect] = STATE(711),
    [sym_heredoc_redirect] = STATE(711),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(711),
    [sym_concatenation] = STATE(713),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(711),
    [aux_sym_command_repeat2] = STATE(713),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [298] = {
    [sym__terminated_statement] = STATE(718),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_elif_clause] = STATE(719),
    [sym_else_clause] = STATE(717),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(718),
    [aux_sym_if_statement_repeat1] = STATE(719),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(1358),
    [anon_sym_elif] = ACTIONS(1360),
    [anon_sym_else] = ACTIONS(1362),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [299] = {
    [sym_string] = STATE(720),
    [sym_simple_expansion] = STATE(720),
    [sym_string_expansion] = STATE(720),
    [sym_expansion] = STATE(720),
    [sym_command_substitution] = STATE(720),
    [sym_process_substitution] = STATE(720),
    [sym__special_characters] = ACTIONS(1364),
    [anon_sym_DQUOTE] = ACTIONS(121),
    [anon_sym_DOLLAR] = ACTIONS(123),
    [sym_raw_string] = ACTIONS(1364),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(127),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(129),
    [anon_sym_BQUOTE] = ACTIONS(131),
    [anon_sym_LT_LPAREN] = ACTIONS(133),
    [anon_sym_GT_LPAREN] = ACTIONS(133),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1364),
  },
  [300] = {
    [anon_sym_SEMI] = ACTIONS(1366),
    [anon_sym_SEMI_SEMI] = ACTIONS(1368),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1368),
    [anon_sym_AMP] = ACTIONS(1368),
  },
  [301] = {
    [anon_sym_in] = ACTIONS(1370),
    [sym_comment] = ACTIONS(55),
  },
  [302] = {
    [aux_sym_concatenation_repeat1] = STATE(723),
    [sym__concat] = ACTIONS(557),
    [anon_sym_in] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [303] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_in] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(811),
  },
  [304] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1372),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [305] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1372),
    [anon_sym_DOLLAR] = ACTIONS(1374),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [306] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_in] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(845),
  },
  [307] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_in] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(849),
  },
  [308] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_in] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(853),
  },
  [309] = {
    [anon_sym_SEMI] = ACTIONS(1376),
    [anon_sym_SEMI_SEMI] = ACTIONS(1378),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1378),
    [anon_sym_AMP] = ACTIONS(1378),
  },
  [310] = {
    [anon_sym_in] = ACTIONS(1380),
    [sym_comment] = ACTIONS(55),
  },
  [311] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1382),
    [sym_comment] = ACTIONS(55),
  },
  [312] = {
    [sym_subscript] = STATE(731),
    [sym_variable_name] = ACTIONS(1384),
    [anon_sym_DASH] = ACTIONS(1386),
    [anon_sym_DOLLAR] = ACTIONS(1386),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1388),
    [anon_sym_STAR] = ACTIONS(1390),
    [anon_sym_AT] = ACTIONS(1390),
    [anon_sym_QMARK] = ACTIONS(1390),
    [anon_sym_0] = ACTIONS(1388),
    [anon_sym__] = ACTIONS(1388),
  },
  [313] = {
    [sym_concatenation] = STATE(734),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(734),
    [anon_sym_RBRACE] = ACTIONS(1392),
    [anon_sym_EQ] = ACTIONS(1394),
    [anon_sym_DASH] = ACTIONS(1394),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1396),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1398),
    [anon_sym_COLON] = ACTIONS(1394),
    [anon_sym_COLON_QMARK] = ACTIONS(1394),
    [anon_sym_COLON_DASH] = ACTIONS(1394),
    [anon_sym_PERCENT] = ACTIONS(1394),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [314] = {
    [sym_concatenation] = STATE(737),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(737),
    [anon_sym_RBRACE] = ACTIONS(1400),
    [anon_sym_EQ] = ACTIONS(1402),
    [anon_sym_DASH] = ACTIONS(1402),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1404),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1406),
    [anon_sym_COLON] = ACTIONS(1402),
    [anon_sym_COLON_QMARK] = ACTIONS(1402),
    [anon_sym_COLON_DASH] = ACTIONS(1402),
    [anon_sym_PERCENT] = ACTIONS(1402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [315] = {
    [anon_sym_SEMI] = ACTIONS(1408),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1410),
    [anon_sym_SEMI_SEMI] = ACTIONS(1412),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1412),
    [anon_sym_AMP] = ACTIONS(1408),
  },
  [316] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1408),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1410),
    [anon_sym_SEMI_SEMI] = ACTIONS(1412),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1412),
    [anon_sym_AMP] = ACTIONS(1408),
  },
  [317] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(740),
    [sym_c_style_for_statement] = STATE(740),
    [sym_while_statement] = STATE(740),
    [sym_if_statement] = STATE(740),
    [sym_case_statement] = STATE(740),
    [sym_function_definition] = STATE(740),
    [sym_subshell] = STATE(740),
    [sym_pipeline] = STATE(740),
    [sym_list] = STATE(740),
    [sym_negated_command] = STATE(740),
    [sym_test_command] = STATE(740),
    [sym_declaration_command] = STATE(740),
    [sym_unset_command] = STATE(740),
    [sym_command] = STATE(740),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(741),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [318] = {
    [anon_sym_SEMI] = ACTIONS(1414),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1416),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1410),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1416),
    [anon_sym_AMP] = ACTIONS(1414),
  },
  [319] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1414),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1416),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1410),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1416),
    [anon_sym_AMP] = ACTIONS(1414),
  },
  [320] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(743),
    [sym_c_style_for_statement] = STATE(743),
    [sym_while_statement] = STATE(743),
    [sym_if_statement] = STATE(743),
    [sym_case_statement] = STATE(743),
    [sym_function_definition] = STATE(743),
    [sym_subshell] = STATE(743),
    [sym_pipeline] = STATE(743),
    [sym_list] = STATE(743),
    [sym_negated_command] = STATE(743),
    [sym_test_command] = STATE(743),
    [sym_declaration_command] = STATE(743),
    [sym_unset_command] = STATE(743),
    [sym_command] = STATE(743),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(744),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [321] = {
    [anon_sym_SEMI] = ACTIONS(1418),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1420),
    [anon_sym_SEMI_SEMI] = ACTIONS(1422),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1422),
    [anon_sym_AMP] = ACTIONS(1418),
  },
  [322] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1418),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1420),
    [anon_sym_SEMI_SEMI] = ACTIONS(1422),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1422),
    [anon_sym_AMP] = ACTIONS(1418),
  },
  [323] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(747),
    [sym_c_style_for_statement] = STATE(747),
    [sym_while_statement] = STATE(747),
    [sym_if_statement] = STATE(747),
    [sym_case_statement] = STATE(747),
    [sym_function_definition] = STATE(747),
    [sym_subshell] = STATE(747),
    [sym_pipeline] = STATE(747),
    [sym_list] = STATE(747),
    [sym_negated_command] = STATE(747),
    [sym_test_command] = STATE(747),
    [sym_declaration_command] = STATE(747),
    [sym_unset_command] = STATE(747),
    [sym_command] = STATE(747),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(748),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [324] = {
    [anon_sym_RPAREN] = ACTIONS(1424),
    [sym_comment] = ACTIONS(55),
  },
  [325] = {
    [sym__terminated_statement] = STATE(753),
    [sym_for_statement] = STATE(751),
    [sym_c_style_for_statement] = STATE(751),
    [sym_while_statement] = STATE(751),
    [sym_if_statement] = STATE(751),
    [sym_case_statement] = STATE(751),
    [sym_function_definition] = STATE(751),
    [sym_subshell] = STATE(751),
    [sym_pipeline] = STATE(751),
    [sym_list] = STATE(751),
    [sym_negated_command] = STATE(751),
    [sym_test_command] = STATE(751),
    [sym_declaration_command] = STATE(751),
    [sym_unset_command] = STATE(751),
    [sym_command] = STATE(751),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(752),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(753),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_RBRACE] = ACTIONS(1426),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [326] = {
    [sym_file_redirect] = STATE(756),
    [sym_file_descriptor] = ACTIONS(1428),
    [ts_builtin_sym_end] = ACTIONS(1430),
    [anon_sym_SEMI] = ACTIONS(1432),
    [anon_sym_PIPE] = ACTIONS(1432),
    [anon_sym_SEMI_SEMI] = ACTIONS(1430),
    [anon_sym_PIPE_AMP] = ACTIONS(1430),
    [anon_sym_AMP_AMP] = ACTIONS(1430),
    [anon_sym_PIPE_PIPE] = ACTIONS(1430),
    [anon_sym_LT] = ACTIONS(1434),
    [anon_sym_GT] = ACTIONS(1434),
    [anon_sym_GT_GT] = ACTIONS(1436),
    [anon_sym_AMP_GT] = ACTIONS(1434),
    [anon_sym_AMP_GT_GT] = ACTIONS(1436),
    [anon_sym_LT_AMP] = ACTIONS(1436),
    [anon_sym_GT_AMP] = ACTIONS(1436),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1430),
    [anon_sym_AMP] = ACTIONS(1432),
  },
  [327] = {
    [sym_concatenation] = STATE(207),
    [sym_string] = STATE(758),
    [sym_array] = STATE(207),
    [sym_simple_expansion] = STATE(758),
    [sym_string_expansion] = STATE(758),
    [sym_expansion] = STATE(758),
    [sym_command_substitution] = STATE(758),
    [sym_process_substitution] = STATE(758),
    [sym__empty_value] = ACTIONS(381),
    [anon_sym_LPAREN] = ACTIONS(383),
    [sym__special_characters] = ACTIONS(1438),
    [anon_sym_DQUOTE] = ACTIONS(387),
    [anon_sym_DOLLAR] = ACTIONS(389),
    [sym_raw_string] = ACTIONS(1440),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(393),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(395),
    [anon_sym_BQUOTE] = ACTIONS(397),
    [anon_sym_LT_LPAREN] = ACTIONS(399),
    [anon_sym_GT_LPAREN] = ACTIONS(399),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1440),
  },
  [328] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1442),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [329] = {
    [sym_do_group] = STATE(760),
    [anon_sym_do] = ACTIONS(525),
    [sym_comment] = ACTIONS(55),
  },
  [330] = {
    [sym_compound_statement] = STATE(762),
    [anon_sym_LPAREN] = ACTIONS(1444),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [331] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(1442),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [332] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1442),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [333] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(1446),
    [anon_sym_PLUS_EQ] = ACTIONS(1446),
    [sym_comment] = ACTIONS(55),
  },
  [334] = {
    [aux_sym_concatenation_repeat1] = STATE(764),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(699),
    [anon_sym_SEMI] = ACTIONS(701),
    [anon_sym_PIPE] = ACTIONS(701),
    [anon_sym_RPAREN] = ACTIONS(699),
    [anon_sym_SEMI_SEMI] = ACTIONS(699),
    [anon_sym_PIPE_AMP] = ACTIONS(699),
    [anon_sym_AMP_AMP] = ACTIONS(699),
    [anon_sym_PIPE_PIPE] = ACTIONS(699),
    [sym__special_characters] = ACTIONS(699),
    [anon_sym_DQUOTE] = ACTIONS(699),
    [anon_sym_DOLLAR] = ACTIONS(701),
    [sym_raw_string] = ACTIONS(699),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(699),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(699),
    [anon_sym_BQUOTE] = ACTIONS(699),
    [anon_sym_LT_LPAREN] = ACTIONS(699),
    [anon_sym_GT_LPAREN] = ACTIONS(699),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(701),
    [sym_word] = ACTIONS(701),
    [anon_sym_LF] = ACTIONS(699),
    [anon_sym_AMP] = ACTIONS(701),
  },
  [335] = {
    [aux_sym_concatenation_repeat1] = STATE(764),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(715),
    [anon_sym_SEMI] = ACTIONS(717),
    [anon_sym_PIPE] = ACTIONS(717),
    [anon_sym_RPAREN] = ACTIONS(715),
    [anon_sym_SEMI_SEMI] = ACTIONS(715),
    [anon_sym_PIPE_AMP] = ACTIONS(715),
    [anon_sym_AMP_AMP] = ACTIONS(715),
    [anon_sym_PIPE_PIPE] = ACTIONS(715),
    [sym__special_characters] = ACTIONS(715),
    [anon_sym_DQUOTE] = ACTIONS(715),
    [anon_sym_DOLLAR] = ACTIONS(717),
    [sym_raw_string] = ACTIONS(715),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(715),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(715),
    [anon_sym_BQUOTE] = ACTIONS(715),
    [anon_sym_LT_LPAREN] = ACTIONS(715),
    [anon_sym_GT_LPAREN] = ACTIONS(715),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(717),
    [sym_word] = ACTIONS(717),
    [anon_sym_LF] = ACTIONS(715),
    [anon_sym_AMP] = ACTIONS(717),
  },
  [336] = {
    [anon_sym_EQ] = ACTIONS(1446),
    [anon_sym_PLUS_EQ] = ACTIONS(1446),
    [sym_comment] = ACTIONS(55),
  },
  [337] = {
    [sym_variable_assignment] = STATE(765),
    [sym_subscript] = STATE(336),
    [sym_concatenation] = STATE(765),
    [sym_string] = STATE(335),
    [sym_simple_expansion] = STATE(335),
    [sym_string_expansion] = STATE(335),
    [sym_expansion] = STATE(335),
    [sym_command_substitution] = STATE(335),
    [sym_process_substitution] = STATE(335),
    [aux_sym_declaration_command_repeat1] = STATE(765),
    [sym_variable_name] = ACTIONS(601),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_RPAREN] = ACTIONS(729),
    [anon_sym_SEMI_SEMI] = ACTIONS(729),
    [anon_sym_PIPE_AMP] = ACTIONS(729),
    [anon_sym_AMP_AMP] = ACTIONS(729),
    [anon_sym_PIPE_PIPE] = ACTIONS(729),
    [sym__special_characters] = ACTIONS(603),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(605),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1448),
    [sym_word] = ACTIONS(609),
    [anon_sym_LF] = ACTIONS(729),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [338] = {
    [aux_sym_concatenation_repeat1] = STATE(766),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(739),
    [anon_sym_PIPE] = ACTIONS(739),
    [anon_sym_RPAREN] = ACTIONS(737),
    [anon_sym_SEMI_SEMI] = ACTIONS(737),
    [anon_sym_PIPE_AMP] = ACTIONS(737),
    [anon_sym_AMP_AMP] = ACTIONS(737),
    [anon_sym_PIPE_PIPE] = ACTIONS(737),
    [sym__special_characters] = ACTIONS(737),
    [anon_sym_DQUOTE] = ACTIONS(737),
    [anon_sym_DOLLAR] = ACTIONS(739),
    [sym_raw_string] = ACTIONS(737),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(737),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(737),
    [anon_sym_BQUOTE] = ACTIONS(737),
    [anon_sym_LT_LPAREN] = ACTIONS(737),
    [anon_sym_GT_LPAREN] = ACTIONS(737),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(739),
    [sym_word] = ACTIONS(739),
    [anon_sym_LF] = ACTIONS(737),
    [anon_sym_AMP] = ACTIONS(739),
  },
  [339] = {
    [aux_sym_concatenation_repeat1] = STATE(766),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(755),
    [anon_sym_PIPE] = ACTIONS(755),
    [anon_sym_RPAREN] = ACTIONS(753),
    [anon_sym_SEMI_SEMI] = ACTIONS(753),
    [anon_sym_PIPE_AMP] = ACTIONS(753),
    [anon_sym_AMP_AMP] = ACTIONS(753),
    [anon_sym_PIPE_PIPE] = ACTIONS(753),
    [sym__special_characters] = ACTIONS(753),
    [anon_sym_DQUOTE] = ACTIONS(753),
    [anon_sym_DOLLAR] = ACTIONS(755),
    [sym_raw_string] = ACTIONS(753),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(753),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(753),
    [anon_sym_BQUOTE] = ACTIONS(753),
    [anon_sym_LT_LPAREN] = ACTIONS(753),
    [anon_sym_GT_LPAREN] = ACTIONS(753),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(755),
    [sym_word] = ACTIONS(755),
    [anon_sym_LF] = ACTIONS(753),
    [anon_sym_AMP] = ACTIONS(755),
  },
  [340] = {
    [sym_concatenation] = STATE(767),
    [sym_string] = STATE(339),
    [sym_simple_expansion] = STATE(339),
    [sym_string_expansion] = STATE(339),
    [sym_expansion] = STATE(339),
    [sym_command_substitution] = STATE(339),
    [sym_process_substitution] = STATE(339),
    [aux_sym_unset_command_repeat1] = STATE(767),
    [anon_sym_SEMI] = ACTIONS(769),
    [anon_sym_PIPE] = ACTIONS(769),
    [anon_sym_RPAREN] = ACTIONS(767),
    [anon_sym_SEMI_SEMI] = ACTIONS(767),
    [anon_sym_PIPE_AMP] = ACTIONS(767),
    [anon_sym_AMP_AMP] = ACTIONS(767),
    [anon_sym_PIPE_PIPE] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(611),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(613),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1450),
    [sym_word] = ACTIONS(617),
    [anon_sym_LF] = ACTIONS(767),
    [anon_sym_AMP] = ACTIONS(769),
  },
  [341] = {
    [aux_sym_concatenation_repeat1] = STATE(768),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(809),
    [anon_sym_EQ_EQ] = ACTIONS(809),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [342] = {
    [anon_sym_RPAREN] = ACTIONS(1452),
    [sym_comment] = ACTIONS(55),
  },
  [343] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(1454),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [344] = {
    [sym_for_statement] = STATE(521),
    [sym_c_style_for_statement] = STATE(521),
    [sym_while_statement] = STATE(521),
    [sym_if_statement] = STATE(521),
    [sym_case_statement] = STATE(521),
    [sym_function_definition] = STATE(521),
    [sym_subshell] = STATE(521),
    [sym_pipeline] = STATE(521),
    [sym_list] = STATE(521),
    [sym_negated_command] = STATE(521),
    [sym_test_command] = STATE(521),
    [sym_declaration_command] = STATE(521),
    [sym_unset_command] = STATE(521),
    [sym_command] = STATE(521),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(522),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [345] = {
    [ts_builtin_sym_end] = ACTIONS(1456),
    [anon_sym_SEMI] = ACTIONS(1458),
    [anon_sym_esac] = ACTIONS(1456),
    [anon_sym_PIPE] = ACTIONS(1458),
    [anon_sym_RPAREN] = ACTIONS(1456),
    [anon_sym_SEMI_SEMI] = ACTIONS(1456),
    [anon_sym_PIPE_AMP] = ACTIONS(1456),
    [anon_sym_AMP_AMP] = ACTIONS(1456),
    [anon_sym_PIPE_PIPE] = ACTIONS(1456),
    [anon_sym_BQUOTE] = ACTIONS(1456),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1456),
    [anon_sym_AMP] = ACTIONS(1458),
  },
  [346] = {
    [sym_for_statement] = STATE(771),
    [sym_c_style_for_statement] = STATE(771),
    [sym_while_statement] = STATE(771),
    [sym_if_statement] = STATE(771),
    [sym_case_statement] = STATE(771),
    [sym_function_definition] = STATE(771),
    [sym_subshell] = STATE(771),
    [sym_pipeline] = STATE(771),
    [sym_list] = STATE(771),
    [sym_negated_command] = STATE(771),
    [sym_test_command] = STATE(771),
    [sym_declaration_command] = STATE(771),
    [sym_unset_command] = STATE(771),
    [sym_command] = STATE(771),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(772),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [347] = {
    [anon_sym_LT] = ACTIONS(1460),
    [anon_sym_GT] = ACTIONS(1460),
    [anon_sym_GT_GT] = ACTIONS(1462),
    [anon_sym_AMP_GT] = ACTIONS(1460),
    [anon_sym_AMP_GT_GT] = ACTIONS(1462),
    [anon_sym_LT_AMP] = ACTIONS(1462),
    [anon_sym_GT_AMP] = ACTIONS(1462),
    [sym_comment] = ACTIONS(55),
  },
  [348] = {
    [sym_concatenation] = STATE(530),
    [sym_string] = STATE(775),
    [sym_simple_expansion] = STATE(775),
    [sym_string_expansion] = STATE(775),
    [sym_expansion] = STATE(775),
    [sym_command_substitution] = STATE(775),
    [sym_process_substitution] = STATE(775),
    [sym_regex] = ACTIONS(965),
    [sym__special_characters] = ACTIONS(1464),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1466),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1466),
  },
  [349] = {
    [sym_concatenation] = STATE(535),
    [sym_string] = STATE(777),
    [sym_simple_expansion] = STATE(777),
    [sym_string_expansion] = STATE(777),
    [sym_expansion] = STATE(777),
    [sym_command_substitution] = STATE(777),
    [sym_process_substitution] = STATE(777),
    [sym__special_characters] = ACTIONS(1468),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1470),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1470),
  },
  [350] = {
    [sym_concatenation] = STATE(539),
    [sym_string] = STATE(779),
    [sym_simple_expansion] = STATE(779),
    [sym_string_expansion] = STATE(779),
    [sym_expansion] = STATE(779),
    [sym_command_substitution] = STATE(779),
    [sym_process_substitution] = STATE(779),
    [sym__special_characters] = ACTIONS(1472),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1474),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1474),
  },
  [351] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(981),
    [sym__heredoc_body_beginning] = ACTIONS(981),
    [sym_file_descriptor] = ACTIONS(981),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(983),
    [anon_sym_PIPE] = ACTIONS(983),
    [anon_sym_RPAREN] = ACTIONS(981),
    [anon_sym_SEMI_SEMI] = ACTIONS(981),
    [anon_sym_PIPE_AMP] = ACTIONS(981),
    [anon_sym_AMP_AMP] = ACTIONS(981),
    [anon_sym_PIPE_PIPE] = ACTIONS(981),
    [anon_sym_EQ_TILDE] = ACTIONS(983),
    [anon_sym_EQ_EQ] = ACTIONS(983),
    [anon_sym_LT] = ACTIONS(983),
    [anon_sym_GT] = ACTIONS(983),
    [anon_sym_GT_GT] = ACTIONS(981),
    [anon_sym_AMP_GT] = ACTIONS(983),
    [anon_sym_AMP_GT_GT] = ACTIONS(981),
    [anon_sym_LT_AMP] = ACTIONS(981),
    [anon_sym_GT_AMP] = ACTIONS(981),
    [anon_sym_LT_LT] = ACTIONS(983),
    [anon_sym_LT_LT_DASH] = ACTIONS(981),
    [anon_sym_LT_LT_LT] = ACTIONS(981),
    [sym__special_characters] = ACTIONS(981),
    [anon_sym_DQUOTE] = ACTIONS(981),
    [anon_sym_DOLLAR] = ACTIONS(983),
    [sym_raw_string] = ACTIONS(981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(981),
    [anon_sym_BQUOTE] = ACTIONS(981),
    [anon_sym_LT_LPAREN] = ACTIONS(981),
    [anon_sym_GT_LPAREN] = ACTIONS(981),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(983),
    [anon_sym_LF] = ACTIONS(981),
    [anon_sym_AMP] = ACTIONS(983),
  },
  [352] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(985),
    [sym__heredoc_body_beginning] = ACTIONS(985),
    [sym_file_descriptor] = ACTIONS(985),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(987),
    [anon_sym_PIPE] = ACTIONS(987),
    [anon_sym_RPAREN] = ACTIONS(985),
    [anon_sym_SEMI_SEMI] = ACTIONS(985),
    [anon_sym_PIPE_AMP] = ACTIONS(985),
    [anon_sym_AMP_AMP] = ACTIONS(985),
    [anon_sym_PIPE_PIPE] = ACTIONS(985),
    [anon_sym_EQ_TILDE] = ACTIONS(987),
    [anon_sym_EQ_EQ] = ACTIONS(987),
    [anon_sym_LT] = ACTIONS(987),
    [anon_sym_GT] = ACTIONS(987),
    [anon_sym_GT_GT] = ACTIONS(985),
    [anon_sym_AMP_GT] = ACTIONS(987),
    [anon_sym_AMP_GT_GT] = ACTIONS(985),
    [anon_sym_LT_AMP] = ACTIONS(985),
    [anon_sym_GT_AMP] = ACTIONS(985),
    [anon_sym_LT_LT] = ACTIONS(987),
    [anon_sym_LT_LT_DASH] = ACTIONS(985),
    [anon_sym_LT_LT_LT] = ACTIONS(985),
    [sym__special_characters] = ACTIONS(985),
    [anon_sym_DQUOTE] = ACTIONS(985),
    [anon_sym_DOLLAR] = ACTIONS(987),
    [sym_raw_string] = ACTIONS(985),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(985),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(985),
    [anon_sym_BQUOTE] = ACTIONS(985),
    [anon_sym_LT_LPAREN] = ACTIONS(985),
    [anon_sym_GT_LPAREN] = ACTIONS(985),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(987),
    [anon_sym_LF] = ACTIONS(985),
    [anon_sym_AMP] = ACTIONS(987),
  },
  [353] = {
    [sym_file_redirect] = STATE(780),
    [sym_heredoc_redirect] = STATE(780),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(780),
    [aux_sym_while_statement_repeat1] = STATE(780),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_RPAREN] = ACTIONS(989),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [354] = {
    [sym_file_redirect] = STATE(781),
    [sym_heredoc_redirect] = STATE(781),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(781),
    [sym_concatenation] = STATE(782),
    [sym_string] = STATE(352),
    [sym_simple_expansion] = STATE(352),
    [sym_string_expansion] = STATE(352),
    [sym_expansion] = STATE(352),
    [sym_command_substitution] = STATE(352),
    [sym_process_substitution] = STATE(352),
    [aux_sym_while_statement_repeat1] = STATE(781),
    [aux_sym_command_repeat2] = STATE(782),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_RPAREN] = ACTIONS(989),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(635),
    [anon_sym_EQ_EQ] = ACTIONS(635),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym__special_characters] = ACTIONS(643),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(645),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(647),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [355] = {
    [anon_sym_SEMI] = ACTIONS(1476),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1454),
    [anon_sym_SEMI_SEMI] = ACTIONS(1478),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1478),
    [anon_sym_AMP] = ACTIONS(1476),
  },
  [356] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1476),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1454),
    [anon_sym_SEMI_SEMI] = ACTIONS(1478),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1478),
    [anon_sym_AMP] = ACTIONS(1476),
  },
  [357] = {
    [sym_file_redirect] = STATE(781),
    [sym_heredoc_redirect] = STATE(781),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(781),
    [sym_concatenation] = STATE(784),
    [sym_string] = STATE(352),
    [sym_simple_expansion] = STATE(352),
    [sym_string_expansion] = STATE(352),
    [sym_expansion] = STATE(352),
    [sym_command_substitution] = STATE(352),
    [sym_process_substitution] = STATE(352),
    [aux_sym_while_statement_repeat1] = STATE(781),
    [aux_sym_command_repeat2] = STATE(784),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_RPAREN] = ACTIONS(989),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(635),
    [anon_sym_EQ_EQ] = ACTIONS(635),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym__special_characters] = ACTIONS(643),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(645),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(647),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [358] = {
    [sym_concatenation] = STATE(785),
    [sym_string] = STATE(788),
    [sym_array] = STATE(785),
    [sym_simple_expansion] = STATE(788),
    [sym_string_expansion] = STATE(788),
    [sym_expansion] = STATE(788),
    [sym_command_substitution] = STATE(788),
    [sym_process_substitution] = STATE(788),
    [sym__empty_value] = ACTIONS(1480),
    [anon_sym_LPAREN] = ACTIONS(1482),
    [sym__special_characters] = ACTIONS(1484),
    [anon_sym_DQUOTE] = ACTIONS(249),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(1486),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(255),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(257),
    [anon_sym_BQUOTE] = ACTIONS(259),
    [anon_sym_LT_LPAREN] = ACTIONS(261),
    [anon_sym_GT_LPAREN] = ACTIONS(261),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1486),
  },
  [359] = {
    [anon_sym_RPAREN] = ACTIONS(1488),
    [anon_sym_AMP_AMP] = ACTIONS(1240),
    [anon_sym_PIPE_PIPE] = ACTIONS(1240),
    [anon_sym_EQ_TILDE] = ACTIONS(1242),
    [anon_sym_EQ_EQ] = ACTIONS(1242),
    [anon_sym_EQ] = ACTIONS(1244),
    [anon_sym_PLUS_EQ] = ACTIONS(1240),
    [anon_sym_LT] = ACTIONS(1244),
    [anon_sym_GT] = ACTIONS(1244),
    [anon_sym_BANG_EQ] = ACTIONS(1240),
    [anon_sym_PLUS] = ACTIONS(1244),
    [anon_sym_DASH] = ACTIONS(1244),
    [anon_sym_DASH_EQ] = ACTIONS(1240),
    [anon_sym_LT_EQ] = ACTIONS(1240),
    [anon_sym_GT_EQ] = ACTIONS(1240),
    [anon_sym_PLUS_PLUS] = ACTIONS(1246),
    [anon_sym_DASH_DASH] = ACTIONS(1246),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1240),
  },
  [360] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(1248),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [361] = {
    [sym_string] = STATE(790),
    [sym_simple_expansion] = STATE(790),
    [sym_string_expansion] = STATE(790),
    [sym_expansion] = STATE(790),
    [sym_command_substitution] = STATE(790),
    [sym_process_substitution] = STATE(790),
    [sym__special_characters] = ACTIONS(1490),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1490),
  },
  [362] = {
    [aux_sym_concatenation_repeat1] = STATE(791),
    [sym__concat] = ACTIONS(657),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_RBRACK] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_PLUS_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_BANG_EQ] = ACTIONS(807),
    [anon_sym_PLUS] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [anon_sym_DASH_EQ] = ACTIONS(807),
    [anon_sym_LT_EQ] = ACTIONS(807),
    [anon_sym_GT_EQ] = ACTIONS(807),
    [anon_sym_PLUS_PLUS] = ACTIONS(807),
    [anon_sym_DASH_DASH] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(807),
  },
  [363] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_RBRACK] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(811),
    [anon_sym_EQ_EQ] = ACTIONS(811),
    [anon_sym_EQ] = ACTIONS(813),
    [anon_sym_PLUS_EQ] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_BANG_EQ] = ACTIONS(811),
    [anon_sym_PLUS] = ACTIONS(813),
    [anon_sym_DASH] = ACTIONS(813),
    [anon_sym_DASH_EQ] = ACTIONS(811),
    [anon_sym_LT_EQ] = ACTIONS(811),
    [anon_sym_GT_EQ] = ACTIONS(811),
    [anon_sym_PLUS_PLUS] = ACTIONS(811),
    [anon_sym_DASH_DASH] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(811),
  },
  [364] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1492),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [365] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1492),
    [anon_sym_DOLLAR] = ACTIONS(1494),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [366] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_RBRACK] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(845),
    [anon_sym_EQ_EQ] = ACTIONS(845),
    [anon_sym_EQ] = ACTIONS(847),
    [anon_sym_PLUS_EQ] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_BANG_EQ] = ACTIONS(845),
    [anon_sym_PLUS] = ACTIONS(847),
    [anon_sym_DASH] = ACTIONS(847),
    [anon_sym_DASH_EQ] = ACTIONS(845),
    [anon_sym_LT_EQ] = ACTIONS(845),
    [anon_sym_GT_EQ] = ACTIONS(845),
    [anon_sym_PLUS_PLUS] = ACTIONS(845),
    [anon_sym_DASH_DASH] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(845),
  },
  [367] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_RBRACK] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(849),
    [anon_sym_EQ_EQ] = ACTIONS(849),
    [anon_sym_EQ] = ACTIONS(851),
    [anon_sym_PLUS_EQ] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_BANG_EQ] = ACTIONS(849),
    [anon_sym_PLUS] = ACTIONS(851),
    [anon_sym_DASH] = ACTIONS(851),
    [anon_sym_DASH_EQ] = ACTIONS(849),
    [anon_sym_LT_EQ] = ACTIONS(849),
    [anon_sym_GT_EQ] = ACTIONS(849),
    [anon_sym_PLUS_PLUS] = ACTIONS(849),
    [anon_sym_DASH_DASH] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(849),
  },
  [368] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_RBRACK] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(853),
    [anon_sym_EQ_EQ] = ACTIONS(853),
    [anon_sym_EQ] = ACTIONS(855),
    [anon_sym_PLUS_EQ] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_BANG_EQ] = ACTIONS(853),
    [anon_sym_PLUS] = ACTIONS(855),
    [anon_sym_DASH] = ACTIONS(855),
    [anon_sym_DASH_EQ] = ACTIONS(853),
    [anon_sym_LT_EQ] = ACTIONS(853),
    [anon_sym_GT_EQ] = ACTIONS(853),
    [anon_sym_PLUS_PLUS] = ACTIONS(853),
    [anon_sym_DASH_DASH] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(853),
  },
  [369] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1496),
    [sym_comment] = ACTIONS(55),
  },
  [370] = {
    [sym_subscript] = STATE(797),
    [sym_variable_name] = ACTIONS(1498),
    [anon_sym_DASH] = ACTIONS(1500),
    [anon_sym_DOLLAR] = ACTIONS(1500),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1502),
    [anon_sym_STAR] = ACTIONS(1504),
    [anon_sym_AT] = ACTIONS(1504),
    [anon_sym_QMARK] = ACTIONS(1504),
    [anon_sym_0] = ACTIONS(1502),
    [anon_sym__] = ACTIONS(1502),
  },
  [371] = {
    [sym_concatenation] = STATE(800),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(800),
    [anon_sym_RBRACE] = ACTIONS(1506),
    [anon_sym_EQ] = ACTIONS(1508),
    [anon_sym_DASH] = ACTIONS(1508),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1510),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1512),
    [anon_sym_COLON] = ACTIONS(1508),
    [anon_sym_COLON_QMARK] = ACTIONS(1508),
    [anon_sym_COLON_DASH] = ACTIONS(1508),
    [anon_sym_PERCENT] = ACTIONS(1508),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [372] = {
    [sym_concatenation] = STATE(803),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(803),
    [anon_sym_RBRACE] = ACTIONS(1514),
    [anon_sym_EQ] = ACTIONS(1516),
    [anon_sym_DASH] = ACTIONS(1516),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1518),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1520),
    [anon_sym_COLON] = ACTIONS(1516),
    [anon_sym_COLON_QMARK] = ACTIONS(1516),
    [anon_sym_COLON_DASH] = ACTIONS(1516),
    [anon_sym_PERCENT] = ACTIONS(1516),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [373] = {
    [anon_sym_SEMI] = ACTIONS(1522),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1524),
    [anon_sym_SEMI_SEMI] = ACTIONS(1526),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1526),
    [anon_sym_AMP] = ACTIONS(1522),
  },
  [374] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1522),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1524),
    [anon_sym_SEMI_SEMI] = ACTIONS(1526),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1526),
    [anon_sym_AMP] = ACTIONS(1522),
  },
  [375] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(806),
    [sym_c_style_for_statement] = STATE(806),
    [sym_while_statement] = STATE(806),
    [sym_if_statement] = STATE(806),
    [sym_case_statement] = STATE(806),
    [sym_function_definition] = STATE(806),
    [sym_subshell] = STATE(806),
    [sym_pipeline] = STATE(806),
    [sym_list] = STATE(806),
    [sym_negated_command] = STATE(806),
    [sym_test_command] = STATE(806),
    [sym_declaration_command] = STATE(806),
    [sym_unset_command] = STATE(806),
    [sym_command] = STATE(806),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(807),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [376] = {
    [anon_sym_SEMI] = ACTIONS(1528),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1530),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1524),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1530),
    [anon_sym_AMP] = ACTIONS(1528),
  },
  [377] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1528),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1530),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1524),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1530),
    [anon_sym_AMP] = ACTIONS(1528),
  },
  [378] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(809),
    [sym_c_style_for_statement] = STATE(809),
    [sym_while_statement] = STATE(809),
    [sym_if_statement] = STATE(809),
    [sym_case_statement] = STATE(809),
    [sym_function_definition] = STATE(809),
    [sym_subshell] = STATE(809),
    [sym_pipeline] = STATE(809),
    [sym_list] = STATE(809),
    [sym_negated_command] = STATE(809),
    [sym_test_command] = STATE(809),
    [sym_declaration_command] = STATE(809),
    [sym_unset_command] = STATE(809),
    [sym_command] = STATE(809),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(810),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [379] = {
    [anon_sym_SEMI] = ACTIONS(1532),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1534),
    [anon_sym_SEMI_SEMI] = ACTIONS(1536),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1536),
    [anon_sym_AMP] = ACTIONS(1532),
  },
  [380] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1532),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1534),
    [anon_sym_SEMI_SEMI] = ACTIONS(1536),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1536),
    [anon_sym_AMP] = ACTIONS(1532),
  },
  [381] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(813),
    [sym_c_style_for_statement] = STATE(813),
    [sym_while_statement] = STATE(813),
    [sym_if_statement] = STATE(813),
    [sym_case_statement] = STATE(813),
    [sym_function_definition] = STATE(813),
    [sym_subshell] = STATE(813),
    [sym_pipeline] = STATE(813),
    [sym_list] = STATE(813),
    [sym_negated_command] = STATE(813),
    [sym_test_command] = STATE(813),
    [sym_declaration_command] = STATE(813),
    [sym_unset_command] = STATE(813),
    [sym_command] = STATE(813),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(814),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [382] = {
    [sym__expression] = STATE(815),
    [sym_binary_expression] = STATE(815),
    [sym_unary_expression] = STATE(815),
    [sym_postfix_expression] = STATE(815),
    [sym_parenthesized_expression] = STATE(815),
    [sym_concatenation] = STATE(815),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [383] = {
    [sym__expression] = STATE(815),
    [sym_binary_expression] = STATE(815),
    [sym_unary_expression] = STATE(815),
    [sym_postfix_expression] = STATE(815),
    [sym_parenthesized_expression] = STATE(815),
    [sym_concatenation] = STATE(815),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [sym_regex] = ACTIONS(1538),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [384] = {
    [anon_sym_AMP_AMP] = ACTIONS(1316),
    [anon_sym_PIPE_PIPE] = ACTIONS(1316),
    [anon_sym_RBRACK] = ACTIONS(1316),
    [anon_sym_EQ_TILDE] = ACTIONS(1316),
    [anon_sym_EQ_EQ] = ACTIONS(1316),
    [anon_sym_EQ] = ACTIONS(1318),
    [anon_sym_PLUS_EQ] = ACTIONS(1316),
    [anon_sym_LT] = ACTIONS(1318),
    [anon_sym_GT] = ACTIONS(1318),
    [anon_sym_BANG_EQ] = ACTIONS(1316),
    [anon_sym_PLUS] = ACTIONS(1318),
    [anon_sym_DASH] = ACTIONS(1318),
    [anon_sym_DASH_EQ] = ACTIONS(1316),
    [anon_sym_LT_EQ] = ACTIONS(1316),
    [anon_sym_GT_EQ] = ACTIONS(1316),
    [anon_sym_PLUS_PLUS] = ACTIONS(1316),
    [anon_sym_DASH_DASH] = ACTIONS(1316),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1316),
  },
  [385] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1248),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [386] = {
    [aux_sym_concatenation_repeat1] = STATE(817),
    [sym__concat] = ACTIONS(459),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_PLUS_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_BANG_EQ] = ACTIONS(807),
    [anon_sym_PLUS] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [anon_sym_DASH_EQ] = ACTIONS(807),
    [anon_sym_LT_EQ] = ACTIONS(807),
    [anon_sym_GT_EQ] = ACTIONS(807),
    [anon_sym_PLUS_PLUS] = ACTIONS(807),
    [anon_sym_DASH_DASH] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(807),
  },
  [387] = {
    [sym__expression] = STATE(682),
    [sym_binary_expression] = STATE(682),
    [sym_unary_expression] = STATE(682),
    [sym_postfix_expression] = STATE(682),
    [sym_parenthesized_expression] = STATE(682),
    [sym_concatenation] = STATE(682),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [388] = {
    [sym__expression] = STATE(682),
    [sym_binary_expression] = STATE(682),
    [sym_unary_expression] = STATE(682),
    [sym_postfix_expression] = STATE(682),
    [sym_parenthesized_expression] = STATE(682),
    [sym_concatenation] = STATE(682),
    [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),
    [sym_regex] = ACTIONS(1314),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [389] = {
    [sym_concatenation] = STATE(818),
    [sym_string] = STATE(821),
    [sym_array] = STATE(818),
    [sym_simple_expansion] = STATE(821),
    [sym_string_expansion] = STATE(821),
    [sym_expansion] = STATE(821),
    [sym_command_substitution] = STATE(821),
    [sym_process_substitution] = STATE(821),
    [sym__empty_value] = ACTIONS(1540),
    [anon_sym_LPAREN] = ACTIONS(1542),
    [sym__special_characters] = ACTIONS(1544),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(1546),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1546),
  },
  [390] = {
    [sym_string] = STATE(822),
    [sym_simple_expansion] = STATE(822),
    [sym_string_expansion] = STATE(822),
    [sym_expansion] = STATE(822),
    [sym_command_substitution] = STATE(822),
    [sym_process_substitution] = STATE(822),
    [sym__special_characters] = ACTIONS(1548),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(1548),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1548),
  },
  [391] = {
    [aux_sym_concatenation_repeat1] = STATE(823),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(807),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [392] = {
    [sym__concat] = ACTIONS(811),
    [sym_variable_name] = ACTIONS(811),
    [ts_builtin_sym_end] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(813),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [393] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1550),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [394] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1550),
    [anon_sym_DOLLAR] = ACTIONS(1552),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [395] = {
    [sym__concat] = ACTIONS(845),
    [sym_variable_name] = ACTIONS(845),
    [ts_builtin_sym_end] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(847),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [396] = {
    [sym__concat] = ACTIONS(849),
    [sym_variable_name] = ACTIONS(849),
    [ts_builtin_sym_end] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(851),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [397] = {
    [sym__concat] = ACTIONS(853),
    [sym_variable_name] = ACTIONS(853),
    [ts_builtin_sym_end] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(855),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [398] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1554),
    [sym_comment] = ACTIONS(55),
  },
  [399] = {
    [sym_subscript] = STATE(829),
    [sym_variable_name] = ACTIONS(1556),
    [anon_sym_DASH] = ACTIONS(1558),
    [anon_sym_DOLLAR] = ACTIONS(1558),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1560),
    [anon_sym_STAR] = ACTIONS(1562),
    [anon_sym_AT] = ACTIONS(1562),
    [anon_sym_QMARK] = ACTIONS(1562),
    [anon_sym_0] = ACTIONS(1560),
    [anon_sym__] = ACTIONS(1560),
  },
  [400] = {
    [sym_concatenation] = STATE(832),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(832),
    [anon_sym_RBRACE] = ACTIONS(1564),
    [anon_sym_EQ] = ACTIONS(1566),
    [anon_sym_DASH] = ACTIONS(1566),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1568),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1570),
    [anon_sym_COLON] = ACTIONS(1566),
    [anon_sym_COLON_QMARK] = ACTIONS(1566),
    [anon_sym_COLON_DASH] = ACTIONS(1566),
    [anon_sym_PERCENT] = ACTIONS(1566),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [401] = {
    [sym_concatenation] = STATE(835),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(835),
    [anon_sym_RBRACE] = ACTIONS(1572),
    [anon_sym_EQ] = ACTIONS(1574),
    [anon_sym_DASH] = ACTIONS(1574),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1576),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1578),
    [anon_sym_COLON] = ACTIONS(1574),
    [anon_sym_COLON_QMARK] = ACTIONS(1574),
    [anon_sym_COLON_DASH] = ACTIONS(1574),
    [anon_sym_PERCENT] = ACTIONS(1574),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [402] = {
    [anon_sym_SEMI] = ACTIONS(1580),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1582),
    [anon_sym_SEMI_SEMI] = ACTIONS(1584),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1584),
    [anon_sym_AMP] = ACTIONS(1580),
  },
  [403] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1580),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1582),
    [anon_sym_SEMI_SEMI] = ACTIONS(1584),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1584),
    [anon_sym_AMP] = ACTIONS(1580),
  },
  [404] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(838),
    [sym_c_style_for_statement] = STATE(838),
    [sym_while_statement] = STATE(838),
    [sym_if_statement] = STATE(838),
    [sym_case_statement] = STATE(838),
    [sym_function_definition] = STATE(838),
    [sym_subshell] = STATE(838),
    [sym_pipeline] = STATE(838),
    [sym_list] = STATE(838),
    [sym_negated_command] = STATE(838),
    [sym_test_command] = STATE(838),
    [sym_declaration_command] = STATE(838),
    [sym_unset_command] = STATE(838),
    [sym_command] = STATE(838),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(839),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [405] = {
    [anon_sym_SEMI] = ACTIONS(1586),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1588),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1582),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1588),
    [anon_sym_AMP] = ACTIONS(1586),
  },
  [406] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1586),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1588),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1582),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1588),
    [anon_sym_AMP] = ACTIONS(1586),
  },
  [407] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(841),
    [sym_c_style_for_statement] = STATE(841),
    [sym_while_statement] = STATE(841),
    [sym_if_statement] = STATE(841),
    [sym_case_statement] = STATE(841),
    [sym_function_definition] = STATE(841),
    [sym_subshell] = STATE(841),
    [sym_pipeline] = STATE(841),
    [sym_list] = STATE(841),
    [sym_negated_command] = STATE(841),
    [sym_test_command] = STATE(841),
    [sym_declaration_command] = STATE(841),
    [sym_unset_command] = STATE(841),
    [sym_command] = STATE(841),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(842),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [408] = {
    [anon_sym_SEMI] = ACTIONS(1590),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1592),
    [anon_sym_SEMI_SEMI] = ACTIONS(1594),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1594),
    [anon_sym_AMP] = ACTIONS(1590),
  },
  [409] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1590),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1592),
    [anon_sym_SEMI_SEMI] = ACTIONS(1594),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1594),
    [anon_sym_AMP] = ACTIONS(1590),
  },
  [410] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(845),
    [sym_c_style_for_statement] = STATE(845),
    [sym_while_statement] = STATE(845),
    [sym_if_statement] = STATE(845),
    [sym_case_statement] = STATE(845),
    [sym_function_definition] = STATE(845),
    [sym_subshell] = STATE(845),
    [sym_pipeline] = STATE(845),
    [sym_list] = STATE(845),
    [sym_negated_command] = STATE(845),
    [sym_test_command] = STATE(845),
    [sym_declaration_command] = STATE(845),
    [sym_unset_command] = STATE(845),
    [sym_command] = STATE(845),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(846),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [411] = {
    [sym_variable_assignment] = STATE(411),
    [sym_subscript] = STATE(124),
    [sym_concatenation] = STATE(411),
    [sym_string] = STATE(119),
    [sym_simple_expansion] = STATE(119),
    [sym_string_expansion] = STATE(119),
    [sym_expansion] = STATE(119),
    [sym_command_substitution] = STATE(119),
    [sym_process_substitution] = STATE(119),
    [aux_sym_declaration_command_repeat1] = STATE(411),
    [sym_variable_name] = ACTIONS(1596),
    [ts_builtin_sym_end] = ACTIONS(1599),
    [anon_sym_SEMI] = ACTIONS(1601),
    [anon_sym_PIPE] = ACTIONS(1601),
    [anon_sym_SEMI_SEMI] = ACTIONS(1599),
    [anon_sym_PIPE_AMP] = ACTIONS(1599),
    [anon_sym_AMP_AMP] = ACTIONS(1599),
    [anon_sym_PIPE_PIPE] = ACTIONS(1599),
    [sym__special_characters] = ACTIONS(1603),
    [anon_sym_DQUOTE] = ACTIONS(1606),
    [anon_sym_DOLLAR] = ACTIONS(1609),
    [sym_raw_string] = ACTIONS(1612),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1618),
    [anon_sym_BQUOTE] = ACTIONS(1621),
    [anon_sym_LT_LPAREN] = ACTIONS(1624),
    [anon_sym_GT_LPAREN] = ACTIONS(1624),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1627),
    [sym_word] = ACTIONS(1630),
    [anon_sym_LF] = ACTIONS(1599),
    [anon_sym_AMP] = ACTIONS(1601),
  },
  [412] = {
    [sym_string] = STATE(847),
    [sym_simple_expansion] = STATE(847),
    [sym_string_expansion] = STATE(847),
    [sym_expansion] = STATE(847),
    [sym_command_substitution] = STATE(847),
    [sym_process_substitution] = STATE(847),
    [sym__special_characters] = ACTIONS(1633),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(1633),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1633),
  },
  [413] = {
    [aux_sym_concatenation_repeat1] = STATE(848),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [414] = {
    [sym__concat] = ACTIONS(811),
    [ts_builtin_sym_end] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(813),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [415] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1635),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [416] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1635),
    [anon_sym_DOLLAR] = ACTIONS(1637),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [417] = {
    [sym__concat] = ACTIONS(845),
    [ts_builtin_sym_end] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(847),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [418] = {
    [sym__concat] = ACTIONS(849),
    [ts_builtin_sym_end] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(851),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [419] = {
    [sym__concat] = ACTIONS(853),
    [ts_builtin_sym_end] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(855),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [420] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1639),
    [sym_comment] = ACTIONS(55),
  },
  [421] = {
    [sym_subscript] = STATE(854),
    [sym_variable_name] = ACTIONS(1641),
    [anon_sym_DASH] = ACTIONS(1643),
    [anon_sym_DOLLAR] = ACTIONS(1643),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1645),
    [anon_sym_STAR] = ACTIONS(1647),
    [anon_sym_AT] = ACTIONS(1647),
    [anon_sym_QMARK] = ACTIONS(1647),
    [anon_sym_0] = ACTIONS(1645),
    [anon_sym__] = ACTIONS(1645),
  },
  [422] = {
    [sym_concatenation] = STATE(857),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(857),
    [anon_sym_RBRACE] = ACTIONS(1649),
    [anon_sym_EQ] = ACTIONS(1651),
    [anon_sym_DASH] = ACTIONS(1651),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1653),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1655),
    [anon_sym_COLON] = ACTIONS(1651),
    [anon_sym_COLON_QMARK] = ACTIONS(1651),
    [anon_sym_COLON_DASH] = ACTIONS(1651),
    [anon_sym_PERCENT] = ACTIONS(1651),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [423] = {
    [sym_concatenation] = STATE(860),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(860),
    [anon_sym_RBRACE] = ACTIONS(1657),
    [anon_sym_EQ] = ACTIONS(1659),
    [anon_sym_DASH] = ACTIONS(1659),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1661),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1663),
    [anon_sym_COLON] = ACTIONS(1659),
    [anon_sym_COLON_QMARK] = ACTIONS(1659),
    [anon_sym_COLON_DASH] = ACTIONS(1659),
    [anon_sym_PERCENT] = ACTIONS(1659),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [424] = {
    [anon_sym_SEMI] = ACTIONS(1665),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1667),
    [anon_sym_SEMI_SEMI] = ACTIONS(1669),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1669),
    [anon_sym_AMP] = ACTIONS(1665),
  },
  [425] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1665),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1667),
    [anon_sym_SEMI_SEMI] = ACTIONS(1669),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1669),
    [anon_sym_AMP] = ACTIONS(1665),
  },
  [426] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(863),
    [sym_c_style_for_statement] = STATE(863),
    [sym_while_statement] = STATE(863),
    [sym_if_statement] = STATE(863),
    [sym_case_statement] = STATE(863),
    [sym_function_definition] = STATE(863),
    [sym_subshell] = STATE(863),
    [sym_pipeline] = STATE(863),
    [sym_list] = STATE(863),
    [sym_negated_command] = STATE(863),
    [sym_test_command] = STATE(863),
    [sym_declaration_command] = STATE(863),
    [sym_unset_command] = STATE(863),
    [sym_command] = STATE(863),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(864),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [427] = {
    [anon_sym_SEMI] = ACTIONS(1671),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1673),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1667),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1673),
    [anon_sym_AMP] = ACTIONS(1671),
  },
  [428] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1671),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1673),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1667),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1673),
    [anon_sym_AMP] = ACTIONS(1671),
  },
  [429] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(866),
    [sym_c_style_for_statement] = STATE(866),
    [sym_while_statement] = STATE(866),
    [sym_if_statement] = STATE(866),
    [sym_case_statement] = STATE(866),
    [sym_function_definition] = STATE(866),
    [sym_subshell] = STATE(866),
    [sym_pipeline] = STATE(866),
    [sym_list] = STATE(866),
    [sym_negated_command] = STATE(866),
    [sym_test_command] = STATE(866),
    [sym_declaration_command] = STATE(866),
    [sym_unset_command] = STATE(866),
    [sym_command] = STATE(866),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(867),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [430] = {
    [anon_sym_SEMI] = ACTIONS(1675),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1677),
    [anon_sym_SEMI_SEMI] = ACTIONS(1679),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1679),
    [anon_sym_AMP] = ACTIONS(1675),
  },
  [431] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1675),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1677),
    [anon_sym_SEMI_SEMI] = ACTIONS(1679),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1679),
    [anon_sym_AMP] = ACTIONS(1675),
  },
  [432] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(870),
    [sym_c_style_for_statement] = STATE(870),
    [sym_while_statement] = STATE(870),
    [sym_if_statement] = STATE(870),
    [sym_case_statement] = STATE(870),
    [sym_function_definition] = STATE(870),
    [sym_subshell] = STATE(870),
    [sym_pipeline] = STATE(870),
    [sym_list] = STATE(870),
    [sym_negated_command] = STATE(870),
    [sym_test_command] = STATE(870),
    [sym_declaration_command] = STATE(870),
    [sym_unset_command] = STATE(870),
    [sym_command] = STATE(870),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(871),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [433] = {
    [sym_concatenation] = STATE(433),
    [sym_string] = STATE(129),
    [sym_simple_expansion] = STATE(129),
    [sym_string_expansion] = STATE(129),
    [sym_expansion] = STATE(129),
    [sym_command_substitution] = STATE(129),
    [sym_process_substitution] = STATE(129),
    [aux_sym_unset_command_repeat1] = STATE(433),
    [ts_builtin_sym_end] = ACTIONS(1681),
    [anon_sym_SEMI] = ACTIONS(1683),
    [anon_sym_PIPE] = ACTIONS(1683),
    [anon_sym_SEMI_SEMI] = ACTIONS(1681),
    [anon_sym_PIPE_AMP] = ACTIONS(1681),
    [anon_sym_AMP_AMP] = ACTIONS(1681),
    [anon_sym_PIPE_PIPE] = ACTIONS(1681),
    [sym__special_characters] = ACTIONS(1685),
    [anon_sym_DQUOTE] = ACTIONS(1688),
    [anon_sym_DOLLAR] = ACTIONS(1691),
    [sym_raw_string] = ACTIONS(1694),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1697),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1700),
    [anon_sym_BQUOTE] = ACTIONS(1703),
    [anon_sym_LT_LPAREN] = ACTIONS(1706),
    [anon_sym_GT_LPAREN] = ACTIONS(1706),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1709),
    [sym_word] = ACTIONS(1712),
    [anon_sym_LF] = ACTIONS(1681),
    [anon_sym_AMP] = ACTIONS(1683),
  },
  [434] = {
    [sym_string] = STATE(872),
    [sym_simple_expansion] = STATE(872),
    [sym_string_expansion] = STATE(872),
    [sym_expansion] = STATE(872),
    [sym_command_substitution] = STATE(872),
    [sym_process_substitution] = STATE(872),
    [sym__special_characters] = ACTIONS(1715),
    [anon_sym_DQUOTE] = ACTIONS(249),
    [anon_sym_DOLLAR] = ACTIONS(251),
    [sym_raw_string] = ACTIONS(1715),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(255),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(257),
    [anon_sym_BQUOTE] = ACTIONS(259),
    [anon_sym_LT_LPAREN] = ACTIONS(261),
    [anon_sym_GT_LPAREN] = ACTIONS(261),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1715),
  },
  [435] = {
    [aux_sym_concatenation_repeat1] = STATE(873),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(807),
  },
  [436] = {
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [sym_variable_name] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(811),
  },
  [437] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1717),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [438] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1717),
    [anon_sym_DOLLAR] = ACTIONS(1719),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [439] = {
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [sym_variable_name] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(845),
  },
  [440] = {
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [sym_variable_name] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(849),
  },
  [441] = {
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [sym_variable_name] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(853),
  },
  [442] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1721),
    [sym_comment] = ACTIONS(55),
  },
  [443] = {
    [sym_subscript] = STATE(879),
    [sym_variable_name] = ACTIONS(1723),
    [anon_sym_DASH] = ACTIONS(1725),
    [anon_sym_DOLLAR] = ACTIONS(1725),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1727),
    [anon_sym_STAR] = ACTIONS(1729),
    [anon_sym_AT] = ACTIONS(1729),
    [anon_sym_QMARK] = ACTIONS(1729),
    [anon_sym_0] = ACTIONS(1727),
    [anon_sym__] = ACTIONS(1727),
  },
  [444] = {
    [sym_concatenation] = STATE(882),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(882),
    [anon_sym_RBRACE] = ACTIONS(1731),
    [anon_sym_EQ] = ACTIONS(1733),
    [anon_sym_DASH] = ACTIONS(1733),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1735),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1737),
    [anon_sym_COLON] = ACTIONS(1733),
    [anon_sym_COLON_QMARK] = ACTIONS(1733),
    [anon_sym_COLON_DASH] = ACTIONS(1733),
    [anon_sym_PERCENT] = ACTIONS(1733),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [445] = {
    [sym_concatenation] = STATE(885),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(885),
    [anon_sym_RBRACE] = ACTIONS(1739),
    [anon_sym_EQ] = ACTIONS(1741),
    [anon_sym_DASH] = ACTIONS(1741),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1743),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1745),
    [anon_sym_COLON] = ACTIONS(1741),
    [anon_sym_COLON_QMARK] = ACTIONS(1741),
    [anon_sym_COLON_DASH] = ACTIONS(1741),
    [anon_sym_PERCENT] = ACTIONS(1741),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [446] = {
    [anon_sym_SEMI] = ACTIONS(1747),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1749),
    [anon_sym_SEMI_SEMI] = ACTIONS(1751),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1751),
    [anon_sym_AMP] = ACTIONS(1747),
  },
  [447] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1747),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1749),
    [anon_sym_SEMI_SEMI] = ACTIONS(1751),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1751),
    [anon_sym_AMP] = ACTIONS(1747),
  },
  [448] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(888),
    [sym_c_style_for_statement] = STATE(888),
    [sym_while_statement] = STATE(888),
    [sym_if_statement] = STATE(888),
    [sym_case_statement] = STATE(888),
    [sym_function_definition] = STATE(888),
    [sym_subshell] = STATE(888),
    [sym_pipeline] = STATE(888),
    [sym_list] = STATE(888),
    [sym_negated_command] = STATE(888),
    [sym_test_command] = STATE(888),
    [sym_declaration_command] = STATE(888),
    [sym_unset_command] = STATE(888),
    [sym_command] = STATE(888),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(889),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [449] = {
    [anon_sym_SEMI] = ACTIONS(1753),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1755),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1749),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1755),
    [anon_sym_AMP] = ACTIONS(1753),
  },
  [450] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1753),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1755),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1749),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1755),
    [anon_sym_AMP] = ACTIONS(1753),
  },
  [451] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(891),
    [sym_c_style_for_statement] = STATE(891),
    [sym_while_statement] = STATE(891),
    [sym_if_statement] = STATE(891),
    [sym_case_statement] = STATE(891),
    [sym_function_definition] = STATE(891),
    [sym_subshell] = STATE(891),
    [sym_pipeline] = STATE(891),
    [sym_list] = STATE(891),
    [sym_negated_command] = STATE(891),
    [sym_test_command] = STATE(891),
    [sym_declaration_command] = STATE(891),
    [sym_unset_command] = STATE(891),
    [sym_command] = STATE(891),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(892),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [452] = {
    [anon_sym_SEMI] = ACTIONS(1757),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1759),
    [anon_sym_SEMI_SEMI] = ACTIONS(1761),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1761),
    [anon_sym_AMP] = ACTIONS(1757),
  },
  [453] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1757),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1759),
    [anon_sym_SEMI_SEMI] = ACTIONS(1761),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1761),
    [anon_sym_AMP] = ACTIONS(1757),
  },
  [454] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(895),
    [sym_c_style_for_statement] = STATE(895),
    [sym_while_statement] = STATE(895),
    [sym_if_statement] = STATE(895),
    [sym_case_statement] = STATE(895),
    [sym_function_definition] = STATE(895),
    [sym_subshell] = STATE(895),
    [sym_pipeline] = STATE(895),
    [sym_list] = STATE(895),
    [sym_negated_command] = STATE(895),
    [sym_test_command] = STATE(895),
    [sym_declaration_command] = STATE(895),
    [sym_unset_command] = STATE(895),
    [sym_command] = STATE(895),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(896),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [455] = {
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [456] = {
    [aux_sym_concatenation_repeat1] = STATE(456),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [457] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(847),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym__string_content] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(847),
    [anon_sym_BQUOTE] = ACTIONS(847),
    [sym_comment] = ACTIONS(281),
  },
  [458] = {
    [sym__simple_heredoc_body] = ACTIONS(1770),
    [sym__heredoc_body_beginning] = ACTIONS(1770),
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [ts_builtin_sym_end] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1772),
    [anon_sym_EQ_EQ] = ACTIONS(1772),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [anon_sym_LT_LT] = ACTIONS(1772),
    [anon_sym_LT_LT_DASH] = ACTIONS(1770),
    [anon_sym_LT_LT_LT] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [459] = {
    [sym__concat] = ACTIONS(1774),
    [anon_sym_DQUOTE] = ACTIONS(1776),
    [anon_sym_DOLLAR] = ACTIONS(1776),
    [sym__string_content] = ACTIONS(1778),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1776),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1776),
    [anon_sym_BQUOTE] = ACTIONS(1776),
    [sym_comment] = ACTIONS(281),
  },
  [460] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(855),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym__string_content] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(855),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(855),
    [anon_sym_BQUOTE] = ACTIONS(855),
    [sym_comment] = ACTIONS(281),
  },
  [461] = {
    [anon_sym_DQUOTE] = ACTIONS(1776),
    [anon_sym_DOLLAR] = ACTIONS(1776),
    [sym__string_content] = ACTIONS(1778),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1776),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1776),
    [anon_sym_BQUOTE] = ACTIONS(1776),
    [sym_comment] = ACTIONS(281),
  },
  [462] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1780),
    [sym_comment] = ACTIONS(55),
  },
  [463] = {
    [sym_subscript] = STATE(901),
    [sym_variable_name] = ACTIONS(1782),
    [anon_sym_DASH] = ACTIONS(1784),
    [anon_sym_DOLLAR] = ACTIONS(1784),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1786),
    [anon_sym_STAR] = ACTIONS(1788),
    [anon_sym_AT] = ACTIONS(1788),
    [anon_sym_QMARK] = ACTIONS(1788),
    [anon_sym_0] = ACTIONS(1786),
    [anon_sym__] = ACTIONS(1786),
  },
  [464] = {
    [sym_concatenation] = STATE(904),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(904),
    [anon_sym_RBRACE] = ACTIONS(1790),
    [anon_sym_EQ] = ACTIONS(1792),
    [anon_sym_DASH] = ACTIONS(1792),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1794),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1796),
    [anon_sym_COLON] = ACTIONS(1792),
    [anon_sym_COLON_QMARK] = ACTIONS(1792),
    [anon_sym_COLON_DASH] = ACTIONS(1792),
    [anon_sym_PERCENT] = ACTIONS(1792),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [465] = {
    [sym_concatenation] = STATE(907),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(907),
    [anon_sym_RBRACE] = ACTIONS(1798),
    [anon_sym_EQ] = ACTIONS(1800),
    [anon_sym_DASH] = ACTIONS(1800),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1802),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1804),
    [anon_sym_COLON] = ACTIONS(1800),
    [anon_sym_COLON_QMARK] = ACTIONS(1800),
    [anon_sym_COLON_DASH] = ACTIONS(1800),
    [anon_sym_PERCENT] = ACTIONS(1800),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [466] = {
    [anon_sym_SEMI] = ACTIONS(1806),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1808),
    [anon_sym_SEMI_SEMI] = ACTIONS(1810),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1810),
    [anon_sym_AMP] = ACTIONS(1806),
  },
  [467] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1806),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1808),
    [anon_sym_SEMI_SEMI] = ACTIONS(1810),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1810),
    [anon_sym_AMP] = ACTIONS(1806),
  },
  [468] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(910),
    [sym_c_style_for_statement] = STATE(910),
    [sym_while_statement] = STATE(910),
    [sym_if_statement] = STATE(910),
    [sym_case_statement] = STATE(910),
    [sym_function_definition] = STATE(910),
    [sym_subshell] = STATE(910),
    [sym_pipeline] = STATE(910),
    [sym_list] = STATE(910),
    [sym_negated_command] = STATE(910),
    [sym_test_command] = STATE(910),
    [sym_declaration_command] = STATE(910),
    [sym_unset_command] = STATE(910),
    [sym_command] = STATE(910),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(911),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [469] = {
    [anon_sym_SEMI] = ACTIONS(1812),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1814),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1808),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1814),
    [anon_sym_AMP] = ACTIONS(1812),
  },
  [470] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1812),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1814),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1808),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1814),
    [anon_sym_AMP] = ACTIONS(1812),
  },
  [471] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(913),
    [sym_c_style_for_statement] = STATE(913),
    [sym_while_statement] = STATE(913),
    [sym_if_statement] = STATE(913),
    [sym_case_statement] = STATE(913),
    [sym_function_definition] = STATE(913),
    [sym_subshell] = STATE(913),
    [sym_pipeline] = STATE(913),
    [sym_list] = STATE(913),
    [sym_negated_command] = STATE(913),
    [sym_test_command] = STATE(913),
    [sym_declaration_command] = STATE(913),
    [sym_unset_command] = STATE(913),
    [sym_command] = STATE(913),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(914),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [472] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(1816),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [473] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(1776),
    [anon_sym_DOLLAR] = ACTIONS(1818),
    [sym__string_content] = ACTIONS(1821),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1824),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1827),
    [anon_sym_BQUOTE] = ACTIONS(1830),
    [sym_comment] = ACTIONS(281),
  },
  [474] = {
    [sym_concatenation] = STATE(919),
    [sym_string] = STATE(918),
    [sym_simple_expansion] = STATE(918),
    [sym_string_expansion] = STATE(918),
    [sym_expansion] = STATE(918),
    [sym_command_substitution] = STATE(918),
    [sym_process_substitution] = STATE(918),
    [sym__special_characters] = ACTIONS(1833),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1835),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1835),
  },
  [475] = {
    [sym_concatenation] = STATE(929),
    [sym_string] = STATE(924),
    [sym_simple_expansion] = STATE(924),
    [sym_string_expansion] = STATE(924),
    [sym_expansion] = STATE(924),
    [sym_command_substitution] = STATE(924),
    [sym_process_substitution] = STATE(924),
    [anon_sym_RBRACE] = ACTIONS(1837),
    [sym__special_characters] = ACTIONS(1839),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(1845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1845),
  },
  [476] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(1855),
    [sym_comment] = ACTIONS(55),
  },
  [477] = {
    [sym_concatenation] = STATE(933),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(933),
    [anon_sym_RBRACE] = ACTIONS(1857),
    [anon_sym_EQ] = ACTIONS(1859),
    [anon_sym_DASH] = ACTIONS(1859),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1861),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1863),
    [anon_sym_COLON] = ACTIONS(1859),
    [anon_sym_COLON_QMARK] = ACTIONS(1859),
    [anon_sym_COLON_DASH] = ACTIONS(1859),
    [anon_sym_PERCENT] = ACTIONS(1859),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [478] = {
    [sym_concatenation] = STATE(935),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(935),
    [anon_sym_RBRACE] = ACTIONS(1837),
    [anon_sym_EQ] = ACTIONS(1865),
    [anon_sym_DASH] = ACTIONS(1865),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1867),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(1869),
    [anon_sym_COLON] = ACTIONS(1865),
    [anon_sym_COLON_QMARK] = ACTIONS(1865),
    [anon_sym_COLON_DASH] = ACTIONS(1865),
    [anon_sym_PERCENT] = ACTIONS(1865),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [479] = {
    [sym__simple_heredoc_body] = ACTIONS(1871),
    [sym__heredoc_body_beginning] = ACTIONS(1871),
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [ts_builtin_sym_end] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1873),
    [anon_sym_EQ_EQ] = ACTIONS(1873),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [anon_sym_LT_LT] = ACTIONS(1873),
    [anon_sym_LT_LT_DASH] = ACTIONS(1871),
    [anon_sym_LT_LT_LT] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [480] = {
    [aux_sym_concatenation_repeat1] = STATE(937),
    [sym__concat] = ACTIONS(1875),
    [anon_sym_RBRACE] = ACTIONS(1877),
    [anon_sym_EQ] = ACTIONS(1879),
    [anon_sym_DASH] = ACTIONS(1879),
    [sym__special_characters] = ACTIONS(1879),
    [anon_sym_DQUOTE] = ACTIONS(1877),
    [anon_sym_DOLLAR] = ACTIONS(1879),
    [sym_raw_string] = ACTIONS(1877),
    [anon_sym_POUND] = ACTIONS(1877),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1877),
    [anon_sym_COLON] = ACTIONS(1879),
    [anon_sym_COLON_QMARK] = ACTIONS(1879),
    [anon_sym_COLON_DASH] = ACTIONS(1879),
    [anon_sym_PERCENT] = ACTIONS(1879),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1877),
    [anon_sym_BQUOTE] = ACTIONS(1877),
    [anon_sym_LT_LPAREN] = ACTIONS(1877),
    [anon_sym_GT_LPAREN] = ACTIONS(1877),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1879),
  },
  [481] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(940),
    [anon_sym_DQUOTE] = ACTIONS(1881),
    [anon_sym_DOLLAR] = ACTIONS(1883),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [482] = {
    [sym_string] = STATE(942),
    [anon_sym_DASH] = ACTIONS(1885),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(1885),
    [sym_raw_string] = ACTIONS(1887),
    [anon_sym_POUND] = ACTIONS(1885),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1889),
    [anon_sym_STAR] = ACTIONS(1891),
    [anon_sym_AT] = ACTIONS(1891),
    [anon_sym_QMARK] = ACTIONS(1891),
    [anon_sym_0] = ACTIONS(1889),
    [anon_sym__] = ACTIONS(1889),
  },
  [483] = {
    [aux_sym_concatenation_repeat1] = STATE(937),
    [sym__concat] = ACTIONS(1875),
    [anon_sym_RBRACE] = ACTIONS(1893),
    [anon_sym_EQ] = ACTIONS(1895),
    [anon_sym_DASH] = ACTIONS(1895),
    [sym__special_characters] = ACTIONS(1895),
    [anon_sym_DQUOTE] = ACTIONS(1893),
    [anon_sym_DOLLAR] = ACTIONS(1895),
    [sym_raw_string] = ACTIONS(1893),
    [anon_sym_POUND] = ACTIONS(1893),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1893),
    [anon_sym_COLON] = ACTIONS(1895),
    [anon_sym_COLON_QMARK] = ACTIONS(1895),
    [anon_sym_COLON_DASH] = ACTIONS(1895),
    [anon_sym_PERCENT] = ACTIONS(1895),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1893),
    [anon_sym_BQUOTE] = ACTIONS(1893),
    [anon_sym_LT_LPAREN] = ACTIONS(1893),
    [anon_sym_GT_LPAREN] = ACTIONS(1893),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1895),
  },
  [484] = {
    [sym_subscript] = STATE(947),
    [sym_variable_name] = ACTIONS(1897),
    [anon_sym_BANG] = ACTIONS(1899),
    [anon_sym_DASH] = ACTIONS(1901),
    [anon_sym_DOLLAR] = ACTIONS(1901),
    [anon_sym_POUND] = ACTIONS(1899),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1903),
    [anon_sym_STAR] = ACTIONS(1905),
    [anon_sym_AT] = ACTIONS(1905),
    [anon_sym_QMARK] = ACTIONS(1905),
    [anon_sym_0] = ACTIONS(1903),
    [anon_sym__] = ACTIONS(1903),
  },
  [485] = {
    [sym_concatenation] = STATE(950),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(950),
    [sym_regex] = ACTIONS(1907),
    [anon_sym_RBRACE] = ACTIONS(1909),
    [anon_sym_EQ] = ACTIONS(1911),
    [anon_sym_DASH] = ACTIONS(1911),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1913),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1911),
    [anon_sym_COLON_QMARK] = ACTIONS(1911),
    [anon_sym_COLON_DASH] = ACTIONS(1911),
    [anon_sym_PERCENT] = ACTIONS(1911),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [486] = {
    [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(92),
    [sym_variable_assignment] = STATE(952),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(953),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [487] = {
    [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(173),
    [sym_variable_assignment] = STATE(955),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(956),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [488] = {
    [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(92),
    [sym_variable_assignment] = STATE(958),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(959),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [489] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(1909),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [490] = {
    [sym__simple_heredoc_body] = ACTIONS(1919),
    [sym__heredoc_body_beginning] = ACTIONS(1919),
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [ts_builtin_sym_end] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1921),
    [anon_sym_EQ_EQ] = ACTIONS(1921),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [anon_sym_LT_LT] = ACTIONS(1921),
    [anon_sym_LT_LT_DASH] = ACTIONS(1919),
    [anon_sym_LT_LT_LT] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [491] = {
    [sym_concatenation] = STATE(935),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(935),
    [sym_regex] = ACTIONS(1923),
    [anon_sym_RBRACE] = ACTIONS(1837),
    [anon_sym_EQ] = ACTIONS(1865),
    [anon_sym_DASH] = ACTIONS(1865),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1867),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1865),
    [anon_sym_COLON_QMARK] = ACTIONS(1865),
    [anon_sym_COLON_DASH] = ACTIONS(1865),
    [anon_sym_PERCENT] = ACTIONS(1865),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [492] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(1837),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [493] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(1925),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [494] = {
    [sym__simple_heredoc_body] = ACTIONS(1927),
    [sym__heredoc_body_beginning] = ACTIONS(1927),
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [ts_builtin_sym_end] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1929),
    [anon_sym_EQ_EQ] = ACTIONS(1929),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [anon_sym_LT_LT] = ACTIONS(1929),
    [anon_sym_LT_LT_DASH] = ACTIONS(1927),
    [anon_sym_LT_LT_LT] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [495] = {
    [anon_sym_SEMI] = ACTIONS(1931),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1925),
    [anon_sym_SEMI_SEMI] = ACTIONS(1933),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1933),
    [anon_sym_AMP] = ACTIONS(1931),
  },
  [496] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1931),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1925),
    [anon_sym_SEMI_SEMI] = ACTIONS(1933),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1933),
    [anon_sym_AMP] = ACTIONS(1931),
  },
  [497] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1935),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [498] = {
    [sym_do_group] = STATE(965),
    [anon_sym_do] = ACTIONS(525),
    [sym_comment] = ACTIONS(55),
  },
  [499] = {
    [sym_compound_statement] = STATE(967),
    [anon_sym_LPAREN] = ACTIONS(1937),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [500] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(1935),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [501] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1935),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [502] = {
    [sym_variable_assignment] = STATE(692),
    [sym_subscript] = STATE(277),
    [sym_concatenation] = STATE(692),
    [sym_string] = STATE(276),
    [sym_simple_expansion] = STATE(276),
    [sym_string_expansion] = STATE(276),
    [sym_expansion] = STATE(276),
    [sym_command_substitution] = STATE(276),
    [sym_process_substitution] = STATE(276),
    [aux_sym_declaration_command_repeat1] = STATE(692),
    [sym_variable_name] = ACTIONS(505),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(729),
    [anon_sym_PIPE_AMP] = ACTIONS(729),
    [anon_sym_AMP_AMP] = ACTIONS(729),
    [anon_sym_PIPE_PIPE] = ACTIONS(729),
    [sym__special_characters] = ACTIONS(507),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(509),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(729),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1330),
    [sym_word] = ACTIONS(513),
    [anon_sym_LF] = ACTIONS(729),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [503] = {
    [sym_concatenation] = STATE(694),
    [sym_string] = STATE(280),
    [sym_simple_expansion] = STATE(280),
    [sym_string_expansion] = STATE(280),
    [sym_expansion] = STATE(280),
    [sym_command_substitution] = STATE(280),
    [sym_process_substitution] = STATE(280),
    [aux_sym_unset_command_repeat1] = STATE(694),
    [anon_sym_SEMI] = ACTIONS(769),
    [anon_sym_PIPE] = ACTIONS(769),
    [anon_sym_SEMI_SEMI] = ACTIONS(767),
    [anon_sym_PIPE_AMP] = ACTIONS(767),
    [anon_sym_AMP_AMP] = ACTIONS(767),
    [anon_sym_PIPE_PIPE] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(515),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(517),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(767),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1332),
    [sym_word] = ACTIONS(521),
    [anon_sym_LF] = ACTIONS(767),
    [anon_sym_AMP] = ACTIONS(769),
  },
  [504] = {
    [anon_sym_RPAREN] = ACTIONS(1939),
    [sym_comment] = ACTIONS(55),
  },
  [505] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(1925),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [506] = {
    [sym_for_statement] = STATE(521),
    [sym_c_style_for_statement] = STATE(521),
    [sym_while_statement] = STATE(521),
    [sym_if_statement] = STATE(521),
    [sym_case_statement] = STATE(521),
    [sym_function_definition] = STATE(521),
    [sym_subshell] = STATE(521),
    [sym_pipeline] = STATE(521),
    [sym_list] = STATE(521),
    [sym_negated_command] = STATE(521),
    [sym_test_command] = STATE(521),
    [sym_declaration_command] = STATE(521),
    [sym_unset_command] = STATE(521),
    [sym_command] = STATE(521),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(969),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [507] = {
    [sym_for_statement] = STATE(970),
    [sym_c_style_for_statement] = STATE(970),
    [sym_while_statement] = STATE(970),
    [sym_if_statement] = STATE(970),
    [sym_case_statement] = STATE(970),
    [sym_function_definition] = STATE(970),
    [sym_subshell] = STATE(970),
    [sym_pipeline] = STATE(970),
    [sym_list] = STATE(970),
    [sym_negated_command] = STATE(970),
    [sym_test_command] = STATE(970),
    [sym_declaration_command] = STATE(970),
    [sym_unset_command] = STATE(970),
    [sym_command] = STATE(970),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(971),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [508] = {
    [anon_sym_LT] = ACTIONS(1941),
    [anon_sym_GT] = ACTIONS(1941),
    [anon_sym_GT_GT] = ACTIONS(1943),
    [anon_sym_AMP_GT] = ACTIONS(1941),
    [anon_sym_AMP_GT_GT] = ACTIONS(1943),
    [anon_sym_LT_AMP] = ACTIONS(1943),
    [anon_sym_GT_AMP] = ACTIONS(1943),
    [sym_comment] = ACTIONS(55),
  },
  [509] = {
    [sym_concatenation] = STATE(535),
    [sym_string] = STATE(974),
    [sym_simple_expansion] = STATE(974),
    [sym_string_expansion] = STATE(974),
    [sym_expansion] = STATE(974),
    [sym_command_substitution] = STATE(974),
    [sym_process_substitution] = STATE(974),
    [sym__special_characters] = ACTIONS(1945),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1947),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1947),
  },
  [510] = {
    [sym_concatenation] = STATE(539),
    [sym_string] = STATE(976),
    [sym_simple_expansion] = STATE(976),
    [sym_string_expansion] = STATE(976),
    [sym_expansion] = STATE(976),
    [sym_command_substitution] = STATE(976),
    [sym_process_substitution] = STATE(976),
    [sym__special_characters] = ACTIONS(1949),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(1951),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1951),
  },
  [511] = {
    [sym_file_redirect] = STATE(977),
    [sym_heredoc_redirect] = STATE(977),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(977),
    [aux_sym_while_statement_repeat1] = STATE(977),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [anon_sym_BQUOTE] = ACTIONS(989),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [512] = {
    [sym_file_redirect] = STATE(978),
    [sym_heredoc_redirect] = STATE(978),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(978),
    [sym_concatenation] = STATE(712),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(978),
    [aux_sym_command_repeat2] = STATE(712),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(989),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [513] = {
    [anon_sym_SEMI] = ACTIONS(1953),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1955),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(1925),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1955),
    [anon_sym_AMP] = ACTIONS(1953),
  },
  [514] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1953),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1955),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1925),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1955),
    [anon_sym_AMP] = ACTIONS(1953),
  },
  [515] = {
    [sym_file_redirect] = STATE(978),
    [sym_heredoc_redirect] = STATE(978),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(978),
    [sym_concatenation] = STATE(980),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(978),
    [aux_sym_command_repeat2] = STATE(980),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(989),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [516] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(1957),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [517] = {
    [sym__simple_heredoc_body] = ACTIONS(1959),
    [sym__heredoc_body_beginning] = ACTIONS(1959),
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [ts_builtin_sym_end] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1961),
    [anon_sym_EQ_EQ] = ACTIONS(1961),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [anon_sym_LT_LT] = ACTIONS(1961),
    [anon_sym_LT_LT_DASH] = ACTIONS(1959),
    [anon_sym_LT_LT_LT] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [518] = {
    [anon_sym_SEMI] = ACTIONS(1963),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1957),
    [anon_sym_SEMI_SEMI] = ACTIONS(1965),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1965),
    [anon_sym_AMP] = ACTIONS(1963),
  },
  [519] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1963),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1957),
    [anon_sym_SEMI_SEMI] = ACTIONS(1965),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1965),
    [anon_sym_AMP] = ACTIONS(1963),
  },
  [520] = {
    [sym_compound_statement] = STATE(983),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [521] = {
    [ts_builtin_sym_end] = ACTIONS(1967),
    [anon_sym_SEMI] = ACTIONS(1969),
    [anon_sym_esac] = ACTIONS(1967),
    [anon_sym_PIPE] = ACTIONS(1969),
    [anon_sym_RPAREN] = ACTIONS(1967),
    [anon_sym_SEMI_SEMI] = ACTIONS(1967),
    [anon_sym_PIPE_AMP] = ACTIONS(1967),
    [anon_sym_AMP_AMP] = ACTIONS(1967),
    [anon_sym_PIPE_PIPE] = ACTIONS(1967),
    [anon_sym_BQUOTE] = ACTIONS(1967),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1967),
    [anon_sym_AMP] = ACTIONS(1969),
  },
  [522] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [ts_builtin_sym_end] = ACTIONS(1967),
    [anon_sym_SEMI] = ACTIONS(1969),
    [anon_sym_PIPE] = ACTIONS(1969),
    [anon_sym_RPAREN] = ACTIONS(1967),
    [anon_sym_SEMI_SEMI] = ACTIONS(1967),
    [anon_sym_PIPE_AMP] = ACTIONS(1967),
    [anon_sym_AMP_AMP] = ACTIONS(1967),
    [anon_sym_PIPE_PIPE] = ACTIONS(1967),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1967),
    [anon_sym_AMP] = ACTIONS(1969),
  },
  [523] = {
    [ts_builtin_sym_end] = ACTIONS(1971),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [524] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [ts_builtin_sym_end] = ACTIONS(1971),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(331),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(335),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [525] = {
    [ts_builtin_sym_end] = ACTIONS(1975),
    [anon_sym_SEMI] = ACTIONS(1977),
    [anon_sym_esac] = ACTIONS(1975),
    [anon_sym_PIPE] = ACTIONS(1977),
    [anon_sym_RPAREN] = ACTIONS(1975),
    [anon_sym_SEMI_SEMI] = ACTIONS(1975),
    [anon_sym_PIPE_AMP] = ACTIONS(1975),
    [anon_sym_AMP_AMP] = ACTIONS(1975),
    [anon_sym_PIPE_PIPE] = ACTIONS(1975),
    [anon_sym_BQUOTE] = ACTIONS(1975),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1975),
    [anon_sym_AMP] = ACTIONS(1977),
  },
  [526] = {
    [anon_sym_DASH] = ACTIONS(1979),
    [anon_sym_DOLLAR] = ACTIONS(1979),
    [anon_sym_POUND] = ACTIONS(1979),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1981),
    [anon_sym_STAR] = ACTIONS(1983),
    [anon_sym_AT] = ACTIONS(1983),
    [anon_sym_QMARK] = ACTIONS(1983),
    [anon_sym_0] = ACTIONS(1981),
    [anon_sym__] = ACTIONS(1981),
  },
  [527] = {
    [sym_subscript] = STATE(989),
    [sym_variable_name] = ACTIONS(1985),
    [anon_sym_BANG] = ACTIONS(1987),
    [anon_sym_DASH] = ACTIONS(1989),
    [anon_sym_DOLLAR] = ACTIONS(1989),
    [anon_sym_POUND] = ACTIONS(1987),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1991),
    [anon_sym_STAR] = ACTIONS(1993),
    [anon_sym_AT] = ACTIONS(1993),
    [anon_sym_QMARK] = ACTIONS(1993),
    [anon_sym_0] = ACTIONS(1991),
    [anon_sym__] = ACTIONS(1991),
  },
  [528] = {
    [sym_simple_expansion] = STATE(991),
    [sym_expansion] = STATE(991),
    [aux_sym_heredoc_body_repeat1] = STATE(991),
    [sym__heredoc_body_middle] = ACTIONS(1995),
    [sym__heredoc_body_end] = ACTIONS(1997),
    [anon_sym_DOLLAR] = ACTIONS(957),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(959),
    [sym_comment] = ACTIONS(55),
  },
  [529] = {
    [sym_concatenation] = STATE(994),
    [sym_string] = STATE(993),
    [sym_simple_expansion] = STATE(993),
    [sym_string_expansion] = STATE(993),
    [sym_expansion] = STATE(993),
    [sym_command_substitution] = STATE(993),
    [sym_process_substitution] = STATE(993),
    [sym__special_characters] = ACTIONS(1999),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(2001),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2001),
  },
  [530] = {
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [ts_builtin_sym_end] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_RPAREN] = ACTIONS(2003),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [531] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(2007),
    [sym__heredoc_body_beginning] = ACTIONS(2007),
    [sym_file_descriptor] = ACTIONS(2007),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(2007),
    [anon_sym_SEMI] = ACTIONS(2009),
    [anon_sym_PIPE] = ACTIONS(2009),
    [anon_sym_SEMI_SEMI] = ACTIONS(2007),
    [anon_sym_PIPE_AMP] = ACTIONS(2007),
    [anon_sym_AMP_AMP] = ACTIONS(2007),
    [anon_sym_PIPE_PIPE] = ACTIONS(2007),
    [anon_sym_EQ_TILDE] = ACTIONS(2009),
    [anon_sym_EQ_EQ] = ACTIONS(2009),
    [anon_sym_LT] = ACTIONS(2009),
    [anon_sym_GT] = ACTIONS(2009),
    [anon_sym_GT_GT] = ACTIONS(2007),
    [anon_sym_AMP_GT] = ACTIONS(2009),
    [anon_sym_AMP_GT_GT] = ACTIONS(2007),
    [anon_sym_LT_AMP] = ACTIONS(2007),
    [anon_sym_GT_AMP] = ACTIONS(2007),
    [anon_sym_LT_LT] = ACTIONS(2009),
    [anon_sym_LT_LT_DASH] = ACTIONS(2007),
    [anon_sym_LT_LT_LT] = ACTIONS(2007),
    [sym__special_characters] = ACTIONS(2007),
    [anon_sym_DQUOTE] = ACTIONS(2007),
    [anon_sym_DOLLAR] = ACTIONS(2009),
    [sym_raw_string] = ACTIONS(2007),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2007),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2007),
    [anon_sym_BQUOTE] = ACTIONS(2007),
    [anon_sym_LT_LPAREN] = ACTIONS(2007),
    [anon_sym_GT_LPAREN] = ACTIONS(2007),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2009),
    [anon_sym_LF] = ACTIONS(2007),
    [anon_sym_AMP] = ACTIONS(2009),
  },
  [532] = {
    [aux_sym_concatenation_repeat1] = STATE(145),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [533] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(773),
    [sym__heredoc_body_beginning] = ACTIONS(773),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(773),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [534] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [535] = {
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [536] = {
    [sym__simple_heredoc_body] = ACTIONS(2011),
    [sym__heredoc_body_beginning] = ACTIONS(2011),
    [sym_file_descriptor] = ACTIONS(2011),
    [ts_builtin_sym_end] = ACTIONS(2011),
    [anon_sym_SEMI] = ACTIONS(2013),
    [anon_sym_esac] = ACTIONS(2011),
    [anon_sym_PIPE] = ACTIONS(2013),
    [anon_sym_RPAREN] = ACTIONS(2011),
    [anon_sym_SEMI_SEMI] = ACTIONS(2011),
    [anon_sym_PIPE_AMP] = ACTIONS(2011),
    [anon_sym_AMP_AMP] = ACTIONS(2011),
    [anon_sym_PIPE_PIPE] = ACTIONS(2011),
    [anon_sym_LT] = ACTIONS(2013),
    [anon_sym_GT] = ACTIONS(2013),
    [anon_sym_GT_GT] = ACTIONS(2011),
    [anon_sym_AMP_GT] = ACTIONS(2013),
    [anon_sym_AMP_GT_GT] = ACTIONS(2011),
    [anon_sym_LT_AMP] = ACTIONS(2011),
    [anon_sym_GT_AMP] = ACTIONS(2011),
    [anon_sym_LT_LT] = ACTIONS(2013),
    [anon_sym_LT_LT_DASH] = ACTIONS(2011),
    [anon_sym_LT_LT_LT] = ACTIONS(2011),
    [anon_sym_BQUOTE] = ACTIONS(2011),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2011),
    [anon_sym_AMP] = ACTIONS(2013),
  },
  [537] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(2015),
    [sym__heredoc_body_beginning] = ACTIONS(2015),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(2015),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [538] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(2019),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [539] = {
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [ts_builtin_sym_end] = ACTIONS(2019),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_esac] = ACTIONS(2019),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_RPAREN] = ACTIONS(2019),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [anon_sym_BQUOTE] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [540] = {
    [ts_builtin_sym_end] = ACTIONS(2023),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_esac] = ACTIONS(2023),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_RPAREN] = ACTIONS(2023),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_BQUOTE] = ACTIONS(2023),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [541] = {
    [sym_file_redirect] = STATE(541),
    [sym_heredoc_redirect] = STATE(541),
    [sym_herestring_redirect] = STATE(541),
    [aux_sym_while_statement_repeat1] = STATE(541),
    [sym__simple_heredoc_body] = ACTIONS(2027),
    [sym__heredoc_body_beginning] = ACTIONS(2027),
    [sym_file_descriptor] = ACTIONS(2029),
    [ts_builtin_sym_end] = ACTIONS(2027),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(2034),
    [anon_sym_GT] = ACTIONS(2034),
    [anon_sym_GT_GT] = ACTIONS(2037),
    [anon_sym_AMP_GT] = ACTIONS(2034),
    [anon_sym_AMP_GT_GT] = ACTIONS(2037),
    [anon_sym_LT_AMP] = ACTIONS(2037),
    [anon_sym_GT_AMP] = ACTIONS(2037),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2043),
    [anon_sym_LT_LT_LT] = ACTIONS(2046),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [542] = {
    [sym_file_redirect] = STATE(541),
    [sym_heredoc_redirect] = STATE(541),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(541),
    [aux_sym_while_statement_repeat1] = STATE(541),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(2023),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [543] = {
    [sym_concatenation] = STATE(543),
    [sym_string] = STATE(192),
    [sym_simple_expansion] = STATE(192),
    [sym_string_expansion] = STATE(192),
    [sym_expansion] = STATE(192),
    [sym_command_substitution] = STATE(192),
    [sym_process_substitution] = STATE(192),
    [aux_sym_command_repeat2] = STATE(543),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [ts_builtin_sym_end] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2049),
    [anon_sym_EQ_EQ] = ACTIONS(2049),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2052),
    [anon_sym_DQUOTE] = ACTIONS(2055),
    [anon_sym_DOLLAR] = ACTIONS(2058),
    [sym_raw_string] = ACTIONS(2061),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2064),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2067),
    [anon_sym_BQUOTE] = ACTIONS(2070),
    [anon_sym_LT_LPAREN] = ACTIONS(2073),
    [anon_sym_GT_LPAREN] = ACTIONS(2073),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2076),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [544] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [ts_builtin_sym_end] = ACTIONS(2079),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [545] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(2083),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [546] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(2083),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [547] = {
    [sym_file_redirect] = STATE(998),
    [sym_heredoc_redirect] = STATE(998),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(998),
    [sym_concatenation] = STATE(543),
    [sym_string] = STATE(192),
    [sym_simple_expansion] = STATE(192),
    [sym_string_expansion] = STATE(192),
    [sym_expansion] = STATE(192),
    [sym_command_substitution] = STATE(192),
    [sym_process_substitution] = STATE(192),
    [aux_sym_while_statement_repeat1] = STATE(998),
    [aux_sym_command_repeat2] = STATE(543),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(2023),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_EQ_TILDE] = ACTIONS(349),
    [anon_sym_EQ_EQ] = ACTIONS(349),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym__special_characters] = ACTIONS(361),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(363),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(365),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [548] = {
    [sym_string] = STATE(790),
    [sym_simple_expansion] = STATE(790),
    [sym_string_expansion] = STATE(790),
    [sym_expansion] = STATE(790),
    [sym_command_substitution] = STATE(790),
    [sym_process_substitution] = STATE(790),
    [anon_sym_RBRACK] = ACTIONS(2085),
    [sym__special_characters] = ACTIONS(2087),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1490),
  },
  [549] = {
    [sym__concat] = ACTIONS(2089),
    [anon_sym_EQ] = ACTIONS(2091),
    [anon_sym_PLUS_EQ] = ACTIONS(2091),
    [sym_comment] = ACTIONS(55),
  },
  [550] = {
    [aux_sym_concatenation_repeat1] = STATE(1001),
    [sym__concat] = ACTIONS(657),
    [anon_sym_RBRACK] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
  },
  [551] = {
    [sym_string] = STATE(790),
    [sym_simple_expansion] = STATE(790),
    [sym_string_expansion] = STATE(790),
    [sym_expansion] = STATE(790),
    [sym_command_substitution] = STATE(790),
    [sym_process_substitution] = STATE(790),
    [anon_sym_RBRACK] = ACTIONS(2093),
    [sym__special_characters] = ACTIONS(2087),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1490),
  },
  [552] = {
    [sym__concat] = ACTIONS(2095),
    [anon_sym_EQ] = ACTIONS(2097),
    [anon_sym_PLUS_EQ] = ACTIONS(2097),
    [sym_comment] = ACTIONS(55),
  },
  [553] = {
    [anon_sym_RBRACK] = ACTIONS(2093),
    [sym_comment] = ACTIONS(55),
  },
  [554] = {
    [sym_file_descriptor] = ACTIONS(2099),
    [sym_variable_name] = ACTIONS(2099),
    [ts_builtin_sym_end] = ACTIONS(2099),
    [anon_sym_SEMI] = ACTIONS(2101),
    [anon_sym_PIPE] = ACTIONS(2101),
    [anon_sym_RPAREN] = ACTIONS(2099),
    [anon_sym_SEMI_SEMI] = ACTIONS(2099),
    [anon_sym_PIPE_AMP] = ACTIONS(2099),
    [anon_sym_AMP_AMP] = ACTIONS(2099),
    [anon_sym_PIPE_PIPE] = ACTIONS(2099),
    [anon_sym_LT] = ACTIONS(2101),
    [anon_sym_GT] = ACTIONS(2101),
    [anon_sym_GT_GT] = ACTIONS(2099),
    [anon_sym_AMP_GT] = ACTIONS(2101),
    [anon_sym_AMP_GT_GT] = ACTIONS(2099),
    [anon_sym_LT_AMP] = ACTIONS(2099),
    [anon_sym_GT_AMP] = ACTIONS(2099),
    [sym__special_characters] = ACTIONS(2099),
    [anon_sym_DQUOTE] = ACTIONS(2099),
    [anon_sym_DOLLAR] = ACTIONS(2101),
    [sym_raw_string] = ACTIONS(2099),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2099),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2099),
    [anon_sym_BQUOTE] = ACTIONS(2099),
    [anon_sym_LT_LPAREN] = ACTIONS(2099),
    [anon_sym_GT_LPAREN] = ACTIONS(2099),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2101),
    [anon_sym_LF] = ACTIONS(2099),
    [anon_sym_AMP] = ACTIONS(2101),
  },
  [555] = {
    [aux_sym_concatenation_repeat1] = STATE(1005),
    [sym__concat] = ACTIONS(2103),
    [anon_sym_RPAREN] = ACTIONS(2105),
    [sym__special_characters] = ACTIONS(2105),
    [anon_sym_DQUOTE] = ACTIONS(2105),
    [anon_sym_DOLLAR] = ACTIONS(2107),
    [sym_raw_string] = ACTIONS(2105),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2105),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2105),
    [anon_sym_BQUOTE] = ACTIONS(2105),
    [anon_sym_LT_LPAREN] = ACTIONS(2105),
    [anon_sym_GT_LPAREN] = ACTIONS(2105),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2105),
  },
  [556] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(1008),
    [anon_sym_DQUOTE] = ACTIONS(2109),
    [anon_sym_DOLLAR] = ACTIONS(2111),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [557] = {
    [sym_string] = STATE(1010),
    [anon_sym_DASH] = ACTIONS(2113),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(2113),
    [sym_raw_string] = ACTIONS(2115),
    [anon_sym_POUND] = ACTIONS(2113),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2117),
    [anon_sym_STAR] = ACTIONS(2119),
    [anon_sym_AT] = ACTIONS(2119),
    [anon_sym_QMARK] = ACTIONS(2119),
    [anon_sym_0] = ACTIONS(2117),
    [anon_sym__] = ACTIONS(2117),
  },
  [558] = {
    [aux_sym_concatenation_repeat1] = STATE(1005),
    [sym__concat] = ACTIONS(2103),
    [anon_sym_RPAREN] = ACTIONS(2121),
    [sym__special_characters] = ACTIONS(2121),
    [anon_sym_DQUOTE] = ACTIONS(2121),
    [anon_sym_DOLLAR] = ACTIONS(2123),
    [sym_raw_string] = ACTIONS(2121),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2121),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2121),
    [anon_sym_BQUOTE] = ACTIONS(2121),
    [anon_sym_LT_LPAREN] = ACTIONS(2121),
    [anon_sym_GT_LPAREN] = ACTIONS(2121),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2121),
  },
  [559] = {
    [sym_subscript] = STATE(1015),
    [sym_variable_name] = ACTIONS(2125),
    [anon_sym_BANG] = ACTIONS(2127),
    [anon_sym_DASH] = ACTIONS(2129),
    [anon_sym_DOLLAR] = ACTIONS(2129),
    [anon_sym_POUND] = ACTIONS(2127),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2131),
    [anon_sym_STAR] = ACTIONS(2133),
    [anon_sym_AT] = ACTIONS(2133),
    [anon_sym_QMARK] = ACTIONS(2133),
    [anon_sym_0] = ACTIONS(2131),
    [anon_sym__] = ACTIONS(2131),
  },
  [560] = {
    [sym__terminated_statement] = STATE(1018),
    [sym_for_statement] = STATE(1016),
    [sym_c_style_for_statement] = STATE(1016),
    [sym_while_statement] = STATE(1016),
    [sym_if_statement] = STATE(1016),
    [sym_case_statement] = STATE(1016),
    [sym_function_definition] = STATE(1016),
    [sym_subshell] = STATE(1016),
    [sym_pipeline] = STATE(1016),
    [sym_list] = STATE(1016),
    [sym_negated_command] = STATE(1016),
    [sym_test_command] = STATE(1016),
    [sym_declaration_command] = STATE(1016),
    [sym_unset_command] = STATE(1016),
    [sym_command] = STATE(1016),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1017),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1018),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [561] = {
    [sym__terminated_statement] = STATE(1021),
    [sym_for_statement] = STATE(1019),
    [sym_c_style_for_statement] = STATE(1019),
    [sym_while_statement] = STATE(1019),
    [sym_if_statement] = STATE(1019),
    [sym_case_statement] = STATE(1019),
    [sym_function_definition] = STATE(1019),
    [sym_subshell] = STATE(1019),
    [sym_pipeline] = STATE(1019),
    [sym_list] = STATE(1019),
    [sym_negated_command] = STATE(1019),
    [sym_test_command] = STATE(1019),
    [sym_declaration_command] = STATE(1019),
    [sym_unset_command] = STATE(1019),
    [sym_command] = STATE(1019),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1020),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1021),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [562] = {
    [sym__terminated_statement] = STATE(1024),
    [sym_for_statement] = STATE(1022),
    [sym_c_style_for_statement] = STATE(1022),
    [sym_while_statement] = STATE(1022),
    [sym_if_statement] = STATE(1022),
    [sym_case_statement] = STATE(1022),
    [sym_function_definition] = STATE(1022),
    [sym_subshell] = STATE(1022),
    [sym_pipeline] = STATE(1022),
    [sym_list] = STATE(1022),
    [sym_negated_command] = STATE(1022),
    [sym_test_command] = STATE(1022),
    [sym_declaration_command] = STATE(1022),
    [sym_unset_command] = STATE(1022),
    [sym_command] = STATE(1022),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1023),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1024),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [563] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(2135),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [564] = {
    [sym_string] = STATE(1027),
    [sym_simple_expansion] = STATE(1027),
    [sym_string_expansion] = STATE(1027),
    [sym_expansion] = STATE(1027),
    [sym_command_substitution] = STATE(1027),
    [sym_process_substitution] = STATE(1027),
    [sym__special_characters] = ACTIONS(2137),
    [anon_sym_DQUOTE] = ACTIONS(387),
    [anon_sym_DOLLAR] = ACTIONS(389),
    [sym_raw_string] = ACTIONS(2137),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(393),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(395),
    [anon_sym_BQUOTE] = ACTIONS(397),
    [anon_sym_LT_LPAREN] = ACTIONS(399),
    [anon_sym_GT_LPAREN] = ACTIONS(399),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2137),
  },
  [565] = {
    [aux_sym_concatenation_repeat1] = STATE(1028),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(807),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [566] = {
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [sym_variable_name] = ACTIONS(811),
    [ts_builtin_sym_end] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [567] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2139),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [568] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(2139),
    [anon_sym_DOLLAR] = ACTIONS(2141),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [569] = {
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [sym_variable_name] = ACTIONS(845),
    [ts_builtin_sym_end] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [570] = {
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [sym_variable_name] = ACTIONS(849),
    [ts_builtin_sym_end] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [571] = {
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [sym_variable_name] = ACTIONS(853),
    [ts_builtin_sym_end] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [572] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2143),
    [sym_comment] = ACTIONS(55),
  },
  [573] = {
    [sym_subscript] = STATE(1034),
    [sym_variable_name] = ACTIONS(2145),
    [anon_sym_DASH] = ACTIONS(2147),
    [anon_sym_DOLLAR] = ACTIONS(2147),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2149),
    [anon_sym_STAR] = ACTIONS(2151),
    [anon_sym_AT] = ACTIONS(2151),
    [anon_sym_QMARK] = ACTIONS(2151),
    [anon_sym_0] = ACTIONS(2149),
    [anon_sym__] = ACTIONS(2149),
  },
  [574] = {
    [sym_concatenation] = STATE(1037),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1037),
    [anon_sym_RBRACE] = ACTIONS(2153),
    [anon_sym_EQ] = ACTIONS(2155),
    [anon_sym_DASH] = ACTIONS(2155),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2159),
    [anon_sym_COLON] = ACTIONS(2155),
    [anon_sym_COLON_QMARK] = ACTIONS(2155),
    [anon_sym_COLON_DASH] = ACTIONS(2155),
    [anon_sym_PERCENT] = ACTIONS(2155),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [575] = {
    [sym_concatenation] = STATE(1040),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1040),
    [anon_sym_RBRACE] = ACTIONS(2161),
    [anon_sym_EQ] = ACTIONS(2163),
    [anon_sym_DASH] = ACTIONS(2163),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2165),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2167),
    [anon_sym_COLON] = ACTIONS(2163),
    [anon_sym_COLON_QMARK] = ACTIONS(2163),
    [anon_sym_COLON_DASH] = ACTIONS(2163),
    [anon_sym_PERCENT] = ACTIONS(2163),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [576] = {
    [anon_sym_SEMI] = ACTIONS(2169),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2171),
    [anon_sym_SEMI_SEMI] = ACTIONS(2173),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2173),
    [anon_sym_AMP] = ACTIONS(2169),
  },
  [577] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2169),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2171),
    [anon_sym_SEMI_SEMI] = ACTIONS(2173),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2173),
    [anon_sym_AMP] = ACTIONS(2169),
  },
  [578] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1043),
    [sym_c_style_for_statement] = STATE(1043),
    [sym_while_statement] = STATE(1043),
    [sym_if_statement] = STATE(1043),
    [sym_case_statement] = STATE(1043),
    [sym_function_definition] = STATE(1043),
    [sym_subshell] = STATE(1043),
    [sym_pipeline] = STATE(1043),
    [sym_list] = STATE(1043),
    [sym_negated_command] = STATE(1043),
    [sym_test_command] = STATE(1043),
    [sym_declaration_command] = STATE(1043),
    [sym_unset_command] = STATE(1043),
    [sym_command] = STATE(1043),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1044),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [579] = {
    [anon_sym_SEMI] = ACTIONS(2175),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2177),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2171),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2177),
    [anon_sym_AMP] = ACTIONS(2175),
  },
  [580] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2175),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2177),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2171),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2177),
    [anon_sym_AMP] = ACTIONS(2175),
  },
  [581] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1046),
    [sym_c_style_for_statement] = STATE(1046),
    [sym_while_statement] = STATE(1046),
    [sym_if_statement] = STATE(1046),
    [sym_case_statement] = STATE(1046),
    [sym_function_definition] = STATE(1046),
    [sym_subshell] = STATE(1046),
    [sym_pipeline] = STATE(1046),
    [sym_list] = STATE(1046),
    [sym_negated_command] = STATE(1046),
    [sym_test_command] = STATE(1046),
    [sym_declaration_command] = STATE(1046),
    [sym_unset_command] = STATE(1046),
    [sym_command] = STATE(1046),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1047),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [582] = {
    [anon_sym_SEMI] = ACTIONS(2179),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2181),
    [anon_sym_SEMI_SEMI] = ACTIONS(2183),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2183),
    [anon_sym_AMP] = ACTIONS(2179),
  },
  [583] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2179),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2181),
    [anon_sym_SEMI_SEMI] = ACTIONS(2183),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2183),
    [anon_sym_AMP] = ACTIONS(2179),
  },
  [584] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1050),
    [sym_c_style_for_statement] = STATE(1050),
    [sym_while_statement] = STATE(1050),
    [sym_if_statement] = STATE(1050),
    [sym_case_statement] = STATE(1050),
    [sym_function_definition] = STATE(1050),
    [sym_subshell] = STATE(1050),
    [sym_pipeline] = STATE(1050),
    [sym_list] = STATE(1050),
    [sym_negated_command] = STATE(1050),
    [sym_test_command] = STATE(1050),
    [sym_declaration_command] = STATE(1050),
    [sym_unset_command] = STATE(1050),
    [sym_command] = STATE(1050),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1051),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [585] = {
    [sym__expression] = STATE(1053),
    [sym_binary_expression] = STATE(1053),
    [sym_unary_expression] = STATE(1053),
    [sym_postfix_expression] = STATE(1053),
    [sym_parenthesized_expression] = STATE(1053),
    [sym_concatenation] = STATE(1053),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2185),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [586] = {
    [anon_sym_SEMI] = ACTIONS(2187),
    [anon_sym_SEMI_SEMI] = ACTIONS(2189),
    [anon_sym_AMP_AMP] = ACTIONS(1188),
    [anon_sym_PIPE_PIPE] = ACTIONS(1188),
    [anon_sym_EQ_TILDE] = ACTIONS(1190),
    [anon_sym_EQ_EQ] = ACTIONS(1190),
    [anon_sym_EQ] = ACTIONS(1192),
    [anon_sym_PLUS_EQ] = ACTIONS(1188),
    [anon_sym_LT] = ACTIONS(1192),
    [anon_sym_GT] = ACTIONS(1192),
    [anon_sym_BANG_EQ] = ACTIONS(1188),
    [anon_sym_PLUS] = ACTIONS(1192),
    [anon_sym_DASH] = ACTIONS(1192),
    [anon_sym_DASH_EQ] = ACTIONS(1188),
    [anon_sym_LT_EQ] = ACTIONS(1188),
    [anon_sym_GT_EQ] = ACTIONS(1188),
    [anon_sym_PLUS_PLUS] = ACTIONS(1194),
    [anon_sym_DASH_DASH] = ACTIONS(1194),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1188),
    [anon_sym_LF] = ACTIONS(2189),
    [anon_sym_AMP] = ACTIONS(2187),
  },
  [587] = {
    [anon_sym_RPAREN] = ACTIONS(2191),
    [anon_sym_AMP_AMP] = ACTIONS(1240),
    [anon_sym_PIPE_PIPE] = ACTIONS(1240),
    [anon_sym_EQ_TILDE] = ACTIONS(1242),
    [anon_sym_EQ_EQ] = ACTIONS(1242),
    [anon_sym_EQ] = ACTIONS(1244),
    [anon_sym_PLUS_EQ] = ACTIONS(1240),
    [anon_sym_LT] = ACTIONS(1244),
    [anon_sym_GT] = ACTIONS(1244),
    [anon_sym_BANG_EQ] = ACTIONS(1240),
    [anon_sym_PLUS] = ACTIONS(1244),
    [anon_sym_DASH] = ACTIONS(1244),
    [anon_sym_DASH_EQ] = ACTIONS(1240),
    [anon_sym_LT_EQ] = ACTIONS(1240),
    [anon_sym_GT_EQ] = ACTIONS(1240),
    [anon_sym_PLUS_PLUS] = ACTIONS(1246),
    [anon_sym_DASH_DASH] = ACTIONS(1246),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1240),
  },
  [588] = {
    [anon_sym_SEMI] = ACTIONS(2193),
    [anon_sym_SEMI_SEMI] = ACTIONS(1248),
    [anon_sym_AMP_AMP] = ACTIONS(1188),
    [anon_sym_PIPE_PIPE] = ACTIONS(1188),
    [anon_sym_EQ_TILDE] = ACTIONS(1190),
    [anon_sym_EQ_EQ] = ACTIONS(1190),
    [anon_sym_EQ] = ACTIONS(1192),
    [anon_sym_PLUS_EQ] = ACTIONS(1188),
    [anon_sym_LT] = ACTIONS(1192),
    [anon_sym_GT] = ACTIONS(1192),
    [anon_sym_BANG_EQ] = ACTIONS(1188),
    [anon_sym_PLUS] = ACTIONS(1192),
    [anon_sym_DASH] = ACTIONS(1192),
    [anon_sym_DASH_EQ] = ACTIONS(1188),
    [anon_sym_LT_EQ] = ACTIONS(1188),
    [anon_sym_GT_EQ] = ACTIONS(1188),
    [anon_sym_PLUS_PLUS] = ACTIONS(1194),
    [anon_sym_DASH_DASH] = ACTIONS(1194),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1188),
    [anon_sym_LF] = ACTIONS(1248),
    [anon_sym_AMP] = ACTIONS(2193),
  },
  [589] = {
    [sym_string] = STATE(1056),
    [sym_simple_expansion] = STATE(1056),
    [sym_string_expansion] = STATE(1056),
    [sym_expansion] = STATE(1056),
    [sym_command_substitution] = STATE(1056),
    [sym_process_substitution] = STATE(1056),
    [sym__special_characters] = ACTIONS(2195),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(2195),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2195),
  },
  [590] = {
    [aux_sym_concatenation_repeat1] = STATE(1057),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_PLUS_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_BANG_EQ] = ACTIONS(807),
    [anon_sym_PLUS] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [anon_sym_DASH_EQ] = ACTIONS(807),
    [anon_sym_LT_EQ] = ACTIONS(807),
    [anon_sym_GT_EQ] = ACTIONS(807),
    [anon_sym_PLUS_PLUS] = ACTIONS(807),
    [anon_sym_DASH_DASH] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(807),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [591] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(811),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(811),
    [anon_sym_EQ_EQ] = ACTIONS(811),
    [anon_sym_EQ] = ACTIONS(813),
    [anon_sym_PLUS_EQ] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_BANG_EQ] = ACTIONS(811),
    [anon_sym_PLUS] = ACTIONS(813),
    [anon_sym_DASH] = ACTIONS(813),
    [anon_sym_DASH_EQ] = ACTIONS(811),
    [anon_sym_LT_EQ] = ACTIONS(811),
    [anon_sym_GT_EQ] = ACTIONS(811),
    [anon_sym_PLUS_PLUS] = ACTIONS(811),
    [anon_sym_DASH_DASH] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(811),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [592] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2197),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [593] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(2197),
    [anon_sym_DOLLAR] = ACTIONS(2199),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [594] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(845),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(845),
    [anon_sym_EQ_EQ] = ACTIONS(845),
    [anon_sym_EQ] = ACTIONS(847),
    [anon_sym_PLUS_EQ] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_BANG_EQ] = ACTIONS(845),
    [anon_sym_PLUS] = ACTIONS(847),
    [anon_sym_DASH] = ACTIONS(847),
    [anon_sym_DASH_EQ] = ACTIONS(845),
    [anon_sym_LT_EQ] = ACTIONS(845),
    [anon_sym_GT_EQ] = ACTIONS(845),
    [anon_sym_PLUS_PLUS] = ACTIONS(845),
    [anon_sym_DASH_DASH] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(845),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [595] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(849),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(849),
    [anon_sym_EQ_EQ] = ACTIONS(849),
    [anon_sym_EQ] = ACTIONS(851),
    [anon_sym_PLUS_EQ] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_BANG_EQ] = ACTIONS(849),
    [anon_sym_PLUS] = ACTIONS(851),
    [anon_sym_DASH] = ACTIONS(851),
    [anon_sym_DASH_EQ] = ACTIONS(849),
    [anon_sym_LT_EQ] = ACTIONS(849),
    [anon_sym_GT_EQ] = ACTIONS(849),
    [anon_sym_PLUS_PLUS] = ACTIONS(849),
    [anon_sym_DASH_DASH] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(849),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [596] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(853),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(853),
    [anon_sym_EQ_EQ] = ACTIONS(853),
    [anon_sym_EQ] = ACTIONS(855),
    [anon_sym_PLUS_EQ] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_BANG_EQ] = ACTIONS(853),
    [anon_sym_PLUS] = ACTIONS(855),
    [anon_sym_DASH] = ACTIONS(855),
    [anon_sym_DASH_EQ] = ACTIONS(853),
    [anon_sym_LT_EQ] = ACTIONS(853),
    [anon_sym_GT_EQ] = ACTIONS(853),
    [anon_sym_PLUS_PLUS] = ACTIONS(853),
    [anon_sym_DASH_DASH] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(853),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [597] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2201),
    [sym_comment] = ACTIONS(55),
  },
  [598] = {
    [sym_subscript] = STATE(1063),
    [sym_variable_name] = ACTIONS(2203),
    [anon_sym_DASH] = ACTIONS(2205),
    [anon_sym_DOLLAR] = ACTIONS(2205),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2207),
    [anon_sym_STAR] = ACTIONS(2209),
    [anon_sym_AT] = ACTIONS(2209),
    [anon_sym_QMARK] = ACTIONS(2209),
    [anon_sym_0] = ACTIONS(2207),
    [anon_sym__] = ACTIONS(2207),
  },
  [599] = {
    [sym_concatenation] = STATE(1066),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1066),
    [anon_sym_RBRACE] = ACTIONS(2211),
    [anon_sym_EQ] = ACTIONS(2213),
    [anon_sym_DASH] = ACTIONS(2213),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2215),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2217),
    [anon_sym_COLON] = ACTIONS(2213),
    [anon_sym_COLON_QMARK] = ACTIONS(2213),
    [anon_sym_COLON_DASH] = ACTIONS(2213),
    [anon_sym_PERCENT] = ACTIONS(2213),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [600] = {
    [sym_concatenation] = STATE(1069),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1069),
    [anon_sym_RBRACE] = ACTIONS(2219),
    [anon_sym_EQ] = ACTIONS(2221),
    [anon_sym_DASH] = ACTIONS(2221),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2223),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2225),
    [anon_sym_COLON] = ACTIONS(2221),
    [anon_sym_COLON_QMARK] = ACTIONS(2221),
    [anon_sym_COLON_DASH] = ACTIONS(2221),
    [anon_sym_PERCENT] = ACTIONS(2221),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [601] = {
    [anon_sym_SEMI] = ACTIONS(2227),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2229),
    [anon_sym_SEMI_SEMI] = ACTIONS(2231),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2231),
    [anon_sym_AMP] = ACTIONS(2227),
  },
  [602] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2227),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2229),
    [anon_sym_SEMI_SEMI] = ACTIONS(2231),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2231),
    [anon_sym_AMP] = ACTIONS(2227),
  },
  [603] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1072),
    [sym_c_style_for_statement] = STATE(1072),
    [sym_while_statement] = STATE(1072),
    [sym_if_statement] = STATE(1072),
    [sym_case_statement] = STATE(1072),
    [sym_function_definition] = STATE(1072),
    [sym_subshell] = STATE(1072),
    [sym_pipeline] = STATE(1072),
    [sym_list] = STATE(1072),
    [sym_negated_command] = STATE(1072),
    [sym_test_command] = STATE(1072),
    [sym_declaration_command] = STATE(1072),
    [sym_unset_command] = STATE(1072),
    [sym_command] = STATE(1072),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1073),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [604] = {
    [anon_sym_SEMI] = ACTIONS(2233),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2235),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2229),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2235),
    [anon_sym_AMP] = ACTIONS(2233),
  },
  [605] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2233),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2235),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2229),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2235),
    [anon_sym_AMP] = ACTIONS(2233),
  },
  [606] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1075),
    [sym_c_style_for_statement] = STATE(1075),
    [sym_while_statement] = STATE(1075),
    [sym_if_statement] = STATE(1075),
    [sym_case_statement] = STATE(1075),
    [sym_function_definition] = STATE(1075),
    [sym_subshell] = STATE(1075),
    [sym_pipeline] = STATE(1075),
    [sym_list] = STATE(1075),
    [sym_negated_command] = STATE(1075),
    [sym_test_command] = STATE(1075),
    [sym_declaration_command] = STATE(1075),
    [sym_unset_command] = STATE(1075),
    [sym_command] = STATE(1075),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1076),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [607] = {
    [anon_sym_SEMI] = ACTIONS(2237),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2239),
    [anon_sym_SEMI_SEMI] = ACTIONS(2241),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2241),
    [anon_sym_AMP] = ACTIONS(2237),
  },
  [608] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2237),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2239),
    [anon_sym_SEMI_SEMI] = ACTIONS(2241),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2241),
    [anon_sym_AMP] = ACTIONS(2237),
  },
  [609] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1079),
    [sym_c_style_for_statement] = STATE(1079),
    [sym_while_statement] = STATE(1079),
    [sym_if_statement] = STATE(1079),
    [sym_case_statement] = STATE(1079),
    [sym_function_definition] = STATE(1079),
    [sym_subshell] = STATE(1079),
    [sym_pipeline] = STATE(1079),
    [sym_list] = STATE(1079),
    [sym_negated_command] = STATE(1079),
    [sym_test_command] = STATE(1079),
    [sym_declaration_command] = STATE(1079),
    [sym_unset_command] = STATE(1079),
    [sym_command] = STATE(1079),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1080),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [610] = {
    [sym__expression] = STATE(1081),
    [sym_binary_expression] = STATE(1081),
    [sym_unary_expression] = STATE(1081),
    [sym_postfix_expression] = STATE(1081),
    [sym_parenthesized_expression] = STATE(1081),
    [sym_concatenation] = STATE(1081),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [anon_sym_SEMI] = ACTIONS(2187),
    [anon_sym_SEMI_SEMI] = ACTIONS(2189),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
    [anon_sym_LF] = ACTIONS(2189),
    [anon_sym_AMP] = ACTIONS(2189),
  },
  [611] = {
    [sym__expression] = STATE(1082),
    [sym_binary_expression] = STATE(1082),
    [sym_unary_expression] = STATE(1082),
    [sym_postfix_expression] = STATE(1082),
    [sym_parenthesized_expression] = STATE(1082),
    [sym_concatenation] = STATE(1082),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
  },
  [612] = {
    [sym__expression] = STATE(1082),
    [sym_binary_expression] = STATE(1082),
    [sym_unary_expression] = STATE(1082),
    [sym_postfix_expression] = STATE(1082),
    [sym_parenthesized_expression] = STATE(1082),
    [sym_concatenation] = STATE(1082),
    [sym_string] = STATE(223),
    [sym_simple_expansion] = STATE(223),
    [sym_string_expansion] = STATE(223),
    [sym_expansion] = STATE(223),
    [sym_command_substitution] = STATE(223),
    [sym_process_substitution] = STATE(223),
    [sym_regex] = ACTIONS(2243),
    [anon_sym_LPAREN] = ACTIONS(405),
    [anon_sym_BANG] = ACTIONS(407),
    [sym__special_characters] = ACTIONS(409),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(425),
    [sym_test_operator] = ACTIONS(427),
  },
  [613] = {
    [anon_sym_SEMI] = ACTIONS(1318),
    [anon_sym_SEMI_SEMI] = ACTIONS(1316),
    [anon_sym_AMP_AMP] = ACTIONS(1316),
    [anon_sym_PIPE_PIPE] = ACTIONS(1316),
    [anon_sym_EQ_TILDE] = ACTIONS(1316),
    [anon_sym_EQ_EQ] = ACTIONS(1316),
    [anon_sym_EQ] = ACTIONS(1318),
    [anon_sym_PLUS_EQ] = ACTIONS(1316),
    [anon_sym_LT] = ACTIONS(1318),
    [anon_sym_GT] = ACTIONS(1318),
    [anon_sym_BANG_EQ] = ACTIONS(1316),
    [anon_sym_PLUS] = ACTIONS(1318),
    [anon_sym_DASH] = ACTIONS(1318),
    [anon_sym_DASH_EQ] = ACTIONS(1316),
    [anon_sym_LT_EQ] = ACTIONS(1316),
    [anon_sym_GT_EQ] = ACTIONS(1316),
    [anon_sym_PLUS_PLUS] = ACTIONS(1316),
    [anon_sym_DASH_DASH] = ACTIONS(1316),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1316),
    [anon_sym_LF] = ACTIONS(1316),
    [anon_sym_AMP] = ACTIONS(1318),
  },
  [614] = {
    [aux_sym_concatenation_repeat1] = STATE(1085),
    [sym__concat] = ACTIONS(2245),
    [anon_sym_SEMI] = ACTIONS(2107),
    [anon_sym_SEMI_SEMI] = ACTIONS(2105),
    [sym__special_characters] = ACTIONS(2105),
    [anon_sym_DQUOTE] = ACTIONS(2105),
    [anon_sym_DOLLAR] = ACTIONS(2107),
    [sym_raw_string] = ACTIONS(2105),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2105),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2105),
    [anon_sym_BQUOTE] = ACTIONS(2105),
    [anon_sym_LT_LPAREN] = ACTIONS(2105),
    [anon_sym_GT_LPAREN] = ACTIONS(2105),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2107),
    [anon_sym_LF] = ACTIONS(2105),
    [anon_sym_AMP] = ACTIONS(2105),
  },
  [615] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(1088),
    [anon_sym_DQUOTE] = ACTIONS(2247),
    [anon_sym_DOLLAR] = ACTIONS(2249),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [616] = {
    [sym_string] = STATE(1090),
    [anon_sym_DASH] = ACTIONS(2251),
    [anon_sym_DQUOTE] = ACTIONS(1198),
    [anon_sym_DOLLAR] = ACTIONS(2251),
    [sym_raw_string] = ACTIONS(2253),
    [anon_sym_POUND] = ACTIONS(2251),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2255),
    [anon_sym_STAR] = ACTIONS(2257),
    [anon_sym_AT] = ACTIONS(2257),
    [anon_sym_QMARK] = ACTIONS(2257),
    [anon_sym_0] = ACTIONS(2255),
    [anon_sym__] = ACTIONS(2255),
  },
  [617] = {
    [aux_sym_concatenation_repeat1] = STATE(1085),
    [sym__concat] = ACTIONS(2245),
    [anon_sym_SEMI] = ACTIONS(2123),
    [anon_sym_SEMI_SEMI] = ACTIONS(2121),
    [sym__special_characters] = ACTIONS(2121),
    [anon_sym_DQUOTE] = ACTIONS(2121),
    [anon_sym_DOLLAR] = ACTIONS(2123),
    [sym_raw_string] = ACTIONS(2121),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2121),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2121),
    [anon_sym_BQUOTE] = ACTIONS(2121),
    [anon_sym_LT_LPAREN] = ACTIONS(2121),
    [anon_sym_GT_LPAREN] = ACTIONS(2121),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2123),
    [anon_sym_LF] = ACTIONS(2121),
    [anon_sym_AMP] = ACTIONS(2121),
  },
  [618] = {
    [sym_subscript] = STATE(1095),
    [sym_variable_name] = ACTIONS(2259),
    [anon_sym_BANG] = ACTIONS(2261),
    [anon_sym_DASH] = ACTIONS(2263),
    [anon_sym_DOLLAR] = ACTIONS(2263),
    [anon_sym_POUND] = ACTIONS(2261),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2265),
    [anon_sym_STAR] = ACTIONS(2267),
    [anon_sym_AT] = ACTIONS(2267),
    [anon_sym_QMARK] = ACTIONS(2267),
    [anon_sym_0] = ACTIONS(2265),
    [anon_sym__] = ACTIONS(2265),
  },
  [619] = {
    [sym__terminated_statement] = STATE(1098),
    [sym_for_statement] = STATE(1096),
    [sym_c_style_for_statement] = STATE(1096),
    [sym_while_statement] = STATE(1096),
    [sym_if_statement] = STATE(1096),
    [sym_case_statement] = STATE(1096),
    [sym_function_definition] = STATE(1096),
    [sym_subshell] = STATE(1096),
    [sym_pipeline] = STATE(1096),
    [sym_list] = STATE(1096),
    [sym_negated_command] = STATE(1096),
    [sym_test_command] = STATE(1096),
    [sym_declaration_command] = STATE(1096),
    [sym_unset_command] = STATE(1096),
    [sym_command] = STATE(1096),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1097),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1098),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [620] = {
    [sym__terminated_statement] = STATE(1101),
    [sym_for_statement] = STATE(1099),
    [sym_c_style_for_statement] = STATE(1099),
    [sym_while_statement] = STATE(1099),
    [sym_if_statement] = STATE(1099),
    [sym_case_statement] = STATE(1099),
    [sym_function_definition] = STATE(1099),
    [sym_subshell] = STATE(1099),
    [sym_pipeline] = STATE(1099),
    [sym_list] = STATE(1099),
    [sym_negated_command] = STATE(1099),
    [sym_test_command] = STATE(1099),
    [sym_declaration_command] = STATE(1099),
    [sym_unset_command] = STATE(1099),
    [sym_command] = STATE(1099),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1100),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1101),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [621] = {
    [sym__terminated_statement] = STATE(1104),
    [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(92),
    [sym_variable_assignment] = STATE(1103),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1104),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [622] = {
    [sym_concatenation] = STATE(1106),
    [sym_string] = STATE(617),
    [sym_simple_expansion] = STATE(617),
    [sym_string_expansion] = STATE(617),
    [sym_expansion] = STATE(617),
    [sym_command_substitution] = STATE(617),
    [sym_process_substitution] = STATE(617),
    [aux_sym_for_statement_repeat1] = STATE(1106),
    [anon_sym_SEMI] = ACTIONS(2269),
    [anon_sym_SEMI_SEMI] = ACTIONS(2271),
    [sym__special_characters] = ACTIONS(1196),
    [anon_sym_DQUOTE] = ACTIONS(1198),
    [anon_sym_DOLLAR] = ACTIONS(1200),
    [sym_raw_string] = ACTIONS(1202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1206),
    [anon_sym_BQUOTE] = ACTIONS(1208),
    [anon_sym_LT_LPAREN] = ACTIONS(1210),
    [anon_sym_GT_LPAREN] = ACTIONS(1210),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2273),
    [anon_sym_LF] = ACTIONS(2271),
    [anon_sym_AMP] = ACTIONS(2271),
  },
  [623] = {
    [sym__terminated_statement] = STATE(1108),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1108),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_done] = ACTIONS(2275),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [624] = {
    [ts_builtin_sym_end] = ACTIONS(2277),
    [anon_sym_SEMI] = ACTIONS(2279),
    [anon_sym_esac] = ACTIONS(2277),
    [anon_sym_PIPE] = ACTIONS(2279),
    [anon_sym_RPAREN] = ACTIONS(2277),
    [anon_sym_SEMI_SEMI] = ACTIONS(2277),
    [anon_sym_PIPE_AMP] = ACTIONS(2277),
    [anon_sym_AMP_AMP] = ACTIONS(2277),
    [anon_sym_PIPE_PIPE] = ACTIONS(2277),
    [anon_sym_BQUOTE] = ACTIONS(2277),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2277),
    [anon_sym_AMP] = ACTIONS(2279),
  },
  [625] = {
    [anon_sym_RPAREN] = ACTIONS(2281),
    [anon_sym_AMP_AMP] = ACTIONS(1240),
    [anon_sym_PIPE_PIPE] = ACTIONS(1240),
    [anon_sym_EQ_TILDE] = ACTIONS(1242),
    [anon_sym_EQ_EQ] = ACTIONS(1242),
    [anon_sym_EQ] = ACTIONS(1244),
    [anon_sym_PLUS_EQ] = ACTIONS(1240),
    [anon_sym_LT] = ACTIONS(1244),
    [anon_sym_GT] = ACTIONS(1244),
    [anon_sym_BANG_EQ] = ACTIONS(1240),
    [anon_sym_PLUS] = ACTIONS(1244),
    [anon_sym_DASH] = ACTIONS(1244),
    [anon_sym_DASH_EQ] = ACTIONS(1240),
    [anon_sym_LT_EQ] = ACTIONS(1240),
    [anon_sym_GT_EQ] = ACTIONS(1240),
    [anon_sym_PLUS_PLUS] = ACTIONS(1246),
    [anon_sym_DASH_DASH] = ACTIONS(1246),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1240),
  },
  [626] = {
    [anon_sym_RPAREN] = ACTIONS(1248),
    [anon_sym_AMP_AMP] = ACTIONS(1240),
    [anon_sym_PIPE_PIPE] = ACTIONS(1240),
    [anon_sym_EQ_TILDE] = ACTIONS(1242),
    [anon_sym_EQ_EQ] = ACTIONS(1242),
    [anon_sym_EQ] = ACTIONS(1244),
    [anon_sym_PLUS_EQ] = ACTIONS(1240),
    [anon_sym_LT] = ACTIONS(1244),
    [anon_sym_GT] = ACTIONS(1244),
    [anon_sym_BANG_EQ] = ACTIONS(1240),
    [anon_sym_PLUS] = ACTIONS(1244),
    [anon_sym_DASH] = ACTIONS(1244),
    [anon_sym_DASH_EQ] = ACTIONS(1240),
    [anon_sym_LT_EQ] = ACTIONS(1240),
    [anon_sym_GT_EQ] = ACTIONS(1240),
    [anon_sym_PLUS_PLUS] = ACTIONS(1246),
    [anon_sym_DASH_DASH] = ACTIONS(1246),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1240),
  },
  [627] = {
    [sym_string] = STATE(1110),
    [sym_simple_expansion] = STATE(1110),
    [sym_string_expansion] = STATE(1110),
    [sym_expansion] = STATE(1110),
    [sym_command_substitution] = STATE(1110),
    [sym_process_substitution] = STATE(1110),
    [sym__special_characters] = ACTIONS(2283),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2283),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2283),
  },
  [628] = {
    [aux_sym_concatenation_repeat1] = STATE(1111),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(807),
    [anon_sym_EQ_EQ] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_PLUS_EQ] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_BANG_EQ] = ACTIONS(807),
    [anon_sym_PLUS] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [anon_sym_DASH_EQ] = ACTIONS(807),
    [anon_sym_LT_EQ] = ACTIONS(807),
    [anon_sym_GT_EQ] = ACTIONS(807),
    [anon_sym_PLUS_PLUS] = ACTIONS(807),
    [anon_sym_DASH_DASH] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(807),
  },
  [629] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(811),
    [anon_sym_EQ_EQ] = ACTIONS(811),
    [anon_sym_EQ] = ACTIONS(813),
    [anon_sym_PLUS_EQ] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_BANG_EQ] = ACTIONS(811),
    [anon_sym_PLUS] = ACTIONS(813),
    [anon_sym_DASH] = ACTIONS(813),
    [anon_sym_DASH_EQ] = ACTIONS(811),
    [anon_sym_LT_EQ] = ACTIONS(811),
    [anon_sym_GT_EQ] = ACTIONS(811),
    [anon_sym_PLUS_PLUS] = ACTIONS(811),
    [anon_sym_DASH_DASH] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(811),
  },
  [630] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2285),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [631] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(2285),
    [anon_sym_DOLLAR] = ACTIONS(2287),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [632] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(845),
    [anon_sym_EQ_EQ] = ACTIONS(845),
    [anon_sym_EQ] = ACTIONS(847),
    [anon_sym_PLUS_EQ] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_BANG_EQ] = ACTIONS(845),
    [anon_sym_PLUS] = ACTIONS(847),
    [anon_sym_DASH] = ACTIONS(847),
    [anon_sym_DASH_EQ] = ACTIONS(845),
    [anon_sym_LT_EQ] = ACTIONS(845),
    [anon_sym_GT_EQ] = ACTIONS(845),
    [anon_sym_PLUS_PLUS] = ACTIONS(845),
    [anon_sym_DASH_DASH] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(845),
  },
  [633] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(849),
    [anon_sym_EQ_EQ] = ACTIONS(849),
    [anon_sym_EQ] = ACTIONS(851),
    [anon_sym_PLUS_EQ] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_BANG_EQ] = ACTIONS(849),
    [anon_sym_PLUS] = ACTIONS(851),
    [anon_sym_DASH] = ACTIONS(851),
    [anon_sym_DASH_EQ] = ACTIONS(849),
    [anon_sym_LT_EQ] = ACTIONS(849),
    [anon_sym_GT_EQ] = ACTIONS(849),
    [anon_sym_PLUS_PLUS] = ACTIONS(849),
    [anon_sym_DASH_DASH] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(849),
  },
  [634] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(853),
    [anon_sym_EQ_EQ] = ACTIONS(853),
    [anon_sym_EQ] = ACTIONS(855),
    [anon_sym_PLUS_EQ] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_BANG_EQ] = ACTIONS(853),
    [anon_sym_PLUS] = ACTIONS(855),
    [anon_sym_DASH] = ACTIONS(855),
    [anon_sym_DASH_EQ] = ACTIONS(853),
    [anon_sym_LT_EQ] = ACTIONS(853),
    [anon_sym_GT_EQ] = ACTIONS(853),
    [anon_sym_PLUS_PLUS] = ACTIONS(853),
    [anon_sym_DASH_DASH] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(853),
  },
  [635] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2289),
    [sym_comment] = ACTIONS(55),
  },
  [636] = {
    [sym_subscript] = STATE(1117),
    [sym_variable_name] = ACTIONS(2291),
    [anon_sym_DASH] = ACTIONS(2293),
    [anon_sym_DOLLAR] = ACTIONS(2293),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2295),
    [anon_sym_STAR] = ACTIONS(2297),
    [anon_sym_AT] = ACTIONS(2297),
    [anon_sym_QMARK] = ACTIONS(2297),
    [anon_sym_0] = ACTIONS(2295),
    [anon_sym__] = ACTIONS(2295),
  },
  [637] = {
    [sym_concatenation] = STATE(1120),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1120),
    [anon_sym_RBRACE] = ACTIONS(2299),
    [anon_sym_EQ] = ACTIONS(2301),
    [anon_sym_DASH] = ACTIONS(2301),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2303),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2305),
    [anon_sym_COLON] = ACTIONS(2301),
    [anon_sym_COLON_QMARK] = ACTIONS(2301),
    [anon_sym_COLON_DASH] = ACTIONS(2301),
    [anon_sym_PERCENT] = ACTIONS(2301),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [638] = {
    [sym_concatenation] = STATE(1123),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1123),
    [anon_sym_RBRACE] = ACTIONS(2307),
    [anon_sym_EQ] = ACTIONS(2309),
    [anon_sym_DASH] = ACTIONS(2309),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2311),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2313),
    [anon_sym_COLON] = ACTIONS(2309),
    [anon_sym_COLON_QMARK] = ACTIONS(2309),
    [anon_sym_COLON_DASH] = ACTIONS(2309),
    [anon_sym_PERCENT] = ACTIONS(2309),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [639] = {
    [anon_sym_SEMI] = ACTIONS(2315),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2317),
    [anon_sym_SEMI_SEMI] = ACTIONS(2319),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2319),
    [anon_sym_AMP] = ACTIONS(2315),
  },
  [640] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2315),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2317),
    [anon_sym_SEMI_SEMI] = ACTIONS(2319),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2319),
    [anon_sym_AMP] = ACTIONS(2315),
  },
  [641] = {
    [sym__terminated_statement] = STATE(198),
    [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(92),
    [sym_variable_assignment] = STATE(1127),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [642] = {
    [anon_sym_SEMI] = ACTIONS(2321),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2323),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2317),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2323),
    [anon_sym_AMP] = ACTIONS(2321),
  },
  [643] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2321),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2323),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2317),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2323),
    [anon_sym_AMP] = ACTIONS(2321),
  },
  [644] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1129),
    [sym_c_style_for_statement] = STATE(1129),
    [sym_while_statement] = STATE(1129),
    [sym_if_statement] = STATE(1129),
    [sym_case_statement] = STATE(1129),
    [sym_function_definition] = STATE(1129),
    [sym_subshell] = STATE(1129),
    [sym_pipeline] = STATE(1129),
    [sym_list] = STATE(1129),
    [sym_negated_command] = STATE(1129),
    [sym_test_command] = STATE(1129),
    [sym_declaration_command] = STATE(1129),
    [sym_unset_command] = STATE(1129),
    [sym_command] = STATE(1129),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1130),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [645] = {
    [anon_sym_SEMI] = ACTIONS(2325),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2327),
    [anon_sym_SEMI_SEMI] = ACTIONS(2329),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2329),
    [anon_sym_AMP] = ACTIONS(2325),
  },
  [646] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2325),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2327),
    [anon_sym_SEMI_SEMI] = ACTIONS(2329),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2329),
    [anon_sym_AMP] = ACTIONS(2325),
  },
  [647] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1133),
    [sym_c_style_for_statement] = STATE(1133),
    [sym_while_statement] = STATE(1133),
    [sym_if_statement] = STATE(1133),
    [sym_case_statement] = STATE(1133),
    [sym_function_definition] = STATE(1133),
    [sym_subshell] = STATE(1133),
    [sym_pipeline] = STATE(1133),
    [sym_list] = STATE(1133),
    [sym_negated_command] = STATE(1133),
    [sym_test_command] = STATE(1133),
    [sym_declaration_command] = STATE(1133),
    [sym_unset_command] = STATE(1133),
    [sym_command] = STATE(1133),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1134),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [648] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2331),
    [anon_sym_AMP_AMP] = ACTIONS(2331),
    [anon_sym_PIPE_PIPE] = ACTIONS(2331),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2331),
    [anon_sym_EQ_TILDE] = ACTIONS(2331),
    [anon_sym_EQ_EQ] = ACTIONS(2331),
    [anon_sym_EQ] = ACTIONS(2333),
    [anon_sym_PLUS_EQ] = ACTIONS(2331),
    [anon_sym_LT] = ACTIONS(2333),
    [anon_sym_GT] = ACTIONS(2333),
    [anon_sym_BANG_EQ] = ACTIONS(2331),
    [anon_sym_PLUS] = ACTIONS(2333),
    [anon_sym_DASH] = ACTIONS(2333),
    [anon_sym_DASH_EQ] = ACTIONS(2331),
    [anon_sym_LT_EQ] = ACTIONS(2331),
    [anon_sym_GT_EQ] = ACTIONS(2331),
    [anon_sym_PLUS_PLUS] = ACTIONS(2331),
    [anon_sym_DASH_DASH] = ACTIONS(2331),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2331),
  },
  [649] = {
    [sym__expression] = STATE(1135),
    [sym_binary_expression] = STATE(1135),
    [sym_unary_expression] = STATE(1135),
    [sym_postfix_expression] = STATE(1135),
    [sym_parenthesized_expression] = STATE(1135),
    [sym_concatenation] = STATE(1135),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [650] = {
    [sym__expression] = STATE(1135),
    [sym_binary_expression] = STATE(1135),
    [sym_unary_expression] = STATE(1135),
    [sym_postfix_expression] = STATE(1135),
    [sym_parenthesized_expression] = STATE(1135),
    [sym_concatenation] = STATE(1135),
    [sym_string] = STATE(236),
    [sym_simple_expansion] = STATE(236),
    [sym_string_expansion] = STATE(236),
    [sym_expansion] = STATE(236),
    [sym_command_substitution] = STATE(236),
    [sym_process_substitution] = STATE(236),
    [sym_regex] = ACTIONS(2335),
    [anon_sym_LPAREN] = ACTIONS(435),
    [anon_sym_BANG] = ACTIONS(437),
    [sym__special_characters] = ACTIONS(439),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(445),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(455),
    [sym_test_operator] = ACTIONS(457),
  },
  [651] = {
    [anon_sym_RPAREN] = ACTIONS(1316),
    [anon_sym_AMP_AMP] = ACTIONS(1316),
    [anon_sym_PIPE_PIPE] = ACTIONS(1316),
    [anon_sym_EQ_TILDE] = ACTIONS(1316),
    [anon_sym_EQ_EQ] = ACTIONS(1316),
    [anon_sym_EQ] = ACTIONS(1318),
    [anon_sym_PLUS_EQ] = ACTIONS(1316),
    [anon_sym_LT] = ACTIONS(1318),
    [anon_sym_GT] = ACTIONS(1318),
    [anon_sym_BANG_EQ] = ACTIONS(1316),
    [anon_sym_PLUS] = ACTIONS(1318),
    [anon_sym_DASH] = ACTIONS(1318),
    [anon_sym_DASH_EQ] = ACTIONS(1316),
    [anon_sym_LT_EQ] = ACTIONS(1316),
    [anon_sym_GT_EQ] = ACTIONS(1316),
    [anon_sym_PLUS_PLUS] = ACTIONS(1316),
    [anon_sym_DASH_DASH] = ACTIONS(1316),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1316),
  },
  [652] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [653] = {
    [aux_sym_concatenation_repeat1] = STATE(653),
    [sym__concat] = ACTIONS(2337),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [654] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1770),
    [anon_sym_EQ_EQ] = ACTIONS(1770),
    [anon_sym_EQ] = ACTIONS(1772),
    [anon_sym_PLUS_EQ] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_BANG_EQ] = ACTIONS(1770),
    [anon_sym_PLUS] = ACTIONS(1772),
    [anon_sym_DASH] = ACTIONS(1772),
    [anon_sym_DASH_EQ] = ACTIONS(1770),
    [anon_sym_LT_EQ] = ACTIONS(1770),
    [anon_sym_GT_EQ] = ACTIONS(1770),
    [anon_sym_PLUS_PLUS] = ACTIONS(1770),
    [anon_sym_DASH_DASH] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1770),
  },
  [655] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2340),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [656] = {
    [sym_concatenation] = STATE(1141),
    [sym_string] = STATE(1140),
    [sym_simple_expansion] = STATE(1140),
    [sym_string_expansion] = STATE(1140),
    [sym_expansion] = STATE(1140),
    [sym_command_substitution] = STATE(1140),
    [sym_process_substitution] = STATE(1140),
    [anon_sym_RBRACE] = ACTIONS(2342),
    [sym__special_characters] = ACTIONS(2344),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2346),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2346),
  },
  [657] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2348),
    [sym_comment] = ACTIONS(55),
  },
  [658] = {
    [sym_concatenation] = STATE(1145),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1145),
    [anon_sym_RBRACE] = ACTIONS(2350),
    [anon_sym_EQ] = ACTIONS(2352),
    [anon_sym_DASH] = ACTIONS(2352),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2354),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2356),
    [anon_sym_COLON] = ACTIONS(2352),
    [anon_sym_COLON_QMARK] = ACTIONS(2352),
    [anon_sym_COLON_DASH] = ACTIONS(2352),
    [anon_sym_PERCENT] = ACTIONS(2352),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [659] = {
    [sym_concatenation] = STATE(1147),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1147),
    [anon_sym_RBRACE] = ACTIONS(2342),
    [anon_sym_EQ] = ACTIONS(2358),
    [anon_sym_DASH] = ACTIONS(2358),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2360),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2362),
    [anon_sym_COLON] = ACTIONS(2358),
    [anon_sym_COLON_QMARK] = ACTIONS(2358),
    [anon_sym_COLON_DASH] = ACTIONS(2358),
    [anon_sym_PERCENT] = ACTIONS(2358),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [660] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1871),
    [anon_sym_EQ_EQ] = ACTIONS(1871),
    [anon_sym_EQ] = ACTIONS(1873),
    [anon_sym_PLUS_EQ] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_BANG_EQ] = ACTIONS(1871),
    [anon_sym_PLUS] = ACTIONS(1873),
    [anon_sym_DASH] = ACTIONS(1873),
    [anon_sym_DASH_EQ] = ACTIONS(1871),
    [anon_sym_LT_EQ] = ACTIONS(1871),
    [anon_sym_GT_EQ] = ACTIONS(1871),
    [anon_sym_PLUS_PLUS] = ACTIONS(1871),
    [anon_sym_DASH_DASH] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1871),
  },
  [661] = {
    [sym_concatenation] = STATE(1150),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1150),
    [sym_regex] = ACTIONS(2364),
    [anon_sym_RBRACE] = ACTIONS(2366),
    [anon_sym_EQ] = ACTIONS(2368),
    [anon_sym_DASH] = ACTIONS(2368),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2370),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2368),
    [anon_sym_COLON_QMARK] = ACTIONS(2368),
    [anon_sym_COLON_DASH] = ACTIONS(2368),
    [anon_sym_PERCENT] = ACTIONS(2368),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [662] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2366),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [663] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1919),
    [anon_sym_EQ_EQ] = ACTIONS(1919),
    [anon_sym_EQ] = ACTIONS(1921),
    [anon_sym_PLUS_EQ] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_BANG_EQ] = ACTIONS(1919),
    [anon_sym_PLUS] = ACTIONS(1921),
    [anon_sym_DASH] = ACTIONS(1921),
    [anon_sym_DASH_EQ] = ACTIONS(1919),
    [anon_sym_LT_EQ] = ACTIONS(1919),
    [anon_sym_GT_EQ] = ACTIONS(1919),
    [anon_sym_PLUS_PLUS] = ACTIONS(1919),
    [anon_sym_DASH_DASH] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1919),
  },
  [664] = {
    [sym_concatenation] = STATE(1147),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1147),
    [sym_regex] = ACTIONS(2372),
    [anon_sym_RBRACE] = ACTIONS(2342),
    [anon_sym_EQ] = ACTIONS(2358),
    [anon_sym_DASH] = ACTIONS(2358),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2360),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2358),
    [anon_sym_COLON_QMARK] = ACTIONS(2358),
    [anon_sym_COLON_DASH] = ACTIONS(2358),
    [anon_sym_PERCENT] = ACTIONS(2358),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [665] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2342),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [666] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2374),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [667] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1927),
    [anon_sym_EQ_EQ] = ACTIONS(1927),
    [anon_sym_EQ] = ACTIONS(1929),
    [anon_sym_PLUS_EQ] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_BANG_EQ] = ACTIONS(1927),
    [anon_sym_PLUS] = ACTIONS(1929),
    [anon_sym_DASH] = ACTIONS(1929),
    [anon_sym_DASH_EQ] = ACTIONS(1927),
    [anon_sym_LT_EQ] = ACTIONS(1927),
    [anon_sym_GT_EQ] = ACTIONS(1927),
    [anon_sym_PLUS_PLUS] = ACTIONS(1927),
    [anon_sym_DASH_DASH] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1927),
  },
  [668] = {
    [anon_sym_SEMI] = ACTIONS(2376),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2374),
    [anon_sym_SEMI_SEMI] = ACTIONS(2378),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2378),
    [anon_sym_AMP] = ACTIONS(2376),
  },
  [669] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2376),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2374),
    [anon_sym_SEMI_SEMI] = ACTIONS(2378),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2378),
    [anon_sym_AMP] = ACTIONS(2376),
  },
  [670] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2374),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [671] = {
    [anon_sym_SEMI] = ACTIONS(2380),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2382),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2374),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2382),
    [anon_sym_AMP] = ACTIONS(2380),
  },
  [672] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2380),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2382),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2374),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2382),
    [anon_sym_AMP] = ACTIONS(2380),
  },
  [673] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2384),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [674] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1959),
    [anon_sym_EQ_EQ] = ACTIONS(1959),
    [anon_sym_EQ] = ACTIONS(1961),
    [anon_sym_PLUS_EQ] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_BANG_EQ] = ACTIONS(1959),
    [anon_sym_PLUS] = ACTIONS(1961),
    [anon_sym_DASH] = ACTIONS(1961),
    [anon_sym_DASH_EQ] = ACTIONS(1959),
    [anon_sym_LT_EQ] = ACTIONS(1959),
    [anon_sym_GT_EQ] = ACTIONS(1959),
    [anon_sym_PLUS_PLUS] = ACTIONS(1959),
    [anon_sym_DASH_DASH] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1959),
  },
  [675] = {
    [anon_sym_SEMI] = ACTIONS(2386),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2384),
    [anon_sym_SEMI_SEMI] = ACTIONS(2388),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2388),
    [anon_sym_AMP] = ACTIONS(2386),
  },
  [676] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2386),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2384),
    [anon_sym_SEMI_SEMI] = ACTIONS(2388),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2388),
    [anon_sym_AMP] = ACTIONS(2386),
  },
  [677] = {
    [anon_sym_LT] = ACTIONS(2390),
    [anon_sym_GT] = ACTIONS(2390),
    [anon_sym_GT_GT] = ACTIONS(2392),
    [anon_sym_AMP_GT] = ACTIONS(2390),
    [anon_sym_AMP_GT_GT] = ACTIONS(2392),
    [anon_sym_LT_AMP] = ACTIONS(2392),
    [anon_sym_GT_AMP] = ACTIONS(2392),
    [sym_comment] = ACTIONS(55),
  },
  [678] = {
    [sym_concatenation] = STATE(1166),
    [sym_string] = STATE(1161),
    [sym_simple_expansion] = STATE(1161),
    [sym_string_expansion] = STATE(1161),
    [sym_expansion] = STATE(1161),
    [sym_command_substitution] = STATE(1161),
    [sym_process_substitution] = STATE(1161),
    [sym__special_characters] = ACTIONS(2394),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(2400),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2400),
  },
  [679] = {
    [sym_heredoc_start] = ACTIONS(2410),
    [sym_comment] = ACTIONS(55),
  },
  [680] = {
    [sym_concatenation] = STATE(1170),
    [sym_string] = STATE(1169),
    [sym_simple_expansion] = STATE(1169),
    [sym_string_expansion] = STATE(1169),
    [sym_expansion] = STATE(1169),
    [sym_command_substitution] = STATE(1169),
    [sym_process_substitution] = STATE(1169),
    [sym__special_characters] = ACTIONS(2412),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(2414),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2414),
  },
  [681] = {
    [sym_file_redirect] = STATE(1171),
    [sym_heredoc_redirect] = STATE(1171),
    [sym_herestring_redirect] = STATE(1171),
    [aux_sym_while_statement_repeat1] = STATE(1171),
    [sym_file_descriptor] = ACTIONS(1298),
    [ts_builtin_sym_end] = ACTIONS(2416),
    [anon_sym_SEMI] = ACTIONS(2418),
    [anon_sym_PIPE] = ACTIONS(2418),
    [anon_sym_SEMI_SEMI] = ACTIONS(2416),
    [anon_sym_PIPE_AMP] = ACTIONS(2416),
    [anon_sym_AMP_AMP] = ACTIONS(2416),
    [anon_sym_PIPE_PIPE] = ACTIONS(2416),
    [anon_sym_LT] = ACTIONS(1304),
    [anon_sym_GT] = ACTIONS(1304),
    [anon_sym_GT_GT] = ACTIONS(1306),
    [anon_sym_AMP_GT] = ACTIONS(1304),
    [anon_sym_AMP_GT_GT] = ACTIONS(1306),
    [anon_sym_LT_AMP] = ACTIONS(1306),
    [anon_sym_GT_AMP] = ACTIONS(1306),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(1312),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2416),
    [anon_sym_AMP] = ACTIONS(2418),
  },
  [682] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [683] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [684] = {
    [aux_sym_concatenation_repeat1] = STATE(1172),
    [sym_file_descriptor] = ACTIONS(1128),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [anon_sym_LT] = ACTIONS(1132),
    [anon_sym_GT] = ACTIONS(1132),
    [anon_sym_GT_GT] = ACTIONS(1128),
    [anon_sym_AMP_GT] = ACTIONS(1132),
    [anon_sym_AMP_GT_GT] = ACTIONS(1128),
    [anon_sym_LT_AMP] = ACTIONS(1128),
    [anon_sym_GT_AMP] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [685] = {
    [aux_sym_concatenation_repeat1] = STATE(1172),
    [sym_file_descriptor] = ACTIONS(1106),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [686] = {
    [sym_file_redirect] = STATE(1176),
    [sym_heredoc_redirect] = STATE(1176),
    [sym_herestring_redirect] = STATE(1176),
    [aux_sym_while_statement_repeat1] = STATE(1176),
    [sym_file_descriptor] = ACTIONS(2424),
    [anon_sym_SEMI] = ACTIONS(1302),
    [anon_sym_PIPE] = ACTIONS(1302),
    [anon_sym_SEMI_SEMI] = ACTIONS(1300),
    [anon_sym_PIPE_AMP] = ACTIONS(1300),
    [anon_sym_AMP_AMP] = ACTIONS(1300),
    [anon_sym_PIPE_PIPE] = ACTIONS(1300),
    [anon_sym_LT] = ACTIONS(2426),
    [anon_sym_GT] = ACTIONS(2426),
    [anon_sym_GT_GT] = ACTIONS(2428),
    [anon_sym_AMP_GT] = ACTIONS(2426),
    [anon_sym_AMP_GT_GT] = ACTIONS(2428),
    [anon_sym_LT_AMP] = ACTIONS(2428),
    [anon_sym_GT_AMP] = ACTIONS(2428),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(2430),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1300),
    [anon_sym_AMP] = ACTIONS(1302),
  },
  [687] = {
    [sym_file_redirect] = STATE(1177),
    [sym_heredoc_redirect] = STATE(1177),
    [sym_heredoc_body] = STATE(699),
    [sym_herestring_redirect] = STATE(1177),
    [aux_sym_while_statement_repeat1] = STATE(1177),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(1340),
    [anon_sym_PIPE] = ACTIONS(1340),
    [anon_sym_SEMI_SEMI] = ACTIONS(1338),
    [anon_sym_PIPE_AMP] = ACTIONS(1338),
    [anon_sym_AMP_AMP] = ACTIONS(1338),
    [anon_sym_PIPE_PIPE] = ACTIONS(1338),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1338),
    [anon_sym_AMP] = ACTIONS(1340),
  },
  [688] = {
    [anon_sym_RPAREN] = ACTIONS(2432),
    [sym_comment] = ACTIONS(55),
  },
  [689] = {
    [sym_file_redirect] = STATE(756),
    [sym_file_descriptor] = ACTIONS(2434),
    [anon_sym_SEMI] = ACTIONS(1432),
    [anon_sym_PIPE] = ACTIONS(1432),
    [anon_sym_SEMI_SEMI] = ACTIONS(1430),
    [anon_sym_PIPE_AMP] = ACTIONS(1430),
    [anon_sym_AMP_AMP] = ACTIONS(1430),
    [anon_sym_PIPE_PIPE] = ACTIONS(1430),
    [anon_sym_LT] = ACTIONS(2436),
    [anon_sym_GT] = ACTIONS(2436),
    [anon_sym_GT_GT] = ACTIONS(2438),
    [anon_sym_AMP_GT] = ACTIONS(2436),
    [anon_sym_AMP_GT_GT] = ACTIONS(2438),
    [anon_sym_LT_AMP] = ACTIONS(2438),
    [anon_sym_GT_AMP] = ACTIONS(2438),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1430),
    [anon_sym_AMP] = ACTIONS(1432),
  },
  [690] = {
    [sym_concatenation] = STATE(818),
    [sym_string] = STATE(1182),
    [sym_array] = STATE(818),
    [sym_simple_expansion] = STATE(1182),
    [sym_string_expansion] = STATE(1182),
    [sym_expansion] = STATE(1182),
    [sym_command_substitution] = STATE(1182),
    [sym_process_substitution] = STATE(1182),
    [sym__empty_value] = ACTIONS(1540),
    [anon_sym_LPAREN] = ACTIONS(1542),
    [sym__special_characters] = ACTIONS(2440),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(2442),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2442),
  },
  [691] = {
    [aux_sym_concatenation_repeat1] = STATE(1183),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [692] = {
    [sym_variable_assignment] = STATE(692),
    [sym_subscript] = STATE(277),
    [sym_concatenation] = STATE(692),
    [sym_string] = STATE(276),
    [sym_simple_expansion] = STATE(276),
    [sym_string_expansion] = STATE(276),
    [sym_expansion] = STATE(276),
    [sym_command_substitution] = STATE(276),
    [sym_process_substitution] = STATE(276),
    [aux_sym_declaration_command_repeat1] = STATE(692),
    [sym_variable_name] = ACTIONS(2444),
    [anon_sym_SEMI] = ACTIONS(1601),
    [anon_sym_PIPE] = ACTIONS(1601),
    [anon_sym_SEMI_SEMI] = ACTIONS(1599),
    [anon_sym_PIPE_AMP] = ACTIONS(1599),
    [anon_sym_AMP_AMP] = ACTIONS(1599),
    [anon_sym_PIPE_PIPE] = ACTIONS(1599),
    [sym__special_characters] = ACTIONS(2447),
    [anon_sym_DQUOTE] = ACTIONS(1606),
    [anon_sym_DOLLAR] = ACTIONS(1609),
    [sym_raw_string] = ACTIONS(2450),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1618),
    [anon_sym_BQUOTE] = ACTIONS(1621),
    [anon_sym_LT_LPAREN] = ACTIONS(1624),
    [anon_sym_GT_LPAREN] = ACTIONS(1624),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2453),
    [sym_word] = ACTIONS(2456),
    [anon_sym_LF] = ACTIONS(1599),
    [anon_sym_AMP] = ACTIONS(1601),
  },
  [693] = {
    [aux_sym_concatenation_repeat1] = STATE(1184),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [694] = {
    [sym_concatenation] = STATE(694),
    [sym_string] = STATE(280),
    [sym_simple_expansion] = STATE(280),
    [sym_string_expansion] = STATE(280),
    [sym_expansion] = STATE(280),
    [sym_command_substitution] = STATE(280),
    [sym_process_substitution] = STATE(280),
    [aux_sym_unset_command_repeat1] = STATE(694),
    [anon_sym_SEMI] = ACTIONS(1683),
    [anon_sym_PIPE] = ACTIONS(1683),
    [anon_sym_SEMI_SEMI] = ACTIONS(1681),
    [anon_sym_PIPE_AMP] = ACTIONS(1681),
    [anon_sym_AMP_AMP] = ACTIONS(1681),
    [anon_sym_PIPE_PIPE] = ACTIONS(1681),
    [sym__special_characters] = ACTIONS(2459),
    [anon_sym_DQUOTE] = ACTIONS(1688),
    [anon_sym_DOLLAR] = ACTIONS(1691),
    [sym_raw_string] = ACTIONS(2462),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1697),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1700),
    [anon_sym_BQUOTE] = ACTIONS(1703),
    [anon_sym_LT_LPAREN] = ACTIONS(1706),
    [anon_sym_GT_LPAREN] = ACTIONS(1706),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2465),
    [sym_word] = ACTIONS(2468),
    [anon_sym_LF] = ACTIONS(1681),
    [anon_sym_AMP] = ACTIONS(1683),
  },
  [695] = {
    [aux_sym_concatenation_repeat1] = STATE(695),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [696] = {
    [sym_compound_statement] = STATE(1185),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [697] = {
    [sym__simple_heredoc_body] = ACTIONS(2471),
    [sym__heredoc_body_beginning] = ACTIONS(2471),
    [sym_file_descriptor] = ACTIONS(2471),
    [ts_builtin_sym_end] = ACTIONS(2471),
    [anon_sym_SEMI] = ACTIONS(2473),
    [anon_sym_esac] = ACTIONS(2471),
    [anon_sym_PIPE] = ACTIONS(2473),
    [anon_sym_RPAREN] = ACTIONS(2471),
    [anon_sym_SEMI_SEMI] = ACTIONS(2471),
    [anon_sym_PIPE_AMP] = ACTIONS(2471),
    [anon_sym_AMP_AMP] = ACTIONS(2471),
    [anon_sym_PIPE_PIPE] = ACTIONS(2471),
    [anon_sym_LT] = ACTIONS(2473),
    [anon_sym_GT] = ACTIONS(2473),
    [anon_sym_GT_GT] = ACTIONS(2471),
    [anon_sym_AMP_GT] = ACTIONS(2473),
    [anon_sym_AMP_GT_GT] = ACTIONS(2471),
    [anon_sym_LT_AMP] = ACTIONS(2471),
    [anon_sym_GT_AMP] = ACTIONS(2471),
    [anon_sym_LT_LT] = ACTIONS(2473),
    [anon_sym_LT_LT_DASH] = ACTIONS(2471),
    [anon_sym_LT_LT_LT] = ACTIONS(2471),
    [anon_sym_BQUOTE] = ACTIONS(2471),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2471),
    [anon_sym_AMP] = ACTIONS(2473),
  },
  [698] = {
    [sym__terminated_statement] = STATE(1187),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1187),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_done] = ACTIONS(2475),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [699] = {
    [ts_builtin_sym_end] = ACTIONS(2477),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_esac] = ACTIONS(2477),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_RPAREN] = ACTIONS(2477),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_BQUOTE] = ACTIONS(2477),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [700] = {
    [sym_file_redirect] = STATE(541),
    [sym_heredoc_redirect] = STATE(541),
    [sym_heredoc_body] = STATE(1188),
    [sym_herestring_redirect] = STATE(541),
    [aux_sym_while_statement_repeat1] = STATE(541),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(2477),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [701] = {
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [702] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [703] = {
    [sym_concatenation] = STATE(994),
    [sym_string] = STATE(1190),
    [sym_simple_expansion] = STATE(1190),
    [sym_string_expansion] = STATE(1190),
    [sym_expansion] = STATE(1190),
    [sym_command_substitution] = STATE(1190),
    [sym_process_substitution] = STATE(1190),
    [sym__special_characters] = ACTIONS(2481),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(2483),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2483),
  },
  [704] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(2007),
    [sym__heredoc_body_beginning] = ACTIONS(2007),
    [sym_file_descriptor] = ACTIONS(2007),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2009),
    [anon_sym_PIPE] = ACTIONS(2009),
    [anon_sym_SEMI_SEMI] = ACTIONS(2007),
    [anon_sym_PIPE_AMP] = ACTIONS(2007),
    [anon_sym_AMP_AMP] = ACTIONS(2007),
    [anon_sym_PIPE_PIPE] = ACTIONS(2007),
    [anon_sym_EQ_TILDE] = ACTIONS(2009),
    [anon_sym_EQ_EQ] = ACTIONS(2009),
    [anon_sym_LT] = ACTIONS(2009),
    [anon_sym_GT] = ACTIONS(2009),
    [anon_sym_GT_GT] = ACTIONS(2007),
    [anon_sym_AMP_GT] = ACTIONS(2009),
    [anon_sym_AMP_GT_GT] = ACTIONS(2007),
    [anon_sym_LT_AMP] = ACTIONS(2007),
    [anon_sym_GT_AMP] = ACTIONS(2007),
    [anon_sym_LT_LT] = ACTIONS(2009),
    [anon_sym_LT_LT_DASH] = ACTIONS(2007),
    [anon_sym_LT_LT_LT] = ACTIONS(2007),
    [sym__special_characters] = ACTIONS(2007),
    [anon_sym_DQUOTE] = ACTIONS(2007),
    [anon_sym_DOLLAR] = ACTIONS(2009),
    [sym_raw_string] = ACTIONS(2007),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2007),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2007),
    [anon_sym_BQUOTE] = ACTIONS(2007),
    [anon_sym_LT_LPAREN] = ACTIONS(2007),
    [anon_sym_GT_LPAREN] = ACTIONS(2007),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2009),
    [anon_sym_LF] = ACTIONS(2007),
    [anon_sym_AMP] = ACTIONS(2009),
  },
  [705] = {
    [aux_sym_concatenation_repeat1] = STATE(282),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [706] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(773),
    [sym__heredoc_body_beginning] = ACTIONS(773),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [707] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [708] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(2015),
    [sym__heredoc_body_beginning] = ACTIONS(2015),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [709] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [710] = {
    [sym_file_redirect] = STATE(710),
    [sym_heredoc_redirect] = STATE(710),
    [sym_herestring_redirect] = STATE(710),
    [aux_sym_while_statement_repeat1] = STATE(710),
    [sym__simple_heredoc_body] = ACTIONS(2027),
    [sym__heredoc_body_beginning] = ACTIONS(2027),
    [sym_file_descriptor] = ACTIONS(2485),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(2488),
    [anon_sym_GT] = ACTIONS(2488),
    [anon_sym_GT_GT] = ACTIONS(2491),
    [anon_sym_AMP_GT] = ACTIONS(2488),
    [anon_sym_AMP_GT_GT] = ACTIONS(2491),
    [anon_sym_LT_AMP] = ACTIONS(2491),
    [anon_sym_GT_AMP] = ACTIONS(2491),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2043),
    [anon_sym_LT_LT_LT] = ACTIONS(2494),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [711] = {
    [sym_file_redirect] = STATE(710),
    [sym_heredoc_redirect] = STATE(710),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(710),
    [aux_sym_while_statement_repeat1] = STATE(710),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [712] = {
    [sym_concatenation] = STATE(712),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_command_repeat2] = STATE(712),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2497),
    [anon_sym_EQ_EQ] = ACTIONS(2497),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2500),
    [anon_sym_DQUOTE] = ACTIONS(2055),
    [anon_sym_DOLLAR] = ACTIONS(2058),
    [sym_raw_string] = ACTIONS(2503),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2064),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2067),
    [anon_sym_BQUOTE] = ACTIONS(2070),
    [anon_sym_LT_LPAREN] = ACTIONS(2073),
    [anon_sym_GT_LPAREN] = ACTIONS(2073),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2506),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [713] = {
    [sym_file_redirect] = STATE(1192),
    [sym_heredoc_redirect] = STATE(1192),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(1192),
    [sym_concatenation] = STATE(712),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(1192),
    [aux_sym_command_repeat2] = STATE(712),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [714] = {
    [ts_builtin_sym_end] = ACTIONS(2509),
    [anon_sym_SEMI] = ACTIONS(2511),
    [anon_sym_esac] = ACTIONS(2509),
    [anon_sym_PIPE] = ACTIONS(2511),
    [anon_sym_RPAREN] = ACTIONS(2509),
    [anon_sym_SEMI_SEMI] = ACTIONS(2509),
    [anon_sym_PIPE_AMP] = ACTIONS(2509),
    [anon_sym_AMP_AMP] = ACTIONS(2509),
    [anon_sym_PIPE_PIPE] = ACTIONS(2509),
    [anon_sym_BQUOTE] = ACTIONS(2509),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2509),
    [anon_sym_AMP] = ACTIONS(2511),
  },
  [715] = {
    [sym__terminated_statement] = STATE(1193),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [716] = {
    [sym__terminated_statement] = STATE(1194),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1194),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(2513),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [717] = {
    [anon_sym_fi] = ACTIONS(2515),
    [sym_comment] = ACTIONS(55),
  },
  [718] = {
    [sym__terminated_statement] = STATE(1197),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_elif_clause] = STATE(1198),
    [sym_else_clause] = STATE(1196),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1197),
    [aux_sym_if_statement_repeat1] = STATE(1198),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(2517),
    [anon_sym_elif] = ACTIONS(1360),
    [anon_sym_else] = ACTIONS(1362),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [719] = {
    [sym_elif_clause] = STATE(1199),
    [sym_else_clause] = STATE(1196),
    [aux_sym_if_statement_repeat1] = STATE(1199),
    [anon_sym_fi] = ACTIONS(2515),
    [anon_sym_elif] = ACTIONS(2519),
    [anon_sym_else] = ACTIONS(2521),
    [sym_comment] = ACTIONS(55),
  },
  [720] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_in] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1763),
  },
  [721] = {
    [sym_case_item] = STATE(1205),
    [sym_last_case_item] = STATE(1203),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1205),
    [anon_sym_esac] = ACTIONS(2523),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2529),
  },
  [722] = {
    [anon_sym_SEMI] = ACTIONS(2531),
    [anon_sym_SEMI_SEMI] = ACTIONS(2533),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2533),
    [anon_sym_AMP] = ACTIONS(2533),
  },
  [723] = {
    [aux_sym_concatenation_repeat1] = STATE(723),
    [sym__concat] = ACTIONS(2535),
    [anon_sym_in] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1763),
  },
  [724] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_in] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1770),
  },
  [725] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2538),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [726] = {
    [sym_case_item] = STATE(1210),
    [sym_last_case_item] = STATE(1209),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1210),
    [anon_sym_esac] = ACTIONS(2540),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2529),
  },
  [727] = {
    [anon_sym_SEMI] = ACTIONS(2542),
    [anon_sym_SEMI_SEMI] = ACTIONS(2544),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2544),
    [anon_sym_AMP] = ACTIONS(2544),
  },
  [728] = {
    [sym_concatenation] = STATE(1215),
    [sym_string] = STATE(1214),
    [sym_simple_expansion] = STATE(1214),
    [sym_string_expansion] = STATE(1214),
    [sym_expansion] = STATE(1214),
    [sym_command_substitution] = STATE(1214),
    [sym_process_substitution] = STATE(1214),
    [anon_sym_RBRACE] = ACTIONS(2546),
    [sym__special_characters] = ACTIONS(2548),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2550),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2550),
  },
  [729] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2552),
    [sym_comment] = ACTIONS(55),
  },
  [730] = {
    [sym_concatenation] = STATE(1219),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1219),
    [anon_sym_RBRACE] = ACTIONS(2554),
    [anon_sym_EQ] = ACTIONS(2556),
    [anon_sym_DASH] = ACTIONS(2556),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2558),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2560),
    [anon_sym_COLON] = ACTIONS(2556),
    [anon_sym_COLON_QMARK] = ACTIONS(2556),
    [anon_sym_COLON_DASH] = ACTIONS(2556),
    [anon_sym_PERCENT] = ACTIONS(2556),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [731] = {
    [sym_concatenation] = STATE(1221),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1221),
    [anon_sym_RBRACE] = ACTIONS(2546),
    [anon_sym_EQ] = ACTIONS(2562),
    [anon_sym_DASH] = ACTIONS(2562),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2564),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2566),
    [anon_sym_COLON] = ACTIONS(2562),
    [anon_sym_COLON_QMARK] = ACTIONS(2562),
    [anon_sym_COLON_DASH] = ACTIONS(2562),
    [anon_sym_PERCENT] = ACTIONS(2562),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [732] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_in] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1871),
  },
  [733] = {
    [sym_concatenation] = STATE(1224),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1224),
    [sym_regex] = ACTIONS(2568),
    [anon_sym_RBRACE] = ACTIONS(2570),
    [anon_sym_EQ] = ACTIONS(2572),
    [anon_sym_DASH] = ACTIONS(2572),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2574),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2572),
    [anon_sym_COLON_QMARK] = ACTIONS(2572),
    [anon_sym_COLON_DASH] = ACTIONS(2572),
    [anon_sym_PERCENT] = ACTIONS(2572),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [734] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2570),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [735] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_in] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1919),
  },
  [736] = {
    [sym_concatenation] = STATE(1221),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1221),
    [sym_regex] = ACTIONS(2576),
    [anon_sym_RBRACE] = ACTIONS(2546),
    [anon_sym_EQ] = ACTIONS(2562),
    [anon_sym_DASH] = ACTIONS(2562),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2564),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2562),
    [anon_sym_COLON_QMARK] = ACTIONS(2562),
    [anon_sym_COLON_DASH] = ACTIONS(2562),
    [anon_sym_PERCENT] = ACTIONS(2562),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [737] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2546),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [738] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2578),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [739] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_in] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1927),
  },
  [740] = {
    [anon_sym_SEMI] = ACTIONS(2580),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2578),
    [anon_sym_SEMI_SEMI] = ACTIONS(2582),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2582),
    [anon_sym_AMP] = ACTIONS(2580),
  },
  [741] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2580),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2578),
    [anon_sym_SEMI_SEMI] = ACTIONS(2582),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2582),
    [anon_sym_AMP] = ACTIONS(2580),
  },
  [742] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2578),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [743] = {
    [anon_sym_SEMI] = ACTIONS(2584),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2586),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2578),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2586),
    [anon_sym_AMP] = ACTIONS(2584),
  },
  [744] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2584),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2586),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2578),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2586),
    [anon_sym_AMP] = ACTIONS(2584),
  },
  [745] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2588),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [746] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_in] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1959),
  },
  [747] = {
    [anon_sym_SEMI] = ACTIONS(2590),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2588),
    [anon_sym_SEMI_SEMI] = ACTIONS(2592),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2592),
    [anon_sym_AMP] = ACTIONS(2590),
  },
  [748] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2590),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2588),
    [anon_sym_SEMI_SEMI] = ACTIONS(2592),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2592),
    [anon_sym_AMP] = ACTIONS(2590),
  },
  [749] = {
    [sym_compound_statement] = STATE(1231),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [750] = {
    [sym_file_descriptor] = ACTIONS(2594),
    [ts_builtin_sym_end] = ACTIONS(2594),
    [anon_sym_SEMI] = ACTIONS(2596),
    [anon_sym_esac] = ACTIONS(2594),
    [anon_sym_PIPE] = ACTIONS(2596),
    [anon_sym_RPAREN] = ACTIONS(2594),
    [anon_sym_SEMI_SEMI] = ACTIONS(2594),
    [anon_sym_PIPE_AMP] = ACTIONS(2594),
    [anon_sym_AMP_AMP] = ACTIONS(2594),
    [anon_sym_PIPE_PIPE] = ACTIONS(2594),
    [anon_sym_LT] = ACTIONS(2596),
    [anon_sym_GT] = ACTIONS(2596),
    [anon_sym_GT_GT] = ACTIONS(2594),
    [anon_sym_AMP_GT] = ACTIONS(2596),
    [anon_sym_AMP_GT_GT] = ACTIONS(2594),
    [anon_sym_LT_AMP] = ACTIONS(2594),
    [anon_sym_GT_AMP] = ACTIONS(2594),
    [anon_sym_BQUOTE] = ACTIONS(2594),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2594),
    [anon_sym_AMP] = ACTIONS(2596),
  },
  [751] = {
    [anon_sym_SEMI] = ACTIONS(2598),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(2600),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2600),
    [anon_sym_AMP] = ACTIONS(2598),
  },
  [752] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2598),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(2600),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2600),
    [anon_sym_AMP] = ACTIONS(2598),
  },
  [753] = {
    [sym__terminated_statement] = STATE(1234),
    [sym_for_statement] = STATE(751),
    [sym_c_style_for_statement] = STATE(751),
    [sym_while_statement] = STATE(751),
    [sym_if_statement] = STATE(751),
    [sym_case_statement] = STATE(751),
    [sym_function_definition] = STATE(751),
    [sym_subshell] = STATE(751),
    [sym_pipeline] = STATE(751),
    [sym_list] = STATE(751),
    [sym_negated_command] = STATE(751),
    [sym_test_command] = STATE(751),
    [sym_declaration_command] = STATE(751),
    [sym_unset_command] = STATE(751),
    [sym_command] = STATE(751),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(752),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1234),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_RBRACE] = ACTIONS(2602),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [754] = {
    [anon_sym_LT] = ACTIONS(2604),
    [anon_sym_GT] = ACTIONS(2604),
    [anon_sym_GT_GT] = ACTIONS(2606),
    [anon_sym_AMP_GT] = ACTIONS(2604),
    [anon_sym_AMP_GT_GT] = ACTIONS(2606),
    [anon_sym_LT_AMP] = ACTIONS(2606),
    [anon_sym_GT_AMP] = ACTIONS(2606),
    [sym_comment] = ACTIONS(55),
  },
  [755] = {
    [sym_concatenation] = STATE(1238),
    [sym_string] = STATE(1237),
    [sym_simple_expansion] = STATE(1237),
    [sym_string_expansion] = STATE(1237),
    [sym_expansion] = STATE(1237),
    [sym_command_substitution] = STATE(1237),
    [sym_process_substitution] = STATE(1237),
    [sym__special_characters] = ACTIONS(2608),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(2610),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2610),
  },
  [756] = {
    [ts_builtin_sym_end] = ACTIONS(2612),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_esac] = ACTIONS(2612),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_RPAREN] = ACTIONS(2612),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_BQUOTE] = ACTIONS(2612),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [757] = {
    [aux_sym_concatenation_repeat1] = STATE(1239),
    [sym_file_descriptor] = ACTIONS(1128),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_RPAREN] = ACTIONS(1128),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [anon_sym_LT] = ACTIONS(1132),
    [anon_sym_GT] = ACTIONS(1132),
    [anon_sym_GT_GT] = ACTIONS(1128),
    [anon_sym_AMP_GT] = ACTIONS(1132),
    [anon_sym_AMP_GT_GT] = ACTIONS(1128),
    [anon_sym_LT_AMP] = ACTIONS(1128),
    [anon_sym_GT_AMP] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [758] = {
    [aux_sym_concatenation_repeat1] = STATE(1239),
    [sym_file_descriptor] = ACTIONS(1106),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_RPAREN] = ACTIONS(1106),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [759] = {
    [sym_file_redirect] = STATE(1243),
    [sym_heredoc_redirect] = STATE(1243),
    [sym_herestring_redirect] = STATE(1243),
    [aux_sym_while_statement_repeat1] = STATE(1243),
    [sym_file_descriptor] = ACTIONS(2616),
    [anon_sym_SEMI] = ACTIONS(1302),
    [anon_sym_PIPE] = ACTIONS(1302),
    [anon_sym_RPAREN] = ACTIONS(1300),
    [anon_sym_SEMI_SEMI] = ACTIONS(1300),
    [anon_sym_PIPE_AMP] = ACTIONS(1300),
    [anon_sym_AMP_AMP] = ACTIONS(1300),
    [anon_sym_PIPE_PIPE] = ACTIONS(1300),
    [anon_sym_LT] = ACTIONS(2618),
    [anon_sym_GT] = ACTIONS(2618),
    [anon_sym_GT_GT] = ACTIONS(2620),
    [anon_sym_AMP_GT] = ACTIONS(2618),
    [anon_sym_AMP_GT_GT] = ACTIONS(2620),
    [anon_sym_LT_AMP] = ACTIONS(2620),
    [anon_sym_GT_AMP] = ACTIONS(2620),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(2622),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1300),
    [anon_sym_AMP] = ACTIONS(1302),
  },
  [760] = {
    [sym_file_redirect] = STATE(1244),
    [sym_heredoc_redirect] = STATE(1244),
    [sym_heredoc_body] = STATE(699),
    [sym_herestring_redirect] = STATE(1244),
    [aux_sym_while_statement_repeat1] = STATE(1244),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(1340),
    [anon_sym_PIPE] = ACTIONS(1340),
    [anon_sym_RPAREN] = ACTIONS(1338),
    [anon_sym_SEMI_SEMI] = ACTIONS(1338),
    [anon_sym_PIPE_AMP] = ACTIONS(1338),
    [anon_sym_AMP_AMP] = ACTIONS(1338),
    [anon_sym_PIPE_PIPE] = ACTIONS(1338),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1338),
    [anon_sym_AMP] = ACTIONS(1340),
  },
  [761] = {
    [anon_sym_RPAREN] = ACTIONS(2624),
    [sym_comment] = ACTIONS(55),
  },
  [762] = {
    [sym_file_redirect] = STATE(756),
    [sym_file_descriptor] = ACTIONS(2626),
    [anon_sym_SEMI] = ACTIONS(1432),
    [anon_sym_PIPE] = ACTIONS(1432),
    [anon_sym_RPAREN] = ACTIONS(1430),
    [anon_sym_SEMI_SEMI] = ACTIONS(1430),
    [anon_sym_PIPE_AMP] = ACTIONS(1430),
    [anon_sym_AMP_AMP] = ACTIONS(1430),
    [anon_sym_PIPE_PIPE] = ACTIONS(1430),
    [anon_sym_LT] = ACTIONS(2628),
    [anon_sym_GT] = ACTIONS(2628),
    [anon_sym_GT_GT] = ACTIONS(2630),
    [anon_sym_AMP_GT] = ACTIONS(2628),
    [anon_sym_AMP_GT_GT] = ACTIONS(2630),
    [anon_sym_LT_AMP] = ACTIONS(2630),
    [anon_sym_GT_AMP] = ACTIONS(2630),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1430),
    [anon_sym_AMP] = ACTIONS(1432),
  },
  [763] = {
    [sym_concatenation] = STATE(818),
    [sym_string] = STATE(1249),
    [sym_array] = STATE(818),
    [sym_simple_expansion] = STATE(1249),
    [sym_string_expansion] = STATE(1249),
    [sym_expansion] = STATE(1249),
    [sym_command_substitution] = STATE(1249),
    [sym_process_substitution] = STATE(1249),
    [sym__empty_value] = ACTIONS(1540),
    [anon_sym_LPAREN] = ACTIONS(1542),
    [sym__special_characters] = ACTIONS(2632),
    [anon_sym_DQUOTE] = ACTIONS(205),
    [anon_sym_DOLLAR] = ACTIONS(207),
    [sym_raw_string] = ACTIONS(2634),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(211),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(213),
    [anon_sym_BQUOTE] = ACTIONS(215),
    [anon_sym_LT_LPAREN] = ACTIONS(217),
    [anon_sym_GT_LPAREN] = ACTIONS(217),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2634),
  },
  [764] = {
    [aux_sym_concatenation_repeat1] = STATE(1250),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [765] = {
    [sym_variable_assignment] = STATE(765),
    [sym_subscript] = STATE(336),
    [sym_concatenation] = STATE(765),
    [sym_string] = STATE(335),
    [sym_simple_expansion] = STATE(335),
    [sym_string_expansion] = STATE(335),
    [sym_expansion] = STATE(335),
    [sym_command_substitution] = STATE(335),
    [sym_process_substitution] = STATE(335),
    [aux_sym_declaration_command_repeat1] = STATE(765),
    [sym_variable_name] = ACTIONS(2636),
    [anon_sym_SEMI] = ACTIONS(1601),
    [anon_sym_PIPE] = ACTIONS(1601),
    [anon_sym_RPAREN] = ACTIONS(1599),
    [anon_sym_SEMI_SEMI] = ACTIONS(1599),
    [anon_sym_PIPE_AMP] = ACTIONS(1599),
    [anon_sym_AMP_AMP] = ACTIONS(1599),
    [anon_sym_PIPE_PIPE] = ACTIONS(1599),
    [sym__special_characters] = ACTIONS(2639),
    [anon_sym_DQUOTE] = ACTIONS(1606),
    [anon_sym_DOLLAR] = ACTIONS(1609),
    [sym_raw_string] = ACTIONS(2642),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1615),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1618),
    [anon_sym_BQUOTE] = ACTIONS(1621),
    [anon_sym_LT_LPAREN] = ACTIONS(1624),
    [anon_sym_GT_LPAREN] = ACTIONS(1624),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2645),
    [sym_word] = ACTIONS(2648),
    [anon_sym_LF] = ACTIONS(1599),
    [anon_sym_AMP] = ACTIONS(1601),
  },
  [766] = {
    [aux_sym_concatenation_repeat1] = STATE(1251),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [767] = {
    [sym_concatenation] = STATE(767),
    [sym_string] = STATE(339),
    [sym_simple_expansion] = STATE(339),
    [sym_string_expansion] = STATE(339),
    [sym_expansion] = STATE(339),
    [sym_command_substitution] = STATE(339),
    [sym_process_substitution] = STATE(339),
    [aux_sym_unset_command_repeat1] = STATE(767),
    [anon_sym_SEMI] = ACTIONS(1683),
    [anon_sym_PIPE] = ACTIONS(1683),
    [anon_sym_RPAREN] = ACTIONS(1681),
    [anon_sym_SEMI_SEMI] = ACTIONS(1681),
    [anon_sym_PIPE_AMP] = ACTIONS(1681),
    [anon_sym_AMP_AMP] = ACTIONS(1681),
    [anon_sym_PIPE_PIPE] = ACTIONS(1681),
    [sym__special_characters] = ACTIONS(2651),
    [anon_sym_DQUOTE] = ACTIONS(1688),
    [anon_sym_DOLLAR] = ACTIONS(1691),
    [sym_raw_string] = ACTIONS(2654),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1697),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1700),
    [anon_sym_BQUOTE] = ACTIONS(1703),
    [anon_sym_LT_LPAREN] = ACTIONS(1706),
    [anon_sym_GT_LPAREN] = ACTIONS(1706),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2657),
    [sym_word] = ACTIONS(2660),
    [anon_sym_LF] = ACTIONS(1681),
    [anon_sym_AMP] = ACTIONS(1683),
  },
  [768] = {
    [aux_sym_concatenation_repeat1] = STATE(768),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [769] = {
    [sym_compound_statement] = STATE(1252),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [770] = {
    [ts_builtin_sym_end] = ACTIONS(2663),
    [anon_sym_SEMI] = ACTIONS(2665),
    [anon_sym_esac] = ACTIONS(2663),
    [anon_sym_PIPE] = ACTIONS(2665),
    [anon_sym_RPAREN] = ACTIONS(2663),
    [anon_sym_SEMI_SEMI] = ACTIONS(2663),
    [anon_sym_PIPE_AMP] = ACTIONS(2663),
    [anon_sym_AMP_AMP] = ACTIONS(2663),
    [anon_sym_PIPE_PIPE] = ACTIONS(2663),
    [anon_sym_BQUOTE] = ACTIONS(2663),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2663),
    [anon_sym_AMP] = ACTIONS(2665),
  },
  [771] = {
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1971),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [772] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(1971),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [773] = {
    [sym_concatenation] = STATE(994),
    [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(2667),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(2669),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2669),
  },
  [774] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(2007),
    [sym__heredoc_body_beginning] = ACTIONS(2007),
    [sym_file_descriptor] = ACTIONS(2007),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2009),
    [anon_sym_PIPE] = ACTIONS(2009),
    [anon_sym_RPAREN] = ACTIONS(2007),
    [anon_sym_SEMI_SEMI] = ACTIONS(2007),
    [anon_sym_PIPE_AMP] = ACTIONS(2007),
    [anon_sym_AMP_AMP] = ACTIONS(2007),
    [anon_sym_PIPE_PIPE] = ACTIONS(2007),
    [anon_sym_EQ_TILDE] = ACTIONS(2009),
    [anon_sym_EQ_EQ] = ACTIONS(2009),
    [anon_sym_LT] = ACTIONS(2009),
    [anon_sym_GT] = ACTIONS(2009),
    [anon_sym_GT_GT] = ACTIONS(2007),
    [anon_sym_AMP_GT] = ACTIONS(2009),
    [anon_sym_AMP_GT_GT] = ACTIONS(2007),
    [anon_sym_LT_AMP] = ACTIONS(2007),
    [anon_sym_GT_AMP] = ACTIONS(2007),
    [anon_sym_LT_LT] = ACTIONS(2009),
    [anon_sym_LT_LT_DASH] = ACTIONS(2007),
    [anon_sym_LT_LT_LT] = ACTIONS(2007),
    [sym__special_characters] = ACTIONS(2007),
    [anon_sym_DQUOTE] = ACTIONS(2007),
    [anon_sym_DOLLAR] = ACTIONS(2009),
    [sym_raw_string] = ACTIONS(2007),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2007),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2007),
    [anon_sym_BQUOTE] = ACTIONS(2007),
    [anon_sym_LT_LPAREN] = ACTIONS(2007),
    [anon_sym_GT_LPAREN] = ACTIONS(2007),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2009),
    [anon_sym_LF] = ACTIONS(2007),
    [anon_sym_AMP] = ACTIONS(2009),
  },
  [775] = {
    [aux_sym_concatenation_repeat1] = STATE(341),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_RPAREN] = ACTIONS(2003),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [776] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(773),
    [sym__heredoc_body_beginning] = ACTIONS(773),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_RPAREN] = ACTIONS(773),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [777] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [778] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(2015),
    [sym__heredoc_body_beginning] = ACTIONS(2015),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_RPAREN] = ACTIONS(2015),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [779] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_RPAREN] = ACTIONS(2019),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [780] = {
    [sym_file_redirect] = STATE(780),
    [sym_heredoc_redirect] = STATE(780),
    [sym_herestring_redirect] = STATE(780),
    [aux_sym_while_statement_repeat1] = STATE(780),
    [sym__simple_heredoc_body] = ACTIONS(2027),
    [sym__heredoc_body_beginning] = ACTIONS(2027),
    [sym_file_descriptor] = ACTIONS(2671),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_RPAREN] = ACTIONS(2027),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(2674),
    [anon_sym_GT] = ACTIONS(2674),
    [anon_sym_GT_GT] = ACTIONS(2677),
    [anon_sym_AMP_GT] = ACTIONS(2674),
    [anon_sym_AMP_GT_GT] = ACTIONS(2677),
    [anon_sym_LT_AMP] = ACTIONS(2677),
    [anon_sym_GT_AMP] = ACTIONS(2677),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2043),
    [anon_sym_LT_LT_LT] = ACTIONS(2680),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [781] = {
    [sym_file_redirect] = STATE(780),
    [sym_heredoc_redirect] = STATE(780),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(780),
    [aux_sym_while_statement_repeat1] = STATE(780),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_RPAREN] = ACTIONS(2023),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [782] = {
    [sym_concatenation] = STATE(782),
    [sym_string] = STATE(352),
    [sym_simple_expansion] = STATE(352),
    [sym_string_expansion] = STATE(352),
    [sym_expansion] = STATE(352),
    [sym_command_substitution] = STATE(352),
    [sym_process_substitution] = STATE(352),
    [aux_sym_command_repeat2] = STATE(782),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_RPAREN] = ACTIONS(2003),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2683),
    [anon_sym_EQ_EQ] = ACTIONS(2683),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2686),
    [anon_sym_DQUOTE] = ACTIONS(2055),
    [anon_sym_DOLLAR] = ACTIONS(2058),
    [sym_raw_string] = ACTIONS(2689),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2064),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2067),
    [anon_sym_BQUOTE] = ACTIONS(2070),
    [anon_sym_LT_LPAREN] = ACTIONS(2073),
    [anon_sym_GT_LPAREN] = ACTIONS(2073),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2692),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [783] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2695),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [784] = {
    [sym_file_redirect] = STATE(1257),
    [sym_heredoc_redirect] = STATE(1257),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(1257),
    [sym_concatenation] = STATE(782),
    [sym_string] = STATE(352),
    [sym_simple_expansion] = STATE(352),
    [sym_string_expansion] = STATE(352),
    [sym_expansion] = STATE(352),
    [sym_command_substitution] = STATE(352),
    [sym_process_substitution] = STATE(352),
    [aux_sym_while_statement_repeat1] = STATE(1257),
    [aux_sym_command_repeat2] = STATE(782),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_RPAREN] = ACTIONS(2023),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_EQ_TILDE] = ACTIONS(635),
    [anon_sym_EQ_EQ] = ACTIONS(635),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym__special_characters] = ACTIONS(643),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(645),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(647),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [785] = {
    [sym_file_descriptor] = ACTIONS(1106),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1106),
  },
  [786] = {
    [sym_concatenation] = STATE(1259),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1259),
    [anon_sym_RPAREN] = ACTIONS(2697),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [787] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(1128),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_LT] = ACTIONS(1132),
    [anon_sym_GT] = ACTIONS(1132),
    [anon_sym_GT_GT] = ACTIONS(1128),
    [anon_sym_AMP_GT] = ACTIONS(1132),
    [anon_sym_AMP_GT_GT] = ACTIONS(1128),
    [anon_sym_LT_AMP] = ACTIONS(1128),
    [anon_sym_GT_AMP] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1128),
  },
  [788] = {
    [aux_sym_concatenation_repeat1] = STATE(435),
    [sym_file_descriptor] = ACTIONS(1106),
    [sym__concat] = ACTIONS(775),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1106),
  },
  [789] = {
    [anon_sym_AMP_AMP] = ACTIONS(2331),
    [anon_sym_PIPE_PIPE] = ACTIONS(2331),
    [anon_sym_RBRACK] = ACTIONS(2331),
    [anon_sym_EQ_TILDE] = ACTIONS(2331),
    [anon_sym_EQ_EQ] = ACTIONS(2331),
    [anon_sym_EQ] = ACTIONS(2333),
    [anon_sym_PLUS_EQ] = ACTIONS(2331),
    [anon_sym_LT] = ACTIONS(2333),
    [anon_sym_GT] = ACTIONS(2333),
    [anon_sym_BANG_EQ] = ACTIONS(2331),
    [anon_sym_PLUS] = ACTIONS(2333),
    [anon_sym_DASH] = ACTIONS(2333),
    [anon_sym_DASH_EQ] = ACTIONS(2331),
    [anon_sym_LT_EQ] = ACTIONS(2331),
    [anon_sym_GT_EQ] = ACTIONS(2331),
    [anon_sym_PLUS_PLUS] = ACTIONS(2331),
    [anon_sym_DASH_DASH] = ACTIONS(2331),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2331),
  },
  [790] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_RBRACK] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [791] = {
    [aux_sym_concatenation_repeat1] = STATE(791),
    [sym__concat] = ACTIONS(2699),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_RBRACK] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [792] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_RBRACK] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1770),
    [anon_sym_EQ_EQ] = ACTIONS(1770),
    [anon_sym_EQ] = ACTIONS(1772),
    [anon_sym_PLUS_EQ] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_BANG_EQ] = ACTIONS(1770),
    [anon_sym_PLUS] = ACTIONS(1772),
    [anon_sym_DASH] = ACTIONS(1772),
    [anon_sym_DASH_EQ] = ACTIONS(1770),
    [anon_sym_LT_EQ] = ACTIONS(1770),
    [anon_sym_GT_EQ] = ACTIONS(1770),
    [anon_sym_PLUS_PLUS] = ACTIONS(1770),
    [anon_sym_DASH_DASH] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1770),
  },
  [793] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2702),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [794] = {
    [sym_concatenation] = STATE(1264),
    [sym_string] = STATE(1263),
    [sym_simple_expansion] = STATE(1263),
    [sym_string_expansion] = STATE(1263),
    [sym_expansion] = STATE(1263),
    [sym_command_substitution] = STATE(1263),
    [sym_process_substitution] = STATE(1263),
    [anon_sym_RBRACE] = ACTIONS(2704),
    [sym__special_characters] = ACTIONS(2706),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2708),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2708),
  },
  [795] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2710),
    [sym_comment] = ACTIONS(55),
  },
  [796] = {
    [sym_concatenation] = STATE(1268),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1268),
    [anon_sym_RBRACE] = ACTIONS(2712),
    [anon_sym_EQ] = ACTIONS(2714),
    [anon_sym_DASH] = ACTIONS(2714),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2716),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2718),
    [anon_sym_COLON] = ACTIONS(2714),
    [anon_sym_COLON_QMARK] = ACTIONS(2714),
    [anon_sym_COLON_DASH] = ACTIONS(2714),
    [anon_sym_PERCENT] = ACTIONS(2714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [797] = {
    [sym_concatenation] = STATE(1270),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1270),
    [anon_sym_RBRACE] = ACTIONS(2704),
    [anon_sym_EQ] = ACTIONS(2720),
    [anon_sym_DASH] = ACTIONS(2720),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2722),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2724),
    [anon_sym_COLON] = ACTIONS(2720),
    [anon_sym_COLON_QMARK] = ACTIONS(2720),
    [anon_sym_COLON_DASH] = ACTIONS(2720),
    [anon_sym_PERCENT] = ACTIONS(2720),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [798] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_RBRACK] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1871),
    [anon_sym_EQ_EQ] = ACTIONS(1871),
    [anon_sym_EQ] = ACTIONS(1873),
    [anon_sym_PLUS_EQ] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_BANG_EQ] = ACTIONS(1871),
    [anon_sym_PLUS] = ACTIONS(1873),
    [anon_sym_DASH] = ACTIONS(1873),
    [anon_sym_DASH_EQ] = ACTIONS(1871),
    [anon_sym_LT_EQ] = ACTIONS(1871),
    [anon_sym_GT_EQ] = ACTIONS(1871),
    [anon_sym_PLUS_PLUS] = ACTIONS(1871),
    [anon_sym_DASH_DASH] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1871),
  },
  [799] = {
    [sym_concatenation] = STATE(1273),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1273),
    [sym_regex] = ACTIONS(2726),
    [anon_sym_RBRACE] = ACTIONS(2728),
    [anon_sym_EQ] = ACTIONS(2730),
    [anon_sym_DASH] = ACTIONS(2730),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2732),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2730),
    [anon_sym_COLON_QMARK] = ACTIONS(2730),
    [anon_sym_COLON_DASH] = ACTIONS(2730),
    [anon_sym_PERCENT] = ACTIONS(2730),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [800] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2728),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [801] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_RBRACK] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1919),
    [anon_sym_EQ_EQ] = ACTIONS(1919),
    [anon_sym_EQ] = ACTIONS(1921),
    [anon_sym_PLUS_EQ] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_BANG_EQ] = ACTIONS(1919),
    [anon_sym_PLUS] = ACTIONS(1921),
    [anon_sym_DASH] = ACTIONS(1921),
    [anon_sym_DASH_EQ] = ACTIONS(1919),
    [anon_sym_LT_EQ] = ACTIONS(1919),
    [anon_sym_GT_EQ] = ACTIONS(1919),
    [anon_sym_PLUS_PLUS] = ACTIONS(1919),
    [anon_sym_DASH_DASH] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1919),
  },
  [802] = {
    [sym_concatenation] = STATE(1270),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1270),
    [sym_regex] = ACTIONS(2734),
    [anon_sym_RBRACE] = ACTIONS(2704),
    [anon_sym_EQ] = ACTIONS(2720),
    [anon_sym_DASH] = ACTIONS(2720),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2722),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2720),
    [anon_sym_COLON_QMARK] = ACTIONS(2720),
    [anon_sym_COLON_DASH] = ACTIONS(2720),
    [anon_sym_PERCENT] = ACTIONS(2720),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [803] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2704),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [804] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2736),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [805] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_RBRACK] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1927),
    [anon_sym_EQ_EQ] = ACTIONS(1927),
    [anon_sym_EQ] = ACTIONS(1929),
    [anon_sym_PLUS_EQ] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_BANG_EQ] = ACTIONS(1927),
    [anon_sym_PLUS] = ACTIONS(1929),
    [anon_sym_DASH] = ACTIONS(1929),
    [anon_sym_DASH_EQ] = ACTIONS(1927),
    [anon_sym_LT_EQ] = ACTIONS(1927),
    [anon_sym_GT_EQ] = ACTIONS(1927),
    [anon_sym_PLUS_PLUS] = ACTIONS(1927),
    [anon_sym_DASH_DASH] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1927),
  },
  [806] = {
    [anon_sym_SEMI] = ACTIONS(2738),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2736),
    [anon_sym_SEMI_SEMI] = ACTIONS(2740),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2740),
    [anon_sym_AMP] = ACTIONS(2738),
  },
  [807] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2738),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2736),
    [anon_sym_SEMI_SEMI] = ACTIONS(2740),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2740),
    [anon_sym_AMP] = ACTIONS(2738),
  },
  [808] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2736),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [809] = {
    [anon_sym_SEMI] = ACTIONS(2742),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2744),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2736),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2744),
    [anon_sym_AMP] = ACTIONS(2742),
  },
  [810] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2742),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2744),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2736),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2744),
    [anon_sym_AMP] = ACTIONS(2742),
  },
  [811] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2746),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [812] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_RBRACK] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1959),
    [anon_sym_EQ_EQ] = ACTIONS(1959),
    [anon_sym_EQ] = ACTIONS(1961),
    [anon_sym_PLUS_EQ] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_BANG_EQ] = ACTIONS(1959),
    [anon_sym_PLUS] = ACTIONS(1961),
    [anon_sym_DASH] = ACTIONS(1961),
    [anon_sym_DASH_EQ] = ACTIONS(1959),
    [anon_sym_LT_EQ] = ACTIONS(1959),
    [anon_sym_GT_EQ] = ACTIONS(1959),
    [anon_sym_PLUS_PLUS] = ACTIONS(1959),
    [anon_sym_DASH_DASH] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1959),
  },
  [813] = {
    [anon_sym_SEMI] = ACTIONS(2748),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2746),
    [anon_sym_SEMI_SEMI] = ACTIONS(2750),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2750),
    [anon_sym_AMP] = ACTIONS(2748),
  },
  [814] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2748),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2746),
    [anon_sym_SEMI_SEMI] = ACTIONS(2750),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2750),
    [anon_sym_AMP] = ACTIONS(2748),
  },
  [815] = {
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_RBRACK] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [816] = {
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_RBRACK] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [817] = {
    [aux_sym_concatenation_repeat1] = STATE(817),
    [sym__concat] = ACTIONS(2337),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [818] = {
    [sym_variable_name] = ACTIONS(1106),
    [ts_builtin_sym_end] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_RPAREN] = ACTIONS(1106),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [819] = {
    [sym_concatenation] = STATE(1281),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1281),
    [anon_sym_RPAREN] = ACTIONS(2752),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [820] = {
    [aux_sym_concatenation_repeat1] = STATE(391),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1128),
    [ts_builtin_sym_end] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1132),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [821] = {
    [aux_sym_concatenation_repeat1] = STATE(391),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1106),
    [ts_builtin_sym_end] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [822] = {
    [sym__concat] = ACTIONS(1763),
    [sym_variable_name] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [823] = {
    [aux_sym_concatenation_repeat1] = STATE(823),
    [sym__concat] = ACTIONS(2754),
    [sym_variable_name] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [824] = {
    [sym__concat] = ACTIONS(1770),
    [sym_variable_name] = ACTIONS(1770),
    [ts_builtin_sym_end] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1772),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [825] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2757),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [826] = {
    [sym_concatenation] = STATE(1286),
    [sym_string] = STATE(1285),
    [sym_simple_expansion] = STATE(1285),
    [sym_string_expansion] = STATE(1285),
    [sym_expansion] = STATE(1285),
    [sym_command_substitution] = STATE(1285),
    [sym_process_substitution] = STATE(1285),
    [anon_sym_RBRACE] = ACTIONS(2759),
    [sym__special_characters] = ACTIONS(2761),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2763),
  },
  [827] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2765),
    [sym_comment] = ACTIONS(55),
  },
  [828] = {
    [sym_concatenation] = STATE(1290),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1290),
    [anon_sym_RBRACE] = ACTIONS(2767),
    [anon_sym_EQ] = ACTIONS(2769),
    [anon_sym_DASH] = ACTIONS(2769),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2771),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2773),
    [anon_sym_COLON] = ACTIONS(2769),
    [anon_sym_COLON_QMARK] = ACTIONS(2769),
    [anon_sym_COLON_DASH] = ACTIONS(2769),
    [anon_sym_PERCENT] = ACTIONS(2769),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [829] = {
    [sym_concatenation] = STATE(1292),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1292),
    [anon_sym_RBRACE] = ACTIONS(2759),
    [anon_sym_EQ] = ACTIONS(2775),
    [anon_sym_DASH] = ACTIONS(2775),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2777),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2779),
    [anon_sym_COLON] = ACTIONS(2775),
    [anon_sym_COLON_QMARK] = ACTIONS(2775),
    [anon_sym_COLON_DASH] = ACTIONS(2775),
    [anon_sym_PERCENT] = ACTIONS(2775),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [830] = {
    [sym__concat] = ACTIONS(1871),
    [sym_variable_name] = ACTIONS(1871),
    [ts_builtin_sym_end] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1873),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [831] = {
    [sym_concatenation] = STATE(1295),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1295),
    [sym_regex] = ACTIONS(2781),
    [anon_sym_RBRACE] = ACTIONS(2783),
    [anon_sym_EQ] = ACTIONS(2785),
    [anon_sym_DASH] = ACTIONS(2785),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2787),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2785),
    [anon_sym_COLON_QMARK] = ACTIONS(2785),
    [anon_sym_COLON_DASH] = ACTIONS(2785),
    [anon_sym_PERCENT] = ACTIONS(2785),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [832] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2783),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [833] = {
    [sym__concat] = ACTIONS(1919),
    [sym_variable_name] = ACTIONS(1919),
    [ts_builtin_sym_end] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1921),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [834] = {
    [sym_concatenation] = STATE(1292),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1292),
    [sym_regex] = ACTIONS(2789),
    [anon_sym_RBRACE] = ACTIONS(2759),
    [anon_sym_EQ] = ACTIONS(2775),
    [anon_sym_DASH] = ACTIONS(2775),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2777),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2775),
    [anon_sym_COLON_QMARK] = ACTIONS(2775),
    [anon_sym_COLON_DASH] = ACTIONS(2775),
    [anon_sym_PERCENT] = ACTIONS(2775),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [835] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2759),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [836] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2791),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [837] = {
    [sym__concat] = ACTIONS(1927),
    [sym_variable_name] = ACTIONS(1927),
    [ts_builtin_sym_end] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1929),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [838] = {
    [anon_sym_SEMI] = ACTIONS(2793),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2791),
    [anon_sym_SEMI_SEMI] = ACTIONS(2795),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2795),
    [anon_sym_AMP] = ACTIONS(2793),
  },
  [839] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2793),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2791),
    [anon_sym_SEMI_SEMI] = ACTIONS(2795),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2795),
    [anon_sym_AMP] = ACTIONS(2793),
  },
  [840] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2791),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [841] = {
    [anon_sym_SEMI] = ACTIONS(2797),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2799),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2799),
    [anon_sym_AMP] = ACTIONS(2797),
  },
  [842] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2797),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2799),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2791),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2799),
    [anon_sym_AMP] = ACTIONS(2797),
  },
  [843] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2801),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [844] = {
    [sym__concat] = ACTIONS(1959),
    [sym_variable_name] = ACTIONS(1959),
    [ts_builtin_sym_end] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1961),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [845] = {
    [anon_sym_SEMI] = ACTIONS(2803),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2801),
    [anon_sym_SEMI_SEMI] = ACTIONS(2805),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2805),
    [anon_sym_AMP] = ACTIONS(2803),
  },
  [846] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2803),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2801),
    [anon_sym_SEMI_SEMI] = ACTIONS(2805),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2805),
    [anon_sym_AMP] = ACTIONS(2803),
  },
  [847] = {
    [sym__concat] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [848] = {
    [aux_sym_concatenation_repeat1] = STATE(848),
    [sym__concat] = ACTIONS(2807),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [849] = {
    [sym__concat] = ACTIONS(1770),
    [ts_builtin_sym_end] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1772),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [850] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2810),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [851] = {
    [sym_concatenation] = STATE(1306),
    [sym_string] = STATE(1305),
    [sym_simple_expansion] = STATE(1305),
    [sym_string_expansion] = STATE(1305),
    [sym_expansion] = STATE(1305),
    [sym_command_substitution] = STATE(1305),
    [sym_process_substitution] = STATE(1305),
    [anon_sym_RBRACE] = ACTIONS(2812),
    [sym__special_characters] = ACTIONS(2814),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2816),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2816),
  },
  [852] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2818),
    [sym_comment] = ACTIONS(55),
  },
  [853] = {
    [sym_concatenation] = STATE(1310),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1310),
    [anon_sym_RBRACE] = ACTIONS(2820),
    [anon_sym_EQ] = ACTIONS(2822),
    [anon_sym_DASH] = ACTIONS(2822),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2824),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2826),
    [anon_sym_COLON] = ACTIONS(2822),
    [anon_sym_COLON_QMARK] = ACTIONS(2822),
    [anon_sym_COLON_DASH] = ACTIONS(2822),
    [anon_sym_PERCENT] = ACTIONS(2822),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [854] = {
    [sym_concatenation] = STATE(1312),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1312),
    [anon_sym_RBRACE] = ACTIONS(2812),
    [anon_sym_EQ] = ACTIONS(2828),
    [anon_sym_DASH] = ACTIONS(2828),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2830),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2832),
    [anon_sym_COLON] = ACTIONS(2828),
    [anon_sym_COLON_QMARK] = ACTIONS(2828),
    [anon_sym_COLON_DASH] = ACTIONS(2828),
    [anon_sym_PERCENT] = ACTIONS(2828),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [855] = {
    [sym__concat] = ACTIONS(1871),
    [ts_builtin_sym_end] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1873),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [856] = {
    [sym_concatenation] = STATE(1315),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1315),
    [sym_regex] = ACTIONS(2834),
    [anon_sym_RBRACE] = ACTIONS(2836),
    [anon_sym_EQ] = ACTIONS(2838),
    [anon_sym_DASH] = ACTIONS(2838),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2840),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2838),
    [anon_sym_COLON_QMARK] = ACTIONS(2838),
    [anon_sym_COLON_DASH] = ACTIONS(2838),
    [anon_sym_PERCENT] = ACTIONS(2838),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [857] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2836),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [858] = {
    [sym__concat] = ACTIONS(1919),
    [ts_builtin_sym_end] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1921),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [859] = {
    [sym_concatenation] = STATE(1312),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1312),
    [sym_regex] = ACTIONS(2842),
    [anon_sym_RBRACE] = ACTIONS(2812),
    [anon_sym_EQ] = ACTIONS(2828),
    [anon_sym_DASH] = ACTIONS(2828),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2830),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2828),
    [anon_sym_COLON_QMARK] = ACTIONS(2828),
    [anon_sym_COLON_DASH] = ACTIONS(2828),
    [anon_sym_PERCENT] = ACTIONS(2828),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [860] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2812),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [861] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2844),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [862] = {
    [sym__concat] = ACTIONS(1927),
    [ts_builtin_sym_end] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1929),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [863] = {
    [anon_sym_SEMI] = ACTIONS(2846),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2844),
    [anon_sym_SEMI_SEMI] = ACTIONS(2848),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2848),
    [anon_sym_AMP] = ACTIONS(2846),
  },
  [864] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2846),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2844),
    [anon_sym_SEMI_SEMI] = ACTIONS(2848),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2848),
    [anon_sym_AMP] = ACTIONS(2846),
  },
  [865] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2844),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [866] = {
    [anon_sym_SEMI] = ACTIONS(2850),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2852),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2844),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2852),
    [anon_sym_AMP] = ACTIONS(2850),
  },
  [867] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2850),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2852),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2844),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2852),
    [anon_sym_AMP] = ACTIONS(2850),
  },
  [868] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2854),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [869] = {
    [sym__concat] = ACTIONS(1959),
    [ts_builtin_sym_end] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1961),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [870] = {
    [anon_sym_SEMI] = ACTIONS(2856),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2854),
    [anon_sym_SEMI_SEMI] = ACTIONS(2858),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2858),
    [anon_sym_AMP] = ACTIONS(2856),
  },
  [871] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2856),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2854),
    [anon_sym_SEMI_SEMI] = ACTIONS(2858),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2858),
    [anon_sym_AMP] = ACTIONS(2856),
  },
  [872] = {
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1763),
  },
  [873] = {
    [aux_sym_concatenation_repeat1] = STATE(873),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(2860),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1763),
  },
  [874] = {
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [sym_variable_name] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1770),
  },
  [875] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(2863),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [876] = {
    [sym_concatenation] = STATE(1326),
    [sym_string] = STATE(1325),
    [sym_simple_expansion] = STATE(1325),
    [sym_string_expansion] = STATE(1325),
    [sym_expansion] = STATE(1325),
    [sym_command_substitution] = STATE(1325),
    [sym_process_substitution] = STATE(1325),
    [anon_sym_RBRACE] = ACTIONS(2865),
    [sym__special_characters] = ACTIONS(2867),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2869),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2869),
  },
  [877] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2871),
    [sym_comment] = ACTIONS(55),
  },
  [878] = {
    [sym_concatenation] = STATE(1330),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1330),
    [anon_sym_RBRACE] = ACTIONS(2873),
    [anon_sym_EQ] = ACTIONS(2875),
    [anon_sym_DASH] = ACTIONS(2875),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2877),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [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_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [879] = {
    [sym_concatenation] = STATE(1332),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1332),
    [anon_sym_RBRACE] = ACTIONS(2865),
    [anon_sym_EQ] = ACTIONS(2881),
    [anon_sym_DASH] = ACTIONS(2881),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2883),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [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_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [880] = {
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [sym_variable_name] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1871),
  },
  [881] = {
    [sym_concatenation] = STATE(1335),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1335),
    [sym_regex] = ACTIONS(2887),
    [anon_sym_RBRACE] = ACTIONS(2889),
    [anon_sym_EQ] = ACTIONS(2891),
    [anon_sym_DASH] = ACTIONS(2891),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2893),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2891),
    [anon_sym_COLON_QMARK] = ACTIONS(2891),
    [anon_sym_COLON_DASH] = ACTIONS(2891),
    [anon_sym_PERCENT] = ACTIONS(2891),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [882] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2889),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [883] = {
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [sym_variable_name] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1919),
  },
  [884] = {
    [sym_concatenation] = STATE(1332),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1332),
    [sym_regex] = ACTIONS(2895),
    [anon_sym_RBRACE] = ACTIONS(2865),
    [anon_sym_EQ] = ACTIONS(2881),
    [anon_sym_DASH] = ACTIONS(2881),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2883),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2881),
    [anon_sym_COLON_QMARK] = ACTIONS(2881),
    [anon_sym_COLON_DASH] = ACTIONS(2881),
    [anon_sym_PERCENT] = ACTIONS(2881),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [885] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2865),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [886] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [887] = {
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [sym_variable_name] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1927),
  },
  [888] = {
    [anon_sym_SEMI] = ACTIONS(2899),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_SEMI_SEMI] = ACTIONS(2901),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2901),
    [anon_sym_AMP] = ACTIONS(2899),
  },
  [889] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2899),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2897),
    [anon_sym_SEMI_SEMI] = ACTIONS(2901),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2901),
    [anon_sym_AMP] = ACTIONS(2899),
  },
  [890] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [891] = {
    [anon_sym_SEMI] = ACTIONS(2903),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2905),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2905),
    [anon_sym_AMP] = ACTIONS(2903),
  },
  [892] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2903),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2905),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2897),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2905),
    [anon_sym_AMP] = ACTIONS(2903),
  },
  [893] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [894] = {
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [sym_variable_name] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1959),
  },
  [895] = {
    [anon_sym_SEMI] = ACTIONS(2909),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_SEMI_SEMI] = ACTIONS(2911),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2911),
    [anon_sym_AMP] = ACTIONS(2909),
  },
  [896] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2909),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2907),
    [anon_sym_SEMI_SEMI] = ACTIONS(2911),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2911),
    [anon_sym_AMP] = ACTIONS(2909),
  },
  [897] = {
    [anon_sym_DQUOTE] = ACTIONS(2913),
    [anon_sym_DOLLAR] = ACTIONS(2913),
    [sym__string_content] = ACTIONS(2915),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2913),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2913),
    [anon_sym_BQUOTE] = ACTIONS(2913),
    [sym_comment] = ACTIONS(281),
  },
  [898] = {
    [sym_concatenation] = STATE(1345),
    [sym_string] = STATE(1344),
    [sym_simple_expansion] = STATE(1344),
    [sym_string_expansion] = STATE(1344),
    [sym_expansion] = STATE(1344),
    [sym_command_substitution] = STATE(1344),
    [sym_process_substitution] = STATE(1344),
    [anon_sym_RBRACE] = ACTIONS(2917),
    [sym__special_characters] = ACTIONS(2919),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(2921),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2921),
  },
  [899] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(2923),
    [sym_comment] = ACTIONS(55),
  },
  [900] = {
    [sym_concatenation] = STATE(1349),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1349),
    [anon_sym_RBRACE] = ACTIONS(2925),
    [anon_sym_EQ] = ACTIONS(2927),
    [anon_sym_DASH] = ACTIONS(2927),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2929),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2931),
    [anon_sym_COLON] = ACTIONS(2927),
    [anon_sym_COLON_QMARK] = ACTIONS(2927),
    [anon_sym_COLON_DASH] = ACTIONS(2927),
    [anon_sym_PERCENT] = ACTIONS(2927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [901] = {
    [sym_concatenation] = STATE(1351),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1351),
    [anon_sym_RBRACE] = ACTIONS(2917),
    [anon_sym_EQ] = ACTIONS(2933),
    [anon_sym_DASH] = ACTIONS(2933),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2935),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(2937),
    [anon_sym_COLON] = ACTIONS(2933),
    [anon_sym_COLON_QMARK] = ACTIONS(2933),
    [anon_sym_COLON_DASH] = ACTIONS(2933),
    [anon_sym_PERCENT] = ACTIONS(2933),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [902] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1873),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym__string_content] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1873),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1873),
    [anon_sym_BQUOTE] = ACTIONS(1873),
    [sym_comment] = ACTIONS(281),
  },
  [903] = {
    [sym_concatenation] = STATE(1354),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1354),
    [sym_regex] = ACTIONS(2939),
    [anon_sym_RBRACE] = ACTIONS(2941),
    [anon_sym_EQ] = ACTIONS(2943),
    [anon_sym_DASH] = ACTIONS(2943),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2945),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2943),
    [anon_sym_COLON_QMARK] = ACTIONS(2943),
    [anon_sym_COLON_DASH] = ACTIONS(2943),
    [anon_sym_PERCENT] = ACTIONS(2943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [904] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2941),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [905] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1921),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym__string_content] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1921),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1921),
    [anon_sym_BQUOTE] = ACTIONS(1921),
    [sym_comment] = ACTIONS(281),
  },
  [906] = {
    [sym_concatenation] = STATE(1351),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1351),
    [sym_regex] = ACTIONS(2947),
    [anon_sym_RBRACE] = ACTIONS(2917),
    [anon_sym_EQ] = ACTIONS(2933),
    [anon_sym_DASH] = ACTIONS(2933),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(2935),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(2933),
    [anon_sym_COLON_QMARK] = ACTIONS(2933),
    [anon_sym_COLON_DASH] = ACTIONS(2933),
    [anon_sym_PERCENT] = ACTIONS(2933),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [907] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2917),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [908] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(2949),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [909] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1929),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym__string_content] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1929),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1929),
    [anon_sym_BQUOTE] = ACTIONS(1929),
    [sym_comment] = ACTIONS(281),
  },
  [910] = {
    [anon_sym_SEMI] = ACTIONS(2951),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2949),
    [anon_sym_SEMI_SEMI] = ACTIONS(2953),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2953),
    [anon_sym_AMP] = ACTIONS(2951),
  },
  [911] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2951),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(2949),
    [anon_sym_SEMI_SEMI] = ACTIONS(2953),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2953),
    [anon_sym_AMP] = ACTIONS(2951),
  },
  [912] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(2949),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [913] = {
    [anon_sym_SEMI] = ACTIONS(2955),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2957),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(2949),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2957),
    [anon_sym_AMP] = ACTIONS(2955),
  },
  [914] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2955),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(2957),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(2949),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2957),
    [anon_sym_AMP] = ACTIONS(2955),
  },
  [915] = {
    [sym__simple_heredoc_body] = ACTIONS(2959),
    [sym__heredoc_body_beginning] = ACTIONS(2959),
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [ts_builtin_sym_end] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2961),
    [anon_sym_EQ_EQ] = ACTIONS(2961),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [anon_sym_LT_LT] = ACTIONS(2961),
    [anon_sym_LT_LT_DASH] = ACTIONS(2959),
    [anon_sym_LT_LT_LT] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [916] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [917] = {
    [aux_sym_concatenation_repeat1] = STATE(550),
    [sym__concat] = ACTIONS(2963),
    [anon_sym_RBRACK] = ACTIONS(2965),
    [sym_comment] = ACTIONS(55),
  },
  [918] = {
    [aux_sym_concatenation_repeat1] = STATE(550),
    [sym__concat] = ACTIONS(2967),
    [anon_sym_RBRACK] = ACTIONS(2969),
    [sym_comment] = ACTIONS(55),
  },
  [919] = {
    [sym__concat] = ACTIONS(2971),
    [anon_sym_RBRACK] = ACTIONS(2969),
    [sym_comment] = ACTIONS(55),
  },
  [920] = {
    [sym__simple_heredoc_body] = ACTIONS(2973),
    [sym__heredoc_body_beginning] = ACTIONS(2973),
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [ts_builtin_sym_end] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2975),
    [anon_sym_EQ_EQ] = ACTIONS(2975),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [anon_sym_LT_LT] = ACTIONS(2975),
    [anon_sym_LT_LT_DASH] = ACTIONS(2973),
    [anon_sym_LT_LT_LT] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [921] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(2979),
    [sym_comment] = ACTIONS(55),
  },
  [922] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(1369),
    [anon_sym_DQUOTE] = ACTIONS(2981),
    [anon_sym_DOLLAR] = ACTIONS(2983),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [923] = {
    [sym_string] = STATE(1371),
    [anon_sym_DASH] = ACTIONS(2985),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(2985),
    [sym_raw_string] = ACTIONS(2987),
    [anon_sym_POUND] = ACTIONS(2985),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2989),
    [anon_sym_STAR] = ACTIONS(2991),
    [anon_sym_AT] = ACTIONS(2991),
    [anon_sym_QMARK] = ACTIONS(2991),
    [anon_sym_0] = ACTIONS(2989),
    [anon_sym__] = ACTIONS(2989),
  },
  [924] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(2993),
    [sym_comment] = ACTIONS(55),
  },
  [925] = {
    [sym_subscript] = STATE(1377),
    [sym_variable_name] = ACTIONS(2995),
    [anon_sym_BANG] = ACTIONS(2997),
    [anon_sym_DASH] = ACTIONS(2999),
    [anon_sym_DOLLAR] = ACTIONS(2999),
    [anon_sym_POUND] = ACTIONS(2997),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3001),
    [anon_sym_STAR] = ACTIONS(3003),
    [anon_sym_AT] = ACTIONS(3003),
    [anon_sym_QMARK] = ACTIONS(3003),
    [anon_sym_0] = ACTIONS(3001),
    [anon_sym__] = ACTIONS(3001),
  },
  [926] = {
    [sym__terminated_statement] = STATE(1380),
    [sym_for_statement] = STATE(1378),
    [sym_c_style_for_statement] = STATE(1378),
    [sym_while_statement] = STATE(1378),
    [sym_if_statement] = STATE(1378),
    [sym_case_statement] = STATE(1378),
    [sym_function_definition] = STATE(1378),
    [sym_subshell] = STATE(1378),
    [sym_pipeline] = STATE(1378),
    [sym_list] = STATE(1378),
    [sym_negated_command] = STATE(1378),
    [sym_test_command] = STATE(1378),
    [sym_declaration_command] = STATE(1378),
    [sym_unset_command] = STATE(1378),
    [sym_command] = STATE(1378),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1379),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1380),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [927] = {
    [sym__terminated_statement] = STATE(1383),
    [sym_for_statement] = STATE(1381),
    [sym_c_style_for_statement] = STATE(1381),
    [sym_while_statement] = STATE(1381),
    [sym_if_statement] = STATE(1381),
    [sym_case_statement] = STATE(1381),
    [sym_function_definition] = STATE(1381),
    [sym_subshell] = STATE(1381),
    [sym_pipeline] = STATE(1381),
    [sym_list] = STATE(1381),
    [sym_negated_command] = STATE(1381),
    [sym_test_command] = STATE(1381),
    [sym_declaration_command] = STATE(1381),
    [sym_unset_command] = STATE(1381),
    [sym_command] = STATE(1381),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1382),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1383),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [928] = {
    [sym__terminated_statement] = STATE(1386),
    [sym_for_statement] = STATE(1384),
    [sym_c_style_for_statement] = STATE(1384),
    [sym_while_statement] = STATE(1384),
    [sym_if_statement] = STATE(1384),
    [sym_case_statement] = STATE(1384),
    [sym_function_definition] = STATE(1384),
    [sym_subshell] = STATE(1384),
    [sym_pipeline] = STATE(1384),
    [sym_list] = STATE(1384),
    [sym_negated_command] = STATE(1384),
    [sym_test_command] = STATE(1384),
    [sym_declaration_command] = STATE(1384),
    [sym_unset_command] = STATE(1384),
    [sym_command] = STATE(1384),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1385),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1386),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [929] = {
    [anon_sym_RBRACE] = ACTIONS(2993),
    [sym_comment] = ACTIONS(55),
  },
  [930] = {
    [sym_concatenation] = STATE(1389),
    [sym_string] = STATE(1388),
    [sym_simple_expansion] = STATE(1388),
    [sym_string_expansion] = STATE(1388),
    [sym_expansion] = STATE(1388),
    [sym_command_substitution] = STATE(1388),
    [sym_process_substitution] = STATE(1388),
    [anon_sym_RBRACE] = ACTIONS(2993),
    [sym__special_characters] = ACTIONS(3005),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3007),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3007),
  },
  [931] = {
    [sym__simple_heredoc_body] = ACTIONS(3009),
    [sym__heredoc_body_beginning] = ACTIONS(3009),
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [ts_builtin_sym_end] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3011),
    [anon_sym_EQ_EQ] = ACTIONS(3011),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [anon_sym_LT_LT] = ACTIONS(3011),
    [anon_sym_LT_LT_DASH] = ACTIONS(3009),
    [anon_sym_LT_LT_LT] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [932] = {
    [sym_concatenation] = STATE(1392),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1392),
    [sym_regex] = ACTIONS(3013),
    [anon_sym_RBRACE] = ACTIONS(3015),
    [anon_sym_EQ] = ACTIONS(3017),
    [anon_sym_DASH] = ACTIONS(3017),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3019),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3017),
    [anon_sym_COLON_QMARK] = ACTIONS(3017),
    [anon_sym_COLON_DASH] = ACTIONS(3017),
    [anon_sym_PERCENT] = ACTIONS(3017),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [933] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3015),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [934] = {
    [sym_concatenation] = STATE(1394),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1394),
    [sym_regex] = ACTIONS(3021),
    [anon_sym_RBRACE] = ACTIONS(2993),
    [anon_sym_EQ] = ACTIONS(3023),
    [anon_sym_DASH] = ACTIONS(3023),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3025),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3023),
    [anon_sym_COLON_QMARK] = ACTIONS(3023),
    [anon_sym_COLON_DASH] = ACTIONS(3023),
    [anon_sym_PERCENT] = ACTIONS(3023),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [935] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(2993),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [936] = {
    [sym_string] = STATE(1395),
    [sym_simple_expansion] = STATE(1395),
    [sym_string_expansion] = STATE(1395),
    [sym_expansion] = STATE(1395),
    [sym_command_substitution] = STATE(1395),
    [sym_process_substitution] = STATE(1395),
    [sym__special_characters] = ACTIONS(3027),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(3027),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3027),
  },
  [937] = {
    [aux_sym_concatenation_repeat1] = STATE(1396),
    [sym__concat] = ACTIONS(1875),
    [anon_sym_RBRACE] = ACTIONS(807),
    [anon_sym_EQ] = ACTIONS(809),
    [anon_sym_DASH] = ACTIONS(809),
    [sym__special_characters] = ACTIONS(809),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_POUND] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_COLON] = ACTIONS(809),
    [anon_sym_COLON_QMARK] = ACTIONS(809),
    [anon_sym_COLON_DASH] = ACTIONS(809),
    [anon_sym_PERCENT] = ACTIONS(809),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(809),
  },
  [938] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_RBRACE] = ACTIONS(811),
    [anon_sym_EQ] = ACTIONS(813),
    [anon_sym_DASH] = ACTIONS(813),
    [sym__special_characters] = ACTIONS(813),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_POUND] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_COLON] = ACTIONS(813),
    [anon_sym_COLON_QMARK] = ACTIONS(813),
    [anon_sym_COLON_DASH] = ACTIONS(813),
    [anon_sym_PERCENT] = ACTIONS(813),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(813),
  },
  [939] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3029),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [940] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(3029),
    [anon_sym_DOLLAR] = ACTIONS(3031),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [941] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_RBRACE] = ACTIONS(845),
    [anon_sym_EQ] = ACTIONS(847),
    [anon_sym_DASH] = ACTIONS(847),
    [sym__special_characters] = ACTIONS(847),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_POUND] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_COLON] = ACTIONS(847),
    [anon_sym_COLON_QMARK] = ACTIONS(847),
    [anon_sym_COLON_DASH] = ACTIONS(847),
    [anon_sym_PERCENT] = ACTIONS(847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(847),
  },
  [942] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_RBRACE] = ACTIONS(849),
    [anon_sym_EQ] = ACTIONS(851),
    [anon_sym_DASH] = ACTIONS(851),
    [sym__special_characters] = ACTIONS(851),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_POUND] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_COLON] = ACTIONS(851),
    [anon_sym_COLON_QMARK] = ACTIONS(851),
    [anon_sym_COLON_DASH] = ACTIONS(851),
    [anon_sym_PERCENT] = ACTIONS(851),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(851),
  },
  [943] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_RBRACE] = ACTIONS(853),
    [anon_sym_EQ] = ACTIONS(855),
    [anon_sym_DASH] = ACTIONS(855),
    [sym__special_characters] = ACTIONS(855),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_POUND] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_COLON] = ACTIONS(855),
    [anon_sym_COLON_QMARK] = ACTIONS(855),
    [anon_sym_COLON_DASH] = ACTIONS(855),
    [anon_sym_PERCENT] = ACTIONS(855),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(855),
  },
  [944] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3033),
    [sym_comment] = ACTIONS(55),
  },
  [945] = {
    [sym_subscript] = STATE(1402),
    [sym_variable_name] = ACTIONS(3035),
    [anon_sym_DASH] = ACTIONS(3037),
    [anon_sym_DOLLAR] = ACTIONS(3037),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3039),
    [anon_sym_STAR] = ACTIONS(3041),
    [anon_sym_AT] = ACTIONS(3041),
    [anon_sym_QMARK] = ACTIONS(3041),
    [anon_sym_0] = ACTIONS(3039),
    [anon_sym__] = ACTIONS(3039),
  },
  [946] = {
    [sym_concatenation] = STATE(1405),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1405),
    [anon_sym_RBRACE] = ACTIONS(3043),
    [anon_sym_EQ] = ACTIONS(3045),
    [anon_sym_DASH] = ACTIONS(3045),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3047),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3049),
    [anon_sym_COLON] = ACTIONS(3045),
    [anon_sym_COLON_QMARK] = ACTIONS(3045),
    [anon_sym_COLON_DASH] = ACTIONS(3045),
    [anon_sym_PERCENT] = ACTIONS(3045),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [947] = {
    [sym_concatenation] = STATE(1408),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1408),
    [anon_sym_RBRACE] = ACTIONS(3051),
    [anon_sym_EQ] = ACTIONS(3053),
    [anon_sym_DASH] = ACTIONS(3053),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3055),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3057),
    [anon_sym_COLON] = ACTIONS(3053),
    [anon_sym_COLON_QMARK] = ACTIONS(3053),
    [anon_sym_COLON_DASH] = ACTIONS(3053),
    [anon_sym_PERCENT] = ACTIONS(3053),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [948] = {
    [sym_concatenation] = STATE(1410),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1410),
    [anon_sym_RBRACE] = ACTIONS(3059),
    [anon_sym_EQ] = ACTIONS(3061),
    [anon_sym_DASH] = ACTIONS(3061),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3063),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3061),
    [anon_sym_COLON_QMARK] = ACTIONS(3061),
    [anon_sym_COLON_DASH] = ACTIONS(3061),
    [anon_sym_PERCENT] = ACTIONS(3061),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [949] = {
    [sym__simple_heredoc_body] = ACTIONS(3065),
    [sym__heredoc_body_beginning] = ACTIONS(3065),
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [ts_builtin_sym_end] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3067),
    [anon_sym_EQ_EQ] = ACTIONS(3067),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [anon_sym_LT_LT] = ACTIONS(3067),
    [anon_sym_LT_LT_DASH] = ACTIONS(3065),
    [anon_sym_LT_LT_LT] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [950] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3059),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [951] = {
    [anon_sym_SEMI] = ACTIONS(3069),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3071),
    [anon_sym_SEMI_SEMI] = ACTIONS(3073),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3073),
    [anon_sym_AMP] = ACTIONS(3069),
  },
  [952] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3069),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3071),
    [anon_sym_SEMI_SEMI] = ACTIONS(3073),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3073),
    [anon_sym_AMP] = ACTIONS(3069),
  },
  [953] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1413),
    [sym_c_style_for_statement] = STATE(1413),
    [sym_while_statement] = STATE(1413),
    [sym_if_statement] = STATE(1413),
    [sym_case_statement] = STATE(1413),
    [sym_function_definition] = STATE(1413),
    [sym_subshell] = STATE(1413),
    [sym_pipeline] = STATE(1413),
    [sym_list] = STATE(1413),
    [sym_negated_command] = STATE(1413),
    [sym_test_command] = STATE(1413),
    [sym_declaration_command] = STATE(1413),
    [sym_unset_command] = STATE(1413),
    [sym_command] = STATE(1413),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1414),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [954] = {
    [anon_sym_SEMI] = ACTIONS(3075),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3077),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3071),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3077),
    [anon_sym_AMP] = ACTIONS(3075),
  },
  [955] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3075),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3077),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3071),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3077),
    [anon_sym_AMP] = ACTIONS(3075),
  },
  [956] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1416),
    [sym_c_style_for_statement] = STATE(1416),
    [sym_while_statement] = STATE(1416),
    [sym_if_statement] = STATE(1416),
    [sym_case_statement] = STATE(1416),
    [sym_function_definition] = STATE(1416),
    [sym_subshell] = STATE(1416),
    [sym_pipeline] = STATE(1416),
    [sym_list] = STATE(1416),
    [sym_negated_command] = STATE(1416),
    [sym_test_command] = STATE(1416),
    [sym_declaration_command] = STATE(1416),
    [sym_unset_command] = STATE(1416),
    [sym_command] = STATE(1416),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1417),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [957] = {
    [anon_sym_SEMI] = ACTIONS(3079),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3081),
    [anon_sym_SEMI_SEMI] = ACTIONS(3083),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3083),
    [anon_sym_AMP] = ACTIONS(3079),
  },
  [958] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3079),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3081),
    [anon_sym_SEMI_SEMI] = ACTIONS(3083),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3083),
    [anon_sym_AMP] = ACTIONS(3079),
  },
  [959] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1420),
    [sym_c_style_for_statement] = STATE(1420),
    [sym_while_statement] = STATE(1420),
    [sym_if_statement] = STATE(1420),
    [sym_case_statement] = STATE(1420),
    [sym_function_definition] = STATE(1420),
    [sym_subshell] = STATE(1420),
    [sym_pipeline] = STATE(1420),
    [sym_list] = STATE(1420),
    [sym_negated_command] = STATE(1420),
    [sym_test_command] = STATE(1420),
    [sym_declaration_command] = STATE(1420),
    [sym_unset_command] = STATE(1420),
    [sym_command] = STATE(1420),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1421),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [960] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3085),
    [anon_sym_EQ] = ACTIONS(3087),
    [anon_sym_DASH] = ACTIONS(3087),
    [sym__special_characters] = ACTIONS(3090),
    [anon_sym_DQUOTE] = ACTIONS(3093),
    [anon_sym_DOLLAR] = ACTIONS(3096),
    [sym_raw_string] = ACTIONS(3099),
    [anon_sym_POUND] = ACTIONS(3102),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3105),
    [anon_sym_COLON] = ACTIONS(3087),
    [anon_sym_COLON_QMARK] = ACTIONS(3087),
    [anon_sym_COLON_DASH] = ACTIONS(3087),
    [anon_sym_PERCENT] = ACTIONS(3087),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3108),
    [anon_sym_BQUOTE] = ACTIONS(3111),
    [anon_sym_LT_LPAREN] = ACTIONS(3114),
    [anon_sym_GT_LPAREN] = ACTIONS(3114),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3117),
  },
  [961] = {
    [sym_concatenation] = STATE(1394),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1394),
    [anon_sym_RBRACE] = ACTIONS(2993),
    [anon_sym_EQ] = ACTIONS(3023),
    [anon_sym_DASH] = ACTIONS(3023),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3025),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3023),
    [anon_sym_COLON_QMARK] = ACTIONS(3023),
    [anon_sym_COLON_DASH] = ACTIONS(3023),
    [anon_sym_PERCENT] = ACTIONS(3023),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [962] = {
    [sym__simple_heredoc_body] = ACTIONS(3120),
    [sym__heredoc_body_beginning] = ACTIONS(3120),
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [ts_builtin_sym_end] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3122),
    [anon_sym_EQ_EQ] = ACTIONS(3122),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [anon_sym_LT_LT] = ACTIONS(3122),
    [anon_sym_LT_LT_DASH] = ACTIONS(3120),
    [anon_sym_LT_LT_LT] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [963] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3124),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [964] = {
    [sym_file_redirect] = STATE(1426),
    [sym_heredoc_redirect] = STATE(1426),
    [sym_herestring_redirect] = STATE(1426),
    [aux_sym_while_statement_repeat1] = STATE(1426),
    [sym_file_descriptor] = ACTIONS(3126),
    [anon_sym_SEMI] = ACTIONS(1302),
    [anon_sym_PIPE] = ACTIONS(1302),
    [anon_sym_SEMI_SEMI] = ACTIONS(1300),
    [anon_sym_PIPE_AMP] = ACTIONS(1300),
    [anon_sym_AMP_AMP] = ACTIONS(1300),
    [anon_sym_PIPE_PIPE] = ACTIONS(1300),
    [anon_sym_LT] = ACTIONS(3128),
    [anon_sym_GT] = ACTIONS(3128),
    [anon_sym_GT_GT] = ACTIONS(3130),
    [anon_sym_AMP_GT] = ACTIONS(3128),
    [anon_sym_AMP_GT_GT] = ACTIONS(3130),
    [anon_sym_LT_AMP] = ACTIONS(3130),
    [anon_sym_GT_AMP] = ACTIONS(3130),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(3132),
    [anon_sym_BQUOTE] = ACTIONS(1300),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1300),
    [anon_sym_AMP] = ACTIONS(1302),
  },
  [965] = {
    [sym_file_redirect] = STATE(1427),
    [sym_heredoc_redirect] = STATE(1427),
    [sym_heredoc_body] = STATE(699),
    [sym_herestring_redirect] = STATE(1427),
    [aux_sym_while_statement_repeat1] = STATE(1427),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(1340),
    [anon_sym_PIPE] = ACTIONS(1340),
    [anon_sym_SEMI_SEMI] = ACTIONS(1338),
    [anon_sym_PIPE_AMP] = ACTIONS(1338),
    [anon_sym_AMP_AMP] = ACTIONS(1338),
    [anon_sym_PIPE_PIPE] = ACTIONS(1338),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [anon_sym_BQUOTE] = ACTIONS(1338),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1338),
    [anon_sym_AMP] = ACTIONS(1340),
  },
  [966] = {
    [anon_sym_RPAREN] = ACTIONS(3134),
    [sym_comment] = ACTIONS(55),
  },
  [967] = {
    [sym_file_redirect] = STATE(756),
    [sym_file_descriptor] = ACTIONS(3136),
    [anon_sym_SEMI] = ACTIONS(1432),
    [anon_sym_PIPE] = ACTIONS(1432),
    [anon_sym_SEMI_SEMI] = ACTIONS(1430),
    [anon_sym_PIPE_AMP] = ACTIONS(1430),
    [anon_sym_AMP_AMP] = ACTIONS(1430),
    [anon_sym_PIPE_PIPE] = ACTIONS(1430),
    [anon_sym_LT] = ACTIONS(3138),
    [anon_sym_GT] = ACTIONS(3138),
    [anon_sym_GT_GT] = ACTIONS(3140),
    [anon_sym_AMP_GT] = ACTIONS(3138),
    [anon_sym_AMP_GT_GT] = ACTIONS(3140),
    [anon_sym_LT_AMP] = ACTIONS(3140),
    [anon_sym_GT_AMP] = ACTIONS(3140),
    [anon_sym_BQUOTE] = ACTIONS(1430),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1430),
    [anon_sym_AMP] = ACTIONS(1432),
  },
  [968] = {
    [sym_compound_statement] = STATE(1431),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [969] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1969),
    [anon_sym_PIPE] = ACTIONS(1969),
    [anon_sym_SEMI_SEMI] = ACTIONS(1967),
    [anon_sym_PIPE_AMP] = ACTIONS(1967),
    [anon_sym_AMP_AMP] = ACTIONS(1967),
    [anon_sym_PIPE_PIPE] = ACTIONS(1967),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(1967),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1967),
    [anon_sym_AMP] = ACTIONS(1969),
  },
  [970] = {
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_BQUOTE] = ACTIONS(1971),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [971] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [972] = {
    [sym_concatenation] = STATE(994),
    [sym_string] = STATE(1433),
    [sym_simple_expansion] = STATE(1433),
    [sym_string_expansion] = STATE(1433),
    [sym_expansion] = STATE(1433),
    [sym_command_substitution] = STATE(1433),
    [sym_process_substitution] = STATE(1433),
    [sym__special_characters] = ACTIONS(3142),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(3144),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3144),
  },
  [973] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(773),
    [sym__heredoc_body_beginning] = ACTIONS(773),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [anon_sym_BQUOTE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [974] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [975] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(2015),
    [sym__heredoc_body_beginning] = ACTIONS(2015),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [anon_sym_BQUOTE] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [976] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [anon_sym_BQUOTE] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [977] = {
    [sym_file_redirect] = STATE(977),
    [sym_heredoc_redirect] = STATE(977),
    [sym_herestring_redirect] = STATE(977),
    [aux_sym_while_statement_repeat1] = STATE(977),
    [sym__simple_heredoc_body] = ACTIONS(2027),
    [sym__heredoc_body_beginning] = ACTIONS(2027),
    [sym_file_descriptor] = ACTIONS(3146),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(3149),
    [anon_sym_GT] = ACTIONS(3149),
    [anon_sym_GT_GT] = ACTIONS(3152),
    [anon_sym_AMP_GT] = ACTIONS(3149),
    [anon_sym_AMP_GT_GT] = ACTIONS(3152),
    [anon_sym_LT_AMP] = ACTIONS(3152),
    [anon_sym_GT_AMP] = ACTIONS(3152),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2043),
    [anon_sym_LT_LT_LT] = ACTIONS(3155),
    [anon_sym_BQUOTE] = ACTIONS(2027),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [978] = {
    [sym_file_redirect] = STATE(977),
    [sym_heredoc_redirect] = STATE(977),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(977),
    [aux_sym_while_statement_repeat1] = STATE(977),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [anon_sym_BQUOTE] = ACTIONS(2023),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [979] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3124),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [980] = {
    [sym_file_redirect] = STATE(1435),
    [sym_heredoc_redirect] = STATE(1435),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(1435),
    [sym_concatenation] = STATE(712),
    [sym_string] = STATE(294),
    [sym_simple_expansion] = STATE(294),
    [sym_string_expansion] = STATE(294),
    [sym_expansion] = STATE(294),
    [sym_command_substitution] = STATE(294),
    [sym_process_substitution] = STATE(294),
    [aux_sym_while_statement_repeat1] = STATE(1435),
    [aux_sym_command_repeat2] = STATE(712),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_EQ_TILDE] = ACTIONS(539),
    [anon_sym_EQ_EQ] = ACTIONS(539),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [sym__special_characters] = ACTIONS(547),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(2023),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(551),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [981] = {
    [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_SEMI] = ACTIONS(3160),
    [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(55),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [982] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3162),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [983] = {
    [sym_file_redirect] = STATE(1437),
    [sym_file_descriptor] = ACTIONS(1428),
    [ts_builtin_sym_end] = ACTIONS(2612),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_LT] = ACTIONS(1434),
    [anon_sym_GT] = ACTIONS(1434),
    [anon_sym_GT_GT] = ACTIONS(1436),
    [anon_sym_AMP_GT] = ACTIONS(1434),
    [anon_sym_AMP_GT_GT] = ACTIONS(1436),
    [anon_sym_LT_AMP] = ACTIONS(1436),
    [anon_sym_GT_AMP] = ACTIONS(1436),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [984] = {
    [sym__heredoc_body_middle] = ACTIONS(845),
    [sym__heredoc_body_end] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
  },
  [985] = {
    [sym__heredoc_body_middle] = ACTIONS(853),
    [sym__heredoc_body_end] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
  },
  [986] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3164),
    [sym_comment] = ACTIONS(55),
  },
  [987] = {
    [sym_subscript] = STATE(1441),
    [sym_variable_name] = ACTIONS(3166),
    [anon_sym_DASH] = ACTIONS(3168),
    [anon_sym_DOLLAR] = ACTIONS(3168),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3170),
    [anon_sym_STAR] = ACTIONS(3172),
    [anon_sym_AT] = ACTIONS(3172),
    [anon_sym_QMARK] = ACTIONS(3172),
    [anon_sym_0] = ACTIONS(3170),
    [anon_sym__] = ACTIONS(3170),
  },
  [988] = {
    [sym_concatenation] = STATE(1444),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1444),
    [anon_sym_RBRACE] = ACTIONS(3174),
    [anon_sym_EQ] = ACTIONS(3176),
    [anon_sym_DASH] = ACTIONS(3176),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3178),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3180),
    [anon_sym_COLON] = ACTIONS(3176),
    [anon_sym_COLON_QMARK] = ACTIONS(3176),
    [anon_sym_COLON_DASH] = ACTIONS(3176),
    [anon_sym_PERCENT] = ACTIONS(3176),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [989] = {
    [sym_concatenation] = STATE(1447),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1447),
    [anon_sym_RBRACE] = ACTIONS(3182),
    [anon_sym_EQ] = ACTIONS(3184),
    [anon_sym_DASH] = ACTIONS(3184),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3186),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3188),
    [anon_sym_COLON] = ACTIONS(3184),
    [anon_sym_COLON_QMARK] = ACTIONS(3184),
    [anon_sym_COLON_DASH] = ACTIONS(3184),
    [anon_sym_PERCENT] = ACTIONS(3184),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [990] = {
    [ts_builtin_sym_end] = ACTIONS(3190),
    [anon_sym_SEMI] = ACTIONS(3192),
    [anon_sym_esac] = ACTIONS(3190),
    [anon_sym_PIPE] = ACTIONS(3192),
    [anon_sym_RPAREN] = ACTIONS(3190),
    [anon_sym_SEMI_SEMI] = ACTIONS(3190),
    [anon_sym_PIPE_AMP] = ACTIONS(3190),
    [anon_sym_AMP_AMP] = ACTIONS(3190),
    [anon_sym_PIPE_PIPE] = ACTIONS(3190),
    [anon_sym_BQUOTE] = ACTIONS(3190),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3190),
    [anon_sym_AMP] = ACTIONS(3192),
  },
  [991] = {
    [sym_simple_expansion] = STATE(991),
    [sym_expansion] = STATE(991),
    [aux_sym_heredoc_body_repeat1] = STATE(991),
    [sym__heredoc_body_middle] = ACTIONS(3194),
    [sym__heredoc_body_end] = ACTIONS(3197),
    [anon_sym_DOLLAR] = ACTIONS(3199),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3202),
    [sym_comment] = ACTIONS(55),
  },
  [992] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(1088),
    [sym__heredoc_body_beginning] = ACTIONS(1088),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(1088),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [993] = {
    [aux_sym_concatenation_repeat1] = STATE(995),
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [994] = {
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [995] = {
    [aux_sym_concatenation_repeat1] = STATE(1448),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [996] = {
    [ts_builtin_sym_end] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_RPAREN] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_BQUOTE] = ACTIONS(3205),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [997] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_done] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_fi] = ACTIONS(947),
    [anon_sym_elif] = ACTIONS(947),
    [anon_sym_else] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [998] = {
    [sym_file_redirect] = STATE(541),
    [sym_heredoc_redirect] = STATE(541),
    [sym_heredoc_body] = STATE(1449),
    [sym_herestring_redirect] = STATE(541),
    [aux_sym_while_statement_repeat1] = STATE(541),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(343),
    [ts_builtin_sym_end] = ACTIONS(3205),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(351),
    [anon_sym_GT] = ACTIONS(351),
    [anon_sym_GT_GT] = ACTIONS(353),
    [anon_sym_AMP_GT] = ACTIONS(351),
    [anon_sym_AMP_GT_GT] = ACTIONS(353),
    [anon_sym_LT_AMP] = ACTIONS(353),
    [anon_sym_GT_AMP] = ACTIONS(353),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(359),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [999] = {
    [sym__concat] = ACTIONS(3209),
    [anon_sym_EQ] = ACTIONS(3211),
    [anon_sym_PLUS_EQ] = ACTIONS(3211),
    [sym_comment] = ACTIONS(55),
  },
  [1000] = {
    [anon_sym_EQ] = ACTIONS(3211),
    [anon_sym_PLUS_EQ] = ACTIONS(3211),
    [sym_comment] = ACTIONS(55),
  },
  [1001] = {
    [aux_sym_concatenation_repeat1] = STATE(1001),
    [sym__concat] = ACTIONS(2699),
    [anon_sym_RBRACK] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
  },
  [1002] = {
    [sym__concat] = ACTIONS(3213),
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_PLUS_EQ] = ACTIONS(3215),
    [sym_comment] = ACTIONS(55),
  },
  [1003] = {
    [anon_sym_EQ] = ACTIONS(3215),
    [anon_sym_PLUS_EQ] = ACTIONS(3215),
    [sym_comment] = ACTIONS(55),
  },
  [1004] = {
    [sym_string] = STATE(1452),
    [sym_simple_expansion] = STATE(1452),
    [sym_string_expansion] = STATE(1452),
    [sym_expansion] = STATE(1452),
    [sym_command_substitution] = STATE(1452),
    [sym_process_substitution] = STATE(1452),
    [sym__special_characters] = ACTIONS(3217),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(3217),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3217),
  },
  [1005] = {
    [aux_sym_concatenation_repeat1] = STATE(1453),
    [sym__concat] = ACTIONS(2103),
    [anon_sym_RPAREN] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(807),
  },
  [1006] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_RPAREN] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(811),
  },
  [1007] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3219),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1008] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(3219),
    [anon_sym_DOLLAR] = ACTIONS(3221),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1009] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_RPAREN] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(845),
  },
  [1010] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_RPAREN] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(849),
  },
  [1011] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_RPAREN] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(853),
  },
  [1012] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3223),
    [sym_comment] = ACTIONS(55),
  },
  [1013] = {
    [sym_subscript] = STATE(1459),
    [sym_variable_name] = ACTIONS(3225),
    [anon_sym_DASH] = ACTIONS(3227),
    [anon_sym_DOLLAR] = ACTIONS(3227),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3229),
    [anon_sym_STAR] = ACTIONS(3231),
    [anon_sym_AT] = ACTIONS(3231),
    [anon_sym_QMARK] = ACTIONS(3231),
    [anon_sym_0] = ACTIONS(3229),
    [anon_sym__] = ACTIONS(3229),
  },
  [1014] = {
    [sym_concatenation] = STATE(1462),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1462),
    [anon_sym_RBRACE] = ACTIONS(3233),
    [anon_sym_EQ] = ACTIONS(3235),
    [anon_sym_DASH] = ACTIONS(3235),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3237),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3239),
    [anon_sym_COLON] = ACTIONS(3235),
    [anon_sym_COLON_QMARK] = ACTIONS(3235),
    [anon_sym_COLON_DASH] = ACTIONS(3235),
    [anon_sym_PERCENT] = ACTIONS(3235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1015] = {
    [sym_concatenation] = STATE(1465),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1465),
    [anon_sym_RBRACE] = ACTIONS(3241),
    [anon_sym_EQ] = ACTIONS(3243),
    [anon_sym_DASH] = ACTIONS(3243),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3245),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3247),
    [anon_sym_COLON] = ACTIONS(3243),
    [anon_sym_COLON_QMARK] = ACTIONS(3243),
    [anon_sym_COLON_DASH] = ACTIONS(3243),
    [anon_sym_PERCENT] = ACTIONS(3243),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1016] = {
    [anon_sym_SEMI] = ACTIONS(3249),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3253),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3253),
    [anon_sym_AMP] = ACTIONS(3249),
  },
  [1017] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3249),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3251),
    [anon_sym_SEMI_SEMI] = ACTIONS(3253),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3253),
    [anon_sym_AMP] = ACTIONS(3249),
  },
  [1018] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1468),
    [sym_c_style_for_statement] = STATE(1468),
    [sym_while_statement] = STATE(1468),
    [sym_if_statement] = STATE(1468),
    [sym_case_statement] = STATE(1468),
    [sym_function_definition] = STATE(1468),
    [sym_subshell] = STATE(1468),
    [sym_pipeline] = STATE(1468),
    [sym_list] = STATE(1468),
    [sym_negated_command] = STATE(1468),
    [sym_test_command] = STATE(1468),
    [sym_declaration_command] = STATE(1468),
    [sym_unset_command] = STATE(1468),
    [sym_command] = STATE(1468),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1469),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1019] = {
    [anon_sym_SEMI] = ACTIONS(3255),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3257),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3257),
    [anon_sym_AMP] = ACTIONS(3255),
  },
  [1020] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3255),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3257),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3251),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3257),
    [anon_sym_AMP] = ACTIONS(3255),
  },
  [1021] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1471),
    [sym_c_style_for_statement] = STATE(1471),
    [sym_while_statement] = STATE(1471),
    [sym_if_statement] = STATE(1471),
    [sym_case_statement] = STATE(1471),
    [sym_function_definition] = STATE(1471),
    [sym_subshell] = STATE(1471),
    [sym_pipeline] = STATE(1471),
    [sym_list] = STATE(1471),
    [sym_negated_command] = STATE(1471),
    [sym_test_command] = STATE(1471),
    [sym_declaration_command] = STATE(1471),
    [sym_unset_command] = STATE(1471),
    [sym_command] = STATE(1471),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1472),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1022] = {
    [anon_sym_SEMI] = ACTIONS(3259),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3261),
    [anon_sym_SEMI_SEMI] = ACTIONS(3263),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3263),
    [anon_sym_AMP] = ACTIONS(3259),
  },
  [1023] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3259),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3261),
    [anon_sym_SEMI_SEMI] = ACTIONS(3263),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3263),
    [anon_sym_AMP] = ACTIONS(3259),
  },
  [1024] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1475),
    [sym_c_style_for_statement] = STATE(1475),
    [sym_while_statement] = STATE(1475),
    [sym_if_statement] = STATE(1475),
    [sym_case_statement] = STATE(1475),
    [sym_function_definition] = STATE(1475),
    [sym_subshell] = STATE(1475),
    [sym_pipeline] = STATE(1475),
    [sym_list] = STATE(1475),
    [sym_negated_command] = STATE(1475),
    [sym_test_command] = STATE(1475),
    [sym_declaration_command] = STATE(1475),
    [sym_unset_command] = STATE(1475),
    [sym_command] = STATE(1475),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1476),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1025] = {
    [sym_file_descriptor] = ACTIONS(3265),
    [sym_variable_name] = ACTIONS(3265),
    [ts_builtin_sym_end] = ACTIONS(3265),
    [anon_sym_SEMI] = ACTIONS(3267),
    [anon_sym_PIPE] = ACTIONS(3267),
    [anon_sym_RPAREN] = ACTIONS(3265),
    [anon_sym_SEMI_SEMI] = ACTIONS(3265),
    [anon_sym_PIPE_AMP] = ACTIONS(3265),
    [anon_sym_AMP_AMP] = ACTIONS(3265),
    [anon_sym_PIPE_PIPE] = ACTIONS(3265),
    [anon_sym_LT] = ACTIONS(3267),
    [anon_sym_GT] = ACTIONS(3267),
    [anon_sym_GT_GT] = ACTIONS(3265),
    [anon_sym_AMP_GT] = ACTIONS(3267),
    [anon_sym_AMP_GT_GT] = ACTIONS(3265),
    [anon_sym_LT_AMP] = ACTIONS(3265),
    [anon_sym_GT_AMP] = ACTIONS(3265),
    [sym__special_characters] = ACTIONS(3265),
    [anon_sym_DQUOTE] = ACTIONS(3265),
    [anon_sym_DOLLAR] = ACTIONS(3267),
    [sym_raw_string] = ACTIONS(3265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3265),
    [anon_sym_BQUOTE] = ACTIONS(3265),
    [anon_sym_LT_LPAREN] = ACTIONS(3265),
    [anon_sym_GT_LPAREN] = ACTIONS(3265),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3267),
    [anon_sym_LF] = ACTIONS(3265),
    [anon_sym_AMP] = ACTIONS(3267),
  },
  [1026] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(3269),
    [sym__special_characters] = ACTIONS(3271),
    [anon_sym_DQUOTE] = ACTIONS(3274),
    [anon_sym_DOLLAR] = ACTIONS(3277),
    [sym_raw_string] = ACTIONS(3280),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3283),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3286),
    [anon_sym_BQUOTE] = ACTIONS(3289),
    [anon_sym_LT_LPAREN] = ACTIONS(3292),
    [anon_sym_GT_LPAREN] = ACTIONS(3292),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3280),
  },
  [1027] = {
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [sym_variable_name] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1028] = {
    [aux_sym_concatenation_repeat1] = STATE(1028),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(3295),
    [sym_variable_name] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1029] = {
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [sym_variable_name] = ACTIONS(1770),
    [ts_builtin_sym_end] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [1030] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3298),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1031] = {
    [sym_concatenation] = STATE(1481),
    [sym_string] = STATE(1480),
    [sym_simple_expansion] = STATE(1480),
    [sym_string_expansion] = STATE(1480),
    [sym_expansion] = STATE(1480),
    [sym_command_substitution] = STATE(1480),
    [sym_process_substitution] = STATE(1480),
    [anon_sym_RBRACE] = ACTIONS(3300),
    [sym__special_characters] = ACTIONS(3302),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3304),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3304),
  },
  [1032] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3306),
    [sym_comment] = ACTIONS(55),
  },
  [1033] = {
    [sym_concatenation] = STATE(1485),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1485),
    [anon_sym_RBRACE] = ACTIONS(3308),
    [anon_sym_EQ] = ACTIONS(3310),
    [anon_sym_DASH] = ACTIONS(3310),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3312),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3314),
    [anon_sym_COLON] = ACTIONS(3310),
    [anon_sym_COLON_QMARK] = ACTIONS(3310),
    [anon_sym_COLON_DASH] = ACTIONS(3310),
    [anon_sym_PERCENT] = ACTIONS(3310),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1034] = {
    [sym_concatenation] = STATE(1487),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1487),
    [anon_sym_RBRACE] = ACTIONS(3300),
    [anon_sym_EQ] = ACTIONS(3316),
    [anon_sym_DASH] = ACTIONS(3316),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3318),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3320),
    [anon_sym_COLON] = ACTIONS(3316),
    [anon_sym_COLON_QMARK] = ACTIONS(3316),
    [anon_sym_COLON_DASH] = ACTIONS(3316),
    [anon_sym_PERCENT] = ACTIONS(3316),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1035] = {
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [sym_variable_name] = ACTIONS(1871),
    [ts_builtin_sym_end] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [1036] = {
    [sym_concatenation] = STATE(1490),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1490),
    [sym_regex] = ACTIONS(3322),
    [anon_sym_RBRACE] = ACTIONS(3324),
    [anon_sym_EQ] = ACTIONS(3326),
    [anon_sym_DASH] = ACTIONS(3326),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3328),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3326),
    [anon_sym_COLON_QMARK] = ACTIONS(3326),
    [anon_sym_COLON_DASH] = ACTIONS(3326),
    [anon_sym_PERCENT] = ACTIONS(3326),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1037] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3324),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1038] = {
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [sym_variable_name] = ACTIONS(1919),
    [ts_builtin_sym_end] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [1039] = {
    [sym_concatenation] = STATE(1487),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1487),
    [sym_regex] = ACTIONS(3330),
    [anon_sym_RBRACE] = ACTIONS(3300),
    [anon_sym_EQ] = ACTIONS(3316),
    [anon_sym_DASH] = ACTIONS(3316),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3318),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3316),
    [anon_sym_COLON_QMARK] = ACTIONS(3316),
    [anon_sym_COLON_DASH] = ACTIONS(3316),
    [anon_sym_PERCENT] = ACTIONS(3316),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1040] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3300),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1041] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3332),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1042] = {
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [sym_variable_name] = ACTIONS(1927),
    [ts_builtin_sym_end] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [1043] = {
    [anon_sym_SEMI] = ACTIONS(3334),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3332),
    [anon_sym_SEMI_SEMI] = ACTIONS(3336),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3336),
    [anon_sym_AMP] = ACTIONS(3334),
  },
  [1044] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3334),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3332),
    [anon_sym_SEMI_SEMI] = ACTIONS(3336),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3336),
    [anon_sym_AMP] = ACTIONS(3334),
  },
  [1045] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3332),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1046] = {
    [anon_sym_SEMI] = ACTIONS(3338),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3340),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3332),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3340),
    [anon_sym_AMP] = ACTIONS(3338),
  },
  [1047] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3338),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3340),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3332),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3340),
    [anon_sym_AMP] = ACTIONS(3338),
  },
  [1048] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3342),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1049] = {
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [sym_variable_name] = ACTIONS(1959),
    [ts_builtin_sym_end] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [1050] = {
    [anon_sym_SEMI] = ACTIONS(3344),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3342),
    [anon_sym_SEMI_SEMI] = ACTIONS(3346),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3346),
    [anon_sym_AMP] = ACTIONS(3344),
  },
  [1051] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3344),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3342),
    [anon_sym_SEMI_SEMI] = ACTIONS(3346),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3346),
    [anon_sym_AMP] = ACTIONS(3344),
  },
  [1052] = {
    [sym_do_group] = STATE(1499),
    [sym_compound_statement] = STATE(1499),
    [anon_sym_SEMI] = ACTIONS(3348),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [1053] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3352),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [1054] = {
    [sym__expression] = STATE(1501),
    [sym_binary_expression] = STATE(1501),
    [sym_unary_expression] = STATE(1501),
    [sym_postfix_expression] = STATE(1501),
    [sym_parenthesized_expression] = STATE(1501),
    [sym_concatenation] = STATE(1501),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3352),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [1055] = {
    [anon_sym_SEMI] = ACTIONS(2333),
    [anon_sym_SEMI_SEMI] = ACTIONS(2331),
    [anon_sym_AMP_AMP] = ACTIONS(2331),
    [anon_sym_PIPE_PIPE] = ACTIONS(2331),
    [anon_sym_EQ_TILDE] = ACTIONS(2331),
    [anon_sym_EQ_EQ] = ACTIONS(2331),
    [anon_sym_EQ] = ACTIONS(2333),
    [anon_sym_PLUS_EQ] = ACTIONS(2331),
    [anon_sym_LT] = ACTIONS(2333),
    [anon_sym_GT] = ACTIONS(2333),
    [anon_sym_BANG_EQ] = ACTIONS(2331),
    [anon_sym_PLUS] = ACTIONS(2333),
    [anon_sym_DASH] = ACTIONS(2333),
    [anon_sym_DASH_EQ] = ACTIONS(2331),
    [anon_sym_LT_EQ] = ACTIONS(2331),
    [anon_sym_GT_EQ] = ACTIONS(2331),
    [anon_sym_PLUS_PLUS] = ACTIONS(2331),
    [anon_sym_DASH_DASH] = ACTIONS(2331),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2331),
    [anon_sym_LF] = ACTIONS(2331),
    [anon_sym_AMP] = ACTIONS(2333),
  },
  [1056] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1057] = {
    [aux_sym_concatenation_repeat1] = STATE(1057),
    [sym__concat] = ACTIONS(3354),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1058] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1770),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1770),
    [anon_sym_EQ_EQ] = ACTIONS(1770),
    [anon_sym_EQ] = ACTIONS(1772),
    [anon_sym_PLUS_EQ] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_BANG_EQ] = ACTIONS(1770),
    [anon_sym_PLUS] = ACTIONS(1772),
    [anon_sym_DASH] = ACTIONS(1772),
    [anon_sym_DASH_EQ] = ACTIONS(1770),
    [anon_sym_LT_EQ] = ACTIONS(1770),
    [anon_sym_GT_EQ] = ACTIONS(1770),
    [anon_sym_PLUS_PLUS] = ACTIONS(1770),
    [anon_sym_DASH_DASH] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1770),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [1059] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3357),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1060] = {
    [sym_concatenation] = STATE(1506),
    [sym_string] = STATE(1505),
    [sym_simple_expansion] = STATE(1505),
    [sym_string_expansion] = STATE(1505),
    [sym_expansion] = STATE(1505),
    [sym_command_substitution] = STATE(1505),
    [sym_process_substitution] = STATE(1505),
    [anon_sym_RBRACE] = ACTIONS(3359),
    [sym__special_characters] = ACTIONS(3361),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3363),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3363),
  },
  [1061] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3365),
    [sym_comment] = ACTIONS(55),
  },
  [1062] = {
    [sym_concatenation] = STATE(1510),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1510),
    [anon_sym_RBRACE] = ACTIONS(3367),
    [anon_sym_EQ] = ACTIONS(3369),
    [anon_sym_DASH] = ACTIONS(3369),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3371),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3373),
    [anon_sym_COLON] = ACTIONS(3369),
    [anon_sym_COLON_QMARK] = ACTIONS(3369),
    [anon_sym_COLON_DASH] = ACTIONS(3369),
    [anon_sym_PERCENT] = ACTIONS(3369),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1063] = {
    [sym_concatenation] = STATE(1512),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1512),
    [anon_sym_RBRACE] = ACTIONS(3359),
    [anon_sym_EQ] = ACTIONS(3375),
    [anon_sym_DASH] = ACTIONS(3375),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3377),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3379),
    [anon_sym_COLON] = ACTIONS(3375),
    [anon_sym_COLON_QMARK] = ACTIONS(3375),
    [anon_sym_COLON_DASH] = ACTIONS(3375),
    [anon_sym_PERCENT] = ACTIONS(3375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1064] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1871),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1871),
    [anon_sym_EQ_EQ] = ACTIONS(1871),
    [anon_sym_EQ] = ACTIONS(1873),
    [anon_sym_PLUS_EQ] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_BANG_EQ] = ACTIONS(1871),
    [anon_sym_PLUS] = ACTIONS(1873),
    [anon_sym_DASH] = ACTIONS(1873),
    [anon_sym_DASH_EQ] = ACTIONS(1871),
    [anon_sym_LT_EQ] = ACTIONS(1871),
    [anon_sym_GT_EQ] = ACTIONS(1871),
    [anon_sym_PLUS_PLUS] = ACTIONS(1871),
    [anon_sym_DASH_DASH] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1871),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [1065] = {
    [sym_concatenation] = STATE(1515),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1515),
    [sym_regex] = ACTIONS(3381),
    [anon_sym_RBRACE] = ACTIONS(3383),
    [anon_sym_EQ] = ACTIONS(3385),
    [anon_sym_DASH] = ACTIONS(3385),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3387),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3385),
    [anon_sym_COLON_QMARK] = ACTIONS(3385),
    [anon_sym_COLON_DASH] = ACTIONS(3385),
    [anon_sym_PERCENT] = ACTIONS(3385),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1066] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3383),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1067] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1919),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1919),
    [anon_sym_EQ_EQ] = ACTIONS(1919),
    [anon_sym_EQ] = ACTIONS(1921),
    [anon_sym_PLUS_EQ] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_BANG_EQ] = ACTIONS(1919),
    [anon_sym_PLUS] = ACTIONS(1921),
    [anon_sym_DASH] = ACTIONS(1921),
    [anon_sym_DASH_EQ] = ACTIONS(1919),
    [anon_sym_LT_EQ] = ACTIONS(1919),
    [anon_sym_GT_EQ] = ACTIONS(1919),
    [anon_sym_PLUS_PLUS] = ACTIONS(1919),
    [anon_sym_DASH_DASH] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1919),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [1068] = {
    [sym_concatenation] = STATE(1512),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1512),
    [sym_regex] = ACTIONS(3389),
    [anon_sym_RBRACE] = ACTIONS(3359),
    [anon_sym_EQ] = ACTIONS(3375),
    [anon_sym_DASH] = ACTIONS(3375),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3377),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3375),
    [anon_sym_COLON_QMARK] = ACTIONS(3375),
    [anon_sym_COLON_DASH] = ACTIONS(3375),
    [anon_sym_PERCENT] = ACTIONS(3375),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1069] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3359),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1070] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3391),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1071] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1927),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1927),
    [anon_sym_EQ_EQ] = ACTIONS(1927),
    [anon_sym_EQ] = ACTIONS(1929),
    [anon_sym_PLUS_EQ] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_BANG_EQ] = ACTIONS(1927),
    [anon_sym_PLUS] = ACTIONS(1929),
    [anon_sym_DASH] = ACTIONS(1929),
    [anon_sym_DASH_EQ] = ACTIONS(1927),
    [anon_sym_LT_EQ] = ACTIONS(1927),
    [anon_sym_GT_EQ] = ACTIONS(1927),
    [anon_sym_PLUS_PLUS] = ACTIONS(1927),
    [anon_sym_DASH_DASH] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1927),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [1072] = {
    [anon_sym_SEMI] = ACTIONS(3393),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3391),
    [anon_sym_SEMI_SEMI] = ACTIONS(3395),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3395),
    [anon_sym_AMP] = ACTIONS(3393),
  },
  [1073] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3393),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3391),
    [anon_sym_SEMI_SEMI] = ACTIONS(3395),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3395),
    [anon_sym_AMP] = ACTIONS(3393),
  },
  [1074] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3391),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1075] = {
    [anon_sym_SEMI] = ACTIONS(3397),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3399),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3391),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3399),
    [anon_sym_AMP] = ACTIONS(3397),
  },
  [1076] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3397),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3399),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3391),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3399),
    [anon_sym_AMP] = ACTIONS(3397),
  },
  [1077] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3401),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1078] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1959),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1959),
    [anon_sym_EQ_EQ] = ACTIONS(1959),
    [anon_sym_EQ] = ACTIONS(1961),
    [anon_sym_PLUS_EQ] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_BANG_EQ] = ACTIONS(1959),
    [anon_sym_PLUS] = ACTIONS(1961),
    [anon_sym_DASH] = ACTIONS(1961),
    [anon_sym_DASH_EQ] = ACTIONS(1959),
    [anon_sym_LT_EQ] = ACTIONS(1959),
    [anon_sym_GT_EQ] = ACTIONS(1959),
    [anon_sym_PLUS_PLUS] = ACTIONS(1959),
    [anon_sym_DASH_DASH] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1959),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [1079] = {
    [anon_sym_SEMI] = ACTIONS(3403),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3401),
    [anon_sym_SEMI_SEMI] = ACTIONS(3405),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3405),
    [anon_sym_AMP] = ACTIONS(3403),
  },
  [1080] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3403),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3401),
    [anon_sym_SEMI_SEMI] = ACTIONS(3405),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3405),
    [anon_sym_AMP] = ACTIONS(3403),
  },
  [1081] = {
    [anon_sym_SEMI] = ACTIONS(3407),
    [anon_sym_SEMI_SEMI] = ACTIONS(3409),
    [anon_sym_AMP_AMP] = ACTIONS(1188),
    [anon_sym_PIPE_PIPE] = ACTIONS(1188),
    [anon_sym_EQ_TILDE] = ACTIONS(1190),
    [anon_sym_EQ_EQ] = ACTIONS(1190),
    [anon_sym_EQ] = ACTIONS(1192),
    [anon_sym_PLUS_EQ] = ACTIONS(1188),
    [anon_sym_LT] = ACTIONS(1192),
    [anon_sym_GT] = ACTIONS(1192),
    [anon_sym_BANG_EQ] = ACTIONS(1188),
    [anon_sym_PLUS] = ACTIONS(1192),
    [anon_sym_DASH] = ACTIONS(1192),
    [anon_sym_DASH_EQ] = ACTIONS(1188),
    [anon_sym_LT_EQ] = ACTIONS(1188),
    [anon_sym_GT_EQ] = ACTIONS(1188),
    [anon_sym_PLUS_PLUS] = ACTIONS(1194),
    [anon_sym_DASH_DASH] = ACTIONS(1194),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1188),
    [anon_sym_LF] = ACTIONS(3409),
    [anon_sym_AMP] = ACTIONS(3407),
  },
  [1082] = {
    [anon_sym_SEMI] = ACTIONS(2422),
    [anon_sym_SEMI_SEMI] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
    [anon_sym_LF] = ACTIONS(2420),
    [anon_sym_AMP] = ACTIONS(2422),
  },
  [1083] = {
    [anon_sym_SEMI] = ACTIONS(2422),
    [anon_sym_SEMI_SEMI] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
    [anon_sym_LF] = ACTIONS(2420),
    [anon_sym_AMP] = ACTIONS(2422),
  },
  [1084] = {
    [sym_string] = STATE(1523),
    [sym_simple_expansion] = STATE(1523),
    [sym_string_expansion] = STATE(1523),
    [sym_expansion] = STATE(1523),
    [sym_command_substitution] = STATE(1523),
    [sym_process_substitution] = STATE(1523),
    [sym__special_characters] = ACTIONS(3411),
    [anon_sym_DQUOTE] = ACTIONS(1198),
    [anon_sym_DOLLAR] = ACTIONS(1200),
    [sym_raw_string] = ACTIONS(3411),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1206),
    [anon_sym_BQUOTE] = ACTIONS(1208),
    [anon_sym_LT_LPAREN] = ACTIONS(1210),
    [anon_sym_GT_LPAREN] = ACTIONS(1210),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3411),
  },
  [1085] = {
    [aux_sym_concatenation_repeat1] = STATE(1524),
    [sym__concat] = ACTIONS(2245),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(807),
  },
  [1086] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(811),
  },
  [1087] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3413),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1088] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(3413),
    [anon_sym_DOLLAR] = ACTIONS(3415),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1089] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(845),
  },
  [1090] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(849),
  },
  [1091] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(853),
  },
  [1092] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3417),
    [sym_comment] = ACTIONS(55),
  },
  [1093] = {
    [sym_subscript] = STATE(1530),
    [sym_variable_name] = ACTIONS(3419),
    [anon_sym_DASH] = ACTIONS(3421),
    [anon_sym_DOLLAR] = ACTIONS(3421),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3423),
    [anon_sym_STAR] = ACTIONS(3425),
    [anon_sym_AT] = ACTIONS(3425),
    [anon_sym_QMARK] = ACTIONS(3425),
    [anon_sym_0] = ACTIONS(3423),
    [anon_sym__] = ACTIONS(3423),
  },
  [1094] = {
    [sym_concatenation] = STATE(1533),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1533),
    [anon_sym_RBRACE] = ACTIONS(3427),
    [anon_sym_EQ] = ACTIONS(3429),
    [anon_sym_DASH] = ACTIONS(3429),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3433),
    [anon_sym_COLON] = ACTIONS(3429),
    [anon_sym_COLON_QMARK] = ACTIONS(3429),
    [anon_sym_COLON_DASH] = ACTIONS(3429),
    [anon_sym_PERCENT] = ACTIONS(3429),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1095] = {
    [sym_concatenation] = STATE(1536),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1536),
    [anon_sym_RBRACE] = ACTIONS(3435),
    [anon_sym_EQ] = ACTIONS(3437),
    [anon_sym_DASH] = ACTIONS(3437),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3439),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3441),
    [anon_sym_COLON] = ACTIONS(3437),
    [anon_sym_COLON_QMARK] = ACTIONS(3437),
    [anon_sym_COLON_DASH] = ACTIONS(3437),
    [anon_sym_PERCENT] = ACTIONS(3437),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1096] = {
    [anon_sym_SEMI] = ACTIONS(3443),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3445),
    [anon_sym_SEMI_SEMI] = ACTIONS(3447),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3447),
    [anon_sym_AMP] = ACTIONS(3443),
  },
  [1097] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3443),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3445),
    [anon_sym_SEMI_SEMI] = ACTIONS(3447),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3447),
    [anon_sym_AMP] = ACTIONS(3443),
  },
  [1098] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1539),
    [sym_c_style_for_statement] = STATE(1539),
    [sym_while_statement] = STATE(1539),
    [sym_if_statement] = STATE(1539),
    [sym_case_statement] = STATE(1539),
    [sym_function_definition] = STATE(1539),
    [sym_subshell] = STATE(1539),
    [sym_pipeline] = STATE(1539),
    [sym_list] = STATE(1539),
    [sym_negated_command] = STATE(1539),
    [sym_test_command] = STATE(1539),
    [sym_declaration_command] = STATE(1539),
    [sym_unset_command] = STATE(1539),
    [sym_command] = STATE(1539),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1540),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1099] = {
    [anon_sym_SEMI] = ACTIONS(3449),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3451),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3445),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3451),
    [anon_sym_AMP] = ACTIONS(3449),
  },
  [1100] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3449),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3451),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3445),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3451),
    [anon_sym_AMP] = ACTIONS(3449),
  },
  [1101] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1542),
    [sym_c_style_for_statement] = STATE(1542),
    [sym_while_statement] = STATE(1542),
    [sym_if_statement] = STATE(1542),
    [sym_case_statement] = STATE(1542),
    [sym_function_definition] = STATE(1542),
    [sym_subshell] = STATE(1542),
    [sym_pipeline] = STATE(1542),
    [sym_list] = STATE(1542),
    [sym_negated_command] = STATE(1542),
    [sym_test_command] = STATE(1542),
    [sym_declaration_command] = STATE(1542),
    [sym_unset_command] = STATE(1542),
    [sym_command] = STATE(1542),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1543),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1102] = {
    [anon_sym_SEMI] = ACTIONS(3453),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3455),
    [anon_sym_SEMI_SEMI] = ACTIONS(3457),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3457),
    [anon_sym_AMP] = ACTIONS(3453),
  },
  [1103] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3453),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3455),
    [anon_sym_SEMI_SEMI] = ACTIONS(3457),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3457),
    [anon_sym_AMP] = ACTIONS(3453),
  },
  [1104] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1546),
    [sym_c_style_for_statement] = STATE(1546),
    [sym_while_statement] = STATE(1546),
    [sym_if_statement] = STATE(1546),
    [sym_case_statement] = STATE(1546),
    [sym_function_definition] = STATE(1546),
    [sym_subshell] = STATE(1546),
    [sym_pipeline] = STATE(1546),
    [sym_list] = STATE(1546),
    [sym_negated_command] = STATE(1546),
    [sym_test_command] = STATE(1546),
    [sym_declaration_command] = STATE(1546),
    [sym_unset_command] = STATE(1546),
    [sym_command] = STATE(1546),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1547),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1105] = {
    [sym_do_group] = STATE(1548),
    [anon_sym_do] = ACTIONS(1212),
    [sym_comment] = ACTIONS(55),
  },
  [1106] = {
    [sym_concatenation] = STATE(1106),
    [sym_string] = STATE(617),
    [sym_simple_expansion] = STATE(617),
    [sym_string_expansion] = STATE(617),
    [sym_expansion] = STATE(617),
    [sym_command_substitution] = STATE(617),
    [sym_process_substitution] = STATE(617),
    [aux_sym_for_statement_repeat1] = STATE(1106),
    [anon_sym_SEMI] = ACTIONS(3459),
    [anon_sym_SEMI_SEMI] = ACTIONS(3269),
    [sym__special_characters] = ACTIONS(3461),
    [anon_sym_DQUOTE] = ACTIONS(3464),
    [anon_sym_DOLLAR] = ACTIONS(3467),
    [sym_raw_string] = ACTIONS(3470),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3473),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3476),
    [anon_sym_BQUOTE] = ACTIONS(3479),
    [anon_sym_LT_LPAREN] = ACTIONS(3482),
    [anon_sym_GT_LPAREN] = ACTIONS(3482),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3485),
    [anon_sym_LF] = ACTIONS(3269),
    [anon_sym_AMP] = ACTIONS(3269),
  },
  [1107] = {
    [ts_builtin_sym_end] = ACTIONS(2471),
    [anon_sym_SEMI] = ACTIONS(2473),
    [anon_sym_esac] = ACTIONS(2471),
    [anon_sym_PIPE] = ACTIONS(2473),
    [anon_sym_RPAREN] = ACTIONS(2471),
    [anon_sym_SEMI_SEMI] = ACTIONS(2471),
    [anon_sym_PIPE_AMP] = ACTIONS(2471),
    [anon_sym_AMP_AMP] = ACTIONS(2471),
    [anon_sym_PIPE_PIPE] = ACTIONS(2471),
    [anon_sym_BQUOTE] = ACTIONS(2471),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2471),
    [anon_sym_AMP] = ACTIONS(2473),
  },
  [1108] = {
    [sym__terminated_statement] = STATE(1187),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1187),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_done] = ACTIONS(3488),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1109] = {
    [anon_sym_RPAREN] = ACTIONS(2331),
    [anon_sym_AMP_AMP] = ACTIONS(2331),
    [anon_sym_PIPE_PIPE] = ACTIONS(2331),
    [anon_sym_EQ_TILDE] = ACTIONS(2331),
    [anon_sym_EQ_EQ] = ACTIONS(2331),
    [anon_sym_EQ] = ACTIONS(2333),
    [anon_sym_PLUS_EQ] = ACTIONS(2331),
    [anon_sym_LT] = ACTIONS(2333),
    [anon_sym_GT] = ACTIONS(2333),
    [anon_sym_BANG_EQ] = ACTIONS(2331),
    [anon_sym_PLUS] = ACTIONS(2333),
    [anon_sym_DASH] = ACTIONS(2333),
    [anon_sym_DASH_EQ] = ACTIONS(2331),
    [anon_sym_LT_EQ] = ACTIONS(2331),
    [anon_sym_GT_EQ] = ACTIONS(2331),
    [anon_sym_PLUS_PLUS] = ACTIONS(2331),
    [anon_sym_DASH_DASH] = ACTIONS(2331),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2331),
  },
  [1110] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [1111] = {
    [aux_sym_concatenation_repeat1] = STATE(1111),
    [sym__concat] = ACTIONS(3490),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1763),
    [anon_sym_EQ_EQ] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_PLUS_EQ] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_BANG_EQ] = ACTIONS(1763),
    [anon_sym_PLUS] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [anon_sym_DASH_EQ] = ACTIONS(1763),
    [anon_sym_LT_EQ] = ACTIONS(1763),
    [anon_sym_GT_EQ] = ACTIONS(1763),
    [anon_sym_PLUS_PLUS] = ACTIONS(1763),
    [anon_sym_DASH_DASH] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1763),
  },
  [1112] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1770),
    [anon_sym_EQ_EQ] = ACTIONS(1770),
    [anon_sym_EQ] = ACTIONS(1772),
    [anon_sym_PLUS_EQ] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_BANG_EQ] = ACTIONS(1770),
    [anon_sym_PLUS] = ACTIONS(1772),
    [anon_sym_DASH] = ACTIONS(1772),
    [anon_sym_DASH_EQ] = ACTIONS(1770),
    [anon_sym_LT_EQ] = ACTIONS(1770),
    [anon_sym_GT_EQ] = ACTIONS(1770),
    [anon_sym_PLUS_PLUS] = ACTIONS(1770),
    [anon_sym_DASH_DASH] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1770),
  },
  [1113] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3493),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1114] = {
    [sym_concatenation] = STATE(1554),
    [sym_string] = STATE(1553),
    [sym_simple_expansion] = STATE(1553),
    [sym_string_expansion] = STATE(1553),
    [sym_expansion] = STATE(1553),
    [sym_command_substitution] = STATE(1553),
    [sym_process_substitution] = STATE(1553),
    [anon_sym_RBRACE] = ACTIONS(3495),
    [sym__special_characters] = ACTIONS(3497),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3499),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3499),
  },
  [1115] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3501),
    [sym_comment] = ACTIONS(55),
  },
  [1116] = {
    [sym_concatenation] = STATE(1558),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1558),
    [anon_sym_RBRACE] = ACTIONS(3503),
    [anon_sym_EQ] = ACTIONS(3505),
    [anon_sym_DASH] = ACTIONS(3505),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3507),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3509),
    [anon_sym_COLON] = ACTIONS(3505),
    [anon_sym_COLON_QMARK] = ACTIONS(3505),
    [anon_sym_COLON_DASH] = ACTIONS(3505),
    [anon_sym_PERCENT] = ACTIONS(3505),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1117] = {
    [sym_concatenation] = STATE(1560),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1560),
    [anon_sym_RBRACE] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3511),
    [anon_sym_DASH] = ACTIONS(3511),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3513),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3515),
    [anon_sym_COLON] = ACTIONS(3511),
    [anon_sym_COLON_QMARK] = ACTIONS(3511),
    [anon_sym_COLON_DASH] = ACTIONS(3511),
    [anon_sym_PERCENT] = ACTIONS(3511),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1118] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1871),
    [anon_sym_EQ_EQ] = ACTIONS(1871),
    [anon_sym_EQ] = ACTIONS(1873),
    [anon_sym_PLUS_EQ] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_BANG_EQ] = ACTIONS(1871),
    [anon_sym_PLUS] = ACTIONS(1873),
    [anon_sym_DASH] = ACTIONS(1873),
    [anon_sym_DASH_EQ] = ACTIONS(1871),
    [anon_sym_LT_EQ] = ACTIONS(1871),
    [anon_sym_GT_EQ] = ACTIONS(1871),
    [anon_sym_PLUS_PLUS] = ACTIONS(1871),
    [anon_sym_DASH_DASH] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1871),
  },
  [1119] = {
    [sym_concatenation] = STATE(1563),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1563),
    [sym_regex] = ACTIONS(3517),
    [anon_sym_RBRACE] = ACTIONS(3519),
    [anon_sym_EQ] = ACTIONS(3521),
    [anon_sym_DASH] = ACTIONS(3521),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3523),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3521),
    [anon_sym_COLON_QMARK] = ACTIONS(3521),
    [anon_sym_COLON_DASH] = ACTIONS(3521),
    [anon_sym_PERCENT] = ACTIONS(3521),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1120] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3519),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1121] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1919),
    [anon_sym_EQ_EQ] = ACTIONS(1919),
    [anon_sym_EQ] = ACTIONS(1921),
    [anon_sym_PLUS_EQ] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_BANG_EQ] = ACTIONS(1919),
    [anon_sym_PLUS] = ACTIONS(1921),
    [anon_sym_DASH] = ACTIONS(1921),
    [anon_sym_DASH_EQ] = ACTIONS(1919),
    [anon_sym_LT_EQ] = ACTIONS(1919),
    [anon_sym_GT_EQ] = ACTIONS(1919),
    [anon_sym_PLUS_PLUS] = ACTIONS(1919),
    [anon_sym_DASH_DASH] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1919),
  },
  [1122] = {
    [sym_concatenation] = STATE(1560),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1560),
    [sym_regex] = ACTIONS(3525),
    [anon_sym_RBRACE] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(3511),
    [anon_sym_DASH] = ACTIONS(3511),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3513),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3511),
    [anon_sym_COLON_QMARK] = ACTIONS(3511),
    [anon_sym_COLON_DASH] = ACTIONS(3511),
    [anon_sym_PERCENT] = ACTIONS(3511),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1123] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3495),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1124] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3527),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1125] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1927),
    [anon_sym_EQ_EQ] = ACTIONS(1927),
    [anon_sym_EQ] = ACTIONS(1929),
    [anon_sym_PLUS_EQ] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_BANG_EQ] = ACTIONS(1927),
    [anon_sym_PLUS] = ACTIONS(1929),
    [anon_sym_DASH] = ACTIONS(1929),
    [anon_sym_DASH_EQ] = ACTIONS(1927),
    [anon_sym_LT_EQ] = ACTIONS(1927),
    [anon_sym_GT_EQ] = ACTIONS(1927),
    [anon_sym_PLUS_PLUS] = ACTIONS(1927),
    [anon_sym_DASH_DASH] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1927),
  },
  [1126] = {
    [anon_sym_SEMI] = ACTIONS(3529),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3527),
    [anon_sym_SEMI_SEMI] = ACTIONS(3531),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3531),
    [anon_sym_AMP] = ACTIONS(3529),
  },
  [1127] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3529),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3527),
    [anon_sym_SEMI_SEMI] = ACTIONS(3531),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3531),
    [anon_sym_AMP] = ACTIONS(3529),
  },
  [1128] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3527),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1129] = {
    [anon_sym_SEMI] = ACTIONS(3533),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3535),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3527),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3535),
    [anon_sym_AMP] = ACTIONS(3533),
  },
  [1130] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3533),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3535),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3527),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3535),
    [anon_sym_AMP] = ACTIONS(3533),
  },
  [1131] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3537),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1132] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1959),
    [anon_sym_EQ_EQ] = ACTIONS(1959),
    [anon_sym_EQ] = ACTIONS(1961),
    [anon_sym_PLUS_EQ] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_BANG_EQ] = ACTIONS(1959),
    [anon_sym_PLUS] = ACTIONS(1961),
    [anon_sym_DASH] = ACTIONS(1961),
    [anon_sym_DASH_EQ] = ACTIONS(1959),
    [anon_sym_LT_EQ] = ACTIONS(1959),
    [anon_sym_GT_EQ] = ACTIONS(1959),
    [anon_sym_PLUS_PLUS] = ACTIONS(1959),
    [anon_sym_DASH_DASH] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(1959),
  },
  [1133] = {
    [anon_sym_SEMI] = ACTIONS(3539),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3537),
    [anon_sym_SEMI_SEMI] = ACTIONS(3541),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3541),
    [anon_sym_AMP] = ACTIONS(3539),
  },
  [1134] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3539),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3537),
    [anon_sym_SEMI_SEMI] = ACTIONS(3541),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3541),
    [anon_sym_AMP] = ACTIONS(3539),
  },
  [1135] = {
    [anon_sym_RPAREN] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [1136] = {
    [anon_sym_RPAREN] = ACTIONS(2420),
    [anon_sym_AMP_AMP] = ACTIONS(2420),
    [anon_sym_PIPE_PIPE] = ACTIONS(2420),
    [anon_sym_EQ_TILDE] = ACTIONS(2420),
    [anon_sym_EQ_EQ] = ACTIONS(2420),
    [anon_sym_EQ] = ACTIONS(2422),
    [anon_sym_PLUS_EQ] = ACTIONS(2420),
    [anon_sym_LT] = ACTIONS(2422),
    [anon_sym_GT] = ACTIONS(2422),
    [anon_sym_BANG_EQ] = ACTIONS(2420),
    [anon_sym_PLUS] = ACTIONS(2422),
    [anon_sym_DASH] = ACTIONS(2422),
    [anon_sym_DASH_EQ] = ACTIONS(2420),
    [anon_sym_LT_EQ] = ACTIONS(2420),
    [anon_sym_GT_EQ] = ACTIONS(2420),
    [anon_sym_PLUS_PLUS] = ACTIONS(2420),
    [anon_sym_DASH_DASH] = ACTIONS(2420),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2420),
  },
  [1137] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2959),
    [anon_sym_EQ_EQ] = ACTIONS(2959),
    [anon_sym_EQ] = ACTIONS(2961),
    [anon_sym_PLUS_EQ] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_BANG_EQ] = ACTIONS(2959),
    [anon_sym_PLUS] = ACTIONS(2961),
    [anon_sym_DASH] = ACTIONS(2961),
    [anon_sym_DASH_EQ] = ACTIONS(2959),
    [anon_sym_LT_EQ] = ACTIONS(2959),
    [anon_sym_GT_EQ] = ACTIONS(2959),
    [anon_sym_PLUS_PLUS] = ACTIONS(2959),
    [anon_sym_DASH_DASH] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2959),
  },
  [1138] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2973),
    [anon_sym_EQ_EQ] = ACTIONS(2973),
    [anon_sym_EQ] = ACTIONS(2975),
    [anon_sym_PLUS_EQ] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_BANG_EQ] = ACTIONS(2973),
    [anon_sym_PLUS] = ACTIONS(2975),
    [anon_sym_DASH] = ACTIONS(2975),
    [anon_sym_DASH_EQ] = ACTIONS(2973),
    [anon_sym_LT_EQ] = ACTIONS(2973),
    [anon_sym_GT_EQ] = ACTIONS(2973),
    [anon_sym_PLUS_PLUS] = ACTIONS(2973),
    [anon_sym_DASH_DASH] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2973),
  },
  [1139] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3543),
    [sym_comment] = ACTIONS(55),
  },
  [1140] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3545),
    [sym_comment] = ACTIONS(55),
  },
  [1141] = {
    [anon_sym_RBRACE] = ACTIONS(3545),
    [sym_comment] = ACTIONS(55),
  },
  [1142] = {
    [sym_concatenation] = STATE(1574),
    [sym_string] = STATE(1573),
    [sym_simple_expansion] = STATE(1573),
    [sym_string_expansion] = STATE(1573),
    [sym_expansion] = STATE(1573),
    [sym_command_substitution] = STATE(1573),
    [sym_process_substitution] = STATE(1573),
    [anon_sym_RBRACE] = ACTIONS(3545),
    [sym__special_characters] = ACTIONS(3547),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3549),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3549),
  },
  [1143] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3009),
    [anon_sym_EQ_EQ] = ACTIONS(3009),
    [anon_sym_EQ] = ACTIONS(3011),
    [anon_sym_PLUS_EQ] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_BANG_EQ] = ACTIONS(3009),
    [anon_sym_PLUS] = ACTIONS(3011),
    [anon_sym_DASH] = ACTIONS(3011),
    [anon_sym_DASH_EQ] = ACTIONS(3009),
    [anon_sym_LT_EQ] = ACTIONS(3009),
    [anon_sym_GT_EQ] = ACTIONS(3009),
    [anon_sym_PLUS_PLUS] = ACTIONS(3009),
    [anon_sym_DASH_DASH] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3009),
  },
  [1144] = {
    [sym_concatenation] = STATE(1577),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1577),
    [sym_regex] = ACTIONS(3551),
    [anon_sym_RBRACE] = ACTIONS(3553),
    [anon_sym_EQ] = ACTIONS(3555),
    [anon_sym_DASH] = ACTIONS(3555),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3557),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3555),
    [anon_sym_COLON_QMARK] = ACTIONS(3555),
    [anon_sym_COLON_DASH] = ACTIONS(3555),
    [anon_sym_PERCENT] = ACTIONS(3555),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1145] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3553),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1146] = {
    [sym_concatenation] = STATE(1579),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1579),
    [sym_regex] = ACTIONS(3559),
    [anon_sym_RBRACE] = ACTIONS(3545),
    [anon_sym_EQ] = ACTIONS(3561),
    [anon_sym_DASH] = ACTIONS(3561),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3563),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3561),
    [anon_sym_COLON_QMARK] = ACTIONS(3561),
    [anon_sym_COLON_DASH] = ACTIONS(3561),
    [anon_sym_PERCENT] = ACTIONS(3561),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1147] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3545),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1148] = {
    [sym_concatenation] = STATE(1581),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1581),
    [anon_sym_RBRACE] = ACTIONS(3565),
    [anon_sym_EQ] = ACTIONS(3567),
    [anon_sym_DASH] = ACTIONS(3567),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3569),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3567),
    [anon_sym_COLON_QMARK] = ACTIONS(3567),
    [anon_sym_COLON_DASH] = ACTIONS(3567),
    [anon_sym_PERCENT] = ACTIONS(3567),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1149] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3065),
    [anon_sym_EQ_EQ] = ACTIONS(3065),
    [anon_sym_EQ] = ACTIONS(3067),
    [anon_sym_PLUS_EQ] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_BANG_EQ] = ACTIONS(3065),
    [anon_sym_PLUS] = ACTIONS(3067),
    [anon_sym_DASH] = ACTIONS(3067),
    [anon_sym_DASH_EQ] = ACTIONS(3065),
    [anon_sym_LT_EQ] = ACTIONS(3065),
    [anon_sym_GT_EQ] = ACTIONS(3065),
    [anon_sym_PLUS_PLUS] = ACTIONS(3065),
    [anon_sym_DASH_DASH] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3065),
  },
  [1150] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3565),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1151] = {
    [sym_concatenation] = STATE(1579),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1579),
    [anon_sym_RBRACE] = ACTIONS(3545),
    [anon_sym_EQ] = ACTIONS(3561),
    [anon_sym_DASH] = ACTIONS(3561),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3563),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3561),
    [anon_sym_COLON_QMARK] = ACTIONS(3561),
    [anon_sym_COLON_DASH] = ACTIONS(3561),
    [anon_sym_PERCENT] = ACTIONS(3561),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1152] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3120),
    [anon_sym_EQ_EQ] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [anon_sym_PLUS_EQ] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_BANG_EQ] = ACTIONS(3120),
    [anon_sym_PLUS] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [anon_sym_DASH_EQ] = ACTIONS(3120),
    [anon_sym_LT_EQ] = ACTIONS(3120),
    [anon_sym_GT_EQ] = ACTIONS(3120),
    [anon_sym_PLUS_PLUS] = ACTIONS(3120),
    [anon_sym_DASH_DASH] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3120),
  },
  [1153] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3571),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1154] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3571),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1155] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RPAREN_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_PLUS_EQ] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [anon_sym_PLUS] = ACTIONS(3160),
    [anon_sym_DASH] = ACTIONS(3160),
    [anon_sym_DASH_EQ] = ACTIONS(3158),
    [anon_sym_LT_EQ] = ACTIONS(3158),
    [anon_sym_GT_EQ] = ACTIONS(3158),
    [anon_sym_PLUS_PLUS] = ACTIONS(3158),
    [anon_sym_DASH_DASH] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3158),
  },
  [1156] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3573),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1157] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(1585),
    [sym_simple_expansion] = STATE(1585),
    [sym_string_expansion] = STATE(1585),
    [sym_expansion] = STATE(1585),
    [sym_command_substitution] = STATE(1585),
    [sym_process_substitution] = STATE(1585),
    [sym__special_characters] = ACTIONS(3575),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(3577),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3577),
  },
  [1158] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(773),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1159] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(1591),
    [anon_sym_DQUOTE] = ACTIONS(3581),
    [anon_sym_DOLLAR] = ACTIONS(3583),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1160] = {
    [sym_string] = STATE(1593),
    [anon_sym_DASH] = ACTIONS(3585),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(3585),
    [sym_raw_string] = ACTIONS(3587),
    [anon_sym_POUND] = ACTIONS(3585),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3589),
    [anon_sym_STAR] = ACTIONS(3591),
    [anon_sym_AT] = ACTIONS(3591),
    [anon_sym_QMARK] = ACTIONS(3591),
    [anon_sym_0] = ACTIONS(3589),
    [anon_sym__] = ACTIONS(3589),
  },
  [1161] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1162] = {
    [sym_subscript] = STATE(1598),
    [sym_variable_name] = ACTIONS(3593),
    [anon_sym_BANG] = ACTIONS(3595),
    [anon_sym_DASH] = ACTIONS(3597),
    [anon_sym_DOLLAR] = ACTIONS(3597),
    [anon_sym_POUND] = ACTIONS(3595),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3599),
    [anon_sym_STAR] = ACTIONS(3601),
    [anon_sym_AT] = ACTIONS(3601),
    [anon_sym_QMARK] = ACTIONS(3601),
    [anon_sym_0] = ACTIONS(3599),
    [anon_sym__] = ACTIONS(3599),
  },
  [1163] = {
    [sym__terminated_statement] = STATE(1601),
    [sym_for_statement] = STATE(1599),
    [sym_c_style_for_statement] = STATE(1599),
    [sym_while_statement] = STATE(1599),
    [sym_if_statement] = STATE(1599),
    [sym_case_statement] = STATE(1599),
    [sym_function_definition] = STATE(1599),
    [sym_subshell] = STATE(1599),
    [sym_pipeline] = STATE(1599),
    [sym_list] = STATE(1599),
    [sym_negated_command] = STATE(1599),
    [sym_test_command] = STATE(1599),
    [sym_declaration_command] = STATE(1599),
    [sym_unset_command] = STATE(1599),
    [sym_command] = STATE(1599),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1600),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1601),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1164] = {
    [sym__terminated_statement] = STATE(1604),
    [sym_for_statement] = STATE(1602),
    [sym_c_style_for_statement] = STATE(1602),
    [sym_while_statement] = STATE(1602),
    [sym_if_statement] = STATE(1602),
    [sym_case_statement] = STATE(1602),
    [sym_function_definition] = STATE(1602),
    [sym_subshell] = STATE(1602),
    [sym_pipeline] = STATE(1602),
    [sym_list] = STATE(1602),
    [sym_negated_command] = STATE(1602),
    [sym_test_command] = STATE(1602),
    [sym_declaration_command] = STATE(1602),
    [sym_unset_command] = STATE(1602),
    [sym_command] = STATE(1602),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1603),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1604),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1165] = {
    [sym__terminated_statement] = STATE(1607),
    [sym_for_statement] = STATE(1605),
    [sym_c_style_for_statement] = STATE(1605),
    [sym_while_statement] = STATE(1605),
    [sym_if_statement] = STATE(1605),
    [sym_case_statement] = STATE(1605),
    [sym_function_definition] = STATE(1605),
    [sym_subshell] = STATE(1605),
    [sym_pipeline] = STATE(1605),
    [sym_list] = STATE(1605),
    [sym_negated_command] = STATE(1605),
    [sym_test_command] = STATE(1605),
    [sym_declaration_command] = STATE(1605),
    [sym_unset_command] = STATE(1605),
    [sym_command] = STATE(1605),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1606),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(1607),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1166] = {
    [sym_file_descriptor] = ACTIONS(791),
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1167] = {
    [sym_file_descriptor] = ACTIONS(2011),
    [ts_builtin_sym_end] = ACTIONS(2011),
    [anon_sym_SEMI] = ACTIONS(2013),
    [anon_sym_esac] = ACTIONS(2011),
    [anon_sym_PIPE] = ACTIONS(2013),
    [anon_sym_RPAREN] = ACTIONS(2011),
    [anon_sym_SEMI_SEMI] = ACTIONS(2011),
    [anon_sym_PIPE_AMP] = ACTIONS(2011),
    [anon_sym_AMP_AMP] = ACTIONS(2011),
    [anon_sym_PIPE_PIPE] = ACTIONS(2011),
    [anon_sym_LT] = ACTIONS(2013),
    [anon_sym_GT] = ACTIONS(2013),
    [anon_sym_GT_GT] = ACTIONS(2011),
    [anon_sym_AMP_GT] = ACTIONS(2013),
    [anon_sym_AMP_GT_GT] = ACTIONS(2011),
    [anon_sym_LT_AMP] = ACTIONS(2011),
    [anon_sym_GT_AMP] = ACTIONS(2011),
    [anon_sym_LT_LT] = ACTIONS(2013),
    [anon_sym_LT_LT_DASH] = ACTIONS(2011),
    [anon_sym_LT_LT_LT] = ACTIONS(2011),
    [anon_sym_BQUOTE] = ACTIONS(2011),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2011),
    [anon_sym_AMP] = ACTIONS(2013),
  },
  [1168] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(2015),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [1169] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(2019),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [1170] = {
    [sym_file_descriptor] = ACTIONS(2019),
    [ts_builtin_sym_end] = ACTIONS(2019),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_esac] = ACTIONS(2019),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_RPAREN] = ACTIONS(2019),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [anon_sym_BQUOTE] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [1171] = {
    [sym_file_redirect] = STATE(1171),
    [sym_heredoc_redirect] = STATE(1171),
    [sym_herestring_redirect] = STATE(1171),
    [aux_sym_while_statement_repeat1] = STATE(1171),
    [sym_file_descriptor] = ACTIONS(3603),
    [ts_builtin_sym_end] = ACTIONS(2027),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(3606),
    [anon_sym_GT] = ACTIONS(3606),
    [anon_sym_GT_GT] = ACTIONS(3609),
    [anon_sym_AMP_GT] = ACTIONS(3606),
    [anon_sym_AMP_GT_GT] = ACTIONS(3609),
    [anon_sym_LT_AMP] = ACTIONS(3609),
    [anon_sym_GT_AMP] = ACTIONS(3609),
    [anon_sym_LT_LT] = ACTIONS(3612),
    [anon_sym_LT_LT_DASH] = ACTIONS(3615),
    [anon_sym_LT_LT_LT] = ACTIONS(3618),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [1172] = {
    [aux_sym_concatenation_repeat1] = STATE(1608),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1173] = {
    [anon_sym_LT] = ACTIONS(3621),
    [anon_sym_GT] = ACTIONS(3621),
    [anon_sym_GT_GT] = ACTIONS(3623),
    [anon_sym_AMP_GT] = ACTIONS(3621),
    [anon_sym_AMP_GT_GT] = ACTIONS(3623),
    [anon_sym_LT_AMP] = ACTIONS(3623),
    [anon_sym_GT_AMP] = ACTIONS(3623),
    [sym_comment] = ACTIONS(55),
  },
  [1174] = {
    [sym_concatenation] = STATE(1166),
    [sym_string] = STATE(1611),
    [sym_simple_expansion] = STATE(1611),
    [sym_string_expansion] = STATE(1611),
    [sym_expansion] = STATE(1611),
    [sym_command_substitution] = STATE(1611),
    [sym_process_substitution] = STATE(1611),
    [sym__special_characters] = ACTIONS(3625),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(3627),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3627),
  },
  [1175] = {
    [sym_concatenation] = STATE(1170),
    [sym_string] = STATE(1613),
    [sym_simple_expansion] = STATE(1613),
    [sym_string_expansion] = STATE(1613),
    [sym_expansion] = STATE(1613),
    [sym_command_substitution] = STATE(1613),
    [sym_process_substitution] = STATE(1613),
    [sym__special_characters] = ACTIONS(3629),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(3631),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3631),
  },
  [1176] = {
    [sym_file_redirect] = STATE(1614),
    [sym_heredoc_redirect] = STATE(1614),
    [sym_herestring_redirect] = STATE(1614),
    [aux_sym_while_statement_repeat1] = STATE(1614),
    [sym_file_descriptor] = ACTIONS(2424),
    [anon_sym_SEMI] = ACTIONS(2418),
    [anon_sym_PIPE] = ACTIONS(2418),
    [anon_sym_SEMI_SEMI] = ACTIONS(2416),
    [anon_sym_PIPE_AMP] = ACTIONS(2416),
    [anon_sym_AMP_AMP] = ACTIONS(2416),
    [anon_sym_PIPE_PIPE] = ACTIONS(2416),
    [anon_sym_LT] = ACTIONS(2426),
    [anon_sym_GT] = ACTIONS(2426),
    [anon_sym_GT_GT] = ACTIONS(2428),
    [anon_sym_AMP_GT] = ACTIONS(2426),
    [anon_sym_AMP_GT_GT] = ACTIONS(2428),
    [anon_sym_LT_AMP] = ACTIONS(2428),
    [anon_sym_GT_AMP] = ACTIONS(2428),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(2430),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2416),
    [anon_sym_AMP] = ACTIONS(2418),
  },
  [1177] = {
    [sym_file_redirect] = STATE(710),
    [sym_heredoc_redirect] = STATE(710),
    [sym_heredoc_body] = STATE(1188),
    [sym_herestring_redirect] = STATE(710),
    [aux_sym_while_statement_repeat1] = STATE(710),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [1178] = {
    [sym_compound_statement] = STATE(1615),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [1179] = {
    [anon_sym_LT] = ACTIONS(3633),
    [anon_sym_GT] = ACTIONS(3633),
    [anon_sym_GT_GT] = ACTIONS(3635),
    [anon_sym_AMP_GT] = ACTIONS(3633),
    [anon_sym_AMP_GT_GT] = ACTIONS(3635),
    [anon_sym_LT_AMP] = ACTIONS(3635),
    [anon_sym_GT_AMP] = ACTIONS(3635),
    [sym_comment] = ACTIONS(55),
  },
  [1180] = {
    [sym_concatenation] = STATE(1238),
    [sym_string] = STATE(1618),
    [sym_simple_expansion] = STATE(1618),
    [sym_string_expansion] = STATE(1618),
    [sym_expansion] = STATE(1618),
    [sym_command_substitution] = STATE(1618),
    [sym_process_substitution] = STATE(1618),
    [sym__special_characters] = ACTIONS(3637),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(3639),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3639),
  },
  [1181] = {
    [aux_sym_concatenation_repeat1] = STATE(691),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1132),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [1182] = {
    [aux_sym_concatenation_repeat1] = STATE(691),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [1183] = {
    [aux_sym_concatenation_repeat1] = STATE(1183),
    [sym__concat] = ACTIONS(2754),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1184] = {
    [aux_sym_concatenation_repeat1] = STATE(1184),
    [sym__concat] = ACTIONS(2807),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1185] = {
    [sym_file_redirect] = STATE(1437),
    [sym_file_descriptor] = ACTIONS(2434),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_LT] = ACTIONS(2436),
    [anon_sym_GT] = ACTIONS(2436),
    [anon_sym_GT_GT] = ACTIONS(2438),
    [anon_sym_AMP_GT] = ACTIONS(2436),
    [anon_sym_AMP_GT_GT] = ACTIONS(2438),
    [anon_sym_LT_AMP] = ACTIONS(2438),
    [anon_sym_GT_AMP] = ACTIONS(2438),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [1186] = {
    [sym__simple_heredoc_body] = ACTIONS(3641),
    [sym__heredoc_body_beginning] = ACTIONS(3641),
    [sym_file_descriptor] = ACTIONS(3641),
    [ts_builtin_sym_end] = ACTIONS(3641),
    [anon_sym_SEMI] = ACTIONS(3643),
    [anon_sym_esac] = ACTIONS(3641),
    [anon_sym_PIPE] = ACTIONS(3643),
    [anon_sym_RPAREN] = ACTIONS(3641),
    [anon_sym_SEMI_SEMI] = ACTIONS(3641),
    [anon_sym_PIPE_AMP] = ACTIONS(3641),
    [anon_sym_AMP_AMP] = ACTIONS(3641),
    [anon_sym_PIPE_PIPE] = ACTIONS(3641),
    [anon_sym_LT] = ACTIONS(3643),
    [anon_sym_GT] = ACTIONS(3643),
    [anon_sym_GT_GT] = ACTIONS(3641),
    [anon_sym_AMP_GT] = ACTIONS(3643),
    [anon_sym_AMP_GT_GT] = ACTIONS(3641),
    [anon_sym_LT_AMP] = ACTIONS(3641),
    [anon_sym_GT_AMP] = ACTIONS(3641),
    [anon_sym_LT_LT] = ACTIONS(3643),
    [anon_sym_LT_LT_DASH] = ACTIONS(3641),
    [anon_sym_LT_LT_LT] = ACTIONS(3641),
    [anon_sym_BQUOTE] = ACTIONS(3641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3641),
    [anon_sym_AMP] = ACTIONS(3643),
  },
  [1187] = {
    [sym__terminated_statement] = STATE(1187),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1187),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_done] = ACTIONS(3645),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [1188] = {
    [ts_builtin_sym_end] = ACTIONS(3647),
    [anon_sym_SEMI] = ACTIONS(3649),
    [anon_sym_esac] = ACTIONS(3647),
    [anon_sym_PIPE] = ACTIONS(3649),
    [anon_sym_RPAREN] = ACTIONS(3647),
    [anon_sym_SEMI_SEMI] = ACTIONS(3647),
    [anon_sym_PIPE_AMP] = ACTIONS(3647),
    [anon_sym_AMP_AMP] = ACTIONS(3647),
    [anon_sym_PIPE_PIPE] = ACTIONS(3647),
    [anon_sym_BQUOTE] = ACTIONS(3647),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3647),
    [anon_sym_AMP] = ACTIONS(3649),
  },
  [1189] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(1088),
    [sym__heredoc_body_beginning] = ACTIONS(1088),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1190] = {
    [aux_sym_concatenation_repeat1] = STATE(1191),
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1191] = {
    [aux_sym_concatenation_repeat1] = STATE(1619),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1192] = {
    [sym_file_redirect] = STATE(710),
    [sym_heredoc_redirect] = STATE(710),
    [sym_heredoc_body] = STATE(1449),
    [sym_herestring_redirect] = STATE(710),
    [aux_sym_while_statement_repeat1] = STATE(710),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(537),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(541),
    [anon_sym_GT] = ACTIONS(541),
    [anon_sym_GT_GT] = ACTIONS(543),
    [anon_sym_AMP_GT] = ACTIONS(541),
    [anon_sym_AMP_GT_GT] = ACTIONS(543),
    [anon_sym_LT_AMP] = ACTIONS(543),
    [anon_sym_GT_AMP] = ACTIONS(543),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [1193] = {
    [anon_sym_then] = ACTIONS(3651),
    [sym_comment] = ACTIONS(55),
  },
  [1194] = {
    [sym__terminated_statement] = STATE(1621),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1621),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(3653),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1195] = {
    [ts_builtin_sym_end] = ACTIONS(3655),
    [anon_sym_SEMI] = ACTIONS(3657),
    [anon_sym_esac] = ACTIONS(3655),
    [anon_sym_PIPE] = ACTIONS(3657),
    [anon_sym_RPAREN] = ACTIONS(3655),
    [anon_sym_SEMI_SEMI] = ACTIONS(3655),
    [anon_sym_PIPE_AMP] = ACTIONS(3655),
    [anon_sym_AMP_AMP] = ACTIONS(3655),
    [anon_sym_PIPE_PIPE] = ACTIONS(3655),
    [anon_sym_BQUOTE] = ACTIONS(3655),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3655),
    [anon_sym_AMP] = ACTIONS(3657),
  },
  [1196] = {
    [anon_sym_fi] = ACTIONS(3659),
    [sym_comment] = ACTIONS(55),
  },
  [1197] = {
    [sym__terminated_statement] = STATE(1197),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1197),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_fi] = ACTIONS(3645),
    [anon_sym_elif] = ACTIONS(3645),
    [anon_sym_else] = ACTIONS(3645),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [1198] = {
    [sym_elif_clause] = STATE(1199),
    [sym_else_clause] = STATE(1623),
    [aux_sym_if_statement_repeat1] = STATE(1199),
    [anon_sym_fi] = ACTIONS(3659),
    [anon_sym_elif] = ACTIONS(2519),
    [anon_sym_else] = ACTIONS(2521),
    [sym_comment] = ACTIONS(55),
  },
  [1199] = {
    [sym_elif_clause] = STATE(1199),
    [aux_sym_if_statement_repeat1] = STATE(1199),
    [anon_sym_fi] = ACTIONS(3661),
    [anon_sym_elif] = ACTIONS(3663),
    [anon_sym_else] = ACTIONS(3661),
    [sym_comment] = ACTIONS(55),
  },
  [1200] = {
    [ts_builtin_sym_end] = ACTIONS(3666),
    [anon_sym_SEMI] = ACTIONS(3668),
    [anon_sym_esac] = ACTIONS(3666),
    [anon_sym_PIPE] = ACTIONS(3668),
    [anon_sym_RPAREN] = ACTIONS(3666),
    [anon_sym_SEMI_SEMI] = ACTIONS(3666),
    [anon_sym_PIPE_AMP] = ACTIONS(3666),
    [anon_sym_AMP_AMP] = ACTIONS(3666),
    [anon_sym_PIPE_PIPE] = ACTIONS(3666),
    [anon_sym_BQUOTE] = ACTIONS(3666),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3666),
    [anon_sym_AMP] = ACTIONS(3668),
  },
  [1201] = {
    [aux_sym_case_item_repeat1] = STATE(1626),
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(3672),
    [sym_comment] = ACTIONS(55),
  },
  [1202] = {
    [aux_sym_case_item_repeat1] = STATE(1629),
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(3674),
    [sym_comment] = ACTIONS(55),
  },
  [1203] = {
    [anon_sym_esac] = ACTIONS(3676),
    [sym_comment] = ACTIONS(55),
  },
  [1204] = {
    [aux_sym_case_item_repeat1] = STATE(1629),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(3674),
    [sym_comment] = ACTIONS(55),
  },
  [1205] = {
    [sym_case_item] = STATE(1632),
    [sym_last_case_item] = STATE(1631),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1632),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2527),
  },
  [1206] = {
    [sym_case_item] = STATE(1633),
    [sym_last_case_item] = STATE(1631),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1633),
    [anon_sym_esac] = ACTIONS(3678),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2529),
  },
  [1207] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_in] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2959),
  },
  [1208] = {
    [ts_builtin_sym_end] = ACTIONS(3680),
    [anon_sym_SEMI] = ACTIONS(3682),
    [anon_sym_esac] = ACTIONS(3680),
    [anon_sym_PIPE] = ACTIONS(3682),
    [anon_sym_RPAREN] = ACTIONS(3680),
    [anon_sym_SEMI_SEMI] = ACTIONS(3680),
    [anon_sym_PIPE_AMP] = ACTIONS(3680),
    [anon_sym_AMP_AMP] = ACTIONS(3680),
    [anon_sym_PIPE_PIPE] = ACTIONS(3680),
    [anon_sym_BQUOTE] = ACTIONS(3680),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3680),
    [anon_sym_AMP] = ACTIONS(3682),
  },
  [1209] = {
    [anon_sym_esac] = ACTIONS(3684),
    [sym_comment] = ACTIONS(55),
  },
  [1210] = {
    [sym_case_item] = STATE(1632),
    [sym_last_case_item] = STATE(1635),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1632),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2527),
  },
  [1211] = {
    [sym_case_item] = STATE(1636),
    [sym_last_case_item] = STATE(1635),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1636),
    [anon_sym_esac] = ACTIONS(3686),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2529),
  },
  [1212] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_in] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2973),
  },
  [1213] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3688),
    [sym_comment] = ACTIONS(55),
  },
  [1214] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3690),
    [sym_comment] = ACTIONS(55),
  },
  [1215] = {
    [anon_sym_RBRACE] = ACTIONS(3690),
    [sym_comment] = ACTIONS(55),
  },
  [1216] = {
    [sym_concatenation] = STATE(1641),
    [sym_string] = STATE(1640),
    [sym_simple_expansion] = STATE(1640),
    [sym_string_expansion] = STATE(1640),
    [sym_expansion] = STATE(1640),
    [sym_command_substitution] = STATE(1640),
    [sym_process_substitution] = STATE(1640),
    [anon_sym_RBRACE] = ACTIONS(3690),
    [sym__special_characters] = ACTIONS(3692),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3694),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3694),
  },
  [1217] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_in] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3009),
  },
  [1218] = {
    [sym_concatenation] = STATE(1644),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1644),
    [sym_regex] = ACTIONS(3696),
    [anon_sym_RBRACE] = ACTIONS(3698),
    [anon_sym_EQ] = ACTIONS(3700),
    [anon_sym_DASH] = ACTIONS(3700),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3702),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3700),
    [anon_sym_COLON_QMARK] = ACTIONS(3700),
    [anon_sym_COLON_DASH] = ACTIONS(3700),
    [anon_sym_PERCENT] = ACTIONS(3700),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1219] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3698),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1220] = {
    [sym_concatenation] = STATE(1646),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1646),
    [sym_regex] = ACTIONS(3704),
    [anon_sym_RBRACE] = ACTIONS(3690),
    [anon_sym_EQ] = ACTIONS(3706),
    [anon_sym_DASH] = ACTIONS(3706),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3708),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3706),
    [anon_sym_COLON_QMARK] = ACTIONS(3706),
    [anon_sym_COLON_DASH] = ACTIONS(3706),
    [anon_sym_PERCENT] = ACTIONS(3706),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1221] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3690),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1222] = {
    [sym_concatenation] = STATE(1648),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1648),
    [anon_sym_RBRACE] = ACTIONS(3710),
    [anon_sym_EQ] = ACTIONS(3712),
    [anon_sym_DASH] = ACTIONS(3712),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3712),
    [anon_sym_COLON_QMARK] = ACTIONS(3712),
    [anon_sym_COLON_DASH] = ACTIONS(3712),
    [anon_sym_PERCENT] = ACTIONS(3712),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1223] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_in] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3065),
  },
  [1224] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3710),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1225] = {
    [sym_concatenation] = STATE(1646),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1646),
    [anon_sym_RBRACE] = ACTIONS(3690),
    [anon_sym_EQ] = ACTIONS(3706),
    [anon_sym_DASH] = ACTIONS(3706),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3708),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3706),
    [anon_sym_COLON_QMARK] = ACTIONS(3706),
    [anon_sym_COLON_DASH] = ACTIONS(3706),
    [anon_sym_PERCENT] = ACTIONS(3706),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1226] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_in] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3120),
  },
  [1227] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3716),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1228] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3716),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1229] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_in] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [anon_sym_SEMI_SEMI] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3158),
  },
  [1230] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3718),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1231] = {
    [sym_file_redirect] = STATE(1651),
    [sym_file_descriptor] = ACTIONS(1428),
    [ts_builtin_sym_end] = ACTIONS(3720),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_LT] = ACTIONS(1434),
    [anon_sym_GT] = ACTIONS(1434),
    [anon_sym_GT_GT] = ACTIONS(1436),
    [anon_sym_AMP_GT] = ACTIONS(1434),
    [anon_sym_AMP_GT_GT] = ACTIONS(1436),
    [anon_sym_LT_AMP] = ACTIONS(1436),
    [anon_sym_GT_AMP] = ACTIONS(1436),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [1232] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_RBRACE] = ACTIONS(943),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1233] = {
    [sym_file_descriptor] = ACTIONS(3724),
    [ts_builtin_sym_end] = ACTIONS(3724),
    [anon_sym_SEMI] = ACTIONS(3726),
    [anon_sym_esac] = ACTIONS(3724),
    [anon_sym_PIPE] = ACTIONS(3726),
    [anon_sym_RPAREN] = ACTIONS(3724),
    [anon_sym_SEMI_SEMI] = ACTIONS(3724),
    [anon_sym_PIPE_AMP] = ACTIONS(3724),
    [anon_sym_AMP_AMP] = ACTIONS(3724),
    [anon_sym_PIPE_PIPE] = ACTIONS(3724),
    [anon_sym_LT] = ACTIONS(3726),
    [anon_sym_GT] = ACTIONS(3726),
    [anon_sym_GT_GT] = ACTIONS(3724),
    [anon_sym_AMP_GT] = ACTIONS(3726),
    [anon_sym_AMP_GT_GT] = ACTIONS(3724),
    [anon_sym_LT_AMP] = ACTIONS(3724),
    [anon_sym_GT_AMP] = ACTIONS(3724),
    [anon_sym_BQUOTE] = ACTIONS(3724),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3724),
    [anon_sym_AMP] = ACTIONS(3726),
  },
  [1234] = {
    [sym__terminated_statement] = STATE(1234),
    [sym_for_statement] = STATE(751),
    [sym_c_style_for_statement] = STATE(751),
    [sym_while_statement] = STATE(751),
    [sym_if_statement] = STATE(751),
    [sym_case_statement] = STATE(751),
    [sym_function_definition] = STATE(751),
    [sym_subshell] = STATE(751),
    [sym_pipeline] = STATE(751),
    [sym_list] = STATE(751),
    [sym_negated_command] = STATE(751),
    [sym_test_command] = STATE(751),
    [sym_declaration_command] = STATE(751),
    [sym_unset_command] = STATE(751),
    [sym_command] = STATE(751),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(752),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1234),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_RBRACE] = ACTIONS(3728),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [1235] = {
    [sym_concatenation] = STATE(1654),
    [sym_string] = STATE(1653),
    [sym_simple_expansion] = STATE(1653),
    [sym_string_expansion] = STATE(1653),
    [sym_expansion] = STATE(1653),
    [sym_command_substitution] = STATE(1653),
    [sym_process_substitution] = STATE(1653),
    [sym__special_characters] = ACTIONS(3730),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(3732),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3732),
  },
  [1236] = {
    [aux_sym_concatenation_repeat1] = STATE(1655),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(773),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1237] = {
    [aux_sym_concatenation_repeat1] = STATE(1655),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1238] = {
    [ts_builtin_sym_end] = ACTIONS(791),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1239] = {
    [aux_sym_concatenation_repeat1] = STATE(1656),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(1130),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1240] = {
    [anon_sym_LT] = ACTIONS(3734),
    [anon_sym_GT] = ACTIONS(3734),
    [anon_sym_GT_GT] = ACTIONS(3736),
    [anon_sym_AMP_GT] = ACTIONS(3734),
    [anon_sym_AMP_GT_GT] = ACTIONS(3736),
    [anon_sym_LT_AMP] = ACTIONS(3736),
    [anon_sym_GT_AMP] = ACTIONS(3736),
    [sym_comment] = ACTIONS(55),
  },
  [1241] = {
    [sym_concatenation] = STATE(1166),
    [sym_string] = STATE(1659),
    [sym_simple_expansion] = STATE(1659),
    [sym_string_expansion] = STATE(1659),
    [sym_expansion] = STATE(1659),
    [sym_command_substitution] = STATE(1659),
    [sym_process_substitution] = STATE(1659),
    [sym__special_characters] = ACTIONS(3738),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(3740),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3740),
  },
  [1242] = {
    [sym_concatenation] = STATE(1170),
    [sym_string] = STATE(1661),
    [sym_simple_expansion] = STATE(1661),
    [sym_string_expansion] = STATE(1661),
    [sym_expansion] = STATE(1661),
    [sym_command_substitution] = STATE(1661),
    [sym_process_substitution] = STATE(1661),
    [sym__special_characters] = ACTIONS(3742),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(3744),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3744),
  },
  [1243] = {
    [sym_file_redirect] = STATE(1662),
    [sym_heredoc_redirect] = STATE(1662),
    [sym_herestring_redirect] = STATE(1662),
    [aux_sym_while_statement_repeat1] = STATE(1662),
    [sym_file_descriptor] = ACTIONS(2616),
    [anon_sym_SEMI] = ACTIONS(2418),
    [anon_sym_PIPE] = ACTIONS(2418),
    [anon_sym_RPAREN] = ACTIONS(2416),
    [anon_sym_SEMI_SEMI] = ACTIONS(2416),
    [anon_sym_PIPE_AMP] = ACTIONS(2416),
    [anon_sym_AMP_AMP] = ACTIONS(2416),
    [anon_sym_PIPE_PIPE] = ACTIONS(2416),
    [anon_sym_LT] = ACTIONS(2618),
    [anon_sym_GT] = ACTIONS(2618),
    [anon_sym_GT_GT] = ACTIONS(2620),
    [anon_sym_AMP_GT] = ACTIONS(2618),
    [anon_sym_AMP_GT_GT] = ACTIONS(2620),
    [anon_sym_LT_AMP] = ACTIONS(2620),
    [anon_sym_GT_AMP] = ACTIONS(2620),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(2622),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2416),
    [anon_sym_AMP] = ACTIONS(2418),
  },
  [1244] = {
    [sym_file_redirect] = STATE(780),
    [sym_heredoc_redirect] = STATE(780),
    [sym_heredoc_body] = STATE(1188),
    [sym_herestring_redirect] = STATE(780),
    [aux_sym_while_statement_repeat1] = STATE(780),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_RPAREN] = ACTIONS(2477),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [1245] = {
    [sym_compound_statement] = STATE(1663),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [1246] = {
    [anon_sym_LT] = ACTIONS(3746),
    [anon_sym_GT] = ACTIONS(3746),
    [anon_sym_GT_GT] = ACTIONS(3748),
    [anon_sym_AMP_GT] = ACTIONS(3746),
    [anon_sym_AMP_GT_GT] = ACTIONS(3748),
    [anon_sym_LT_AMP] = ACTIONS(3748),
    [anon_sym_GT_AMP] = ACTIONS(3748),
    [sym_comment] = ACTIONS(55),
  },
  [1247] = {
    [sym_concatenation] = STATE(1238),
    [sym_string] = STATE(1666),
    [sym_simple_expansion] = STATE(1666),
    [sym_string_expansion] = STATE(1666),
    [sym_expansion] = STATE(1666),
    [sym_command_substitution] = STATE(1666),
    [sym_process_substitution] = STATE(1666),
    [sym__special_characters] = ACTIONS(3750),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(3752),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3752),
  },
  [1248] = {
    [aux_sym_concatenation_repeat1] = STATE(764),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_RPAREN] = ACTIONS(1128),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1132),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [1249] = {
    [aux_sym_concatenation_repeat1] = STATE(764),
    [sym__concat] = ACTIONS(697),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_RPAREN] = ACTIONS(1106),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [1250] = {
    [aux_sym_concatenation_repeat1] = STATE(1250),
    [sym__concat] = ACTIONS(2754),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1251] = {
    [aux_sym_concatenation_repeat1] = STATE(1251),
    [sym__concat] = ACTIONS(2807),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1252] = {
    [sym_file_redirect] = STATE(1437),
    [sym_file_descriptor] = ACTIONS(2626),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_RPAREN] = ACTIONS(2612),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_LT] = ACTIONS(2628),
    [anon_sym_GT] = ACTIONS(2628),
    [anon_sym_GT_GT] = ACTIONS(2630),
    [anon_sym_AMP_GT] = ACTIONS(2628),
    [anon_sym_AMP_GT_GT] = ACTIONS(2630),
    [anon_sym_LT_AMP] = ACTIONS(2630),
    [anon_sym_GT_AMP] = ACTIONS(2630),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [1253] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(1088),
    [sym__heredoc_body_beginning] = ACTIONS(1088),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_RPAREN] = ACTIONS(1088),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1254] = {
    [aux_sym_concatenation_repeat1] = STATE(1255),
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1255] = {
    [aux_sym_concatenation_repeat1] = STATE(1667),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1256] = {
    [ts_builtin_sym_end] = ACTIONS(3754),
    [anon_sym_SEMI] = ACTIONS(3756),
    [anon_sym_esac] = ACTIONS(3754),
    [anon_sym_PIPE] = ACTIONS(3756),
    [anon_sym_RPAREN] = ACTIONS(3754),
    [anon_sym_SEMI_SEMI] = ACTIONS(3754),
    [anon_sym_PIPE_AMP] = ACTIONS(3754),
    [anon_sym_AMP_AMP] = ACTIONS(3754),
    [anon_sym_PIPE_PIPE] = ACTIONS(3754),
    [anon_sym_BQUOTE] = ACTIONS(3754),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3754),
    [anon_sym_AMP] = ACTIONS(3756),
  },
  [1257] = {
    [sym_file_redirect] = STATE(780),
    [sym_heredoc_redirect] = STATE(780),
    [sym_heredoc_body] = STATE(1449),
    [sym_herestring_redirect] = STATE(780),
    [aux_sym_while_statement_repeat1] = STATE(780),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(633),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_RPAREN] = ACTIONS(3205),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(637),
    [anon_sym_GT] = ACTIONS(637),
    [anon_sym_GT_GT] = ACTIONS(639),
    [anon_sym_AMP_GT] = ACTIONS(637),
    [anon_sym_AMP_GT_GT] = ACTIONS(639),
    [anon_sym_LT_AMP] = ACTIONS(639),
    [anon_sym_GT_AMP] = ACTIONS(639),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [1258] = {
    [sym_file_descriptor] = ACTIONS(2099),
    [sym_variable_name] = ACTIONS(2099),
    [anon_sym_LT] = ACTIONS(2101),
    [anon_sym_GT] = ACTIONS(2101),
    [anon_sym_GT_GT] = ACTIONS(2099),
    [anon_sym_AMP_GT] = ACTIONS(2101),
    [anon_sym_AMP_GT_GT] = ACTIONS(2099),
    [anon_sym_LT_AMP] = ACTIONS(2099),
    [anon_sym_GT_AMP] = ACTIONS(2099),
    [sym__special_characters] = ACTIONS(2099),
    [anon_sym_DQUOTE] = ACTIONS(2099),
    [anon_sym_DOLLAR] = ACTIONS(2101),
    [sym_raw_string] = ACTIONS(2099),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2099),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2099),
    [anon_sym_BQUOTE] = ACTIONS(2099),
    [anon_sym_LT_LPAREN] = ACTIONS(2099),
    [anon_sym_GT_LPAREN] = ACTIONS(2099),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2099),
  },
  [1259] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(3758),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [1260] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_RBRACK] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2959),
    [anon_sym_EQ_EQ] = ACTIONS(2959),
    [anon_sym_EQ] = ACTIONS(2961),
    [anon_sym_PLUS_EQ] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_BANG_EQ] = ACTIONS(2959),
    [anon_sym_PLUS] = ACTIONS(2961),
    [anon_sym_DASH] = ACTIONS(2961),
    [anon_sym_DASH_EQ] = ACTIONS(2959),
    [anon_sym_LT_EQ] = ACTIONS(2959),
    [anon_sym_GT_EQ] = ACTIONS(2959),
    [anon_sym_PLUS_PLUS] = ACTIONS(2959),
    [anon_sym_DASH_DASH] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2959),
  },
  [1261] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_RBRACK] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2973),
    [anon_sym_EQ_EQ] = ACTIONS(2973),
    [anon_sym_EQ] = ACTIONS(2975),
    [anon_sym_PLUS_EQ] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_BANG_EQ] = ACTIONS(2973),
    [anon_sym_PLUS] = ACTIONS(2975),
    [anon_sym_DASH] = ACTIONS(2975),
    [anon_sym_DASH_EQ] = ACTIONS(2973),
    [anon_sym_LT_EQ] = ACTIONS(2973),
    [anon_sym_GT_EQ] = ACTIONS(2973),
    [anon_sym_PLUS_PLUS] = ACTIONS(2973),
    [anon_sym_DASH_DASH] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2973),
  },
  [1262] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3760),
    [sym_comment] = ACTIONS(55),
  },
  [1263] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3762),
    [sym_comment] = ACTIONS(55),
  },
  [1264] = {
    [anon_sym_RBRACE] = ACTIONS(3762),
    [sym_comment] = ACTIONS(55),
  },
  [1265] = {
    [sym_concatenation] = STATE(1673),
    [sym_string] = STATE(1672),
    [sym_simple_expansion] = STATE(1672),
    [sym_string_expansion] = STATE(1672),
    [sym_expansion] = STATE(1672),
    [sym_command_substitution] = STATE(1672),
    [sym_process_substitution] = STATE(1672),
    [anon_sym_RBRACE] = ACTIONS(3762),
    [sym__special_characters] = ACTIONS(3764),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3766),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3766),
  },
  [1266] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_RBRACK] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3009),
    [anon_sym_EQ_EQ] = ACTIONS(3009),
    [anon_sym_EQ] = ACTIONS(3011),
    [anon_sym_PLUS_EQ] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_BANG_EQ] = ACTIONS(3009),
    [anon_sym_PLUS] = ACTIONS(3011),
    [anon_sym_DASH] = ACTIONS(3011),
    [anon_sym_DASH_EQ] = ACTIONS(3009),
    [anon_sym_LT_EQ] = ACTIONS(3009),
    [anon_sym_GT_EQ] = ACTIONS(3009),
    [anon_sym_PLUS_PLUS] = ACTIONS(3009),
    [anon_sym_DASH_DASH] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3009),
  },
  [1267] = {
    [sym_concatenation] = STATE(1676),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1676),
    [sym_regex] = ACTIONS(3768),
    [anon_sym_RBRACE] = ACTIONS(3770),
    [anon_sym_EQ] = ACTIONS(3772),
    [anon_sym_DASH] = ACTIONS(3772),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3774),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3772),
    [anon_sym_COLON_QMARK] = ACTIONS(3772),
    [anon_sym_COLON_DASH] = ACTIONS(3772),
    [anon_sym_PERCENT] = ACTIONS(3772),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1268] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3770),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1269] = {
    [sym_concatenation] = STATE(1678),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1678),
    [sym_regex] = ACTIONS(3776),
    [anon_sym_RBRACE] = ACTIONS(3762),
    [anon_sym_EQ] = ACTIONS(3778),
    [anon_sym_DASH] = ACTIONS(3778),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3780),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3778),
    [anon_sym_COLON_QMARK] = ACTIONS(3778),
    [anon_sym_COLON_DASH] = ACTIONS(3778),
    [anon_sym_PERCENT] = ACTIONS(3778),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1270] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3762),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1271] = {
    [sym_concatenation] = STATE(1680),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1680),
    [anon_sym_RBRACE] = ACTIONS(3782),
    [anon_sym_EQ] = ACTIONS(3784),
    [anon_sym_DASH] = ACTIONS(3784),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3786),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3784),
    [anon_sym_COLON_QMARK] = ACTIONS(3784),
    [anon_sym_COLON_DASH] = ACTIONS(3784),
    [anon_sym_PERCENT] = ACTIONS(3784),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1272] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_RBRACK] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3065),
    [anon_sym_EQ_EQ] = ACTIONS(3065),
    [anon_sym_EQ] = ACTIONS(3067),
    [anon_sym_PLUS_EQ] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_BANG_EQ] = ACTIONS(3065),
    [anon_sym_PLUS] = ACTIONS(3067),
    [anon_sym_DASH] = ACTIONS(3067),
    [anon_sym_DASH_EQ] = ACTIONS(3065),
    [anon_sym_LT_EQ] = ACTIONS(3065),
    [anon_sym_GT_EQ] = ACTIONS(3065),
    [anon_sym_PLUS_PLUS] = ACTIONS(3065),
    [anon_sym_DASH_DASH] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3065),
  },
  [1273] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3782),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1274] = {
    [sym_concatenation] = STATE(1678),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1678),
    [anon_sym_RBRACE] = ACTIONS(3762),
    [anon_sym_EQ] = ACTIONS(3778),
    [anon_sym_DASH] = ACTIONS(3778),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3780),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3778),
    [anon_sym_COLON_QMARK] = ACTIONS(3778),
    [anon_sym_COLON_DASH] = ACTIONS(3778),
    [anon_sym_PERCENT] = ACTIONS(3778),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1275] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_RBRACK] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3120),
    [anon_sym_EQ_EQ] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [anon_sym_PLUS_EQ] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_BANG_EQ] = ACTIONS(3120),
    [anon_sym_PLUS] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [anon_sym_DASH_EQ] = ACTIONS(3120),
    [anon_sym_LT_EQ] = ACTIONS(3120),
    [anon_sym_GT_EQ] = ACTIONS(3120),
    [anon_sym_PLUS_PLUS] = ACTIONS(3120),
    [anon_sym_DASH_DASH] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3120),
  },
  [1276] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3788),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1277] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3788),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1278] = {
    [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_PLUS_EQ] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [anon_sym_PLUS] = ACTIONS(3160),
    [anon_sym_DASH] = ACTIONS(3160),
    [anon_sym_DASH_EQ] = ACTIONS(3158),
    [anon_sym_LT_EQ] = ACTIONS(3158),
    [anon_sym_GT_EQ] = ACTIONS(3158),
    [anon_sym_PLUS_PLUS] = ACTIONS(3158),
    [anon_sym_DASH_DASH] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3158),
  },
  [1279] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3790),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1280] = {
    [sym_variable_name] = ACTIONS(2099),
    [ts_builtin_sym_end] = ACTIONS(2099),
    [anon_sym_SEMI] = ACTIONS(2101),
    [anon_sym_PIPE] = ACTIONS(2101),
    [anon_sym_RPAREN] = ACTIONS(2099),
    [anon_sym_SEMI_SEMI] = ACTIONS(2099),
    [anon_sym_PIPE_AMP] = ACTIONS(2099),
    [anon_sym_AMP_AMP] = ACTIONS(2099),
    [anon_sym_PIPE_PIPE] = ACTIONS(2099),
    [sym__special_characters] = ACTIONS(2099),
    [anon_sym_DQUOTE] = ACTIONS(2099),
    [anon_sym_DOLLAR] = ACTIONS(2101),
    [sym_raw_string] = ACTIONS(2099),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2099),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2099),
    [anon_sym_BQUOTE] = ACTIONS(2099),
    [anon_sym_LT_LPAREN] = ACTIONS(2099),
    [anon_sym_GT_LPAREN] = ACTIONS(2099),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2101),
    [sym_word] = ACTIONS(2101),
    [anon_sym_LF] = ACTIONS(2099),
    [anon_sym_AMP] = ACTIONS(2101),
  },
  [1281] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(3792),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [1282] = {
    [sym__concat] = ACTIONS(2959),
    [sym_variable_name] = ACTIONS(2959),
    [ts_builtin_sym_end] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2961),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [1283] = {
    [sym__concat] = ACTIONS(2973),
    [sym_variable_name] = ACTIONS(2973),
    [ts_builtin_sym_end] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2975),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [1284] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3794),
    [sym_comment] = ACTIONS(55),
  },
  [1285] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3796),
    [sym_comment] = ACTIONS(55),
  },
  [1286] = {
    [anon_sym_RBRACE] = ACTIONS(3796),
    [sym_comment] = ACTIONS(55),
  },
  [1287] = {
    [sym_concatenation] = STATE(1688),
    [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),
    [anon_sym_RBRACE] = ACTIONS(3796),
    [sym__special_characters] = ACTIONS(3798),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3800),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3800),
  },
  [1288] = {
    [sym__concat] = ACTIONS(3009),
    [sym_variable_name] = ACTIONS(3009),
    [ts_builtin_sym_end] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3011),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [1289] = {
    [sym_concatenation] = STATE(1691),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1691),
    [sym_regex] = ACTIONS(3802),
    [anon_sym_RBRACE] = ACTIONS(3804),
    [anon_sym_EQ] = ACTIONS(3806),
    [anon_sym_DASH] = ACTIONS(3806),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3808),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3806),
    [anon_sym_COLON_QMARK] = ACTIONS(3806),
    [anon_sym_COLON_DASH] = ACTIONS(3806),
    [anon_sym_PERCENT] = ACTIONS(3806),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1290] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3804),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1291] = {
    [sym_concatenation] = STATE(1693),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1693),
    [sym_regex] = ACTIONS(3810),
    [anon_sym_RBRACE] = ACTIONS(3796),
    [anon_sym_EQ] = ACTIONS(3812),
    [anon_sym_DASH] = ACTIONS(3812),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3814),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3812),
    [anon_sym_COLON_QMARK] = ACTIONS(3812),
    [anon_sym_COLON_DASH] = ACTIONS(3812),
    [anon_sym_PERCENT] = ACTIONS(3812),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1292] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3796),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1293] = {
    [sym_concatenation] = STATE(1695),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1695),
    [anon_sym_RBRACE] = ACTIONS(3816),
    [anon_sym_EQ] = ACTIONS(3818),
    [anon_sym_DASH] = ACTIONS(3818),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3820),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3818),
    [anon_sym_COLON_QMARK] = ACTIONS(3818),
    [anon_sym_COLON_DASH] = ACTIONS(3818),
    [anon_sym_PERCENT] = ACTIONS(3818),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1294] = {
    [sym__concat] = ACTIONS(3065),
    [sym_variable_name] = ACTIONS(3065),
    [ts_builtin_sym_end] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3067),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [1295] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3816),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1296] = {
    [sym_concatenation] = STATE(1693),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1693),
    [anon_sym_RBRACE] = ACTIONS(3796),
    [anon_sym_EQ] = ACTIONS(3812),
    [anon_sym_DASH] = ACTIONS(3812),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3814),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3812),
    [anon_sym_COLON_QMARK] = ACTIONS(3812),
    [anon_sym_COLON_DASH] = ACTIONS(3812),
    [anon_sym_PERCENT] = ACTIONS(3812),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1297] = {
    [sym__concat] = ACTIONS(3120),
    [sym_variable_name] = ACTIONS(3120),
    [ts_builtin_sym_end] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3122),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [1298] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3822),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1299] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3822),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1300] = {
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1301] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3824),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1302] = {
    [sym__concat] = ACTIONS(2959),
    [ts_builtin_sym_end] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2961),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [1303] = {
    [sym__concat] = ACTIONS(2973),
    [ts_builtin_sym_end] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2975),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [1304] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3826),
    [sym_comment] = ACTIONS(55),
  },
  [1305] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [sym_comment] = ACTIONS(55),
  },
  [1306] = {
    [anon_sym_RBRACE] = ACTIONS(3828),
    [sym_comment] = ACTIONS(55),
  },
  [1307] = {
    [sym_concatenation] = STATE(1702),
    [sym_string] = STATE(1701),
    [sym_simple_expansion] = STATE(1701),
    [sym_string_expansion] = STATE(1701),
    [sym_expansion] = STATE(1701),
    [sym_command_substitution] = STATE(1701),
    [sym_process_substitution] = STATE(1701),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [sym__special_characters] = ACTIONS(3830),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3832),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3832),
  },
  [1308] = {
    [sym__concat] = ACTIONS(3009),
    [ts_builtin_sym_end] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3011),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [1309] = {
    [sym_concatenation] = STATE(1705),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1705),
    [sym_regex] = ACTIONS(3834),
    [anon_sym_RBRACE] = ACTIONS(3836),
    [anon_sym_EQ] = ACTIONS(3838),
    [anon_sym_DASH] = ACTIONS(3838),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3840),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3838),
    [anon_sym_COLON_QMARK] = ACTIONS(3838),
    [anon_sym_COLON_DASH] = ACTIONS(3838),
    [anon_sym_PERCENT] = ACTIONS(3838),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1310] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3836),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1311] = {
    [sym_concatenation] = STATE(1707),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1707),
    [sym_regex] = ACTIONS(3842),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [anon_sym_EQ] = ACTIONS(3844),
    [anon_sym_DASH] = ACTIONS(3844),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3846),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3844),
    [anon_sym_COLON_QMARK] = ACTIONS(3844),
    [anon_sym_COLON_DASH] = ACTIONS(3844),
    [anon_sym_PERCENT] = ACTIONS(3844),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1312] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1313] = {
    [sym_concatenation] = STATE(1709),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1709),
    [anon_sym_RBRACE] = ACTIONS(3848),
    [anon_sym_EQ] = ACTIONS(3850),
    [anon_sym_DASH] = ACTIONS(3850),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3852),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3850),
    [anon_sym_COLON_QMARK] = ACTIONS(3850),
    [anon_sym_COLON_DASH] = ACTIONS(3850),
    [anon_sym_PERCENT] = ACTIONS(3850),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1314] = {
    [sym__concat] = ACTIONS(3065),
    [ts_builtin_sym_end] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3067),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [1315] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3848),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1316] = {
    [sym_concatenation] = STATE(1707),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1707),
    [anon_sym_RBRACE] = ACTIONS(3828),
    [anon_sym_EQ] = ACTIONS(3844),
    [anon_sym_DASH] = ACTIONS(3844),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3846),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3844),
    [anon_sym_COLON_QMARK] = ACTIONS(3844),
    [anon_sym_COLON_DASH] = ACTIONS(3844),
    [anon_sym_PERCENT] = ACTIONS(3844),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1317] = {
    [sym__concat] = ACTIONS(3120),
    [ts_builtin_sym_end] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3122),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [1318] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3854),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1319] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3854),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1320] = {
    [sym__concat] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1321] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3856),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1322] = {
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [sym_variable_name] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2959),
  },
  [1323] = {
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [sym_variable_name] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2973),
  },
  [1324] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3858),
    [sym_comment] = ACTIONS(55),
  },
  [1325] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3860),
    [sym_comment] = ACTIONS(55),
  },
  [1326] = {
    [anon_sym_RBRACE] = ACTIONS(3860),
    [sym_comment] = ACTIONS(55),
  },
  [1327] = {
    [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),
    [anon_sym_RBRACE] = ACTIONS(3860),
    [sym__special_characters] = ACTIONS(3862),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3864),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3864),
  },
  [1328] = {
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [sym_variable_name] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3009),
  },
  [1329] = {
    [sym_concatenation] = STATE(1719),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1719),
    [sym_regex] = ACTIONS(3866),
    [anon_sym_RBRACE] = ACTIONS(3868),
    [anon_sym_EQ] = ACTIONS(3870),
    [anon_sym_DASH] = ACTIONS(3870),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3872),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3870),
    [anon_sym_COLON_QMARK] = ACTIONS(3870),
    [anon_sym_COLON_DASH] = ACTIONS(3870),
    [anon_sym_PERCENT] = ACTIONS(3870),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1330] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3868),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1331] = {
    [sym_concatenation] = STATE(1721),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1721),
    [sym_regex] = ACTIONS(3874),
    [anon_sym_RBRACE] = ACTIONS(3860),
    [anon_sym_EQ] = ACTIONS(3876),
    [anon_sym_DASH] = ACTIONS(3876),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3878),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3876),
    [anon_sym_COLON_QMARK] = ACTIONS(3876),
    [anon_sym_COLON_DASH] = ACTIONS(3876),
    [anon_sym_PERCENT] = ACTIONS(3876),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1332] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3860),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1333] = {
    [sym_concatenation] = STATE(1723),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1723),
    [anon_sym_RBRACE] = ACTIONS(3880),
    [anon_sym_EQ] = ACTIONS(3882),
    [anon_sym_DASH] = ACTIONS(3882),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3884),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3882),
    [anon_sym_COLON_QMARK] = ACTIONS(3882),
    [anon_sym_COLON_DASH] = ACTIONS(3882),
    [anon_sym_PERCENT] = ACTIONS(3882),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1334] = {
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [sym_variable_name] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3065),
  },
  [1335] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3880),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1336] = {
    [sym_concatenation] = STATE(1721),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1721),
    [anon_sym_RBRACE] = ACTIONS(3860),
    [anon_sym_EQ] = ACTIONS(3876),
    [anon_sym_DASH] = ACTIONS(3876),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3878),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3876),
    [anon_sym_COLON_QMARK] = ACTIONS(3876),
    [anon_sym_COLON_DASH] = ACTIONS(3876),
    [anon_sym_PERCENT] = ACTIONS(3876),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1337] = {
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [sym_variable_name] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3120),
  },
  [1338] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3886),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1339] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3886),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1340] = {
    [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(55),
    [sym_word] = ACTIONS(3158),
  },
  [1341] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3888),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1342] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2975),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym__string_content] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2975),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2975),
    [anon_sym_BQUOTE] = ACTIONS(2975),
    [sym_comment] = ACTIONS(281),
  },
  [1343] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3890),
    [sym_comment] = ACTIONS(55),
  },
  [1344] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3892),
    [sym_comment] = ACTIONS(55),
  },
  [1345] = {
    [anon_sym_RBRACE] = ACTIONS(3892),
    [sym_comment] = ACTIONS(55),
  },
  [1346] = {
    [sym_concatenation] = STATE(1730),
    [sym_string] = STATE(1729),
    [sym_simple_expansion] = STATE(1729),
    [sym_string_expansion] = STATE(1729),
    [sym_expansion] = STATE(1729),
    [sym_command_substitution] = STATE(1729),
    [sym_process_substitution] = STATE(1729),
    [anon_sym_RBRACE] = ACTIONS(3892),
    [sym__special_characters] = ACTIONS(3894),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3896),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3896),
  },
  [1347] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3011),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym__string_content] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3011),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3011),
    [anon_sym_BQUOTE] = ACTIONS(3011),
    [sym_comment] = ACTIONS(281),
  },
  [1348] = {
    [sym_concatenation] = STATE(1733),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1733),
    [sym_regex] = ACTIONS(3898),
    [anon_sym_RBRACE] = ACTIONS(3900),
    [anon_sym_EQ] = ACTIONS(3902),
    [anon_sym_DASH] = ACTIONS(3902),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3904),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3902),
    [anon_sym_COLON_QMARK] = ACTIONS(3902),
    [anon_sym_COLON_DASH] = ACTIONS(3902),
    [anon_sym_PERCENT] = ACTIONS(3902),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1349] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3900),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1350] = {
    [sym_concatenation] = STATE(1735),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1735),
    [sym_regex] = ACTIONS(3906),
    [anon_sym_RBRACE] = ACTIONS(3892),
    [anon_sym_EQ] = ACTIONS(3908),
    [anon_sym_DASH] = ACTIONS(3908),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3908),
    [anon_sym_COLON_QMARK] = ACTIONS(3908),
    [anon_sym_COLON_DASH] = ACTIONS(3908),
    [anon_sym_PERCENT] = ACTIONS(3908),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1351] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3892),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1352] = {
    [sym_concatenation] = STATE(1737),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1737),
    [anon_sym_RBRACE] = ACTIONS(3912),
    [anon_sym_EQ] = ACTIONS(3914),
    [anon_sym_DASH] = ACTIONS(3914),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3916),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3914),
    [anon_sym_COLON_QMARK] = ACTIONS(3914),
    [anon_sym_COLON_DASH] = ACTIONS(3914),
    [anon_sym_PERCENT] = ACTIONS(3914),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1353] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3067),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym__string_content] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3067),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3067),
    [anon_sym_BQUOTE] = ACTIONS(3067),
    [sym_comment] = ACTIONS(281),
  },
  [1354] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3912),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1355] = {
    [sym_concatenation] = STATE(1735),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1735),
    [anon_sym_RBRACE] = ACTIONS(3892),
    [anon_sym_EQ] = ACTIONS(3908),
    [anon_sym_DASH] = ACTIONS(3908),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3908),
    [anon_sym_COLON_QMARK] = ACTIONS(3908),
    [anon_sym_COLON_DASH] = ACTIONS(3908),
    [anon_sym_PERCENT] = ACTIONS(3908),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1356] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3122),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym__string_content] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3122),
    [anon_sym_BQUOTE] = ACTIONS(3122),
    [sym_comment] = ACTIONS(281),
  },
  [1357] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(3918),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1358] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(3918),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1359] = {
    [sym_string] = STATE(790),
    [sym_simple_expansion] = STATE(790),
    [sym_string_expansion] = STATE(790),
    [sym_expansion] = STATE(790),
    [sym_command_substitution] = STATE(790),
    [sym_process_substitution] = STATE(790),
    [anon_sym_RBRACK] = ACTIONS(3920),
    [sym__special_characters] = ACTIONS(2087),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1490),
  },
  [1360] = {
    [sym__concat] = ACTIONS(3922),
    [anon_sym_RBRACE] = ACTIONS(2091),
    [anon_sym_EQ] = ACTIONS(3924),
    [anon_sym_DASH] = ACTIONS(3924),
    [sym__special_characters] = ACTIONS(3924),
    [anon_sym_DQUOTE] = ACTIONS(2091),
    [anon_sym_DOLLAR] = ACTIONS(3924),
    [sym_raw_string] = ACTIONS(2091),
    [anon_sym_POUND] = ACTIONS(2091),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2091),
    [anon_sym_SLASH] = ACTIONS(2091),
    [anon_sym_COLON] = ACTIONS(3924),
    [anon_sym_COLON_QMARK] = ACTIONS(3924),
    [anon_sym_COLON_DASH] = ACTIONS(3924),
    [anon_sym_PERCENT] = ACTIONS(3924),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2091),
    [anon_sym_BQUOTE] = ACTIONS(2091),
    [anon_sym_LT_LPAREN] = ACTIONS(2091),
    [anon_sym_GT_LPAREN] = ACTIONS(2091),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3924),
  },
  [1361] = {
    [sym_string] = STATE(790),
    [sym_simple_expansion] = STATE(790),
    [sym_string_expansion] = STATE(790),
    [sym_expansion] = STATE(790),
    [sym_command_substitution] = STATE(790),
    [sym_process_substitution] = STATE(790),
    [anon_sym_RBRACK] = ACTIONS(3926),
    [sym__special_characters] = ACTIONS(2087),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(1490),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1490),
  },
  [1362] = {
    [sym__concat] = ACTIONS(3928),
    [anon_sym_RBRACE] = ACTIONS(2097),
    [anon_sym_EQ] = ACTIONS(3930),
    [anon_sym_DASH] = ACTIONS(3930),
    [sym__special_characters] = ACTIONS(3930),
    [anon_sym_DQUOTE] = ACTIONS(2097),
    [anon_sym_DOLLAR] = ACTIONS(3930),
    [sym_raw_string] = ACTIONS(2097),
    [anon_sym_POUND] = ACTIONS(2097),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2097),
    [anon_sym_SLASH] = ACTIONS(2097),
    [anon_sym_COLON] = ACTIONS(3930),
    [anon_sym_COLON_QMARK] = ACTIONS(3930),
    [anon_sym_COLON_DASH] = ACTIONS(3930),
    [anon_sym_PERCENT] = ACTIONS(3930),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2097),
    [anon_sym_BQUOTE] = ACTIONS(2097),
    [anon_sym_LT_LPAREN] = ACTIONS(2097),
    [anon_sym_GT_LPAREN] = ACTIONS(2097),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3930),
  },
  [1363] = {
    [anon_sym_RBRACK] = ACTIONS(3926),
    [sym_comment] = ACTIONS(55),
  },
  [1364] = {
    [sym_string] = STATE(1743),
    [sym_simple_expansion] = STATE(1743),
    [sym_string_expansion] = STATE(1743),
    [sym_expansion] = STATE(1743),
    [sym_command_substitution] = STATE(1743),
    [sym_process_substitution] = STATE(1743),
    [sym__special_characters] = ACTIONS(3932),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(3932),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3932),
  },
  [1365] = {
    [sym__simple_heredoc_body] = ACTIONS(3934),
    [sym__heredoc_body_beginning] = ACTIONS(3934),
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [ts_builtin_sym_end] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3936),
    [anon_sym_EQ_EQ] = ACTIONS(3936),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [anon_sym_LT_LT] = ACTIONS(3936),
    [anon_sym_LT_LT_DASH] = ACTIONS(3934),
    [anon_sym_LT_LT_LT] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [1366] = {
    [aux_sym_concatenation_repeat1] = STATE(1744),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
  },
  [1367] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_RBRACE] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
  },
  [1368] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(3938),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1369] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(3938),
    [anon_sym_DOLLAR] = ACTIONS(3940),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1370] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_RBRACE] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
  },
  [1371] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_RBRACE] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
  },
  [1372] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_RBRACE] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
  },
  [1373] = {
    [sym__simple_heredoc_body] = ACTIONS(3942),
    [sym__heredoc_body_beginning] = ACTIONS(3942),
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [ts_builtin_sym_end] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3944),
    [anon_sym_EQ_EQ] = ACTIONS(3944),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [anon_sym_LT_LT] = ACTIONS(3944),
    [anon_sym_LT_LT_DASH] = ACTIONS(3942),
    [anon_sym_LT_LT_LT] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [1374] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(3946),
    [sym_comment] = ACTIONS(55),
  },
  [1375] = {
    [sym_subscript] = STATE(1750),
    [sym_variable_name] = ACTIONS(3948),
    [anon_sym_DASH] = ACTIONS(3950),
    [anon_sym_DOLLAR] = ACTIONS(3950),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3952),
    [anon_sym_STAR] = ACTIONS(3954),
    [anon_sym_AT] = ACTIONS(3954),
    [anon_sym_QMARK] = ACTIONS(3954),
    [anon_sym_0] = ACTIONS(3952),
    [anon_sym__] = ACTIONS(3952),
  },
  [1376] = {
    [sym_concatenation] = STATE(1753),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1753),
    [anon_sym_RBRACE] = ACTIONS(3956),
    [anon_sym_EQ] = ACTIONS(3958),
    [anon_sym_DASH] = ACTIONS(3958),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3960),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3962),
    [anon_sym_COLON] = ACTIONS(3958),
    [anon_sym_COLON_QMARK] = ACTIONS(3958),
    [anon_sym_COLON_DASH] = ACTIONS(3958),
    [anon_sym_PERCENT] = ACTIONS(3958),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1377] = {
    [sym_concatenation] = STATE(1756),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1756),
    [anon_sym_RBRACE] = ACTIONS(3964),
    [anon_sym_EQ] = ACTIONS(3966),
    [anon_sym_DASH] = ACTIONS(3966),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3968),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(3970),
    [anon_sym_COLON] = ACTIONS(3966),
    [anon_sym_COLON_QMARK] = ACTIONS(3966),
    [anon_sym_COLON_DASH] = ACTIONS(3966),
    [anon_sym_PERCENT] = ACTIONS(3966),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1378] = {
    [anon_sym_SEMI] = ACTIONS(3972),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3974),
    [anon_sym_SEMI_SEMI] = ACTIONS(3976),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3976),
    [anon_sym_AMP] = ACTIONS(3972),
  },
  [1379] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3972),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3974),
    [anon_sym_SEMI_SEMI] = ACTIONS(3976),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3976),
    [anon_sym_AMP] = ACTIONS(3972),
  },
  [1380] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1759),
    [sym_c_style_for_statement] = STATE(1759),
    [sym_while_statement] = STATE(1759),
    [sym_if_statement] = STATE(1759),
    [sym_case_statement] = STATE(1759),
    [sym_function_definition] = STATE(1759),
    [sym_subshell] = STATE(1759),
    [sym_pipeline] = STATE(1759),
    [sym_list] = STATE(1759),
    [sym_negated_command] = STATE(1759),
    [sym_test_command] = STATE(1759),
    [sym_declaration_command] = STATE(1759),
    [sym_unset_command] = STATE(1759),
    [sym_command] = STATE(1759),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1760),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1381] = {
    [anon_sym_SEMI] = ACTIONS(3978),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3980),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(3974),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3980),
    [anon_sym_AMP] = ACTIONS(3978),
  },
  [1382] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3978),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(3980),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(3974),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3980),
    [anon_sym_AMP] = ACTIONS(3978),
  },
  [1383] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1762),
    [sym_c_style_for_statement] = STATE(1762),
    [sym_while_statement] = STATE(1762),
    [sym_if_statement] = STATE(1762),
    [sym_case_statement] = STATE(1762),
    [sym_function_definition] = STATE(1762),
    [sym_subshell] = STATE(1762),
    [sym_pipeline] = STATE(1762),
    [sym_list] = STATE(1762),
    [sym_negated_command] = STATE(1762),
    [sym_test_command] = STATE(1762),
    [sym_declaration_command] = STATE(1762),
    [sym_unset_command] = STATE(1762),
    [sym_command] = STATE(1762),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1763),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1384] = {
    [anon_sym_SEMI] = ACTIONS(3982),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3984),
    [anon_sym_SEMI_SEMI] = ACTIONS(3986),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3986),
    [anon_sym_AMP] = ACTIONS(3982),
  },
  [1385] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(3982),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(3984),
    [anon_sym_SEMI_SEMI] = ACTIONS(3986),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(3986),
    [anon_sym_AMP] = ACTIONS(3982),
  },
  [1386] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1766),
    [sym_c_style_for_statement] = STATE(1766),
    [sym_while_statement] = STATE(1766),
    [sym_if_statement] = STATE(1766),
    [sym_case_statement] = STATE(1766),
    [sym_function_definition] = STATE(1766),
    [sym_subshell] = STATE(1766),
    [sym_pipeline] = STATE(1766),
    [sym_list] = STATE(1766),
    [sym_negated_command] = STATE(1766),
    [sym_test_command] = STATE(1766),
    [sym_declaration_command] = STATE(1766),
    [sym_unset_command] = STATE(1766),
    [sym_command] = STATE(1766),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1767),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1387] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3988),
    [sym_comment] = ACTIONS(55),
  },
  [1388] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(3990),
    [sym_comment] = ACTIONS(55),
  },
  [1389] = {
    [anon_sym_RBRACE] = ACTIONS(3990),
    [sym_comment] = ACTIONS(55),
  },
  [1390] = {
    [sym_concatenation] = STATE(1771),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1771),
    [anon_sym_RBRACE] = ACTIONS(3992),
    [anon_sym_EQ] = ACTIONS(3994),
    [anon_sym_DASH] = ACTIONS(3994),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(3996),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(3994),
    [anon_sym_COLON_QMARK] = ACTIONS(3994),
    [anon_sym_COLON_DASH] = ACTIONS(3994),
    [anon_sym_PERCENT] = ACTIONS(3994),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1391] = {
    [sym__simple_heredoc_body] = ACTIONS(3998),
    [sym__heredoc_body_beginning] = ACTIONS(3998),
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [ts_builtin_sym_end] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(4000),
    [anon_sym_EQ_EQ] = ACTIONS(4000),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [anon_sym_LT_LT] = ACTIONS(4000),
    [anon_sym_LT_LT_DASH] = ACTIONS(3998),
    [anon_sym_LT_LT_LT] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [1392] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3992),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1393] = {
    [sym_concatenation] = STATE(1772),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1772),
    [anon_sym_RBRACE] = ACTIONS(3990),
    [anon_sym_EQ] = ACTIONS(4002),
    [anon_sym_DASH] = ACTIONS(4002),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4004),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4002),
    [anon_sym_COLON_QMARK] = ACTIONS(4002),
    [anon_sym_COLON_DASH] = ACTIONS(4002),
    [anon_sym_PERCENT] = ACTIONS(4002),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1394] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(3990),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1395] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_RBRACE] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [sym__special_characters] = ACTIONS(1765),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_POUND] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_COLON] = ACTIONS(1765),
    [anon_sym_COLON_QMARK] = ACTIONS(1765),
    [anon_sym_COLON_DASH] = ACTIONS(1765),
    [anon_sym_PERCENT] = ACTIONS(1765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1765),
  },
  [1396] = {
    [aux_sym_concatenation_repeat1] = STATE(1396),
    [sym__concat] = ACTIONS(4006),
    [anon_sym_RBRACE] = ACTIONS(1763),
    [anon_sym_EQ] = ACTIONS(1765),
    [anon_sym_DASH] = ACTIONS(1765),
    [sym__special_characters] = ACTIONS(1765),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_POUND] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_COLON] = ACTIONS(1765),
    [anon_sym_COLON_QMARK] = ACTIONS(1765),
    [anon_sym_COLON_DASH] = ACTIONS(1765),
    [anon_sym_PERCENT] = ACTIONS(1765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1765),
  },
  [1397] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_RBRACE] = ACTIONS(1770),
    [anon_sym_EQ] = ACTIONS(1772),
    [anon_sym_DASH] = ACTIONS(1772),
    [sym__special_characters] = ACTIONS(1772),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_POUND] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_COLON] = ACTIONS(1772),
    [anon_sym_COLON_QMARK] = ACTIONS(1772),
    [anon_sym_COLON_DASH] = ACTIONS(1772),
    [anon_sym_PERCENT] = ACTIONS(1772),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1772),
  },
  [1398] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4009),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1399] = {
    [sym_concatenation] = STATE(1777),
    [sym_string] = STATE(1776),
    [sym_simple_expansion] = STATE(1776),
    [sym_string_expansion] = STATE(1776),
    [sym_expansion] = STATE(1776),
    [sym_command_substitution] = STATE(1776),
    [sym_process_substitution] = STATE(1776),
    [anon_sym_RBRACE] = ACTIONS(4011),
    [sym__special_characters] = ACTIONS(4013),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4015),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4015),
  },
  [1400] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4017),
    [sym_comment] = ACTIONS(55),
  },
  [1401] = {
    [sym_concatenation] = STATE(1781),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1781),
    [anon_sym_RBRACE] = ACTIONS(4019),
    [anon_sym_EQ] = ACTIONS(4021),
    [anon_sym_DASH] = ACTIONS(4021),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4023),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4025),
    [anon_sym_COLON] = ACTIONS(4021),
    [anon_sym_COLON_QMARK] = ACTIONS(4021),
    [anon_sym_COLON_DASH] = ACTIONS(4021),
    [anon_sym_PERCENT] = ACTIONS(4021),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1402] = {
    [sym_concatenation] = STATE(1783),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1783),
    [anon_sym_RBRACE] = ACTIONS(4011),
    [anon_sym_EQ] = ACTIONS(4027),
    [anon_sym_DASH] = ACTIONS(4027),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4029),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4031),
    [anon_sym_COLON] = ACTIONS(4027),
    [anon_sym_COLON_QMARK] = ACTIONS(4027),
    [anon_sym_COLON_DASH] = ACTIONS(4027),
    [anon_sym_PERCENT] = ACTIONS(4027),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1403] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_RBRACE] = ACTIONS(1871),
    [anon_sym_EQ] = ACTIONS(1873),
    [anon_sym_DASH] = ACTIONS(1873),
    [sym__special_characters] = ACTIONS(1873),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_POUND] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_COLON] = ACTIONS(1873),
    [anon_sym_COLON_QMARK] = ACTIONS(1873),
    [anon_sym_COLON_DASH] = ACTIONS(1873),
    [anon_sym_PERCENT] = ACTIONS(1873),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1873),
  },
  [1404] = {
    [sym_concatenation] = STATE(1786),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1786),
    [sym_regex] = ACTIONS(4033),
    [anon_sym_RBRACE] = ACTIONS(4035),
    [anon_sym_EQ] = ACTIONS(4037),
    [anon_sym_DASH] = ACTIONS(4037),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4039),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4037),
    [anon_sym_COLON_QMARK] = ACTIONS(4037),
    [anon_sym_COLON_DASH] = ACTIONS(4037),
    [anon_sym_PERCENT] = ACTIONS(4037),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1405] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4035),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1406] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_RBRACE] = ACTIONS(1919),
    [anon_sym_EQ] = ACTIONS(1921),
    [anon_sym_DASH] = ACTIONS(1921),
    [sym__special_characters] = ACTIONS(1921),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_POUND] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_COLON] = ACTIONS(1921),
    [anon_sym_COLON_QMARK] = ACTIONS(1921),
    [anon_sym_COLON_DASH] = ACTIONS(1921),
    [anon_sym_PERCENT] = ACTIONS(1921),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1921),
  },
  [1407] = {
    [sym_concatenation] = STATE(1783),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1783),
    [sym_regex] = ACTIONS(4041),
    [anon_sym_RBRACE] = ACTIONS(4011),
    [anon_sym_EQ] = ACTIONS(4027),
    [anon_sym_DASH] = ACTIONS(4027),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4029),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4027),
    [anon_sym_COLON_QMARK] = ACTIONS(4027),
    [anon_sym_COLON_DASH] = ACTIONS(4027),
    [anon_sym_PERCENT] = ACTIONS(4027),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1408] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4011),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1409] = {
    [sym__simple_heredoc_body] = ACTIONS(4043),
    [sym__heredoc_body_beginning] = ACTIONS(4043),
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [ts_builtin_sym_end] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4045),
    [anon_sym_EQ_EQ] = ACTIONS(4045),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [anon_sym_LT_LT] = ACTIONS(4045),
    [anon_sym_LT_LT_DASH] = ACTIONS(4043),
    [anon_sym_LT_LT_LT] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [1410] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4047),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1411] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4049),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1412] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_RBRACE] = ACTIONS(1927),
    [anon_sym_EQ] = ACTIONS(1929),
    [anon_sym_DASH] = ACTIONS(1929),
    [sym__special_characters] = ACTIONS(1929),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_POUND] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_COLON] = ACTIONS(1929),
    [anon_sym_COLON_QMARK] = ACTIONS(1929),
    [anon_sym_COLON_DASH] = ACTIONS(1929),
    [anon_sym_PERCENT] = ACTIONS(1929),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1929),
  },
  [1413] = {
    [anon_sym_SEMI] = ACTIONS(4051),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4049),
    [anon_sym_SEMI_SEMI] = ACTIONS(4053),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4053),
    [anon_sym_AMP] = ACTIONS(4051),
  },
  [1414] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4051),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4049),
    [anon_sym_SEMI_SEMI] = ACTIONS(4053),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4053),
    [anon_sym_AMP] = ACTIONS(4051),
  },
  [1415] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4049),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1416] = {
    [anon_sym_SEMI] = ACTIONS(4055),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4057),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4049),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4057),
    [anon_sym_AMP] = ACTIONS(4055),
  },
  [1417] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4055),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4057),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4049),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4057),
    [anon_sym_AMP] = ACTIONS(4055),
  },
  [1418] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4059),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1419] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_RBRACE] = ACTIONS(1959),
    [anon_sym_EQ] = ACTIONS(1961),
    [anon_sym_DASH] = ACTIONS(1961),
    [sym__special_characters] = ACTIONS(1961),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_POUND] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_COLON] = ACTIONS(1961),
    [anon_sym_COLON_QMARK] = ACTIONS(1961),
    [anon_sym_COLON_DASH] = ACTIONS(1961),
    [anon_sym_PERCENT] = ACTIONS(1961),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(1961),
  },
  [1420] = {
    [anon_sym_SEMI] = ACTIONS(4061),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4059),
    [anon_sym_SEMI_SEMI] = ACTIONS(4063),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4063),
    [anon_sym_AMP] = ACTIONS(4061),
  },
  [1421] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4061),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4059),
    [anon_sym_SEMI_SEMI] = ACTIONS(4063),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4063),
    [anon_sym_AMP] = ACTIONS(4061),
  },
  [1422] = {
    [sym__simple_heredoc_body] = ACTIONS(4065),
    [sym__heredoc_body_beginning] = ACTIONS(4065),
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [ts_builtin_sym_end] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4067),
    [anon_sym_EQ_EQ] = ACTIONS(4067),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [anon_sym_LT_LT] = ACTIONS(4067),
    [anon_sym_LT_LT_DASH] = ACTIONS(4065),
    [anon_sym_LT_LT_LT] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [1423] = {
    [anon_sym_LT] = ACTIONS(4069),
    [anon_sym_GT] = ACTIONS(4069),
    [anon_sym_GT_GT] = ACTIONS(4071),
    [anon_sym_AMP_GT] = ACTIONS(4069),
    [anon_sym_AMP_GT_GT] = ACTIONS(4071),
    [anon_sym_LT_AMP] = ACTIONS(4071),
    [anon_sym_GT_AMP] = ACTIONS(4071),
    [sym_comment] = ACTIONS(55),
  },
  [1424] = {
    [sym_concatenation] = STATE(1166),
    [sym_string] = STATE(1796),
    [sym_simple_expansion] = STATE(1796),
    [sym_string_expansion] = STATE(1796),
    [sym_expansion] = STATE(1796),
    [sym_command_substitution] = STATE(1796),
    [sym_process_substitution] = STATE(1796),
    [sym__special_characters] = ACTIONS(4073),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4075),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4075),
  },
  [1425] = {
    [sym_concatenation] = STATE(1170),
    [sym_string] = STATE(1798),
    [sym_simple_expansion] = STATE(1798),
    [sym_string_expansion] = STATE(1798),
    [sym_expansion] = STATE(1798),
    [sym_command_substitution] = STATE(1798),
    [sym_process_substitution] = STATE(1798),
    [sym__special_characters] = ACTIONS(4077),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4079),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4079),
  },
  [1426] = {
    [sym_file_redirect] = STATE(1799),
    [sym_heredoc_redirect] = STATE(1799),
    [sym_herestring_redirect] = STATE(1799),
    [aux_sym_while_statement_repeat1] = STATE(1799),
    [sym_file_descriptor] = ACTIONS(3126),
    [anon_sym_SEMI] = ACTIONS(2418),
    [anon_sym_PIPE] = ACTIONS(2418),
    [anon_sym_SEMI_SEMI] = ACTIONS(2416),
    [anon_sym_PIPE_AMP] = ACTIONS(2416),
    [anon_sym_AMP_AMP] = ACTIONS(2416),
    [anon_sym_PIPE_PIPE] = ACTIONS(2416),
    [anon_sym_LT] = ACTIONS(3128),
    [anon_sym_GT] = ACTIONS(3128),
    [anon_sym_GT_GT] = ACTIONS(3130),
    [anon_sym_AMP_GT] = ACTIONS(3128),
    [anon_sym_AMP_GT_GT] = ACTIONS(3130),
    [anon_sym_LT_AMP] = ACTIONS(3130),
    [anon_sym_GT_AMP] = ACTIONS(3130),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(3132),
    [anon_sym_BQUOTE] = ACTIONS(2416),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2416),
    [anon_sym_AMP] = ACTIONS(2418),
  },
  [1427] = {
    [sym_file_redirect] = STATE(977),
    [sym_heredoc_redirect] = STATE(977),
    [sym_heredoc_body] = STATE(1188),
    [sym_herestring_redirect] = STATE(977),
    [aux_sym_while_statement_repeat1] = STATE(977),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [anon_sym_BQUOTE] = ACTIONS(2477),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [1428] = {
    [sym_compound_statement] = STATE(1800),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [1429] = {
    [anon_sym_LT] = ACTIONS(4081),
    [anon_sym_GT] = ACTIONS(4081),
    [anon_sym_GT_GT] = ACTIONS(4083),
    [anon_sym_AMP_GT] = ACTIONS(4081),
    [anon_sym_AMP_GT_GT] = ACTIONS(4083),
    [anon_sym_LT_AMP] = ACTIONS(4083),
    [anon_sym_GT_AMP] = ACTIONS(4083),
    [sym_comment] = ACTIONS(55),
  },
  [1430] = {
    [sym_concatenation] = STATE(1238),
    [sym_string] = STATE(1803),
    [sym_simple_expansion] = STATE(1803),
    [sym_string_expansion] = STATE(1803),
    [sym_expansion] = STATE(1803),
    [sym_command_substitution] = STATE(1803),
    [sym_process_substitution] = STATE(1803),
    [sym__special_characters] = ACTIONS(4085),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(4087),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4087),
  },
  [1431] = {
    [sym_file_redirect] = STATE(1437),
    [sym_file_descriptor] = ACTIONS(3136),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_LT] = ACTIONS(3138),
    [anon_sym_GT] = ACTIONS(3138),
    [anon_sym_GT_GT] = ACTIONS(3140),
    [anon_sym_AMP_GT] = ACTIONS(3138),
    [anon_sym_AMP_GT_GT] = ACTIONS(3140),
    [anon_sym_LT_AMP] = ACTIONS(3140),
    [anon_sym_GT_AMP] = ACTIONS(3140),
    [anon_sym_BQUOTE] = ACTIONS(2612),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [1432] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(1088),
    [sym__heredoc_body_beginning] = ACTIONS(1088),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [anon_sym_BQUOTE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1433] = {
    [aux_sym_concatenation_repeat1] = STATE(1434),
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1434] = {
    [aux_sym_concatenation_repeat1] = STATE(1804),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(265),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1435] = {
    [sym_file_redirect] = STATE(977),
    [sym_heredoc_redirect] = STATE(977),
    [sym_heredoc_body] = STATE(1449),
    [sym_herestring_redirect] = STATE(977),
    [aux_sym_while_statement_repeat1] = STATE(977),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(927),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(929),
    [anon_sym_GT] = ACTIONS(929),
    [anon_sym_GT_GT] = ACTIONS(931),
    [anon_sym_AMP_GT] = ACTIONS(929),
    [anon_sym_AMP_GT_GT] = ACTIONS(931),
    [anon_sym_LT_AMP] = ACTIONS(931),
    [anon_sym_GT_AMP] = ACTIONS(931),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(933),
    [anon_sym_BQUOTE] = ACTIONS(3205),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [1436] = {
    [sym__simple_heredoc_body] = ACTIONS(4089),
    [sym__heredoc_body_beginning] = ACTIONS(4089),
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [ts_builtin_sym_end] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4091),
    [anon_sym_EQ_EQ] = ACTIONS(4091),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [anon_sym_LT_LT] = ACTIONS(4091),
    [anon_sym_LT_LT_DASH] = ACTIONS(4089),
    [anon_sym_LT_LT_LT] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [1437] = {
    [ts_builtin_sym_end] = ACTIONS(3720),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_esac] = ACTIONS(3720),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_RPAREN] = ACTIONS(3720),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_BQUOTE] = ACTIONS(3720),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [1438] = {
    [sym_concatenation] = STATE(1808),
    [sym_string] = STATE(1807),
    [sym_simple_expansion] = STATE(1807),
    [sym_string_expansion] = STATE(1807),
    [sym_expansion] = STATE(1807),
    [sym_command_substitution] = STATE(1807),
    [sym_process_substitution] = STATE(1807),
    [anon_sym_RBRACE] = ACTIONS(4093),
    [sym__special_characters] = ACTIONS(4095),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4097),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4097),
  },
  [1439] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4099),
    [sym_comment] = ACTIONS(55),
  },
  [1440] = {
    [sym_concatenation] = STATE(1812),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1812),
    [anon_sym_RBRACE] = ACTIONS(4101),
    [anon_sym_EQ] = ACTIONS(4103),
    [anon_sym_DASH] = ACTIONS(4103),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4105),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4107),
    [anon_sym_COLON] = ACTIONS(4103),
    [anon_sym_COLON_QMARK] = ACTIONS(4103),
    [anon_sym_COLON_DASH] = ACTIONS(4103),
    [anon_sym_PERCENT] = ACTIONS(4103),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1441] = {
    [sym_concatenation] = STATE(1814),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1814),
    [anon_sym_RBRACE] = ACTIONS(4093),
    [anon_sym_EQ] = ACTIONS(4109),
    [anon_sym_DASH] = ACTIONS(4109),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4111),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4113),
    [anon_sym_COLON] = ACTIONS(4109),
    [anon_sym_COLON_QMARK] = ACTIONS(4109),
    [anon_sym_COLON_DASH] = ACTIONS(4109),
    [anon_sym_PERCENT] = ACTIONS(4109),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1442] = {
    [sym__heredoc_body_middle] = ACTIONS(1871),
    [sym__heredoc_body_end] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
  },
  [1443] = {
    [sym_concatenation] = STATE(1817),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1817),
    [sym_regex] = ACTIONS(4115),
    [anon_sym_RBRACE] = ACTIONS(4117),
    [anon_sym_EQ] = ACTIONS(4119),
    [anon_sym_DASH] = ACTIONS(4119),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4121),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4119),
    [anon_sym_COLON_QMARK] = ACTIONS(4119),
    [anon_sym_COLON_DASH] = ACTIONS(4119),
    [anon_sym_PERCENT] = ACTIONS(4119),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1444] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4117),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1445] = {
    [sym__heredoc_body_middle] = ACTIONS(1919),
    [sym__heredoc_body_end] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
  },
  [1446] = {
    [sym_concatenation] = STATE(1814),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1814),
    [sym_regex] = ACTIONS(4123),
    [anon_sym_RBRACE] = ACTIONS(4093),
    [anon_sym_EQ] = ACTIONS(4109),
    [anon_sym_DASH] = ACTIONS(4109),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4111),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4109),
    [anon_sym_COLON_QMARK] = ACTIONS(4109),
    [anon_sym_COLON_DASH] = ACTIONS(4109),
    [anon_sym_PERCENT] = ACTIONS(4109),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1447] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4093),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1448] = {
    [aux_sym_concatenation_repeat1] = STATE(1448),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1449] = {
    [ts_builtin_sym_end] = ACTIONS(4125),
    [anon_sym_SEMI] = ACTIONS(4127),
    [anon_sym_esac] = ACTIONS(4125),
    [anon_sym_PIPE] = ACTIONS(4127),
    [anon_sym_RPAREN] = ACTIONS(4125),
    [anon_sym_SEMI_SEMI] = ACTIONS(4125),
    [anon_sym_PIPE_AMP] = ACTIONS(4125),
    [anon_sym_AMP_AMP] = ACTIONS(4125),
    [anon_sym_PIPE_PIPE] = ACTIONS(4125),
    [anon_sym_BQUOTE] = ACTIONS(4125),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4125),
    [anon_sym_AMP] = ACTIONS(4127),
  },
  [1450] = {
    [anon_sym_EQ] = ACTIONS(4129),
    [anon_sym_PLUS_EQ] = ACTIONS(4129),
    [sym_comment] = ACTIONS(55),
  },
  [1451] = {
    [anon_sym_EQ] = ACTIONS(4131),
    [anon_sym_PLUS_EQ] = ACTIONS(4131),
    [sym_comment] = ACTIONS(55),
  },
  [1452] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1763),
  },
  [1453] = {
    [aux_sym_concatenation_repeat1] = STATE(1453),
    [sym__concat] = ACTIONS(4133),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1763),
  },
  [1454] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1770),
  },
  [1455] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4136),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1456] = {
    [sym_concatenation] = STATE(1823),
    [sym_string] = STATE(1822),
    [sym_simple_expansion] = STATE(1822),
    [sym_string_expansion] = STATE(1822),
    [sym_expansion] = STATE(1822),
    [sym_command_substitution] = STATE(1822),
    [sym_process_substitution] = STATE(1822),
    [anon_sym_RBRACE] = ACTIONS(4138),
    [sym__special_characters] = ACTIONS(4140),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4142),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4142),
  },
  [1457] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4144),
    [sym_comment] = ACTIONS(55),
  },
  [1458] = {
    [sym_concatenation] = STATE(1827),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1827),
    [anon_sym_RBRACE] = ACTIONS(4146),
    [anon_sym_EQ] = ACTIONS(4148),
    [anon_sym_DASH] = ACTIONS(4148),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4150),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4152),
    [anon_sym_COLON] = ACTIONS(4148),
    [anon_sym_COLON_QMARK] = ACTIONS(4148),
    [anon_sym_COLON_DASH] = ACTIONS(4148),
    [anon_sym_PERCENT] = ACTIONS(4148),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1459] = {
    [sym_concatenation] = STATE(1829),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1829),
    [anon_sym_RBRACE] = ACTIONS(4138),
    [anon_sym_EQ] = ACTIONS(4154),
    [anon_sym_DASH] = ACTIONS(4154),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4156),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4158),
    [anon_sym_COLON] = ACTIONS(4154),
    [anon_sym_COLON_QMARK] = ACTIONS(4154),
    [anon_sym_COLON_DASH] = ACTIONS(4154),
    [anon_sym_PERCENT] = ACTIONS(4154),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1460] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1871),
  },
  [1461] = {
    [sym_concatenation] = STATE(1832),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1832),
    [sym_regex] = ACTIONS(4160),
    [anon_sym_RBRACE] = ACTIONS(4162),
    [anon_sym_EQ] = ACTIONS(4164),
    [anon_sym_DASH] = ACTIONS(4164),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4166),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4164),
    [anon_sym_COLON_QMARK] = ACTIONS(4164),
    [anon_sym_COLON_DASH] = ACTIONS(4164),
    [anon_sym_PERCENT] = ACTIONS(4164),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1462] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4162),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1463] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1919),
  },
  [1464] = {
    [sym_concatenation] = STATE(1829),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1829),
    [sym_regex] = ACTIONS(4168),
    [anon_sym_RBRACE] = ACTIONS(4138),
    [anon_sym_EQ] = ACTIONS(4154),
    [anon_sym_DASH] = ACTIONS(4154),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4156),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4154),
    [anon_sym_COLON_QMARK] = ACTIONS(4154),
    [anon_sym_COLON_DASH] = ACTIONS(4154),
    [anon_sym_PERCENT] = ACTIONS(4154),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1465] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4138),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1466] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1467] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1927),
  },
  [1468] = {
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4174),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4174),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1469] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4172),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4170),
    [anon_sym_SEMI_SEMI] = ACTIONS(4174),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4174),
    [anon_sym_AMP] = ACTIONS(4172),
  },
  [1470] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1471] = {
    [anon_sym_SEMI] = ACTIONS(4176),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4178),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4178),
    [anon_sym_AMP] = ACTIONS(4176),
  },
  [1472] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4176),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4178),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4170),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4178),
    [anon_sym_AMP] = ACTIONS(4176),
  },
  [1473] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1474] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1959),
  },
  [1475] = {
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4184),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4184),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1476] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4182),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4180),
    [anon_sym_SEMI_SEMI] = ACTIONS(4184),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4184),
    [anon_sym_AMP] = ACTIONS(4182),
  },
  [1477] = {
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [sym_variable_name] = ACTIONS(2959),
    [ts_builtin_sym_end] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [1478] = {
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [sym_variable_name] = ACTIONS(2973),
    [ts_builtin_sym_end] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [1479] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4186),
    [sym_comment] = ACTIONS(55),
  },
  [1480] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4188),
    [sym_comment] = ACTIONS(55),
  },
  [1481] = {
    [anon_sym_RBRACE] = ACTIONS(4188),
    [sym_comment] = ACTIONS(55),
  },
  [1482] = {
    [sym_concatenation] = STATE(1843),
    [sym_string] = STATE(1842),
    [sym_simple_expansion] = STATE(1842),
    [sym_string_expansion] = STATE(1842),
    [sym_expansion] = STATE(1842),
    [sym_command_substitution] = STATE(1842),
    [sym_process_substitution] = STATE(1842),
    [anon_sym_RBRACE] = ACTIONS(4188),
    [sym__special_characters] = ACTIONS(4190),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4192),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4192),
  },
  [1483] = {
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [sym_variable_name] = ACTIONS(3009),
    [ts_builtin_sym_end] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [1484] = {
    [sym_concatenation] = STATE(1846),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1846),
    [sym_regex] = ACTIONS(4194),
    [anon_sym_RBRACE] = ACTIONS(4196),
    [anon_sym_EQ] = ACTIONS(4198),
    [anon_sym_DASH] = ACTIONS(4198),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4200),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4198),
    [anon_sym_COLON_QMARK] = ACTIONS(4198),
    [anon_sym_COLON_DASH] = ACTIONS(4198),
    [anon_sym_PERCENT] = ACTIONS(4198),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1485] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4196),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1486] = {
    [sym_concatenation] = STATE(1848),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1848),
    [sym_regex] = ACTIONS(4202),
    [anon_sym_RBRACE] = ACTIONS(4188),
    [anon_sym_EQ] = ACTIONS(4204),
    [anon_sym_DASH] = ACTIONS(4204),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4204),
    [anon_sym_COLON_QMARK] = ACTIONS(4204),
    [anon_sym_COLON_DASH] = ACTIONS(4204),
    [anon_sym_PERCENT] = ACTIONS(4204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1487] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4188),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1488] = {
    [sym_concatenation] = STATE(1850),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1850),
    [anon_sym_RBRACE] = ACTIONS(4208),
    [anon_sym_EQ] = ACTIONS(4210),
    [anon_sym_DASH] = ACTIONS(4210),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4212),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4210),
    [anon_sym_COLON_QMARK] = ACTIONS(4210),
    [anon_sym_COLON_DASH] = ACTIONS(4210),
    [anon_sym_PERCENT] = ACTIONS(4210),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1489] = {
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [sym_variable_name] = ACTIONS(3065),
    [ts_builtin_sym_end] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [1490] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4208),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1491] = {
    [sym_concatenation] = STATE(1848),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1848),
    [anon_sym_RBRACE] = ACTIONS(4188),
    [anon_sym_EQ] = ACTIONS(4204),
    [anon_sym_DASH] = ACTIONS(4204),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4204),
    [anon_sym_COLON_QMARK] = ACTIONS(4204),
    [anon_sym_COLON_DASH] = ACTIONS(4204),
    [anon_sym_PERCENT] = ACTIONS(4204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1492] = {
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [sym_variable_name] = ACTIONS(3120),
    [ts_builtin_sym_end] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [1493] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4214),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1494] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4214),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1495] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1496] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4216),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1497] = {
    [sym_do_group] = STATE(1853),
    [sym_compound_statement] = STATE(1853),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [1498] = {
    [sym__terminated_statement] = STATE(1855),
    [sym_for_statement] = STATE(751),
    [sym_c_style_for_statement] = STATE(751),
    [sym_while_statement] = STATE(751),
    [sym_if_statement] = STATE(751),
    [sym_case_statement] = STATE(751),
    [sym_function_definition] = STATE(751),
    [sym_subshell] = STATE(751),
    [sym_pipeline] = STATE(751),
    [sym_list] = STATE(751),
    [sym_negated_command] = STATE(751),
    [sym_test_command] = STATE(751),
    [sym_declaration_command] = STATE(751),
    [sym_unset_command] = STATE(751),
    [sym_command] = STATE(751),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(752),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1855),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_RBRACE] = ACTIONS(4218),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1499] = {
    [ts_builtin_sym_end] = ACTIONS(4220),
    [anon_sym_SEMI] = ACTIONS(4222),
    [anon_sym_esac] = ACTIONS(4220),
    [anon_sym_PIPE] = ACTIONS(4222),
    [anon_sym_RPAREN] = ACTIONS(4220),
    [anon_sym_SEMI_SEMI] = ACTIONS(4220),
    [anon_sym_PIPE_AMP] = ACTIONS(4220),
    [anon_sym_AMP_AMP] = ACTIONS(4220),
    [anon_sym_PIPE_PIPE] = ACTIONS(4220),
    [anon_sym_BQUOTE] = ACTIONS(4220),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4220),
    [anon_sym_AMP] = ACTIONS(4222),
  },
  [1500] = {
    [sym_do_group] = STATE(1853),
    [sym_compound_statement] = STATE(1853),
    [anon_sym_SEMI] = ACTIONS(4224),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [1501] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4226),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [1502] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2959),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2959),
    [anon_sym_EQ_EQ] = ACTIONS(2959),
    [anon_sym_EQ] = ACTIONS(2961),
    [anon_sym_PLUS_EQ] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_BANG_EQ] = ACTIONS(2959),
    [anon_sym_PLUS] = ACTIONS(2961),
    [anon_sym_DASH] = ACTIONS(2961),
    [anon_sym_DASH_EQ] = ACTIONS(2959),
    [anon_sym_LT_EQ] = ACTIONS(2959),
    [anon_sym_GT_EQ] = ACTIONS(2959),
    [anon_sym_PLUS_PLUS] = ACTIONS(2959),
    [anon_sym_DASH_DASH] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2959),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [1503] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2973),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2973),
    [anon_sym_EQ_EQ] = ACTIONS(2973),
    [anon_sym_EQ] = ACTIONS(2975),
    [anon_sym_PLUS_EQ] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_BANG_EQ] = ACTIONS(2973),
    [anon_sym_PLUS] = ACTIONS(2975),
    [anon_sym_DASH] = ACTIONS(2975),
    [anon_sym_DASH_EQ] = ACTIONS(2973),
    [anon_sym_LT_EQ] = ACTIONS(2973),
    [anon_sym_GT_EQ] = ACTIONS(2973),
    [anon_sym_PLUS_PLUS] = ACTIONS(2973),
    [anon_sym_DASH_DASH] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2973),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [1504] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4228),
    [sym_comment] = ACTIONS(55),
  },
  [1505] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4230),
    [sym_comment] = ACTIONS(55),
  },
  [1506] = {
    [anon_sym_RBRACE] = ACTIONS(4230),
    [sym_comment] = ACTIONS(55),
  },
  [1507] = {
    [sym_concatenation] = STATE(1862),
    [sym_string] = STATE(1861),
    [sym_simple_expansion] = STATE(1861),
    [sym_string_expansion] = STATE(1861),
    [sym_expansion] = STATE(1861),
    [sym_command_substitution] = STATE(1861),
    [sym_process_substitution] = STATE(1861),
    [anon_sym_RBRACE] = ACTIONS(4230),
    [sym__special_characters] = ACTIONS(4232),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4234),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4234),
  },
  [1508] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3009),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3009),
    [anon_sym_EQ_EQ] = ACTIONS(3009),
    [anon_sym_EQ] = ACTIONS(3011),
    [anon_sym_PLUS_EQ] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_BANG_EQ] = ACTIONS(3009),
    [anon_sym_PLUS] = ACTIONS(3011),
    [anon_sym_DASH] = ACTIONS(3011),
    [anon_sym_DASH_EQ] = ACTIONS(3009),
    [anon_sym_LT_EQ] = ACTIONS(3009),
    [anon_sym_GT_EQ] = ACTIONS(3009),
    [anon_sym_PLUS_PLUS] = ACTIONS(3009),
    [anon_sym_DASH_DASH] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3009),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [1509] = {
    [sym_concatenation] = STATE(1865),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1865),
    [sym_regex] = ACTIONS(4236),
    [anon_sym_RBRACE] = ACTIONS(4238),
    [anon_sym_EQ] = ACTIONS(4240),
    [anon_sym_DASH] = ACTIONS(4240),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4242),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4240),
    [anon_sym_COLON_QMARK] = ACTIONS(4240),
    [anon_sym_COLON_DASH] = ACTIONS(4240),
    [anon_sym_PERCENT] = ACTIONS(4240),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1510] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4238),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1511] = {
    [sym_concatenation] = STATE(1867),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1867),
    [sym_regex] = ACTIONS(4244),
    [anon_sym_RBRACE] = ACTIONS(4230),
    [anon_sym_EQ] = ACTIONS(4246),
    [anon_sym_DASH] = ACTIONS(4246),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4248),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4246),
    [anon_sym_COLON_QMARK] = ACTIONS(4246),
    [anon_sym_COLON_DASH] = ACTIONS(4246),
    [anon_sym_PERCENT] = ACTIONS(4246),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1512] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4230),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1513] = {
    [sym_concatenation] = STATE(1869),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1869),
    [anon_sym_RBRACE] = ACTIONS(4250),
    [anon_sym_EQ] = ACTIONS(4252),
    [anon_sym_DASH] = ACTIONS(4252),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4254),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4252),
    [anon_sym_COLON_QMARK] = ACTIONS(4252),
    [anon_sym_COLON_DASH] = ACTIONS(4252),
    [anon_sym_PERCENT] = ACTIONS(4252),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1514] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3065),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3065),
    [anon_sym_EQ_EQ] = ACTIONS(3065),
    [anon_sym_EQ] = ACTIONS(3067),
    [anon_sym_PLUS_EQ] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_BANG_EQ] = ACTIONS(3065),
    [anon_sym_PLUS] = ACTIONS(3067),
    [anon_sym_DASH] = ACTIONS(3067),
    [anon_sym_DASH_EQ] = ACTIONS(3065),
    [anon_sym_LT_EQ] = ACTIONS(3065),
    [anon_sym_GT_EQ] = ACTIONS(3065),
    [anon_sym_PLUS_PLUS] = ACTIONS(3065),
    [anon_sym_DASH_DASH] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3065),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [1515] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4250),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1516] = {
    [sym_concatenation] = STATE(1867),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1867),
    [anon_sym_RBRACE] = ACTIONS(4230),
    [anon_sym_EQ] = ACTIONS(4246),
    [anon_sym_DASH] = ACTIONS(4246),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4248),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4246),
    [anon_sym_COLON_QMARK] = ACTIONS(4246),
    [anon_sym_COLON_DASH] = ACTIONS(4246),
    [anon_sym_PERCENT] = ACTIONS(4246),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1517] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3120),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3120),
    [anon_sym_EQ_EQ] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [anon_sym_PLUS_EQ] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_BANG_EQ] = ACTIONS(3120),
    [anon_sym_PLUS] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [anon_sym_DASH_EQ] = ACTIONS(3120),
    [anon_sym_LT_EQ] = ACTIONS(3120),
    [anon_sym_GT_EQ] = ACTIONS(3120),
    [anon_sym_PLUS_PLUS] = ACTIONS(3120),
    [anon_sym_DASH_DASH] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3120),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [1518] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4256),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1519] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4256),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1520] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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_PLUS_EQ] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [anon_sym_PLUS] = ACTIONS(3160),
    [anon_sym_DASH] = ACTIONS(3160),
    [anon_sym_DASH_EQ] = ACTIONS(3158),
    [anon_sym_LT_EQ] = ACTIONS(3158),
    [anon_sym_GT_EQ] = ACTIONS(3158),
    [anon_sym_PLUS_PLUS] = ACTIONS(3158),
    [anon_sym_DASH_DASH] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3158),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [1521] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4258),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1522] = {
    [sym__expression] = STATE(1872),
    [sym_binary_expression] = STATE(1872),
    [sym_unary_expression] = STATE(1872),
    [sym_postfix_expression] = STATE(1872),
    [sym_parenthesized_expression] = STATE(1872),
    [sym_concatenation] = STATE(1872),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4226),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [1523] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1763),
  },
  [1524] = {
    [aux_sym_concatenation_repeat1] = STATE(1524),
    [sym__concat] = ACTIONS(4260),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1763),
  },
  [1525] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1770),
  },
  [1526] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4263),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1527] = {
    [sym_concatenation] = STATE(1877),
    [sym_string] = STATE(1876),
    [sym_simple_expansion] = STATE(1876),
    [sym_string_expansion] = STATE(1876),
    [sym_expansion] = STATE(1876),
    [sym_command_substitution] = STATE(1876),
    [sym_process_substitution] = STATE(1876),
    [anon_sym_RBRACE] = ACTIONS(4265),
    [sym__special_characters] = ACTIONS(4267),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4269),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4269),
  },
  [1528] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4271),
    [sym_comment] = ACTIONS(55),
  },
  [1529] = {
    [sym_concatenation] = STATE(1881),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1881),
    [anon_sym_RBRACE] = ACTIONS(4273),
    [anon_sym_EQ] = ACTIONS(4275),
    [anon_sym_DASH] = ACTIONS(4275),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4277),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4279),
    [anon_sym_COLON] = ACTIONS(4275),
    [anon_sym_COLON_QMARK] = ACTIONS(4275),
    [anon_sym_COLON_DASH] = ACTIONS(4275),
    [anon_sym_PERCENT] = ACTIONS(4275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1530] = {
    [sym_concatenation] = STATE(1883),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1883),
    [anon_sym_RBRACE] = ACTIONS(4265),
    [anon_sym_EQ] = ACTIONS(4281),
    [anon_sym_DASH] = ACTIONS(4281),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4283),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4285),
    [anon_sym_COLON] = ACTIONS(4281),
    [anon_sym_COLON_QMARK] = ACTIONS(4281),
    [anon_sym_COLON_DASH] = ACTIONS(4281),
    [anon_sym_PERCENT] = ACTIONS(4281),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1531] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1871),
  },
  [1532] = {
    [sym_concatenation] = STATE(1886),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1886),
    [sym_regex] = ACTIONS(4287),
    [anon_sym_RBRACE] = ACTIONS(4289),
    [anon_sym_EQ] = ACTIONS(4291),
    [anon_sym_DASH] = ACTIONS(4291),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4293),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4291),
    [anon_sym_COLON_QMARK] = ACTIONS(4291),
    [anon_sym_COLON_DASH] = ACTIONS(4291),
    [anon_sym_PERCENT] = ACTIONS(4291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1533] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4289),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1534] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1919),
  },
  [1535] = {
    [sym_concatenation] = STATE(1883),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1883),
    [sym_regex] = ACTIONS(4295),
    [anon_sym_RBRACE] = ACTIONS(4265),
    [anon_sym_EQ] = ACTIONS(4281),
    [anon_sym_DASH] = ACTIONS(4281),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4283),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4281),
    [anon_sym_COLON_QMARK] = ACTIONS(4281),
    [anon_sym_COLON_DASH] = ACTIONS(4281),
    [anon_sym_PERCENT] = ACTIONS(4281),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1536] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4265),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1537] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4297),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1538] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1927),
  },
  [1539] = {
    [anon_sym_SEMI] = ACTIONS(4299),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4297),
    [anon_sym_SEMI_SEMI] = ACTIONS(4301),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4301),
    [anon_sym_AMP] = ACTIONS(4299),
  },
  [1540] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4299),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4297),
    [anon_sym_SEMI_SEMI] = ACTIONS(4301),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4301),
    [anon_sym_AMP] = ACTIONS(4299),
  },
  [1541] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4297),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1542] = {
    [anon_sym_SEMI] = ACTIONS(4303),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4305),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4297),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4305),
    [anon_sym_AMP] = ACTIONS(4303),
  },
  [1543] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4303),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4305),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4297),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4305),
    [anon_sym_AMP] = ACTIONS(4303),
  },
  [1544] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4307),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1545] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1959),
  },
  [1546] = {
    [anon_sym_SEMI] = ACTIONS(4309),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4307),
    [anon_sym_SEMI_SEMI] = ACTIONS(4311),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4311),
    [anon_sym_AMP] = ACTIONS(4309),
  },
  [1547] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4309),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4307),
    [anon_sym_SEMI_SEMI] = ACTIONS(4311),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4311),
    [anon_sym_AMP] = ACTIONS(4309),
  },
  [1548] = {
    [ts_builtin_sym_end] = ACTIONS(4313),
    [anon_sym_SEMI] = ACTIONS(4315),
    [anon_sym_esac] = ACTIONS(4313),
    [anon_sym_PIPE] = ACTIONS(4315),
    [anon_sym_RPAREN] = ACTIONS(4313),
    [anon_sym_SEMI_SEMI] = ACTIONS(4313),
    [anon_sym_PIPE_AMP] = ACTIONS(4313),
    [anon_sym_AMP_AMP] = ACTIONS(4313),
    [anon_sym_PIPE_PIPE] = ACTIONS(4313),
    [anon_sym_BQUOTE] = ACTIONS(4313),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4313),
    [anon_sym_AMP] = ACTIONS(4315),
  },
  [1549] = {
    [ts_builtin_sym_end] = ACTIONS(3641),
    [anon_sym_SEMI] = ACTIONS(3643),
    [anon_sym_esac] = ACTIONS(3641),
    [anon_sym_PIPE] = ACTIONS(3643),
    [anon_sym_RPAREN] = ACTIONS(3641),
    [anon_sym_SEMI_SEMI] = ACTIONS(3641),
    [anon_sym_PIPE_AMP] = ACTIONS(3641),
    [anon_sym_AMP_AMP] = ACTIONS(3641),
    [anon_sym_PIPE_PIPE] = ACTIONS(3641),
    [anon_sym_BQUOTE] = ACTIONS(3641),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3641),
    [anon_sym_AMP] = ACTIONS(3643),
  },
  [1550] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2959),
    [anon_sym_EQ_EQ] = ACTIONS(2959),
    [anon_sym_EQ] = ACTIONS(2961),
    [anon_sym_PLUS_EQ] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_BANG_EQ] = ACTIONS(2959),
    [anon_sym_PLUS] = ACTIONS(2961),
    [anon_sym_DASH] = ACTIONS(2961),
    [anon_sym_DASH_EQ] = ACTIONS(2959),
    [anon_sym_LT_EQ] = ACTIONS(2959),
    [anon_sym_GT_EQ] = ACTIONS(2959),
    [anon_sym_PLUS_PLUS] = ACTIONS(2959),
    [anon_sym_DASH_DASH] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2959),
  },
  [1551] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2973),
    [anon_sym_EQ_EQ] = ACTIONS(2973),
    [anon_sym_EQ] = ACTIONS(2975),
    [anon_sym_PLUS_EQ] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_BANG_EQ] = ACTIONS(2973),
    [anon_sym_PLUS] = ACTIONS(2975),
    [anon_sym_DASH] = ACTIONS(2975),
    [anon_sym_DASH_EQ] = ACTIONS(2973),
    [anon_sym_LT_EQ] = ACTIONS(2973),
    [anon_sym_GT_EQ] = ACTIONS(2973),
    [anon_sym_PLUS_PLUS] = ACTIONS(2973),
    [anon_sym_DASH_DASH] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(2973),
  },
  [1552] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4317),
    [sym_comment] = ACTIONS(55),
  },
  [1553] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4319),
    [sym_comment] = ACTIONS(55),
  },
  [1554] = {
    [anon_sym_RBRACE] = ACTIONS(4319),
    [sym_comment] = ACTIONS(55),
  },
  [1555] = {
    [sym_concatenation] = STATE(1897),
    [sym_string] = STATE(1896),
    [sym_simple_expansion] = STATE(1896),
    [sym_string_expansion] = STATE(1896),
    [sym_expansion] = STATE(1896),
    [sym_command_substitution] = STATE(1896),
    [sym_process_substitution] = STATE(1896),
    [anon_sym_RBRACE] = ACTIONS(4319),
    [sym__special_characters] = ACTIONS(4321),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4323),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4323),
  },
  [1556] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3009),
    [anon_sym_EQ_EQ] = ACTIONS(3009),
    [anon_sym_EQ] = ACTIONS(3011),
    [anon_sym_PLUS_EQ] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_BANG_EQ] = ACTIONS(3009),
    [anon_sym_PLUS] = ACTIONS(3011),
    [anon_sym_DASH] = ACTIONS(3011),
    [anon_sym_DASH_EQ] = ACTIONS(3009),
    [anon_sym_LT_EQ] = ACTIONS(3009),
    [anon_sym_GT_EQ] = ACTIONS(3009),
    [anon_sym_PLUS_PLUS] = ACTIONS(3009),
    [anon_sym_DASH_DASH] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3009),
  },
  [1557] = {
    [sym_concatenation] = STATE(1900),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1900),
    [sym_regex] = ACTIONS(4325),
    [anon_sym_RBRACE] = ACTIONS(4327),
    [anon_sym_EQ] = ACTIONS(4329),
    [anon_sym_DASH] = ACTIONS(4329),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4331),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4329),
    [anon_sym_COLON_QMARK] = ACTIONS(4329),
    [anon_sym_COLON_DASH] = ACTIONS(4329),
    [anon_sym_PERCENT] = ACTIONS(4329),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1558] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4327),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1559] = {
    [sym_concatenation] = STATE(1902),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1902),
    [sym_regex] = ACTIONS(4333),
    [anon_sym_RBRACE] = ACTIONS(4319),
    [anon_sym_EQ] = ACTIONS(4335),
    [anon_sym_DASH] = ACTIONS(4335),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4337),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4335),
    [anon_sym_COLON_QMARK] = ACTIONS(4335),
    [anon_sym_COLON_DASH] = ACTIONS(4335),
    [anon_sym_PERCENT] = ACTIONS(4335),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1560] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4319),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1561] = {
    [sym_concatenation] = STATE(1904),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1904),
    [anon_sym_RBRACE] = ACTIONS(4339),
    [anon_sym_EQ] = ACTIONS(4341),
    [anon_sym_DASH] = ACTIONS(4341),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4343),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4341),
    [anon_sym_COLON_QMARK] = ACTIONS(4341),
    [anon_sym_COLON_DASH] = ACTIONS(4341),
    [anon_sym_PERCENT] = ACTIONS(4341),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1562] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3065),
    [anon_sym_EQ_EQ] = ACTIONS(3065),
    [anon_sym_EQ] = ACTIONS(3067),
    [anon_sym_PLUS_EQ] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_BANG_EQ] = ACTIONS(3065),
    [anon_sym_PLUS] = ACTIONS(3067),
    [anon_sym_DASH] = ACTIONS(3067),
    [anon_sym_DASH_EQ] = ACTIONS(3065),
    [anon_sym_LT_EQ] = ACTIONS(3065),
    [anon_sym_GT_EQ] = ACTIONS(3065),
    [anon_sym_PLUS_PLUS] = ACTIONS(3065),
    [anon_sym_DASH_DASH] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3065),
  },
  [1563] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4339),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1564] = {
    [sym_concatenation] = STATE(1902),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1902),
    [anon_sym_RBRACE] = ACTIONS(4319),
    [anon_sym_EQ] = ACTIONS(4335),
    [anon_sym_DASH] = ACTIONS(4335),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4337),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4335),
    [anon_sym_COLON_QMARK] = ACTIONS(4335),
    [anon_sym_COLON_DASH] = ACTIONS(4335),
    [anon_sym_PERCENT] = ACTIONS(4335),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1565] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3120),
    [anon_sym_EQ_EQ] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [anon_sym_PLUS_EQ] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_BANG_EQ] = ACTIONS(3120),
    [anon_sym_PLUS] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [anon_sym_DASH_EQ] = ACTIONS(3120),
    [anon_sym_LT_EQ] = ACTIONS(3120),
    [anon_sym_GT_EQ] = ACTIONS(3120),
    [anon_sym_PLUS_PLUS] = ACTIONS(3120),
    [anon_sym_DASH_DASH] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3120),
  },
  [1566] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4345),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1567] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4345),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1568] = {
    [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_EQ_TILDE] = ACTIONS(3158),
    [anon_sym_EQ_EQ] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_PLUS_EQ] = ACTIONS(3158),
    [anon_sym_LT] = ACTIONS(3160),
    [anon_sym_GT] = ACTIONS(3160),
    [anon_sym_BANG_EQ] = ACTIONS(3158),
    [anon_sym_PLUS] = ACTIONS(3160),
    [anon_sym_DASH] = ACTIONS(3160),
    [anon_sym_DASH_EQ] = ACTIONS(3158),
    [anon_sym_LT_EQ] = ACTIONS(3158),
    [anon_sym_GT_EQ] = ACTIONS(3158),
    [anon_sym_PLUS_PLUS] = ACTIONS(3158),
    [anon_sym_DASH_DASH] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3158),
  },
  [1569] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4347),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1570] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3934),
    [anon_sym_EQ_EQ] = ACTIONS(3934),
    [anon_sym_EQ] = ACTIONS(3936),
    [anon_sym_PLUS_EQ] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_BANG_EQ] = ACTIONS(3934),
    [anon_sym_PLUS] = ACTIONS(3936),
    [anon_sym_DASH] = ACTIONS(3936),
    [anon_sym_DASH_EQ] = ACTIONS(3934),
    [anon_sym_LT_EQ] = ACTIONS(3934),
    [anon_sym_GT_EQ] = ACTIONS(3934),
    [anon_sym_PLUS_PLUS] = ACTIONS(3934),
    [anon_sym_DASH_DASH] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3934),
  },
  [1571] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3942),
    [anon_sym_EQ_EQ] = ACTIONS(3942),
    [anon_sym_EQ] = ACTIONS(3944),
    [anon_sym_PLUS_EQ] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_BANG_EQ] = ACTIONS(3942),
    [anon_sym_PLUS] = ACTIONS(3944),
    [anon_sym_DASH] = ACTIONS(3944),
    [anon_sym_DASH_EQ] = ACTIONS(3942),
    [anon_sym_LT_EQ] = ACTIONS(3942),
    [anon_sym_GT_EQ] = ACTIONS(3942),
    [anon_sym_PLUS_PLUS] = ACTIONS(3942),
    [anon_sym_DASH_DASH] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3942),
  },
  [1572] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4349),
    [sym_comment] = ACTIONS(55),
  },
  [1573] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4351),
    [sym_comment] = ACTIONS(55),
  },
  [1574] = {
    [anon_sym_RBRACE] = ACTIONS(4351),
    [sym_comment] = ACTIONS(55),
  },
  [1575] = {
    [sym_concatenation] = STATE(1910),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1910),
    [anon_sym_RBRACE] = ACTIONS(4353),
    [anon_sym_EQ] = ACTIONS(4355),
    [anon_sym_DASH] = ACTIONS(4355),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4357),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4355),
    [anon_sym_COLON_QMARK] = ACTIONS(4355),
    [anon_sym_COLON_DASH] = ACTIONS(4355),
    [anon_sym_PERCENT] = ACTIONS(4355),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1576] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(3998),
    [anon_sym_EQ_EQ] = ACTIONS(3998),
    [anon_sym_EQ] = ACTIONS(4000),
    [anon_sym_PLUS_EQ] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_BANG_EQ] = ACTIONS(3998),
    [anon_sym_PLUS] = ACTIONS(4000),
    [anon_sym_DASH] = ACTIONS(4000),
    [anon_sym_DASH_EQ] = ACTIONS(3998),
    [anon_sym_LT_EQ] = ACTIONS(3998),
    [anon_sym_GT_EQ] = ACTIONS(3998),
    [anon_sym_PLUS_PLUS] = ACTIONS(3998),
    [anon_sym_DASH_DASH] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3998),
  },
  [1577] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4353),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1578] = {
    [sym_concatenation] = STATE(1911),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1911),
    [anon_sym_RBRACE] = ACTIONS(4351),
    [anon_sym_EQ] = ACTIONS(4359),
    [anon_sym_DASH] = ACTIONS(4359),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4361),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4359),
    [anon_sym_COLON_QMARK] = ACTIONS(4359),
    [anon_sym_COLON_DASH] = ACTIONS(4359),
    [anon_sym_PERCENT] = ACTIONS(4359),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1579] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4351),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1580] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4043),
    [anon_sym_EQ_EQ] = ACTIONS(4043),
    [anon_sym_EQ] = ACTIONS(4045),
    [anon_sym_PLUS_EQ] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_BANG_EQ] = ACTIONS(4043),
    [anon_sym_PLUS] = ACTIONS(4045),
    [anon_sym_DASH] = ACTIONS(4045),
    [anon_sym_DASH_EQ] = ACTIONS(4043),
    [anon_sym_LT_EQ] = ACTIONS(4043),
    [anon_sym_GT_EQ] = ACTIONS(4043),
    [anon_sym_PLUS_PLUS] = ACTIONS(4043),
    [anon_sym_DASH_DASH] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4043),
  },
  [1581] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4363),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1582] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4065),
    [anon_sym_EQ_EQ] = ACTIONS(4065),
    [anon_sym_EQ] = ACTIONS(4067),
    [anon_sym_PLUS_EQ] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_BANG_EQ] = ACTIONS(4065),
    [anon_sym_PLUS] = ACTIONS(4067),
    [anon_sym_DASH] = ACTIONS(4067),
    [anon_sym_DASH_EQ] = ACTIONS(4065),
    [anon_sym_LT_EQ] = ACTIONS(4065),
    [anon_sym_GT_EQ] = ACTIONS(4065),
    [anon_sym_PLUS_PLUS] = ACTIONS(4065),
    [anon_sym_DASH_DASH] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4065),
  },
  [1583] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4089),
    [anon_sym_EQ_EQ] = ACTIONS(4089),
    [anon_sym_EQ] = ACTIONS(4091),
    [anon_sym_PLUS_EQ] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_BANG_EQ] = ACTIONS(4089),
    [anon_sym_PLUS] = ACTIONS(4091),
    [anon_sym_DASH] = ACTIONS(4091),
    [anon_sym_DASH_EQ] = ACTIONS(4089),
    [anon_sym_LT_EQ] = ACTIONS(4089),
    [anon_sym_GT_EQ] = ACTIONS(4089),
    [anon_sym_PLUS_PLUS] = ACTIONS(4089),
    [anon_sym_DASH_DASH] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4089),
  },
  [1584] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(1088),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1585] = {
    [aux_sym_concatenation_repeat1] = STATE(1588),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1586] = {
    [sym_file_descriptor] = ACTIONS(1092),
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1587] = {
    [sym_string] = STATE(1913),
    [sym_simple_expansion] = STATE(1913),
    [sym_string_expansion] = STATE(1913),
    [sym_expansion] = STATE(1913),
    [sym_command_substitution] = STATE(1913),
    [sym_process_substitution] = STATE(1913),
    [sym__special_characters] = ACTIONS(4365),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4365),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4365),
  },
  [1588] = {
    [aux_sym_concatenation_repeat1] = STATE(1914),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(3579),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1589] = {
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [ts_builtin_sym_end] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(811),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_RPAREN] = ACTIONS(811),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [anon_sym_LT_LT] = ACTIONS(813),
    [anon_sym_LT_LT_DASH] = ACTIONS(811),
    [anon_sym_LT_LT_LT] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [1590] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4367),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1591] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(4367),
    [anon_sym_DOLLAR] = ACTIONS(4369),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1592] = {
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [ts_builtin_sym_end] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(845),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_RPAREN] = ACTIONS(845),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [anon_sym_LT_LT] = ACTIONS(847),
    [anon_sym_LT_LT_DASH] = ACTIONS(845),
    [anon_sym_LT_LT_LT] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [1593] = {
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [ts_builtin_sym_end] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(849),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_RPAREN] = ACTIONS(849),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [anon_sym_LT_LT] = ACTIONS(851),
    [anon_sym_LT_LT_DASH] = ACTIONS(849),
    [anon_sym_LT_LT_LT] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [1594] = {
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [ts_builtin_sym_end] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(853),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_RPAREN] = ACTIONS(853),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [anon_sym_LT_LT] = ACTIONS(855),
    [anon_sym_LT_LT_DASH] = ACTIONS(853),
    [anon_sym_LT_LT_LT] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [1595] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4371),
    [sym_comment] = ACTIONS(55),
  },
  [1596] = {
    [sym_subscript] = STATE(1920),
    [sym_variable_name] = ACTIONS(4373),
    [anon_sym_DASH] = ACTIONS(4375),
    [anon_sym_DOLLAR] = ACTIONS(4375),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4377),
    [anon_sym_STAR] = ACTIONS(4379),
    [anon_sym_AT] = ACTIONS(4379),
    [anon_sym_QMARK] = ACTIONS(4379),
    [anon_sym_0] = ACTIONS(4377),
    [anon_sym__] = ACTIONS(4377),
  },
  [1597] = {
    [sym_concatenation] = STATE(1923),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1923),
    [anon_sym_RBRACE] = ACTIONS(4381),
    [anon_sym_EQ] = ACTIONS(4383),
    [anon_sym_DASH] = ACTIONS(4383),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4385),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4387),
    [anon_sym_COLON] = ACTIONS(4383),
    [anon_sym_COLON_QMARK] = ACTIONS(4383),
    [anon_sym_COLON_DASH] = ACTIONS(4383),
    [anon_sym_PERCENT] = ACTIONS(4383),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1598] = {
    [sym_concatenation] = STATE(1926),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1926),
    [anon_sym_RBRACE] = ACTIONS(4389),
    [anon_sym_EQ] = ACTIONS(4391),
    [anon_sym_DASH] = ACTIONS(4391),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4393),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4395),
    [anon_sym_COLON] = ACTIONS(4391),
    [anon_sym_COLON_QMARK] = ACTIONS(4391),
    [anon_sym_COLON_DASH] = ACTIONS(4391),
    [anon_sym_PERCENT] = ACTIONS(4391),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1599] = {
    [anon_sym_SEMI] = ACTIONS(4397),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4399),
    [anon_sym_SEMI_SEMI] = ACTIONS(4401),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4401),
    [anon_sym_AMP] = ACTIONS(4397),
  },
  [1600] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4397),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4399),
    [anon_sym_SEMI_SEMI] = ACTIONS(4401),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4401),
    [anon_sym_AMP] = ACTIONS(4397),
  },
  [1601] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1929),
    [sym_c_style_for_statement] = STATE(1929),
    [sym_while_statement] = STATE(1929),
    [sym_if_statement] = STATE(1929),
    [sym_case_statement] = STATE(1929),
    [sym_function_definition] = STATE(1929),
    [sym_subshell] = STATE(1929),
    [sym_pipeline] = STATE(1929),
    [sym_list] = STATE(1929),
    [sym_negated_command] = STATE(1929),
    [sym_test_command] = STATE(1929),
    [sym_declaration_command] = STATE(1929),
    [sym_unset_command] = STATE(1929),
    [sym_command] = STATE(1929),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1930),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1602] = {
    [anon_sym_SEMI] = ACTIONS(4403),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4405),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4399),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4405),
    [anon_sym_AMP] = ACTIONS(4403),
  },
  [1603] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4403),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4405),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4399),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4405),
    [anon_sym_AMP] = ACTIONS(4403),
  },
  [1604] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1932),
    [sym_c_style_for_statement] = STATE(1932),
    [sym_while_statement] = STATE(1932),
    [sym_if_statement] = STATE(1932),
    [sym_case_statement] = STATE(1932),
    [sym_function_definition] = STATE(1932),
    [sym_subshell] = STATE(1932),
    [sym_pipeline] = STATE(1932),
    [sym_list] = STATE(1932),
    [sym_negated_command] = STATE(1932),
    [sym_test_command] = STATE(1932),
    [sym_declaration_command] = STATE(1932),
    [sym_unset_command] = STATE(1932),
    [sym_command] = STATE(1932),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(1933),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1605] = {
    [anon_sym_SEMI] = ACTIONS(4407),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4409),
    [anon_sym_SEMI_SEMI] = ACTIONS(4411),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4411),
    [anon_sym_AMP] = ACTIONS(4407),
  },
  [1606] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4407),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4409),
    [anon_sym_SEMI_SEMI] = ACTIONS(4411),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4411),
    [anon_sym_AMP] = ACTIONS(4407),
  },
  [1607] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(1936),
    [sym_c_style_for_statement] = STATE(1936),
    [sym_while_statement] = STATE(1936),
    [sym_if_statement] = STATE(1936),
    [sym_case_statement] = STATE(1936),
    [sym_function_definition] = STATE(1936),
    [sym_subshell] = STATE(1936),
    [sym_pipeline] = STATE(1936),
    [sym_list] = STATE(1936),
    [sym_negated_command] = STATE(1936),
    [sym_test_command] = STATE(1936),
    [sym_declaration_command] = STATE(1936),
    [sym_unset_command] = STATE(1936),
    [sym_command] = STATE(1936),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(1937),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1608] = {
    [aux_sym_concatenation_repeat1] = STATE(1608),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(3295),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1609] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(1939),
    [sym_simple_expansion] = STATE(1939),
    [sym_string_expansion] = STATE(1939),
    [sym_expansion] = STATE(1939),
    [sym_command_substitution] = STATE(1939),
    [sym_process_substitution] = STATE(1939),
    [sym__special_characters] = ACTIONS(4413),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4415),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4415),
  },
  [1610] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1611] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1612] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [1613] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [1614] = {
    [sym_file_redirect] = STATE(1614),
    [sym_heredoc_redirect] = STATE(1614),
    [sym_herestring_redirect] = STATE(1614),
    [aux_sym_while_statement_repeat1] = STATE(1614),
    [sym_file_descriptor] = ACTIONS(4417),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(4420),
    [anon_sym_GT] = ACTIONS(4420),
    [anon_sym_GT_GT] = ACTIONS(4423),
    [anon_sym_AMP_GT] = ACTIONS(4420),
    [anon_sym_AMP_GT_GT] = ACTIONS(4423),
    [anon_sym_LT_AMP] = ACTIONS(4423),
    [anon_sym_GT_AMP] = ACTIONS(4423),
    [anon_sym_LT_LT] = ACTIONS(3612),
    [anon_sym_LT_LT_DASH] = ACTIONS(3615),
    [anon_sym_LT_LT_LT] = ACTIONS(4426),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [1615] = {
    [sym_file_redirect] = STATE(1651),
    [sym_file_descriptor] = ACTIONS(2434),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_LT] = ACTIONS(2436),
    [anon_sym_GT] = ACTIONS(2436),
    [anon_sym_GT_GT] = ACTIONS(2438),
    [anon_sym_AMP_GT] = ACTIONS(2436),
    [anon_sym_AMP_GT_GT] = ACTIONS(2438),
    [anon_sym_LT_AMP] = ACTIONS(2438),
    [anon_sym_GT_AMP] = ACTIONS(2438),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [1616] = {
    [sym_concatenation] = STATE(1654),
    [sym_string] = STATE(1942),
    [sym_simple_expansion] = STATE(1942),
    [sym_string_expansion] = STATE(1942),
    [sym_expansion] = STATE(1942),
    [sym_command_substitution] = STATE(1942),
    [sym_process_substitution] = STATE(1942),
    [sym__special_characters] = ACTIONS(4429),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(4431),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4431),
  },
  [1617] = {
    [aux_sym_concatenation_repeat1] = STATE(1943),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1618] = {
    [aux_sym_concatenation_repeat1] = STATE(1943),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1619] = {
    [aux_sym_concatenation_repeat1] = STATE(1619),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1620] = {
    [sym__terminated_statement] = STATE(1944),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1944),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(4433),
    [anon_sym_elif] = ACTIONS(4433),
    [anon_sym_else] = ACTIONS(4433),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1621] = {
    [sym__terminated_statement] = STATE(1621),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1621),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_fi] = ACTIONS(3645),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [1622] = {
    [ts_builtin_sym_end] = ACTIONS(4435),
    [anon_sym_SEMI] = ACTIONS(4437),
    [anon_sym_esac] = ACTIONS(4435),
    [anon_sym_PIPE] = ACTIONS(4437),
    [anon_sym_RPAREN] = ACTIONS(4435),
    [anon_sym_SEMI_SEMI] = ACTIONS(4435),
    [anon_sym_PIPE_AMP] = ACTIONS(4435),
    [anon_sym_AMP_AMP] = ACTIONS(4435),
    [anon_sym_PIPE_PIPE] = ACTIONS(4435),
    [anon_sym_BQUOTE] = ACTIONS(4435),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4435),
    [anon_sym_AMP] = ACTIONS(4437),
  },
  [1623] = {
    [anon_sym_fi] = ACTIONS(4439),
    [sym_comment] = ACTIONS(55),
  },
  [1624] = {
    [sym_concatenation] = STATE(1948),
    [sym_string] = STATE(1947),
    [sym_simple_expansion] = STATE(1947),
    [sym_string_expansion] = STATE(1947),
    [sym_expansion] = STATE(1947),
    [sym_command_substitution] = STATE(1947),
    [sym_process_substitution] = STATE(1947),
    [sym__special_characters] = ACTIONS(4441),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(4443),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4443),
  },
  [1625] = {
    [sym__terminated_statement] = STATE(1973),
    [sym_for_statement] = STATE(1968),
    [sym_c_style_for_statement] = STATE(1968),
    [sym_while_statement] = STATE(1968),
    [sym_if_statement] = STATE(1968),
    [sym_case_statement] = STATE(1968),
    [sym_function_definition] = STATE(1968),
    [sym_subshell] = STATE(1968),
    [sym_pipeline] = STATE(1968),
    [sym_list] = STATE(1968),
    [sym_negated_command] = STATE(1968),
    [sym_test_command] = STATE(1968),
    [sym_declaration_command] = STATE(1968),
    [sym_unset_command] = STATE(1968),
    [sym_command] = STATE(1968),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(1970),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(1973),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(4451),
    [anon_sym_SEMI_SEMI] = ACTIONS(4453),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1626] = {
    [aux_sym_case_item_repeat1] = STATE(1976),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(4485),
    [sym_comment] = ACTIONS(55),
  },
  [1627] = {
    [aux_sym_concatenation_repeat1] = STATE(1977),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(807),
    [anon_sym_RPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
  },
  [1628] = {
    [sym__terminated_statement] = STATE(1981),
    [sym_for_statement] = STATE(1979),
    [sym_c_style_for_statement] = STATE(1979),
    [sym_while_statement] = STATE(1979),
    [sym_if_statement] = STATE(1979),
    [sym_case_statement] = STATE(1979),
    [sym_function_definition] = STATE(1979),
    [sym_subshell] = STATE(1979),
    [sym_pipeline] = STATE(1979),
    [sym_list] = STATE(1979),
    [sym_negated_command] = STATE(1979),
    [sym_test_command] = STATE(1979),
    [sym_declaration_command] = STATE(1979),
    [sym_unset_command] = STATE(1979),
    [sym_command] = STATE(1979),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(1980),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(1981),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(4487),
    [anon_sym_SEMI_SEMI] = ACTIONS(4489),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1629] = {
    [aux_sym_case_item_repeat1] = STATE(1976),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(4491),
    [sym_comment] = ACTIONS(55),
  },
  [1630] = {
    [ts_builtin_sym_end] = ACTIONS(4493),
    [anon_sym_SEMI] = ACTIONS(4495),
    [anon_sym_esac] = ACTIONS(4493),
    [anon_sym_PIPE] = ACTIONS(4495),
    [anon_sym_RPAREN] = ACTIONS(4493),
    [anon_sym_SEMI_SEMI] = ACTIONS(4493),
    [anon_sym_PIPE_AMP] = ACTIONS(4493),
    [anon_sym_AMP_AMP] = ACTIONS(4493),
    [anon_sym_PIPE_PIPE] = ACTIONS(4493),
    [anon_sym_BQUOTE] = ACTIONS(4493),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4493),
    [anon_sym_AMP] = ACTIONS(4495),
  },
  [1631] = {
    [anon_sym_esac] = ACTIONS(4497),
    [sym_comment] = ACTIONS(55),
  },
  [1632] = {
    [sym_case_item] = STATE(1632),
    [sym_concatenation] = STATE(1986),
    [sym_string] = STATE(1985),
    [sym_simple_expansion] = STATE(1985),
    [sym_string_expansion] = STATE(1985),
    [sym_expansion] = STATE(1985),
    [sym_command_substitution] = STATE(1985),
    [sym_process_substitution] = STATE(1985),
    [aux_sym_case_statement_repeat1] = STATE(1632),
    [sym__special_characters] = ACTIONS(4499),
    [anon_sym_DQUOTE] = ACTIONS(4502),
    [anon_sym_DOLLAR] = ACTIONS(4505),
    [sym_raw_string] = ACTIONS(4508),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4511),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4514),
    [anon_sym_BQUOTE] = ACTIONS(4517),
    [anon_sym_LT_LPAREN] = ACTIONS(4520),
    [anon_sym_GT_LPAREN] = ACTIONS(4520),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4508),
  },
  [1633] = {
    [sym_case_item] = STATE(1632),
    [sym_last_case_item] = STATE(1987),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1632),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2527),
  },
  [1634] = {
    [ts_builtin_sym_end] = ACTIONS(4523),
    [anon_sym_SEMI] = ACTIONS(4525),
    [anon_sym_esac] = ACTIONS(4523),
    [anon_sym_PIPE] = ACTIONS(4525),
    [anon_sym_RPAREN] = ACTIONS(4523),
    [anon_sym_SEMI_SEMI] = ACTIONS(4523),
    [anon_sym_PIPE_AMP] = ACTIONS(4523),
    [anon_sym_AMP_AMP] = ACTIONS(4523),
    [anon_sym_PIPE_PIPE] = ACTIONS(4523),
    [anon_sym_BQUOTE] = ACTIONS(4523),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4523),
    [anon_sym_AMP] = ACTIONS(4525),
  },
  [1635] = {
    [anon_sym_esac] = ACTIONS(4527),
    [sym_comment] = ACTIONS(55),
  },
  [1636] = {
    [sym_case_item] = STATE(1632),
    [sym_last_case_item] = STATE(1989),
    [sym_concatenation] = STATE(1204),
    [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),
    [aux_sym_case_statement_repeat1] = STATE(1632),
    [sym__special_characters] = ACTIONS(2525),
    [anon_sym_DQUOTE] = ACTIONS(441),
    [anon_sym_DOLLAR] = ACTIONS(443),
    [sym_raw_string] = ACTIONS(2527),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(447),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(449),
    [anon_sym_BQUOTE] = ACTIONS(451),
    [anon_sym_LT_LPAREN] = ACTIONS(453),
    [anon_sym_GT_LPAREN] = ACTIONS(453),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2527),
  },
  [1637] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_in] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3934),
  },
  [1638] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_in] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3942),
  },
  [1639] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4529),
    [sym_comment] = ACTIONS(55),
  },
  [1640] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4531),
    [sym_comment] = ACTIONS(55),
  },
  [1641] = {
    [anon_sym_RBRACE] = ACTIONS(4531),
    [sym_comment] = ACTIONS(55),
  },
  [1642] = {
    [sym_concatenation] = STATE(1993),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1993),
    [anon_sym_RBRACE] = ACTIONS(4533),
    [anon_sym_EQ] = ACTIONS(4535),
    [anon_sym_DASH] = ACTIONS(4535),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4537),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4535),
    [anon_sym_COLON_QMARK] = ACTIONS(4535),
    [anon_sym_COLON_DASH] = ACTIONS(4535),
    [anon_sym_PERCENT] = ACTIONS(4535),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1643] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_in] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(3998),
  },
  [1644] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4533),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1645] = {
    [sym_concatenation] = STATE(1994),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(1994),
    [anon_sym_RBRACE] = ACTIONS(4531),
    [anon_sym_EQ] = ACTIONS(4539),
    [anon_sym_DASH] = ACTIONS(4539),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4541),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4539),
    [anon_sym_COLON_QMARK] = ACTIONS(4539),
    [anon_sym_COLON_DASH] = ACTIONS(4539),
    [anon_sym_PERCENT] = ACTIONS(4539),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1646] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4531),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1647] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_in] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4043),
  },
  [1648] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4543),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1649] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_in] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4065),
  },
  [1650] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_in] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4089),
  },
  [1651] = {
    [ts_builtin_sym_end] = ACTIONS(4545),
    [anon_sym_SEMI] = ACTIONS(4547),
    [anon_sym_esac] = ACTIONS(4545),
    [anon_sym_PIPE] = ACTIONS(4547),
    [anon_sym_RPAREN] = ACTIONS(4545),
    [anon_sym_SEMI_SEMI] = ACTIONS(4545),
    [anon_sym_PIPE_AMP] = ACTIONS(4545),
    [anon_sym_AMP_AMP] = ACTIONS(4545),
    [anon_sym_PIPE_PIPE] = ACTIONS(4545),
    [anon_sym_BQUOTE] = ACTIONS(4545),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4545),
    [anon_sym_AMP] = ACTIONS(4547),
  },
  [1652] = {
    [aux_sym_concatenation_repeat1] = STATE(1655),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(1088),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1653] = {
    [aux_sym_concatenation_repeat1] = STATE(1655),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1654] = {
    [ts_builtin_sym_end] = ACTIONS(1092),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1655] = {
    [aux_sym_concatenation_repeat1] = STATE(1996),
    [sym__concat] = ACTIONS(735),
    [ts_builtin_sym_end] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1656] = {
    [aux_sym_concatenation_repeat1] = STATE(1656),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(3295),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1657] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(1998),
    [sym_simple_expansion] = STATE(1998),
    [sym_string_expansion] = STATE(1998),
    [sym_expansion] = STATE(1998),
    [sym_command_substitution] = STATE(1998),
    [sym_process_substitution] = STATE(1998),
    [sym__special_characters] = ACTIONS(4549),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4551),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4551),
  },
  [1658] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_RPAREN] = ACTIONS(773),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1659] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1660] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_RPAREN] = ACTIONS(2015),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [1661] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_RPAREN] = ACTIONS(2019),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [1662] = {
    [sym_file_redirect] = STATE(1662),
    [sym_heredoc_redirect] = STATE(1662),
    [sym_herestring_redirect] = STATE(1662),
    [aux_sym_while_statement_repeat1] = STATE(1662),
    [sym_file_descriptor] = ACTIONS(4553),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_RPAREN] = ACTIONS(2027),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(4556),
    [anon_sym_GT] = ACTIONS(4556),
    [anon_sym_GT_GT] = ACTIONS(4559),
    [anon_sym_AMP_GT] = ACTIONS(4556),
    [anon_sym_AMP_GT_GT] = ACTIONS(4559),
    [anon_sym_LT_AMP] = ACTIONS(4559),
    [anon_sym_GT_AMP] = ACTIONS(4559),
    [anon_sym_LT_LT] = ACTIONS(3612),
    [anon_sym_LT_LT_DASH] = ACTIONS(3615),
    [anon_sym_LT_LT_LT] = ACTIONS(4562),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [1663] = {
    [sym_file_redirect] = STATE(1651),
    [sym_file_descriptor] = ACTIONS(2626),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_RPAREN] = ACTIONS(3720),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_LT] = ACTIONS(2628),
    [anon_sym_GT] = ACTIONS(2628),
    [anon_sym_GT_GT] = ACTIONS(2630),
    [anon_sym_AMP_GT] = ACTIONS(2628),
    [anon_sym_AMP_GT_GT] = ACTIONS(2630),
    [anon_sym_LT_AMP] = ACTIONS(2630),
    [anon_sym_GT_AMP] = ACTIONS(2630),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [1664] = {
    [sym_concatenation] = STATE(1654),
    [sym_string] = STATE(2001),
    [sym_simple_expansion] = STATE(2001),
    [sym_string_expansion] = STATE(2001),
    [sym_expansion] = STATE(2001),
    [sym_command_substitution] = STATE(2001),
    [sym_process_substitution] = STATE(2001),
    [sym__special_characters] = ACTIONS(4565),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(4567),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4567),
  },
  [1665] = {
    [aux_sym_concatenation_repeat1] = STATE(2002),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_RPAREN] = ACTIONS(773),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1666] = {
    [aux_sym_concatenation_repeat1] = STATE(2002),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_RPAREN] = ACTIONS(791),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1667] = {
    [aux_sym_concatenation_repeat1] = STATE(1667),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1668] = {
    [sym_file_descriptor] = ACTIONS(3265),
    [sym_variable_name] = ACTIONS(3265),
    [anon_sym_LT] = ACTIONS(3267),
    [anon_sym_GT] = ACTIONS(3267),
    [anon_sym_GT_GT] = ACTIONS(3265),
    [anon_sym_AMP_GT] = ACTIONS(3267),
    [anon_sym_AMP_GT_GT] = ACTIONS(3265),
    [anon_sym_LT_AMP] = ACTIONS(3265),
    [anon_sym_GT_AMP] = ACTIONS(3265),
    [sym__special_characters] = ACTIONS(3265),
    [anon_sym_DQUOTE] = ACTIONS(3265),
    [anon_sym_DOLLAR] = ACTIONS(3267),
    [sym_raw_string] = ACTIONS(3265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3265),
    [anon_sym_BQUOTE] = ACTIONS(3265),
    [anon_sym_LT_LPAREN] = ACTIONS(3265),
    [anon_sym_GT_LPAREN] = ACTIONS(3265),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3265),
  },
  [1669] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_RBRACK] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3934),
    [anon_sym_EQ_EQ] = ACTIONS(3934),
    [anon_sym_EQ] = ACTIONS(3936),
    [anon_sym_PLUS_EQ] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_BANG_EQ] = ACTIONS(3934),
    [anon_sym_PLUS] = ACTIONS(3936),
    [anon_sym_DASH] = ACTIONS(3936),
    [anon_sym_DASH_EQ] = ACTIONS(3934),
    [anon_sym_LT_EQ] = ACTIONS(3934),
    [anon_sym_GT_EQ] = ACTIONS(3934),
    [anon_sym_PLUS_PLUS] = ACTIONS(3934),
    [anon_sym_DASH_DASH] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3934),
  },
  [1670] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_RBRACK] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3942),
    [anon_sym_EQ_EQ] = ACTIONS(3942),
    [anon_sym_EQ] = ACTIONS(3944),
    [anon_sym_PLUS_EQ] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_BANG_EQ] = ACTIONS(3942),
    [anon_sym_PLUS] = ACTIONS(3944),
    [anon_sym_DASH] = ACTIONS(3944),
    [anon_sym_DASH_EQ] = ACTIONS(3942),
    [anon_sym_LT_EQ] = ACTIONS(3942),
    [anon_sym_GT_EQ] = ACTIONS(3942),
    [anon_sym_PLUS_PLUS] = ACTIONS(3942),
    [anon_sym_DASH_DASH] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3942),
  },
  [1671] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4569),
    [sym_comment] = ACTIONS(55),
  },
  [1672] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4571),
    [sym_comment] = ACTIONS(55),
  },
  [1673] = {
    [anon_sym_RBRACE] = ACTIONS(4571),
    [sym_comment] = ACTIONS(55),
  },
  [1674] = {
    [sym_concatenation] = STATE(2006),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2006),
    [anon_sym_RBRACE] = ACTIONS(4573),
    [anon_sym_EQ] = ACTIONS(4575),
    [anon_sym_DASH] = ACTIONS(4575),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4577),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4575),
    [anon_sym_COLON_QMARK] = ACTIONS(4575),
    [anon_sym_COLON_DASH] = ACTIONS(4575),
    [anon_sym_PERCENT] = ACTIONS(4575),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1675] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_RBRACK] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(3998),
    [anon_sym_EQ_EQ] = ACTIONS(3998),
    [anon_sym_EQ] = ACTIONS(4000),
    [anon_sym_PLUS_EQ] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_BANG_EQ] = ACTIONS(3998),
    [anon_sym_PLUS] = ACTIONS(4000),
    [anon_sym_DASH] = ACTIONS(4000),
    [anon_sym_DASH_EQ] = ACTIONS(3998),
    [anon_sym_LT_EQ] = ACTIONS(3998),
    [anon_sym_GT_EQ] = ACTIONS(3998),
    [anon_sym_PLUS_PLUS] = ACTIONS(3998),
    [anon_sym_DASH_DASH] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3998),
  },
  [1676] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4573),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1677] = {
    [sym_concatenation] = STATE(2007),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2007),
    [anon_sym_RBRACE] = ACTIONS(4571),
    [anon_sym_EQ] = ACTIONS(4579),
    [anon_sym_DASH] = ACTIONS(4579),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4581),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4579),
    [anon_sym_COLON_QMARK] = ACTIONS(4579),
    [anon_sym_COLON_DASH] = ACTIONS(4579),
    [anon_sym_PERCENT] = ACTIONS(4579),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1678] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4571),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1679] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_RBRACK] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4043),
    [anon_sym_EQ_EQ] = ACTIONS(4043),
    [anon_sym_EQ] = ACTIONS(4045),
    [anon_sym_PLUS_EQ] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_BANG_EQ] = ACTIONS(4043),
    [anon_sym_PLUS] = ACTIONS(4045),
    [anon_sym_DASH] = ACTIONS(4045),
    [anon_sym_DASH_EQ] = ACTIONS(4043),
    [anon_sym_LT_EQ] = ACTIONS(4043),
    [anon_sym_GT_EQ] = ACTIONS(4043),
    [anon_sym_PLUS_PLUS] = ACTIONS(4043),
    [anon_sym_DASH_DASH] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4043),
  },
  [1680] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4583),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1681] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_RBRACK] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4065),
    [anon_sym_EQ_EQ] = ACTIONS(4065),
    [anon_sym_EQ] = ACTIONS(4067),
    [anon_sym_PLUS_EQ] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_BANG_EQ] = ACTIONS(4065),
    [anon_sym_PLUS] = ACTIONS(4067),
    [anon_sym_DASH] = ACTIONS(4067),
    [anon_sym_DASH_EQ] = ACTIONS(4065),
    [anon_sym_LT_EQ] = ACTIONS(4065),
    [anon_sym_GT_EQ] = ACTIONS(4065),
    [anon_sym_PLUS_PLUS] = ACTIONS(4065),
    [anon_sym_DASH_DASH] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4065),
  },
  [1682] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_RBRACK] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4089),
    [anon_sym_EQ_EQ] = ACTIONS(4089),
    [anon_sym_EQ] = ACTIONS(4091),
    [anon_sym_PLUS_EQ] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_BANG_EQ] = ACTIONS(4089),
    [anon_sym_PLUS] = ACTIONS(4091),
    [anon_sym_DASH] = ACTIONS(4091),
    [anon_sym_DASH_EQ] = ACTIONS(4089),
    [anon_sym_LT_EQ] = ACTIONS(4089),
    [anon_sym_GT_EQ] = ACTIONS(4089),
    [anon_sym_PLUS_PLUS] = ACTIONS(4089),
    [anon_sym_DASH_DASH] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4089),
  },
  [1683] = {
    [sym_variable_name] = ACTIONS(3265),
    [ts_builtin_sym_end] = ACTIONS(3265),
    [anon_sym_SEMI] = ACTIONS(3267),
    [anon_sym_PIPE] = ACTIONS(3267),
    [anon_sym_RPAREN] = ACTIONS(3265),
    [anon_sym_SEMI_SEMI] = ACTIONS(3265),
    [anon_sym_PIPE_AMP] = ACTIONS(3265),
    [anon_sym_AMP_AMP] = ACTIONS(3265),
    [anon_sym_PIPE_PIPE] = ACTIONS(3265),
    [sym__special_characters] = ACTIONS(3265),
    [anon_sym_DQUOTE] = ACTIONS(3265),
    [anon_sym_DOLLAR] = ACTIONS(3267),
    [sym_raw_string] = ACTIONS(3265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3265),
    [anon_sym_BQUOTE] = ACTIONS(3265),
    [anon_sym_LT_LPAREN] = ACTIONS(3265),
    [anon_sym_GT_LPAREN] = ACTIONS(3265),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3267),
    [sym_word] = ACTIONS(3267),
    [anon_sym_LF] = ACTIONS(3265),
    [anon_sym_AMP] = ACTIONS(3267),
  },
  [1684] = {
    [sym__concat] = ACTIONS(3934),
    [sym_variable_name] = ACTIONS(3934),
    [ts_builtin_sym_end] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3936),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [1685] = {
    [sym__concat] = ACTIONS(3942),
    [sym_variable_name] = ACTIONS(3942),
    [ts_builtin_sym_end] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3944),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [1686] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4585),
    [sym_comment] = ACTIONS(55),
  },
  [1687] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4587),
    [sym_comment] = ACTIONS(55),
  },
  [1688] = {
    [anon_sym_RBRACE] = ACTIONS(4587),
    [sym_comment] = ACTIONS(55),
  },
  [1689] = {
    [sym_concatenation] = STATE(2012),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2012),
    [anon_sym_RBRACE] = ACTIONS(4589),
    [anon_sym_EQ] = ACTIONS(4591),
    [anon_sym_DASH] = ACTIONS(4591),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4593),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4591),
    [anon_sym_COLON_QMARK] = ACTIONS(4591),
    [anon_sym_COLON_DASH] = ACTIONS(4591),
    [anon_sym_PERCENT] = ACTIONS(4591),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1690] = {
    [sym__concat] = ACTIONS(3998),
    [sym_variable_name] = ACTIONS(3998),
    [ts_builtin_sym_end] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4000),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [1691] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4589),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1692] = {
    [sym_concatenation] = STATE(2013),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2013),
    [anon_sym_RBRACE] = ACTIONS(4587),
    [anon_sym_EQ] = ACTIONS(4595),
    [anon_sym_DASH] = ACTIONS(4595),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4597),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4595),
    [anon_sym_COLON_QMARK] = ACTIONS(4595),
    [anon_sym_COLON_DASH] = ACTIONS(4595),
    [anon_sym_PERCENT] = ACTIONS(4595),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1693] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4587),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1694] = {
    [sym__concat] = ACTIONS(4043),
    [sym_variable_name] = ACTIONS(4043),
    [ts_builtin_sym_end] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4045),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [1695] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4599),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1696] = {
    [sym__concat] = ACTIONS(4065),
    [sym_variable_name] = ACTIONS(4065),
    [ts_builtin_sym_end] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4067),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [1697] = {
    [sym__concat] = ACTIONS(4089),
    [sym_variable_name] = ACTIONS(4089),
    [ts_builtin_sym_end] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4091),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [1698] = {
    [sym__concat] = ACTIONS(3934),
    [ts_builtin_sym_end] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3936),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [1699] = {
    [sym__concat] = ACTIONS(3942),
    [ts_builtin_sym_end] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3944),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [1700] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4601),
    [sym_comment] = ACTIONS(55),
  },
  [1701] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4603),
    [sym_comment] = ACTIONS(55),
  },
  [1702] = {
    [anon_sym_RBRACE] = ACTIONS(4603),
    [sym_comment] = ACTIONS(55),
  },
  [1703] = {
    [sym_concatenation] = STATE(2018),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2018),
    [anon_sym_RBRACE] = ACTIONS(4605),
    [anon_sym_EQ] = ACTIONS(4607),
    [anon_sym_DASH] = ACTIONS(4607),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4609),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4607),
    [anon_sym_COLON_QMARK] = ACTIONS(4607),
    [anon_sym_COLON_DASH] = ACTIONS(4607),
    [anon_sym_PERCENT] = ACTIONS(4607),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1704] = {
    [sym__concat] = ACTIONS(3998),
    [ts_builtin_sym_end] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4000),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [1705] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4605),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1706] = {
    [sym_concatenation] = STATE(2019),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2019),
    [anon_sym_RBRACE] = ACTIONS(4603),
    [anon_sym_EQ] = ACTIONS(4611),
    [anon_sym_DASH] = ACTIONS(4611),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4613),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4611),
    [anon_sym_COLON_QMARK] = ACTIONS(4611),
    [anon_sym_COLON_DASH] = ACTIONS(4611),
    [anon_sym_PERCENT] = ACTIONS(4611),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1707] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4603),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1708] = {
    [sym__concat] = ACTIONS(4043),
    [ts_builtin_sym_end] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4045),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [1709] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4615),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1710] = {
    [sym__concat] = ACTIONS(4065),
    [ts_builtin_sym_end] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4067),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [1711] = {
    [sym__concat] = ACTIONS(4089),
    [ts_builtin_sym_end] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4091),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [1712] = {
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [sym_variable_name] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3934),
  },
  [1713] = {
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [sym_variable_name] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3942),
  },
  [1714] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4617),
    [sym_comment] = ACTIONS(55),
  },
  [1715] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4619),
    [sym_comment] = ACTIONS(55),
  },
  [1716] = {
    [anon_sym_RBRACE] = ACTIONS(4619),
    [sym_comment] = ACTIONS(55),
  },
  [1717] = {
    [sym_concatenation] = STATE(2024),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2024),
    [anon_sym_RBRACE] = ACTIONS(4621),
    [anon_sym_EQ] = ACTIONS(4623),
    [anon_sym_DASH] = ACTIONS(4623),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4625),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4623),
    [anon_sym_COLON_QMARK] = ACTIONS(4623),
    [anon_sym_COLON_DASH] = ACTIONS(4623),
    [anon_sym_PERCENT] = ACTIONS(4623),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1718] = {
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [sym_variable_name] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3998),
  },
  [1719] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4621),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1720] = {
    [sym_concatenation] = STATE(2025),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2025),
    [anon_sym_RBRACE] = ACTIONS(4619),
    [anon_sym_EQ] = ACTIONS(4627),
    [anon_sym_DASH] = ACTIONS(4627),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4629),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4627),
    [anon_sym_COLON_QMARK] = ACTIONS(4627),
    [anon_sym_COLON_DASH] = ACTIONS(4627),
    [anon_sym_PERCENT] = ACTIONS(4627),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1721] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4619),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1722] = {
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [sym_variable_name] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4043),
  },
  [1723] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4631),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1724] = {
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [sym_variable_name] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4065),
  },
  [1725] = {
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [sym_variable_name] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4089),
  },
  [1726] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3936),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym__string_content] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3936),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3936),
    [anon_sym_BQUOTE] = ACTIONS(3936),
    [sym_comment] = ACTIONS(281),
  },
  [1727] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3944),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym__string_content] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3944),
    [anon_sym_BQUOTE] = ACTIONS(3944),
    [sym_comment] = ACTIONS(281),
  },
  [1728] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4633),
    [sym_comment] = ACTIONS(55),
  },
  [1729] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4635),
    [sym_comment] = ACTIONS(55),
  },
  [1730] = {
    [anon_sym_RBRACE] = ACTIONS(4635),
    [sym_comment] = ACTIONS(55),
  },
  [1731] = {
    [sym_concatenation] = STATE(2030),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2030),
    [anon_sym_RBRACE] = ACTIONS(4637),
    [anon_sym_EQ] = ACTIONS(4639),
    [anon_sym_DASH] = ACTIONS(4639),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4641),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4639),
    [anon_sym_COLON_QMARK] = ACTIONS(4639),
    [anon_sym_COLON_DASH] = ACTIONS(4639),
    [anon_sym_PERCENT] = ACTIONS(4639),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1732] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(4000),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym__string_content] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4000),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4000),
    [anon_sym_BQUOTE] = ACTIONS(4000),
    [sym_comment] = ACTIONS(281),
  },
  [1733] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4637),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1734] = {
    [sym_concatenation] = STATE(2031),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2031),
    [anon_sym_RBRACE] = ACTIONS(4635),
    [anon_sym_EQ] = ACTIONS(4643),
    [anon_sym_DASH] = ACTIONS(4643),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4645),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4643),
    [anon_sym_COLON_QMARK] = ACTIONS(4643),
    [anon_sym_COLON_DASH] = ACTIONS(4643),
    [anon_sym_PERCENT] = ACTIONS(4643),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1735] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4635),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1736] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4045),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym__string_content] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4045),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4045),
    [anon_sym_BQUOTE] = ACTIONS(4045),
    [sym_comment] = ACTIONS(281),
  },
  [1737] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4647),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1738] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4067),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym__string_content] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4067),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4067),
    [anon_sym_BQUOTE] = ACTIONS(4067),
    [sym_comment] = ACTIONS(281),
  },
  [1739] = {
    [sym__concat] = ACTIONS(4649),
    [anon_sym_RBRACE] = ACTIONS(3211),
    [anon_sym_EQ] = ACTIONS(4651),
    [anon_sym_DASH] = ACTIONS(4651),
    [sym__special_characters] = ACTIONS(4651),
    [anon_sym_DQUOTE] = ACTIONS(3211),
    [anon_sym_DOLLAR] = ACTIONS(4651),
    [sym_raw_string] = ACTIONS(3211),
    [anon_sym_POUND] = ACTIONS(3211),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3211),
    [anon_sym_SLASH] = ACTIONS(3211),
    [anon_sym_COLON] = ACTIONS(4651),
    [anon_sym_COLON_QMARK] = ACTIONS(4651),
    [anon_sym_COLON_DASH] = ACTIONS(4651),
    [anon_sym_PERCENT] = ACTIONS(4651),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3211),
    [anon_sym_BQUOTE] = ACTIONS(3211),
    [anon_sym_LT_LPAREN] = ACTIONS(3211),
    [anon_sym_GT_LPAREN] = ACTIONS(3211),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4651),
  },
  [1740] = {
    [anon_sym_RBRACE] = ACTIONS(3211),
    [anon_sym_EQ] = ACTIONS(4651),
    [anon_sym_DASH] = ACTIONS(4651),
    [sym__special_characters] = ACTIONS(4651),
    [anon_sym_DQUOTE] = ACTIONS(3211),
    [anon_sym_DOLLAR] = ACTIONS(4651),
    [sym_raw_string] = ACTIONS(3211),
    [anon_sym_POUND] = ACTIONS(3211),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3211),
    [anon_sym_SLASH] = ACTIONS(3211),
    [anon_sym_COLON] = ACTIONS(4651),
    [anon_sym_COLON_QMARK] = ACTIONS(4651),
    [anon_sym_COLON_DASH] = ACTIONS(4651),
    [anon_sym_PERCENT] = ACTIONS(4651),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3211),
    [anon_sym_BQUOTE] = ACTIONS(3211),
    [anon_sym_LT_LPAREN] = ACTIONS(3211),
    [anon_sym_GT_LPAREN] = ACTIONS(3211),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4651),
  },
  [1741] = {
    [sym__concat] = ACTIONS(4653),
    [anon_sym_RBRACE] = ACTIONS(3215),
    [anon_sym_EQ] = ACTIONS(4655),
    [anon_sym_DASH] = ACTIONS(4655),
    [sym__special_characters] = ACTIONS(4655),
    [anon_sym_DQUOTE] = ACTIONS(3215),
    [anon_sym_DOLLAR] = ACTIONS(4655),
    [sym_raw_string] = ACTIONS(3215),
    [anon_sym_POUND] = ACTIONS(3215),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3215),
    [anon_sym_SLASH] = ACTIONS(3215),
    [anon_sym_COLON] = ACTIONS(4655),
    [anon_sym_COLON_QMARK] = ACTIONS(4655),
    [anon_sym_COLON_DASH] = ACTIONS(4655),
    [anon_sym_PERCENT] = ACTIONS(4655),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3215),
    [anon_sym_BQUOTE] = ACTIONS(3215),
    [anon_sym_LT_LPAREN] = ACTIONS(3215),
    [anon_sym_GT_LPAREN] = ACTIONS(3215),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4655),
  },
  [1742] = {
    [anon_sym_RBRACE] = ACTIONS(3215),
    [anon_sym_EQ] = ACTIONS(4655),
    [anon_sym_DASH] = ACTIONS(4655),
    [sym__special_characters] = ACTIONS(4655),
    [anon_sym_DQUOTE] = ACTIONS(3215),
    [anon_sym_DOLLAR] = ACTIONS(4655),
    [sym_raw_string] = ACTIONS(3215),
    [anon_sym_POUND] = ACTIONS(3215),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3215),
    [anon_sym_SLASH] = ACTIONS(3215),
    [anon_sym_COLON] = ACTIONS(4655),
    [anon_sym_COLON_QMARK] = ACTIONS(4655),
    [anon_sym_COLON_DASH] = ACTIONS(4655),
    [anon_sym_PERCENT] = ACTIONS(4655),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3215),
    [anon_sym_BQUOTE] = ACTIONS(3215),
    [anon_sym_LT_LPAREN] = ACTIONS(3215),
    [anon_sym_GT_LPAREN] = ACTIONS(3215),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4655),
  },
  [1743] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_RBRACE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
  },
  [1744] = {
    [aux_sym_concatenation_repeat1] = STATE(1744),
    [sym__concat] = ACTIONS(4657),
    [anon_sym_RBRACE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
  },
  [1745] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_RBRACE] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
  },
  [1746] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4660),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1747] = {
    [sym_concatenation] = STATE(2039),
    [sym_string] = STATE(2038),
    [sym_simple_expansion] = STATE(2038),
    [sym_string_expansion] = STATE(2038),
    [sym_expansion] = STATE(2038),
    [sym_command_substitution] = STATE(2038),
    [sym_process_substitution] = STATE(2038),
    [anon_sym_RBRACE] = ACTIONS(4662),
    [sym__special_characters] = ACTIONS(4664),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4666),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4666),
  },
  [1748] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4668),
    [sym_comment] = ACTIONS(55),
  },
  [1749] = {
    [sym_concatenation] = STATE(2043),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2043),
    [anon_sym_RBRACE] = ACTIONS(4670),
    [anon_sym_EQ] = ACTIONS(4672),
    [anon_sym_DASH] = ACTIONS(4672),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4674),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4676),
    [anon_sym_COLON] = ACTIONS(4672),
    [anon_sym_COLON_QMARK] = ACTIONS(4672),
    [anon_sym_COLON_DASH] = ACTIONS(4672),
    [anon_sym_PERCENT] = ACTIONS(4672),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1750] = {
    [sym_concatenation] = STATE(2045),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2045),
    [anon_sym_RBRACE] = ACTIONS(4662),
    [anon_sym_EQ] = ACTIONS(4678),
    [anon_sym_DASH] = ACTIONS(4678),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4680),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4682),
    [anon_sym_COLON] = ACTIONS(4678),
    [anon_sym_COLON_QMARK] = ACTIONS(4678),
    [anon_sym_COLON_DASH] = ACTIONS(4678),
    [anon_sym_PERCENT] = ACTIONS(4678),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1751] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_RBRACE] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
  },
  [1752] = {
    [sym_concatenation] = STATE(2048),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2048),
    [sym_regex] = ACTIONS(4684),
    [anon_sym_RBRACE] = ACTIONS(4686),
    [anon_sym_EQ] = ACTIONS(4688),
    [anon_sym_DASH] = ACTIONS(4688),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4690),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4688),
    [anon_sym_COLON_QMARK] = ACTIONS(4688),
    [anon_sym_COLON_DASH] = ACTIONS(4688),
    [anon_sym_PERCENT] = ACTIONS(4688),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1753] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4686),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1754] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_RBRACE] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
  },
  [1755] = {
    [sym_concatenation] = STATE(2045),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2045),
    [sym_regex] = ACTIONS(4692),
    [anon_sym_RBRACE] = ACTIONS(4662),
    [anon_sym_EQ] = ACTIONS(4678),
    [anon_sym_DASH] = ACTIONS(4678),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4680),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4678),
    [anon_sym_COLON_QMARK] = ACTIONS(4678),
    [anon_sym_COLON_DASH] = ACTIONS(4678),
    [anon_sym_PERCENT] = ACTIONS(4678),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1756] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4662),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1757] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4694),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1758] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_RBRACE] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
  },
  [1759] = {
    [anon_sym_SEMI] = ACTIONS(4696),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4694),
    [anon_sym_SEMI_SEMI] = ACTIONS(4698),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4698),
    [anon_sym_AMP] = ACTIONS(4696),
  },
  [1760] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4696),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4694),
    [anon_sym_SEMI_SEMI] = ACTIONS(4698),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4698),
    [anon_sym_AMP] = ACTIONS(4696),
  },
  [1761] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4694),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1762] = {
    [anon_sym_SEMI] = ACTIONS(4700),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4702),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4694),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4702),
    [anon_sym_AMP] = ACTIONS(4700),
  },
  [1763] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4700),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4702),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4694),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4702),
    [anon_sym_AMP] = ACTIONS(4700),
  },
  [1764] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4704),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1765] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_RBRACE] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
  },
  [1766] = {
    [anon_sym_SEMI] = ACTIONS(4706),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4704),
    [anon_sym_SEMI_SEMI] = ACTIONS(4708),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4708),
    [anon_sym_AMP] = ACTIONS(4706),
  },
  [1767] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4706),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4704),
    [anon_sym_SEMI_SEMI] = ACTIONS(4708),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4708),
    [anon_sym_AMP] = ACTIONS(4706),
  },
  [1768] = {
    [sym__simple_heredoc_body] = ACTIONS(4710),
    [sym__heredoc_body_beginning] = ACTIONS(4710),
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [ts_builtin_sym_end] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4712),
    [anon_sym_EQ_EQ] = ACTIONS(4712),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [anon_sym_LT_LT] = ACTIONS(4712),
    [anon_sym_LT_LT_DASH] = ACTIONS(4710),
    [anon_sym_LT_LT_LT] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [1769] = {
    [sym__simple_heredoc_body] = ACTIONS(4714),
    [sym__heredoc_body_beginning] = ACTIONS(4714),
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [ts_builtin_sym_end] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4716),
    [anon_sym_EQ_EQ] = ACTIONS(4716),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [anon_sym_LT_LT] = ACTIONS(4716),
    [anon_sym_LT_LT_DASH] = ACTIONS(4714),
    [anon_sym_LT_LT_LT] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [1770] = {
    [sym__simple_heredoc_body] = ACTIONS(4718),
    [sym__heredoc_body_beginning] = ACTIONS(4718),
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [ts_builtin_sym_end] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4720),
    [anon_sym_EQ_EQ] = ACTIONS(4720),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [anon_sym_LT_LT] = ACTIONS(4720),
    [anon_sym_LT_LT_DASH] = ACTIONS(4718),
    [anon_sym_LT_LT_LT] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [1771] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4722),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1772] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4724),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1773] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_RBRACE] = ACTIONS(2959),
    [anon_sym_EQ] = ACTIONS(2961),
    [anon_sym_DASH] = ACTIONS(2961),
    [sym__special_characters] = ACTIONS(2961),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_POUND] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_COLON] = ACTIONS(2961),
    [anon_sym_COLON_QMARK] = ACTIONS(2961),
    [anon_sym_COLON_DASH] = ACTIONS(2961),
    [anon_sym_PERCENT] = ACTIONS(2961),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(2961),
  },
  [1774] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_RBRACE] = ACTIONS(2973),
    [anon_sym_EQ] = ACTIONS(2975),
    [anon_sym_DASH] = ACTIONS(2975),
    [sym__special_characters] = ACTIONS(2975),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_POUND] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_COLON] = ACTIONS(2975),
    [anon_sym_COLON_QMARK] = ACTIONS(2975),
    [anon_sym_COLON_DASH] = ACTIONS(2975),
    [anon_sym_PERCENT] = ACTIONS(2975),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(2975),
  },
  [1775] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4726),
    [sym_comment] = ACTIONS(55),
  },
  [1776] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4728),
    [sym_comment] = ACTIONS(55),
  },
  [1777] = {
    [anon_sym_RBRACE] = ACTIONS(4728),
    [sym_comment] = ACTIONS(55),
  },
  [1778] = {
    [sym_concatenation] = STATE(2061),
    [sym_string] = STATE(2060),
    [sym_simple_expansion] = STATE(2060),
    [sym_string_expansion] = STATE(2060),
    [sym_expansion] = STATE(2060),
    [sym_command_substitution] = STATE(2060),
    [sym_process_substitution] = STATE(2060),
    [anon_sym_RBRACE] = ACTIONS(4728),
    [sym__special_characters] = ACTIONS(4730),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4732),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4732),
  },
  [1779] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_RBRACE] = ACTIONS(3009),
    [anon_sym_EQ] = ACTIONS(3011),
    [anon_sym_DASH] = ACTIONS(3011),
    [sym__special_characters] = ACTIONS(3011),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_POUND] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_COLON] = ACTIONS(3011),
    [anon_sym_COLON_QMARK] = ACTIONS(3011),
    [anon_sym_COLON_DASH] = ACTIONS(3011),
    [anon_sym_PERCENT] = ACTIONS(3011),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3011),
  },
  [1780] = {
    [sym_concatenation] = STATE(2064),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2064),
    [sym_regex] = ACTIONS(4734),
    [anon_sym_RBRACE] = ACTIONS(4736),
    [anon_sym_EQ] = ACTIONS(4738),
    [anon_sym_DASH] = ACTIONS(4738),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4740),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4738),
    [anon_sym_COLON_QMARK] = ACTIONS(4738),
    [anon_sym_COLON_DASH] = ACTIONS(4738),
    [anon_sym_PERCENT] = ACTIONS(4738),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1781] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4736),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1782] = {
    [sym_concatenation] = STATE(2066),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2066),
    [sym_regex] = ACTIONS(4742),
    [anon_sym_RBRACE] = ACTIONS(4728),
    [anon_sym_EQ] = ACTIONS(4744),
    [anon_sym_DASH] = ACTIONS(4744),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4746),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4744),
    [anon_sym_COLON_QMARK] = ACTIONS(4744),
    [anon_sym_COLON_DASH] = ACTIONS(4744),
    [anon_sym_PERCENT] = ACTIONS(4744),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1783] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4728),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1784] = {
    [sym_concatenation] = STATE(2068),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2068),
    [anon_sym_RBRACE] = ACTIONS(4748),
    [anon_sym_EQ] = ACTIONS(4750),
    [anon_sym_DASH] = ACTIONS(4750),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4752),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4750),
    [anon_sym_COLON_QMARK] = ACTIONS(4750),
    [anon_sym_COLON_DASH] = ACTIONS(4750),
    [anon_sym_PERCENT] = ACTIONS(4750),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1785] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_RBRACE] = ACTIONS(3065),
    [anon_sym_EQ] = ACTIONS(3067),
    [anon_sym_DASH] = ACTIONS(3067),
    [sym__special_characters] = ACTIONS(3067),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_POUND] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_COLON] = ACTIONS(3067),
    [anon_sym_COLON_QMARK] = ACTIONS(3067),
    [anon_sym_COLON_DASH] = ACTIONS(3067),
    [anon_sym_PERCENT] = ACTIONS(3067),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3067),
  },
  [1786] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4748),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1787] = {
    [sym_concatenation] = STATE(2066),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2066),
    [anon_sym_RBRACE] = ACTIONS(4728),
    [anon_sym_EQ] = ACTIONS(4744),
    [anon_sym_DASH] = ACTIONS(4744),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4746),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4744),
    [anon_sym_COLON_QMARK] = ACTIONS(4744),
    [anon_sym_COLON_DASH] = ACTIONS(4744),
    [anon_sym_PERCENT] = ACTIONS(4744),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1788] = {
    [sym__simple_heredoc_body] = ACTIONS(4754),
    [sym__heredoc_body_beginning] = ACTIONS(4754),
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [ts_builtin_sym_end] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4756),
    [anon_sym_EQ_EQ] = ACTIONS(4756),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [anon_sym_LT_LT] = ACTIONS(4756),
    [anon_sym_LT_LT_DASH] = ACTIONS(4754),
    [anon_sym_LT_LT_LT] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [1789] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_RBRACE] = ACTIONS(3120),
    [anon_sym_EQ] = ACTIONS(3122),
    [anon_sym_DASH] = ACTIONS(3122),
    [sym__special_characters] = ACTIONS(3122),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_POUND] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_COLON] = ACTIONS(3122),
    [anon_sym_COLON_QMARK] = ACTIONS(3122),
    [anon_sym_COLON_DASH] = ACTIONS(3122),
    [anon_sym_PERCENT] = ACTIONS(3122),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3122),
  },
  [1790] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4758),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1791] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4758),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1792] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RBRACE] = ACTIONS(3158),
    [anon_sym_EQ] = ACTIONS(3160),
    [anon_sym_DASH] = 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_DOLLAR_LPAREN] = ACTIONS(3158),
    [anon_sym_BQUOTE] = ACTIONS(3158),
    [anon_sym_LT_LPAREN] = ACTIONS(3158),
    [anon_sym_GT_LPAREN] = ACTIONS(3158),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3160),
  },
  [1793] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4760),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1794] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(2072),
    [sym_simple_expansion] = STATE(2072),
    [sym_string_expansion] = STATE(2072),
    [sym_expansion] = STATE(2072),
    [sym_command_substitution] = STATE(2072),
    [sym_process_substitution] = STATE(2072),
    [sym__special_characters] = ACTIONS(4762),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(4764),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4764),
  },
  [1795] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [anon_sym_BQUOTE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1796] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1797] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [anon_sym_BQUOTE] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [1798] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [anon_sym_BQUOTE] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [1799] = {
    [sym_file_redirect] = STATE(1799),
    [sym_heredoc_redirect] = STATE(1799),
    [sym_herestring_redirect] = STATE(1799),
    [aux_sym_while_statement_repeat1] = STATE(1799),
    [sym_file_descriptor] = ACTIONS(4766),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(4769),
    [anon_sym_GT] = ACTIONS(4769),
    [anon_sym_GT_GT] = ACTIONS(4772),
    [anon_sym_AMP_GT] = ACTIONS(4769),
    [anon_sym_AMP_GT_GT] = ACTIONS(4772),
    [anon_sym_LT_AMP] = ACTIONS(4772),
    [anon_sym_GT_AMP] = ACTIONS(4772),
    [anon_sym_LT_LT] = ACTIONS(3612),
    [anon_sym_LT_LT_DASH] = ACTIONS(3615),
    [anon_sym_LT_LT_LT] = ACTIONS(4775),
    [anon_sym_BQUOTE] = ACTIONS(2027),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [1800] = {
    [sym_file_redirect] = STATE(1651),
    [sym_file_descriptor] = ACTIONS(3136),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_LT] = ACTIONS(3138),
    [anon_sym_GT] = ACTIONS(3138),
    [anon_sym_GT_GT] = ACTIONS(3140),
    [anon_sym_AMP_GT] = ACTIONS(3138),
    [anon_sym_AMP_GT_GT] = ACTIONS(3140),
    [anon_sym_LT_AMP] = ACTIONS(3140),
    [anon_sym_GT_AMP] = ACTIONS(3140),
    [anon_sym_BQUOTE] = ACTIONS(3720),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [1801] = {
    [sym_concatenation] = STATE(1654),
    [sym_string] = STATE(2075),
    [sym_simple_expansion] = STATE(2075),
    [sym_string_expansion] = STATE(2075),
    [sym_expansion] = STATE(2075),
    [sym_command_substitution] = STATE(2075),
    [sym_process_substitution] = STATE(2075),
    [sym__special_characters] = ACTIONS(4778),
    [anon_sym_DQUOTE] = ACTIONS(229),
    [anon_sym_DOLLAR] = ACTIONS(231),
    [sym_raw_string] = ACTIONS(4780),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(235),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(237),
    [anon_sym_BQUOTE] = ACTIONS(239),
    [anon_sym_LT_LPAREN] = ACTIONS(241),
    [anon_sym_GT_LPAREN] = ACTIONS(241),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4780),
  },
  [1802] = {
    [aux_sym_concatenation_repeat1] = STATE(2076),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_BQUOTE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [1803] = {
    [aux_sym_concatenation_repeat1] = STATE(2076),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_BQUOTE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [1804] = {
    [aux_sym_concatenation_repeat1] = STATE(1804),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1767),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1805] = {
    [sym__heredoc_body_middle] = ACTIONS(2973),
    [sym__heredoc_body_end] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
  },
  [1806] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4782),
    [sym_comment] = ACTIONS(55),
  },
  [1807] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4784),
    [sym_comment] = ACTIONS(55),
  },
  [1808] = {
    [anon_sym_RBRACE] = ACTIONS(4784),
    [sym_comment] = ACTIONS(55),
  },
  [1809] = {
    [sym_concatenation] = STATE(2081),
    [sym_string] = STATE(2080),
    [sym_simple_expansion] = STATE(2080),
    [sym_string_expansion] = STATE(2080),
    [sym_expansion] = STATE(2080),
    [sym_command_substitution] = STATE(2080),
    [sym_process_substitution] = STATE(2080),
    [anon_sym_RBRACE] = ACTIONS(4784),
    [sym__special_characters] = ACTIONS(4786),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4788),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4788),
  },
  [1810] = {
    [sym__heredoc_body_middle] = ACTIONS(3009),
    [sym__heredoc_body_end] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
  },
  [1811] = {
    [sym_concatenation] = STATE(2084),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2084),
    [sym_regex] = ACTIONS(4790),
    [anon_sym_RBRACE] = ACTIONS(4792),
    [anon_sym_EQ] = ACTIONS(4794),
    [anon_sym_DASH] = ACTIONS(4794),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4796),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4794),
    [anon_sym_COLON_QMARK] = ACTIONS(4794),
    [anon_sym_COLON_DASH] = ACTIONS(4794),
    [anon_sym_PERCENT] = ACTIONS(4794),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1812] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4792),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1813] = {
    [sym_concatenation] = STATE(2086),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2086),
    [sym_regex] = ACTIONS(4798),
    [anon_sym_RBRACE] = ACTIONS(4784),
    [anon_sym_EQ] = ACTIONS(4800),
    [anon_sym_DASH] = ACTIONS(4800),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4802),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4800),
    [anon_sym_COLON_QMARK] = ACTIONS(4800),
    [anon_sym_COLON_DASH] = ACTIONS(4800),
    [anon_sym_PERCENT] = ACTIONS(4800),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1814] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4784),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1815] = {
    [sym_concatenation] = STATE(2088),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2088),
    [anon_sym_RBRACE] = ACTIONS(4804),
    [anon_sym_EQ] = ACTIONS(4806),
    [anon_sym_DASH] = ACTIONS(4806),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4808),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4806),
    [anon_sym_COLON_QMARK] = ACTIONS(4806),
    [anon_sym_COLON_DASH] = ACTIONS(4806),
    [anon_sym_PERCENT] = ACTIONS(4806),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1816] = {
    [sym__heredoc_body_middle] = ACTIONS(3065),
    [sym__heredoc_body_end] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
  },
  [1817] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4804),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1818] = {
    [sym_concatenation] = STATE(2086),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2086),
    [anon_sym_RBRACE] = ACTIONS(4784),
    [anon_sym_EQ] = ACTIONS(4800),
    [anon_sym_DASH] = ACTIONS(4800),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4802),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4800),
    [anon_sym_COLON_QMARK] = ACTIONS(4800),
    [anon_sym_COLON_DASH] = ACTIONS(4800),
    [anon_sym_PERCENT] = ACTIONS(4800),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1819] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2959),
  },
  [1820] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2973),
  },
  [1821] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4810),
    [sym_comment] = ACTIONS(55),
  },
  [1822] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4812),
    [sym_comment] = ACTIONS(55),
  },
  [1823] = {
    [anon_sym_RBRACE] = ACTIONS(4812),
    [sym_comment] = ACTIONS(55),
  },
  [1824] = {
    [sym_concatenation] = STATE(2093),
    [sym_string] = STATE(2092),
    [sym_simple_expansion] = STATE(2092),
    [sym_string_expansion] = STATE(2092),
    [sym_expansion] = STATE(2092),
    [sym_command_substitution] = STATE(2092),
    [sym_process_substitution] = STATE(2092),
    [anon_sym_RBRACE] = ACTIONS(4812),
    [sym__special_characters] = ACTIONS(4814),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4816),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4816),
  },
  [1825] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3009),
  },
  [1826] = {
    [sym_concatenation] = STATE(2096),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2096),
    [sym_regex] = ACTIONS(4818),
    [anon_sym_RBRACE] = ACTIONS(4820),
    [anon_sym_EQ] = ACTIONS(4822),
    [anon_sym_DASH] = ACTIONS(4822),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4824),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4822),
    [anon_sym_COLON_QMARK] = ACTIONS(4822),
    [anon_sym_COLON_DASH] = ACTIONS(4822),
    [anon_sym_PERCENT] = ACTIONS(4822),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1827] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4820),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1828] = {
    [sym_concatenation] = STATE(2098),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2098),
    [sym_regex] = ACTIONS(4826),
    [anon_sym_RBRACE] = ACTIONS(4812),
    [anon_sym_EQ] = ACTIONS(4828),
    [anon_sym_DASH] = ACTIONS(4828),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4830),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4828),
    [anon_sym_COLON_QMARK] = ACTIONS(4828),
    [anon_sym_COLON_DASH] = ACTIONS(4828),
    [anon_sym_PERCENT] = ACTIONS(4828),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1829] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4812),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1830] = {
    [sym_concatenation] = STATE(2100),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2100),
    [anon_sym_RBRACE] = ACTIONS(4832),
    [anon_sym_EQ] = ACTIONS(4834),
    [anon_sym_DASH] = ACTIONS(4834),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4836),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4834),
    [anon_sym_COLON_QMARK] = ACTIONS(4834),
    [anon_sym_COLON_DASH] = ACTIONS(4834),
    [anon_sym_PERCENT] = ACTIONS(4834),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1831] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3065),
  },
  [1832] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4832),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1833] = {
    [sym_concatenation] = STATE(2098),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2098),
    [anon_sym_RBRACE] = ACTIONS(4812),
    [anon_sym_EQ] = ACTIONS(4828),
    [anon_sym_DASH] = ACTIONS(4828),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4830),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4828),
    [anon_sym_COLON_QMARK] = ACTIONS(4828),
    [anon_sym_COLON_DASH] = ACTIONS(4828),
    [anon_sym_PERCENT] = ACTIONS(4828),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1834] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3120),
  },
  [1835] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4838),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1836] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4838),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1837] = {
    [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(55),
    [sym_word] = ACTIONS(3158),
  },
  [1838] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4840),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1839] = {
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [sym_variable_name] = ACTIONS(3934),
    [ts_builtin_sym_end] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [1840] = {
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [sym_variable_name] = ACTIONS(3942),
    [ts_builtin_sym_end] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [1841] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4842),
    [sym_comment] = ACTIONS(55),
  },
  [1842] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4844),
    [sym_comment] = ACTIONS(55),
  },
  [1843] = {
    [anon_sym_RBRACE] = ACTIONS(4844),
    [sym_comment] = ACTIONS(55),
  },
  [1844] = {
    [sym_concatenation] = STATE(2106),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2106),
    [anon_sym_RBRACE] = ACTIONS(4846),
    [anon_sym_EQ] = ACTIONS(4848),
    [anon_sym_DASH] = ACTIONS(4848),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4850),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4848),
    [anon_sym_COLON_QMARK] = ACTIONS(4848),
    [anon_sym_COLON_DASH] = ACTIONS(4848),
    [anon_sym_PERCENT] = ACTIONS(4848),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1845] = {
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [sym_variable_name] = ACTIONS(3998),
    [ts_builtin_sym_end] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [1846] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4846),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1847] = {
    [sym_concatenation] = STATE(2107),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2107),
    [anon_sym_RBRACE] = ACTIONS(4844),
    [anon_sym_EQ] = ACTIONS(4852),
    [anon_sym_DASH] = ACTIONS(4852),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4854),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4852),
    [anon_sym_COLON_QMARK] = ACTIONS(4852),
    [anon_sym_COLON_DASH] = ACTIONS(4852),
    [anon_sym_PERCENT] = ACTIONS(4852),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1848] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4844),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1849] = {
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [sym_variable_name] = ACTIONS(4043),
    [ts_builtin_sym_end] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [1850] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4856),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1851] = {
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [sym_variable_name] = ACTIONS(4065),
    [ts_builtin_sym_end] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [1852] = {
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [sym_variable_name] = ACTIONS(4089),
    [ts_builtin_sym_end] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [1853] = {
    [ts_builtin_sym_end] = ACTIONS(4858),
    [anon_sym_SEMI] = ACTIONS(4860),
    [anon_sym_esac] = ACTIONS(4858),
    [anon_sym_PIPE] = ACTIONS(4860),
    [anon_sym_RPAREN] = ACTIONS(4858),
    [anon_sym_SEMI_SEMI] = ACTIONS(4858),
    [anon_sym_PIPE_AMP] = ACTIONS(4858),
    [anon_sym_AMP_AMP] = ACTIONS(4858),
    [anon_sym_PIPE_PIPE] = ACTIONS(4858),
    [anon_sym_BQUOTE] = ACTIONS(4858),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4858),
    [anon_sym_AMP] = ACTIONS(4860),
  },
  [1854] = {
    [ts_builtin_sym_end] = ACTIONS(2594),
    [anon_sym_SEMI] = ACTIONS(2596),
    [anon_sym_esac] = ACTIONS(2594),
    [anon_sym_PIPE] = ACTIONS(2596),
    [anon_sym_RPAREN] = ACTIONS(2594),
    [anon_sym_SEMI_SEMI] = ACTIONS(2594),
    [anon_sym_PIPE_AMP] = ACTIONS(2594),
    [anon_sym_AMP_AMP] = ACTIONS(2594),
    [anon_sym_PIPE_PIPE] = ACTIONS(2594),
    [anon_sym_BQUOTE] = ACTIONS(2594),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2594),
    [anon_sym_AMP] = ACTIONS(2596),
  },
  [1855] = {
    [sym__terminated_statement] = STATE(1234),
    [sym_for_statement] = STATE(751),
    [sym_c_style_for_statement] = STATE(751),
    [sym_while_statement] = STATE(751),
    [sym_if_statement] = STATE(751),
    [sym_case_statement] = STATE(751),
    [sym_function_definition] = STATE(751),
    [sym_subshell] = STATE(751),
    [sym_pipeline] = STATE(751),
    [sym_list] = STATE(751),
    [sym_negated_command] = STATE(751),
    [sym_test_command] = STATE(751),
    [sym_declaration_command] = STATE(751),
    [sym_unset_command] = STATE(751),
    [sym_command] = STATE(751),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(752),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1234),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_RBRACE] = ACTIONS(4862),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1856] = {
    [sym_do_group] = STATE(2110),
    [sym_compound_statement] = STATE(2110),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [1857] = {
    [sym_do_group] = STATE(2110),
    [sym_compound_statement] = STATE(2110),
    [anon_sym_SEMI] = ACTIONS(4864),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [1858] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3934),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3934),
    [anon_sym_EQ_EQ] = ACTIONS(3934),
    [anon_sym_EQ] = ACTIONS(3936),
    [anon_sym_PLUS_EQ] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_BANG_EQ] = ACTIONS(3934),
    [anon_sym_PLUS] = ACTIONS(3936),
    [anon_sym_DASH] = ACTIONS(3936),
    [anon_sym_DASH_EQ] = ACTIONS(3934),
    [anon_sym_LT_EQ] = ACTIONS(3934),
    [anon_sym_GT_EQ] = ACTIONS(3934),
    [anon_sym_PLUS_PLUS] = ACTIONS(3934),
    [anon_sym_DASH_DASH] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3934),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [1859] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3942),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3942),
    [anon_sym_EQ_EQ] = ACTIONS(3942),
    [anon_sym_EQ] = ACTIONS(3944),
    [anon_sym_PLUS_EQ] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_BANG_EQ] = ACTIONS(3942),
    [anon_sym_PLUS] = ACTIONS(3944),
    [anon_sym_DASH] = ACTIONS(3944),
    [anon_sym_DASH_EQ] = ACTIONS(3942),
    [anon_sym_LT_EQ] = ACTIONS(3942),
    [anon_sym_GT_EQ] = ACTIONS(3942),
    [anon_sym_PLUS_PLUS] = ACTIONS(3942),
    [anon_sym_DASH_DASH] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3942),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [1860] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4866),
    [sym_comment] = ACTIONS(55),
  },
  [1861] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4868),
    [sym_comment] = ACTIONS(55),
  },
  [1862] = {
    [anon_sym_RBRACE] = ACTIONS(4868),
    [sym_comment] = ACTIONS(55),
  },
  [1863] = {
    [sym_concatenation] = STATE(2115),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2115),
    [anon_sym_RBRACE] = ACTIONS(4870),
    [anon_sym_EQ] = ACTIONS(4872),
    [anon_sym_DASH] = ACTIONS(4872),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4874),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4872),
    [anon_sym_COLON_QMARK] = ACTIONS(4872),
    [anon_sym_COLON_DASH] = ACTIONS(4872),
    [anon_sym_PERCENT] = ACTIONS(4872),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1864] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(3998),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(3998),
    [anon_sym_EQ_EQ] = ACTIONS(3998),
    [anon_sym_EQ] = ACTIONS(4000),
    [anon_sym_PLUS_EQ] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_BANG_EQ] = ACTIONS(3998),
    [anon_sym_PLUS] = ACTIONS(4000),
    [anon_sym_DASH] = ACTIONS(4000),
    [anon_sym_DASH_EQ] = ACTIONS(3998),
    [anon_sym_LT_EQ] = ACTIONS(3998),
    [anon_sym_GT_EQ] = ACTIONS(3998),
    [anon_sym_PLUS_PLUS] = ACTIONS(3998),
    [anon_sym_DASH_DASH] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3998),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [1865] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4870),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1866] = {
    [sym_concatenation] = STATE(2116),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2116),
    [anon_sym_RBRACE] = ACTIONS(4868),
    [anon_sym_EQ] = ACTIONS(4876),
    [anon_sym_DASH] = ACTIONS(4876),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4878),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4876),
    [anon_sym_COLON_QMARK] = ACTIONS(4876),
    [anon_sym_COLON_DASH] = ACTIONS(4876),
    [anon_sym_PERCENT] = ACTIONS(4876),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1867] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4868),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1868] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4043),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4043),
    [anon_sym_EQ_EQ] = ACTIONS(4043),
    [anon_sym_EQ] = ACTIONS(4045),
    [anon_sym_PLUS_EQ] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_BANG_EQ] = ACTIONS(4043),
    [anon_sym_PLUS] = ACTIONS(4045),
    [anon_sym_DASH] = ACTIONS(4045),
    [anon_sym_DASH_EQ] = ACTIONS(4043),
    [anon_sym_LT_EQ] = ACTIONS(4043),
    [anon_sym_GT_EQ] = ACTIONS(4043),
    [anon_sym_PLUS_PLUS] = ACTIONS(4043),
    [anon_sym_DASH_DASH] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4043),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [1869] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4880),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1870] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4065),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4065),
    [anon_sym_EQ_EQ] = ACTIONS(4065),
    [anon_sym_EQ] = ACTIONS(4067),
    [anon_sym_PLUS_EQ] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_BANG_EQ] = ACTIONS(4065),
    [anon_sym_PLUS] = ACTIONS(4067),
    [anon_sym_DASH] = ACTIONS(4067),
    [anon_sym_DASH_EQ] = ACTIONS(4065),
    [anon_sym_LT_EQ] = ACTIONS(4065),
    [anon_sym_GT_EQ] = ACTIONS(4065),
    [anon_sym_PLUS_PLUS] = ACTIONS(4065),
    [anon_sym_DASH_DASH] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4065),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [1871] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4089),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4089),
    [anon_sym_EQ_EQ] = ACTIONS(4089),
    [anon_sym_EQ] = ACTIONS(4091),
    [anon_sym_PLUS_EQ] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_BANG_EQ] = ACTIONS(4089),
    [anon_sym_PLUS] = ACTIONS(4091),
    [anon_sym_DASH] = ACTIONS(4091),
    [anon_sym_DASH_EQ] = ACTIONS(4089),
    [anon_sym_LT_EQ] = ACTIONS(4089),
    [anon_sym_GT_EQ] = ACTIONS(4089),
    [anon_sym_PLUS_PLUS] = ACTIONS(4089),
    [anon_sym_DASH_DASH] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4089),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [1872] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4882),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [1873] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2959),
  },
  [1874] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2973),
  },
  [1875] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4884),
    [sym_comment] = ACTIONS(55),
  },
  [1876] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4886),
    [sym_comment] = ACTIONS(55),
  },
  [1877] = {
    [anon_sym_RBRACE] = ACTIONS(4886),
    [sym_comment] = ACTIONS(55),
  },
  [1878] = {
    [sym_concatenation] = STATE(2123),
    [sym_string] = STATE(2122),
    [sym_simple_expansion] = STATE(2122),
    [sym_string_expansion] = STATE(2122),
    [sym_expansion] = STATE(2122),
    [sym_command_substitution] = STATE(2122),
    [sym_process_substitution] = STATE(2122),
    [anon_sym_RBRACE] = ACTIONS(4886),
    [sym__special_characters] = ACTIONS(4888),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4890),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4890),
  },
  [1879] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3009),
  },
  [1880] = {
    [sym_concatenation] = STATE(2126),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2126),
    [sym_regex] = ACTIONS(4892),
    [anon_sym_RBRACE] = ACTIONS(4894),
    [anon_sym_EQ] = ACTIONS(4896),
    [anon_sym_DASH] = ACTIONS(4896),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4898),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4896),
    [anon_sym_COLON_QMARK] = ACTIONS(4896),
    [anon_sym_COLON_DASH] = ACTIONS(4896),
    [anon_sym_PERCENT] = ACTIONS(4896),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1881] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4894),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1882] = {
    [sym_concatenation] = STATE(2128),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2128),
    [sym_regex] = ACTIONS(4900),
    [anon_sym_RBRACE] = ACTIONS(4886),
    [anon_sym_EQ] = ACTIONS(4902),
    [anon_sym_DASH] = ACTIONS(4902),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4904),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4902),
    [anon_sym_COLON_QMARK] = ACTIONS(4902),
    [anon_sym_COLON_DASH] = ACTIONS(4902),
    [anon_sym_PERCENT] = ACTIONS(4902),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1883] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4886),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1884] = {
    [sym_concatenation] = STATE(2130),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2130),
    [anon_sym_RBRACE] = ACTIONS(4906),
    [anon_sym_EQ] = ACTIONS(4908),
    [anon_sym_DASH] = ACTIONS(4908),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4908),
    [anon_sym_COLON_QMARK] = ACTIONS(4908),
    [anon_sym_COLON_DASH] = ACTIONS(4908),
    [anon_sym_PERCENT] = ACTIONS(4908),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1885] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3065),
  },
  [1886] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4906),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1887] = {
    [sym_concatenation] = STATE(2128),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2128),
    [anon_sym_RBRACE] = ACTIONS(4886),
    [anon_sym_EQ] = ACTIONS(4902),
    [anon_sym_DASH] = ACTIONS(4902),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4904),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4902),
    [anon_sym_COLON_QMARK] = ACTIONS(4902),
    [anon_sym_COLON_DASH] = ACTIONS(4902),
    [anon_sym_PERCENT] = ACTIONS(4902),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1888] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3120),
  },
  [1889] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4912),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1890] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4912),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1891] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3158),
  },
  [1892] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4914),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1893] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3934),
    [anon_sym_EQ_EQ] = ACTIONS(3934),
    [anon_sym_EQ] = ACTIONS(3936),
    [anon_sym_PLUS_EQ] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_BANG_EQ] = ACTIONS(3934),
    [anon_sym_PLUS] = ACTIONS(3936),
    [anon_sym_DASH] = ACTIONS(3936),
    [anon_sym_DASH_EQ] = ACTIONS(3934),
    [anon_sym_LT_EQ] = ACTIONS(3934),
    [anon_sym_GT_EQ] = ACTIONS(3934),
    [anon_sym_PLUS_PLUS] = ACTIONS(3934),
    [anon_sym_DASH_DASH] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3934),
  },
  [1894] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3942),
    [anon_sym_EQ_EQ] = ACTIONS(3942),
    [anon_sym_EQ] = ACTIONS(3944),
    [anon_sym_PLUS_EQ] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_BANG_EQ] = ACTIONS(3942),
    [anon_sym_PLUS] = ACTIONS(3944),
    [anon_sym_DASH] = ACTIONS(3944),
    [anon_sym_DASH_EQ] = ACTIONS(3942),
    [anon_sym_LT_EQ] = ACTIONS(3942),
    [anon_sym_GT_EQ] = ACTIONS(3942),
    [anon_sym_PLUS_PLUS] = ACTIONS(3942),
    [anon_sym_DASH_DASH] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3942),
  },
  [1895] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4916),
    [sym_comment] = ACTIONS(55),
  },
  [1896] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(4918),
    [sym_comment] = ACTIONS(55),
  },
  [1897] = {
    [anon_sym_RBRACE] = ACTIONS(4918),
    [sym_comment] = ACTIONS(55),
  },
  [1898] = {
    [sym_concatenation] = STATE(2136),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2136),
    [anon_sym_RBRACE] = ACTIONS(4920),
    [anon_sym_EQ] = ACTIONS(4922),
    [anon_sym_DASH] = ACTIONS(4922),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4924),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4922),
    [anon_sym_COLON_QMARK] = ACTIONS(4922),
    [anon_sym_COLON_DASH] = ACTIONS(4922),
    [anon_sym_PERCENT] = ACTIONS(4922),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1899] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(3998),
    [anon_sym_EQ_EQ] = ACTIONS(3998),
    [anon_sym_EQ] = ACTIONS(4000),
    [anon_sym_PLUS_EQ] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_BANG_EQ] = ACTIONS(3998),
    [anon_sym_PLUS] = ACTIONS(4000),
    [anon_sym_DASH] = ACTIONS(4000),
    [anon_sym_DASH_EQ] = ACTIONS(3998),
    [anon_sym_LT_EQ] = ACTIONS(3998),
    [anon_sym_GT_EQ] = ACTIONS(3998),
    [anon_sym_PLUS_PLUS] = ACTIONS(3998),
    [anon_sym_DASH_DASH] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(3998),
  },
  [1900] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4920),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1901] = {
    [sym_concatenation] = STATE(2137),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2137),
    [anon_sym_RBRACE] = ACTIONS(4918),
    [anon_sym_EQ] = ACTIONS(4926),
    [anon_sym_DASH] = ACTIONS(4926),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4928),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4926),
    [anon_sym_COLON_QMARK] = ACTIONS(4926),
    [anon_sym_COLON_DASH] = ACTIONS(4926),
    [anon_sym_PERCENT] = ACTIONS(4926),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1902] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4918),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1903] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4043),
    [anon_sym_EQ_EQ] = ACTIONS(4043),
    [anon_sym_EQ] = ACTIONS(4045),
    [anon_sym_PLUS_EQ] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_BANG_EQ] = ACTIONS(4043),
    [anon_sym_PLUS] = ACTIONS(4045),
    [anon_sym_DASH] = ACTIONS(4045),
    [anon_sym_DASH_EQ] = ACTIONS(4043),
    [anon_sym_LT_EQ] = ACTIONS(4043),
    [anon_sym_GT_EQ] = ACTIONS(4043),
    [anon_sym_PLUS_PLUS] = ACTIONS(4043),
    [anon_sym_DASH_DASH] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4043),
  },
  [1904] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4930),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1905] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4065),
    [anon_sym_EQ_EQ] = ACTIONS(4065),
    [anon_sym_EQ] = ACTIONS(4067),
    [anon_sym_PLUS_EQ] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_BANG_EQ] = ACTIONS(4065),
    [anon_sym_PLUS] = ACTIONS(4067),
    [anon_sym_DASH] = ACTIONS(4067),
    [anon_sym_DASH_EQ] = ACTIONS(4065),
    [anon_sym_LT_EQ] = ACTIONS(4065),
    [anon_sym_GT_EQ] = ACTIONS(4065),
    [anon_sym_PLUS_PLUS] = ACTIONS(4065),
    [anon_sym_DASH_DASH] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4065),
  },
  [1906] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4089),
    [anon_sym_EQ_EQ] = ACTIONS(4089),
    [anon_sym_EQ] = ACTIONS(4091),
    [anon_sym_PLUS_EQ] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_BANG_EQ] = ACTIONS(4089),
    [anon_sym_PLUS] = ACTIONS(4091),
    [anon_sym_DASH] = ACTIONS(4091),
    [anon_sym_DASH_EQ] = ACTIONS(4089),
    [anon_sym_LT_EQ] = ACTIONS(4089),
    [anon_sym_GT_EQ] = ACTIONS(4089),
    [anon_sym_PLUS_PLUS] = ACTIONS(4089),
    [anon_sym_DASH_DASH] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4089),
  },
  [1907] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4710),
    [anon_sym_EQ_EQ] = ACTIONS(4710),
    [anon_sym_EQ] = ACTIONS(4712),
    [anon_sym_PLUS_EQ] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_BANG_EQ] = ACTIONS(4710),
    [anon_sym_PLUS] = ACTIONS(4712),
    [anon_sym_DASH] = ACTIONS(4712),
    [anon_sym_DASH_EQ] = ACTIONS(4710),
    [anon_sym_LT_EQ] = ACTIONS(4710),
    [anon_sym_GT_EQ] = ACTIONS(4710),
    [anon_sym_PLUS_PLUS] = ACTIONS(4710),
    [anon_sym_DASH_DASH] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4710),
  },
  [1908] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4714),
    [anon_sym_EQ_EQ] = ACTIONS(4714),
    [anon_sym_EQ] = ACTIONS(4716),
    [anon_sym_PLUS_EQ] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_BANG_EQ] = ACTIONS(4714),
    [anon_sym_PLUS] = ACTIONS(4716),
    [anon_sym_DASH] = ACTIONS(4716),
    [anon_sym_DASH_EQ] = ACTIONS(4714),
    [anon_sym_LT_EQ] = ACTIONS(4714),
    [anon_sym_GT_EQ] = ACTIONS(4714),
    [anon_sym_PLUS_PLUS] = ACTIONS(4714),
    [anon_sym_DASH_DASH] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4714),
  },
  [1909] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4718),
    [anon_sym_EQ_EQ] = ACTIONS(4718),
    [anon_sym_EQ] = ACTIONS(4720),
    [anon_sym_PLUS_EQ] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_BANG_EQ] = ACTIONS(4718),
    [anon_sym_PLUS] = ACTIONS(4720),
    [anon_sym_DASH] = ACTIONS(4720),
    [anon_sym_DASH_EQ] = ACTIONS(4718),
    [anon_sym_LT_EQ] = ACTIONS(4718),
    [anon_sym_GT_EQ] = ACTIONS(4718),
    [anon_sym_PLUS_PLUS] = ACTIONS(4718),
    [anon_sym_DASH_DASH] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4718),
  },
  [1910] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4932),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1911] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4934),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1912] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4754),
    [anon_sym_EQ_EQ] = ACTIONS(4754),
    [anon_sym_EQ] = ACTIONS(4756),
    [anon_sym_PLUS_EQ] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_BANG_EQ] = ACTIONS(4754),
    [anon_sym_PLUS] = ACTIONS(4756),
    [anon_sym_DASH] = ACTIONS(4756),
    [anon_sym_DASH_EQ] = ACTIONS(4754),
    [anon_sym_LT_EQ] = ACTIONS(4754),
    [anon_sym_GT_EQ] = ACTIONS(4754),
    [anon_sym_PLUS_PLUS] = ACTIONS(4754),
    [anon_sym_DASH_DASH] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4754),
  },
  [1913] = {
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1914] = {
    [aux_sym_concatenation_repeat1] = STATE(1914),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(4936),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1915] = {
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [ts_builtin_sym_end] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1770),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_RPAREN] = ACTIONS(1770),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [anon_sym_LT_LT] = ACTIONS(1772),
    [anon_sym_LT_LT_DASH] = ACTIONS(1770),
    [anon_sym_LT_LT_LT] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [1916] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(4939),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [1917] = {
    [sym_concatenation] = STATE(2145),
    [sym_string] = STATE(2144),
    [sym_simple_expansion] = STATE(2144),
    [sym_string_expansion] = STATE(2144),
    [sym_expansion] = STATE(2144),
    [sym_command_substitution] = STATE(2144),
    [sym_process_substitution] = STATE(2144),
    [anon_sym_RBRACE] = ACTIONS(4941),
    [sym__special_characters] = ACTIONS(4943),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(4945),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4945),
  },
  [1918] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(4947),
    [sym_comment] = ACTIONS(55),
  },
  [1919] = {
    [sym_concatenation] = STATE(2149),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2149),
    [anon_sym_RBRACE] = ACTIONS(4949),
    [anon_sym_EQ] = ACTIONS(4951),
    [anon_sym_DASH] = ACTIONS(4951),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4953),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4955),
    [anon_sym_COLON] = ACTIONS(4951),
    [anon_sym_COLON_QMARK] = ACTIONS(4951),
    [anon_sym_COLON_DASH] = ACTIONS(4951),
    [anon_sym_PERCENT] = ACTIONS(4951),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1920] = {
    [sym_concatenation] = STATE(2151),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2151),
    [anon_sym_RBRACE] = ACTIONS(4941),
    [anon_sym_EQ] = ACTIONS(4957),
    [anon_sym_DASH] = ACTIONS(4957),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(4961),
    [anon_sym_COLON] = ACTIONS(4957),
    [anon_sym_COLON_QMARK] = ACTIONS(4957),
    [anon_sym_COLON_DASH] = ACTIONS(4957),
    [anon_sym_PERCENT] = ACTIONS(4957),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1921] = {
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [ts_builtin_sym_end] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1871),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_RPAREN] = ACTIONS(1871),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [anon_sym_LT_LT] = ACTIONS(1873),
    [anon_sym_LT_LT_DASH] = ACTIONS(1871),
    [anon_sym_LT_LT_LT] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [1922] = {
    [sym_concatenation] = STATE(2154),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2154),
    [sym_regex] = ACTIONS(4963),
    [anon_sym_RBRACE] = ACTIONS(4965),
    [anon_sym_EQ] = ACTIONS(4967),
    [anon_sym_DASH] = ACTIONS(4967),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4969),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4967),
    [anon_sym_COLON_QMARK] = ACTIONS(4967),
    [anon_sym_COLON_DASH] = ACTIONS(4967),
    [anon_sym_PERCENT] = ACTIONS(4967),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1923] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4965),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1924] = {
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [ts_builtin_sym_end] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1919),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_RPAREN] = ACTIONS(1919),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [anon_sym_LT_LT] = ACTIONS(1921),
    [anon_sym_LT_LT_DASH] = ACTIONS(1919),
    [anon_sym_LT_LT_LT] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [1925] = {
    [sym_concatenation] = STATE(2151),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2151),
    [sym_regex] = ACTIONS(4971),
    [anon_sym_RBRACE] = ACTIONS(4941),
    [anon_sym_EQ] = ACTIONS(4957),
    [anon_sym_DASH] = ACTIONS(4957),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(4959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(4957),
    [anon_sym_COLON_QMARK] = ACTIONS(4957),
    [anon_sym_COLON_DASH] = ACTIONS(4957),
    [anon_sym_PERCENT] = ACTIONS(4957),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1926] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(4941),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1927] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4973),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1928] = {
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [ts_builtin_sym_end] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1927),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_RPAREN] = ACTIONS(1927),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [anon_sym_LT_LT] = ACTIONS(1929),
    [anon_sym_LT_LT_DASH] = ACTIONS(1927),
    [anon_sym_LT_LT_LT] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [1929] = {
    [anon_sym_SEMI] = ACTIONS(4975),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4973),
    [anon_sym_SEMI_SEMI] = ACTIONS(4977),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4977),
    [anon_sym_AMP] = ACTIONS(4975),
  },
  [1930] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4975),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4973),
    [anon_sym_SEMI_SEMI] = ACTIONS(4977),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4977),
    [anon_sym_AMP] = ACTIONS(4975),
  },
  [1931] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(4973),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1932] = {
    [anon_sym_SEMI] = ACTIONS(4979),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4981),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(4973),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4981),
    [anon_sym_AMP] = ACTIONS(4979),
  },
  [1933] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4979),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(4981),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(4973),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4981),
    [anon_sym_AMP] = ACTIONS(4979),
  },
  [1934] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(4983),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [1935] = {
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [ts_builtin_sym_end] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1959),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_RPAREN] = ACTIONS(1959),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [anon_sym_LT_LT] = ACTIONS(1961),
    [anon_sym_LT_LT_DASH] = ACTIONS(1959),
    [anon_sym_LT_LT_LT] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [1936] = {
    [anon_sym_SEMI] = ACTIONS(4985),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4983),
    [anon_sym_SEMI_SEMI] = ACTIONS(4987),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4987),
    [anon_sym_AMP] = ACTIONS(4985),
  },
  [1937] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(4985),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(4983),
    [anon_sym_SEMI_SEMI] = ACTIONS(4987),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(4987),
    [anon_sym_AMP] = ACTIONS(4985),
  },
  [1938] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1939] = {
    [aux_sym_concatenation_repeat1] = STATE(1940),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1940] = {
    [aux_sym_concatenation_repeat1] = STATE(2161),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1941] = {
    [aux_sym_concatenation_repeat1] = STATE(1943),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1942] = {
    [aux_sym_concatenation_repeat1] = STATE(1943),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1943] = {
    [aux_sym_concatenation_repeat1] = STATE(2162),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [1944] = {
    [sym__terminated_statement] = STATE(1197),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(1197),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_fi] = ACTIONS(4989),
    [anon_sym_elif] = ACTIONS(4989),
    [anon_sym_else] = ACTIONS(4989),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1945] = {
    [ts_builtin_sym_end] = ACTIONS(4991),
    [anon_sym_SEMI] = ACTIONS(4993),
    [anon_sym_esac] = ACTIONS(4991),
    [anon_sym_PIPE] = ACTIONS(4993),
    [anon_sym_RPAREN] = ACTIONS(4991),
    [anon_sym_SEMI_SEMI] = ACTIONS(4991),
    [anon_sym_PIPE_AMP] = ACTIONS(4991),
    [anon_sym_AMP_AMP] = ACTIONS(4991),
    [anon_sym_PIPE_PIPE] = ACTIONS(4991),
    [anon_sym_BQUOTE] = ACTIONS(4991),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4991),
    [anon_sym_AMP] = ACTIONS(4993),
  },
  [1946] = {
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(4995),
    [anon_sym_RPAREN] = ACTIONS(4995),
    [sym_comment] = ACTIONS(55),
  },
  [1947] = {
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(4997),
    [anon_sym_RPAREN] = ACTIONS(4997),
    [sym_comment] = ACTIONS(55),
  },
  [1948] = {
    [anon_sym_PIPE] = ACTIONS(4997),
    [anon_sym_RPAREN] = ACTIONS(4997),
    [sym_comment] = ACTIONS(55),
  },
  [1949] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(4999),
    [anon_sym_PLUS_EQ] = ACTIONS(4999),
    [sym_comment] = ACTIONS(55),
  },
  [1950] = {
    [sym__expression] = STATE(2164),
    [sym_binary_expression] = STATE(2164),
    [sym_unary_expression] = STATE(2164),
    [sym_postfix_expression] = STATE(2164),
    [sym_parenthesized_expression] = STATE(2164),
    [sym_concatenation] = STATE(2164),
    [sym_string] = STATE(44),
    [sym_simple_expansion] = STATE(44),
    [sym_string_expansion] = STATE(44),
    [sym_expansion] = STATE(44),
    [sym_command_substitution] = STATE(44),
    [sym_process_substitution] = STATE(44),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(73),
    [sym__special_characters] = ACTIONS(75),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(81),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(91),
    [sym_test_operator] = ACTIONS(93),
  },
  [1951] = {
    [sym__terminated_statement] = STATE(2165),
    [sym_for_statement] = STATE(63),
    [sym_c_style_for_statement] = STATE(63),
    [sym_while_statement] = STATE(63),
    [sym_if_statement] = STATE(63),
    [sym_case_statement] = STATE(63),
    [sym_function_definition] = STATE(63),
    [sym_subshell] = STATE(63),
    [sym_pipeline] = STATE(63),
    [sym_list] = STATE(63),
    [sym_negated_command] = STATE(63),
    [sym_test_command] = STATE(63),
    [sym_declaration_command] = STATE(63),
    [sym_unset_command] = STATE(63),
    [sym_command] = STATE(63),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(65),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [1952] = {
    [anon_sym_esac] = ACTIONS(5001),
    [sym__special_characters] = ACTIONS(5003),
    [anon_sym_DQUOTE] = ACTIONS(5003),
    [anon_sym_DOLLAR] = ACTIONS(5005),
    [sym_raw_string] = ACTIONS(5003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5003),
    [anon_sym_BQUOTE] = ACTIONS(5003),
    [anon_sym_LT_LPAREN] = ACTIONS(5003),
    [anon_sym_GT_LPAREN] = ACTIONS(5003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5005),
  },
  [1953] = {
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5007),
  },
  [1954] = {
    [sym_subshell] = STATE(98),
    [sym_test_command] = STATE(98),
    [sym_command] = STATE(98),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(1974),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4473),
  },
  [1955] = {
    [sym__expression] = STATE(2167),
    [sym_binary_expression] = STATE(2167),
    [sym_unary_expression] = STATE(2167),
    [sym_postfix_expression] = STATE(2167),
    [sym_parenthesized_expression] = STATE(2167),
    [sym_concatenation] = STATE(2167),
    [sym_string] = STATE(105),
    [sym_simple_expansion] = STATE(105),
    [sym_string_expansion] = STATE(105),
    [sym_expansion] = STATE(105),
    [sym_command_substitution] = STATE(105),
    [sym_process_substitution] = STATE(105),
    [anon_sym_LPAREN] = ACTIONS(163),
    [anon_sym_BANG] = ACTIONS(165),
    [sym__special_characters] = ACTIONS(167),
    [anon_sym_DQUOTE] = ACTIONS(169),
    [anon_sym_DOLLAR] = ACTIONS(171),
    [sym_raw_string] = ACTIONS(173),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(175),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(177),
    [anon_sym_BQUOTE] = ACTIONS(179),
    [anon_sym_LT_LPAREN] = ACTIONS(181),
    [anon_sym_GT_LPAREN] = ACTIONS(181),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(183),
    [sym_test_operator] = ACTIONS(185),
  },
  [1956] = {
    [sym__expression] = STATE(2168),
    [sym_binary_expression] = STATE(2168),
    [sym_unary_expression] = STATE(2168),
    [sym_postfix_expression] = STATE(2168),
    [sym_parenthesized_expression] = STATE(2168),
    [sym_concatenation] = STATE(2168),
    [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),
    [anon_sym_LPAREN] = ACTIONS(71),
    [anon_sym_BANG] = ACTIONS(187),
    [sym__special_characters] = ACTIONS(189),
    [anon_sym_DQUOTE] = ACTIONS(77),
    [anon_sym_DOLLAR] = ACTIONS(79),
    [sym_raw_string] = ACTIONS(191),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(83),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(85),
    [anon_sym_BQUOTE] = ACTIONS(87),
    [anon_sym_LT_LPAREN] = ACTIONS(89),
    [anon_sym_GT_LPAREN] = ACTIONS(89),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(193),
    [sym_test_operator] = ACTIONS(195),
  },
  [1957] = {
    [sym_variable_assignment] = STATE(2179),
    [sym_subscript] = STATE(2178),
    [sym_concatenation] = STATE(2179),
    [sym_string] = STATE(2173),
    [sym_simple_expansion] = STATE(2173),
    [sym_string_expansion] = STATE(2173),
    [sym_expansion] = STATE(2173),
    [sym_command_substitution] = STATE(2173),
    [sym_process_substitution] = STATE(2173),
    [aux_sym_declaration_command_repeat1] = STATE(2179),
    [sym_variable_name] = ACTIONS(5009),
    [anon_sym_SEMI] = ACTIONS(201),
    [anon_sym_esac] = ACTIONS(201),
    [anon_sym_PIPE] = ACTIONS(201),
    [anon_sym_SEMI_SEMI] = ACTIONS(199),
    [anon_sym_PIPE_AMP] = ACTIONS(199),
    [anon_sym_AMP_AMP] = ACTIONS(199),
    [anon_sym_PIPE_PIPE] = ACTIONS(199),
    [sym__special_characters] = ACTIONS(5011),
    [anon_sym_DQUOTE] = ACTIONS(5013),
    [anon_sym_DOLLAR] = ACTIONS(5015),
    [sym_raw_string] = ACTIONS(5017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5019),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5021),
    [anon_sym_BQUOTE] = ACTIONS(5023),
    [anon_sym_LT_LPAREN] = ACTIONS(5025),
    [anon_sym_GT_LPAREN] = ACTIONS(5025),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5027),
    [sym_word] = ACTIONS(5029),
    [anon_sym_LF] = ACTIONS(199),
    [anon_sym_AMP] = ACTIONS(201),
  },
  [1958] = {
    [sym_concatenation] = STATE(2188),
    [sym_string] = STATE(2183),
    [sym_simple_expansion] = STATE(2183),
    [sym_string_expansion] = STATE(2183),
    [sym_expansion] = STATE(2183),
    [sym_command_substitution] = STATE(2183),
    [sym_process_substitution] = STATE(2183),
    [aux_sym_unset_command_repeat1] = STATE(2188),
    [anon_sym_SEMI] = ACTIONS(225),
    [anon_sym_esac] = ACTIONS(225),
    [anon_sym_PIPE] = ACTIONS(225),
    [anon_sym_SEMI_SEMI] = ACTIONS(223),
    [anon_sym_PIPE_AMP] = ACTIONS(223),
    [anon_sym_AMP_AMP] = ACTIONS(223),
    [anon_sym_PIPE_PIPE] = ACTIONS(223),
    [sym__special_characters] = ACTIONS(5031),
    [anon_sym_DQUOTE] = ACTIONS(5033),
    [anon_sym_DOLLAR] = ACTIONS(5035),
    [sym_raw_string] = ACTIONS(5037),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5039),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5041),
    [anon_sym_BQUOTE] = ACTIONS(5043),
    [anon_sym_LT_LPAREN] = ACTIONS(5045),
    [anon_sym_GT_LPAREN] = ACTIONS(5045),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5047),
    [sym_word] = ACTIONS(5049),
    [anon_sym_LF] = ACTIONS(223),
    [anon_sym_AMP] = ACTIONS(225),
  },
  [1959] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(263),
    [sym__heredoc_body_beginning] = ACTIONS(263),
    [sym_file_descriptor] = ACTIONS(263),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(267),
    [anon_sym_esac] = ACTIONS(267),
    [anon_sym_PIPE] = ACTIONS(267),
    [anon_sym_SEMI_SEMI] = ACTIONS(263),
    [anon_sym_PIPE_AMP] = ACTIONS(263),
    [anon_sym_AMP_AMP] = ACTIONS(263),
    [anon_sym_PIPE_PIPE] = ACTIONS(263),
    [anon_sym_EQ_TILDE] = ACTIONS(267),
    [anon_sym_EQ_EQ] = ACTIONS(267),
    [anon_sym_LT] = ACTIONS(267),
    [anon_sym_GT] = ACTIONS(267),
    [anon_sym_GT_GT] = ACTIONS(263),
    [anon_sym_AMP_GT] = ACTIONS(267),
    [anon_sym_AMP_GT_GT] = ACTIONS(263),
    [anon_sym_LT_AMP] = ACTIONS(263),
    [anon_sym_GT_AMP] = ACTIONS(263),
    [anon_sym_LT_LT] = ACTIONS(267),
    [anon_sym_LT_LT_DASH] = ACTIONS(263),
    [anon_sym_LT_LT_LT] = ACTIONS(263),
    [sym__special_characters] = ACTIONS(263),
    [anon_sym_DQUOTE] = ACTIONS(263),
    [anon_sym_DOLLAR] = ACTIONS(267),
    [sym_raw_string] = ACTIONS(263),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(263),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(263),
    [anon_sym_BQUOTE] = ACTIONS(263),
    [anon_sym_LT_LPAREN] = ACTIONS(263),
    [anon_sym_GT_LPAREN] = ACTIONS(263),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(267),
    [anon_sym_LF] = ACTIONS(263),
    [anon_sym_AMP] = ACTIONS(267),
  },
  [1960] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(2193),
    [anon_sym_DQUOTE] = ACTIONS(5053),
    [anon_sym_DOLLAR] = ACTIONS(5055),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [1961] = {
    [sym_string] = STATE(2195),
    [anon_sym_DASH] = ACTIONS(5057),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(5057),
    [sym_raw_string] = ACTIONS(5059),
    [anon_sym_POUND] = ACTIONS(5057),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5061),
    [anon_sym_STAR] = ACTIONS(5063),
    [anon_sym_AT] = ACTIONS(5063),
    [anon_sym_QMARK] = ACTIONS(5063),
    [anon_sym_0] = ACTIONS(5061),
    [anon_sym__] = ACTIONS(5061),
  },
  [1962] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_esac] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [1963] = {
    [sym_subscript] = STATE(2200),
    [sym_variable_name] = ACTIONS(5065),
    [anon_sym_BANG] = ACTIONS(5067),
    [anon_sym_DASH] = ACTIONS(5069),
    [anon_sym_DOLLAR] = ACTIONS(5069),
    [anon_sym_POUND] = ACTIONS(5067),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5071),
    [anon_sym_STAR] = ACTIONS(5073),
    [anon_sym_AT] = ACTIONS(5073),
    [anon_sym_QMARK] = ACTIONS(5073),
    [anon_sym_0] = ACTIONS(5071),
    [anon_sym__] = ACTIONS(5071),
  },
  [1964] = {
    [sym__terminated_statement] = STATE(2203),
    [sym_for_statement] = STATE(2201),
    [sym_c_style_for_statement] = STATE(2201),
    [sym_while_statement] = STATE(2201),
    [sym_if_statement] = STATE(2201),
    [sym_case_statement] = STATE(2201),
    [sym_function_definition] = STATE(2201),
    [sym_subshell] = STATE(2201),
    [sym_pipeline] = STATE(2201),
    [sym_list] = STATE(2201),
    [sym_negated_command] = STATE(2201),
    [sym_test_command] = STATE(2201),
    [sym_declaration_command] = STATE(2201),
    [sym_unset_command] = STATE(2201),
    [sym_command] = STATE(2201),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2202),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2203),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1965] = {
    [sym__terminated_statement] = STATE(2206),
    [sym_for_statement] = STATE(2204),
    [sym_c_style_for_statement] = STATE(2204),
    [sym_while_statement] = STATE(2204),
    [sym_if_statement] = STATE(2204),
    [sym_case_statement] = STATE(2204),
    [sym_function_definition] = STATE(2204),
    [sym_subshell] = STATE(2204),
    [sym_pipeline] = STATE(2204),
    [sym_list] = STATE(2204),
    [sym_negated_command] = STATE(2204),
    [sym_test_command] = STATE(2204),
    [sym_declaration_command] = STATE(2204),
    [sym_unset_command] = STATE(2204),
    [sym_command] = STATE(2204),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2205),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2206),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [1966] = {
    [sym__terminated_statement] = STATE(2209),
    [sym_for_statement] = STATE(2207),
    [sym_c_style_for_statement] = STATE(2207),
    [sym_while_statement] = STATE(2207),
    [sym_if_statement] = STATE(2207),
    [sym_case_statement] = STATE(2207),
    [sym_function_definition] = STATE(2207),
    [sym_subshell] = STATE(2207),
    [sym_pipeline] = STATE(2207),
    [sym_list] = STATE(2207),
    [sym_negated_command] = STATE(2207),
    [sym_test_command] = STATE(2207),
    [sym_declaration_command] = STATE(2207),
    [sym_unset_command] = STATE(2207),
    [sym_command] = STATE(2207),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2208),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2209),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [1967] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_esac] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_LPAREN] = ACTIONS(5075),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [1968] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5079),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5083),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [1969] = {
    [sym_file_redirect] = STATE(2221),
    [sym_heredoc_redirect] = STATE(2221),
    [sym_heredoc_body] = STATE(193),
    [sym_herestring_redirect] = STATE(2221),
    [sym_concatenation] = STATE(2222),
    [sym_string] = STATE(2220),
    [sym_simple_expansion] = STATE(2220),
    [sym_string_expansion] = STATE(2220),
    [sym_expansion] = STATE(2220),
    [sym_command_substitution] = STATE(2220),
    [sym_process_substitution] = STATE(2220),
    [aux_sym_while_statement_repeat1] = STATE(2221),
    [aux_sym_command_repeat2] = STATE(2222),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(347),
    [anon_sym_esac] = ACTIONS(347),
    [anon_sym_PIPE] = ACTIONS(347),
    [anon_sym_SEMI_SEMI] = ACTIONS(345),
    [anon_sym_PIPE_AMP] = ACTIONS(345),
    [anon_sym_AMP_AMP] = ACTIONS(345),
    [anon_sym_PIPE_PIPE] = ACTIONS(345),
    [anon_sym_EQ_TILDE] = ACTIONS(5093),
    [anon_sym_EQ_EQ] = ACTIONS(5093),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym__special_characters] = ACTIONS(5101),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5103),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5105),
    [anon_sym_LF] = ACTIONS(345),
    [anon_sym_AMP] = ACTIONS(347),
  },
  [1970] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5001),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5083),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [1971] = {
    [anon_sym_EQ] = ACTIONS(4999),
    [anon_sym_PLUS_EQ] = ACTIONS(4999),
    [sym_comment] = ACTIONS(55),
  },
  [1972] = {
    [sym__simple_heredoc_body] = ACTIONS(291),
    [sym__heredoc_body_beginning] = ACTIONS(291),
    [sym_file_descriptor] = ACTIONS(291),
    [anon_sym_SEMI] = ACTIONS(293),
    [anon_sym_esac] = ACTIONS(293),
    [anon_sym_PIPE] = ACTIONS(293),
    [anon_sym_SEMI_SEMI] = ACTIONS(291),
    [anon_sym_PIPE_AMP] = ACTIONS(291),
    [anon_sym_AMP_AMP] = ACTIONS(291),
    [anon_sym_PIPE_PIPE] = ACTIONS(291),
    [anon_sym_EQ_TILDE] = ACTIONS(293),
    [anon_sym_EQ_EQ] = ACTIONS(293),
    [anon_sym_LT] = ACTIONS(293),
    [anon_sym_GT] = ACTIONS(293),
    [anon_sym_GT_GT] = ACTIONS(291),
    [anon_sym_AMP_GT] = ACTIONS(293),
    [anon_sym_AMP_GT_GT] = ACTIONS(291),
    [anon_sym_LT_AMP] = ACTIONS(291),
    [anon_sym_GT_AMP] = ACTIONS(291),
    [anon_sym_LT_LT] = ACTIONS(293),
    [anon_sym_LT_LT_DASH] = ACTIONS(291),
    [anon_sym_LT_LT_LT] = ACTIONS(291),
    [sym__special_characters] = ACTIONS(291),
    [anon_sym_DQUOTE] = ACTIONS(291),
    [anon_sym_DOLLAR] = ACTIONS(293),
    [sym_raw_string] = ACTIONS(291),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(291),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(291),
    [anon_sym_BQUOTE] = ACTIONS(291),
    [anon_sym_LT_LPAREN] = ACTIONS(291),
    [anon_sym_GT_LPAREN] = ACTIONS(291),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(293),
    [anon_sym_LF] = ACTIONS(291),
    [anon_sym_AMP] = ACTIONS(293),
  },
  [1973] = {
    [sym__terminated_statement] = STATE(2226),
    [sym_for_statement] = STATE(2224),
    [sym_c_style_for_statement] = STATE(2224),
    [sym_while_statement] = STATE(2224),
    [sym_if_statement] = STATE(2224),
    [sym_case_statement] = STATE(2224),
    [sym_function_definition] = STATE(2224),
    [sym_subshell] = STATE(2224),
    [sym_pipeline] = STATE(2224),
    [sym_list] = STATE(2224),
    [sym_negated_command] = STATE(2224),
    [sym_test_command] = STATE(2224),
    [sym_declaration_command] = STATE(2224),
    [sym_unset_command] = STATE(2224),
    [sym_command] = STATE(2224),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2225),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2226),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5001),
    [anon_sym_SEMI_SEMI] = ACTIONS(5107),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1974] = {
    [sym_command_name] = STATE(2227),
    [sym_variable_assignment] = STATE(200),
    [sym_subscript] = STATE(99),
    [sym_file_redirect] = STATE(200),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym_command_repeat1] = STATE(200),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(161),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(5109),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4473),
  },
  [1975] = {
    [sym__terminated_statement] = STATE(2228),
    [sym_for_statement] = STATE(2224),
    [sym_c_style_for_statement] = STATE(2224),
    [sym_while_statement] = STATE(2224),
    [sym_if_statement] = STATE(2224),
    [sym_case_statement] = STATE(2224),
    [sym_function_definition] = STATE(2224),
    [sym_subshell] = STATE(2224),
    [sym_pipeline] = STATE(2224),
    [sym_list] = STATE(2224),
    [sym_negated_command] = STATE(2224),
    [sym_test_command] = STATE(2224),
    [sym_declaration_command] = STATE(2224),
    [sym_unset_command] = STATE(2224),
    [sym_command] = STATE(2224),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2225),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2228),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5001),
    [anon_sym_SEMI_SEMI] = ACTIONS(5107),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1976] = {
    [aux_sym_case_item_repeat1] = STATE(1976),
    [anon_sym_PIPE] = ACTIONS(5111),
    [anon_sym_RPAREN] = ACTIONS(4997),
    [sym_comment] = ACTIONS(55),
  },
  [1977] = {
    [aux_sym_concatenation_repeat1] = STATE(1977),
    [sym__concat] = ACTIONS(3490),
    [anon_sym_PIPE] = ACTIONS(1763),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
  },
  [1978] = {
    [anon_sym_esac] = ACTIONS(5114),
    [sym__special_characters] = ACTIONS(5116),
    [anon_sym_DQUOTE] = ACTIONS(5116),
    [anon_sym_DOLLAR] = ACTIONS(5118),
    [sym_raw_string] = ACTIONS(5116),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5116),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5116),
    [anon_sym_BQUOTE] = ACTIONS(5116),
    [anon_sym_LT_LPAREN] = ACTIONS(5116),
    [anon_sym_GT_LPAREN] = ACTIONS(5116),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5118),
  },
  [1979] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5120),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5122),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [1980] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5122),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [1981] = {
    [sym__terminated_statement] = STATE(2226),
    [sym_for_statement] = STATE(2231),
    [sym_c_style_for_statement] = STATE(2231),
    [sym_while_statement] = STATE(2231),
    [sym_if_statement] = STATE(2231),
    [sym_case_statement] = STATE(2231),
    [sym_function_definition] = STATE(2231),
    [sym_subshell] = STATE(2231),
    [sym_pipeline] = STATE(2231),
    [sym_list] = STATE(2231),
    [sym_negated_command] = STATE(2231),
    [sym_test_command] = STATE(2231),
    [sym_declaration_command] = STATE(2231),
    [sym_unset_command] = STATE(2231),
    [sym_command] = STATE(2231),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2232),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2226),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5124),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1982] = {
    [sym__terminated_statement] = STATE(2233),
    [sym_for_statement] = STATE(2231),
    [sym_c_style_for_statement] = STATE(2231),
    [sym_while_statement] = STATE(2231),
    [sym_if_statement] = STATE(2231),
    [sym_case_statement] = STATE(2231),
    [sym_function_definition] = STATE(2231),
    [sym_subshell] = STATE(2231),
    [sym_pipeline] = STATE(2231),
    [sym_list] = STATE(2231),
    [sym_negated_command] = STATE(2231),
    [sym_test_command] = STATE(2231),
    [sym_declaration_command] = STATE(2231),
    [sym_unset_command] = STATE(2231),
    [sym_command] = STATE(2231),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2232),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2233),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5114),
    [anon_sym_SEMI_SEMI] = ACTIONS(5124),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [1983] = {
    [ts_builtin_sym_end] = ACTIONS(5126),
    [anon_sym_SEMI] = ACTIONS(5128),
    [anon_sym_esac] = ACTIONS(5126),
    [anon_sym_PIPE] = ACTIONS(5128),
    [anon_sym_RPAREN] = ACTIONS(5126),
    [anon_sym_SEMI_SEMI] = ACTIONS(5126),
    [anon_sym_PIPE_AMP] = ACTIONS(5126),
    [anon_sym_AMP_AMP] = ACTIONS(5126),
    [anon_sym_PIPE_PIPE] = ACTIONS(5126),
    [anon_sym_BQUOTE] = ACTIONS(5126),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5126),
    [anon_sym_AMP] = ACTIONS(5128),
  },
  [1984] = {
    [aux_sym_case_item_repeat1] = STATE(2235),
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(5130),
    [sym_comment] = ACTIONS(55),
  },
  [1985] = {
    [aux_sym_case_item_repeat1] = STATE(2237),
    [aux_sym_concatenation_repeat1] = STATE(1627),
    [sym__concat] = ACTIONS(1214),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(5132),
    [sym_comment] = ACTIONS(55),
  },
  [1986] = {
    [aux_sym_case_item_repeat1] = STATE(2237),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(5132),
    [sym_comment] = ACTIONS(55),
  },
  [1987] = {
    [anon_sym_esac] = ACTIONS(5134),
    [sym_comment] = ACTIONS(55),
  },
  [1988] = {
    [ts_builtin_sym_end] = ACTIONS(5136),
    [anon_sym_SEMI] = ACTIONS(5138),
    [anon_sym_esac] = ACTIONS(5136),
    [anon_sym_PIPE] = ACTIONS(5138),
    [anon_sym_RPAREN] = ACTIONS(5136),
    [anon_sym_SEMI_SEMI] = ACTIONS(5136),
    [anon_sym_PIPE_AMP] = ACTIONS(5136),
    [anon_sym_AMP_AMP] = ACTIONS(5136),
    [anon_sym_PIPE_PIPE] = ACTIONS(5136),
    [anon_sym_BQUOTE] = ACTIONS(5136),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5136),
    [anon_sym_AMP] = ACTIONS(5138),
  },
  [1989] = {
    [anon_sym_esac] = ACTIONS(5140),
    [sym_comment] = ACTIONS(55),
  },
  [1990] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_in] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4710),
  },
  [1991] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_in] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4714),
  },
  [1992] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_in] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4718),
  },
  [1993] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5142),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1994] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5144),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [1995] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_in] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4754),
  },
  [1996] = {
    [aux_sym_concatenation_repeat1] = STATE(1996),
    [sym__concat] = ACTIONS(2807),
    [ts_builtin_sym_end] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [1997] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_RPAREN] = ACTIONS(1088),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [1998] = {
    [aux_sym_concatenation_repeat1] = STATE(1999),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [1999] = {
    [aux_sym_concatenation_repeat1] = STATE(2242),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2000] = {
    [aux_sym_concatenation_repeat1] = STATE(2002),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_RPAREN] = ACTIONS(1088),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2001] = {
    [aux_sym_concatenation_repeat1] = STATE(2002),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_RPAREN] = ACTIONS(1092),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2002] = {
    [aux_sym_concatenation_repeat1] = STATE(2243),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_RPAREN] = ACTIONS(807),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2003] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_RBRACK] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4710),
    [anon_sym_EQ_EQ] = ACTIONS(4710),
    [anon_sym_EQ] = ACTIONS(4712),
    [anon_sym_PLUS_EQ] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_BANG_EQ] = ACTIONS(4710),
    [anon_sym_PLUS] = ACTIONS(4712),
    [anon_sym_DASH] = ACTIONS(4712),
    [anon_sym_DASH_EQ] = ACTIONS(4710),
    [anon_sym_LT_EQ] = ACTIONS(4710),
    [anon_sym_GT_EQ] = ACTIONS(4710),
    [anon_sym_PLUS_PLUS] = ACTIONS(4710),
    [anon_sym_DASH_DASH] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4710),
  },
  [2004] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_RBRACK] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4714),
    [anon_sym_EQ_EQ] = ACTIONS(4714),
    [anon_sym_EQ] = ACTIONS(4716),
    [anon_sym_PLUS_EQ] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_BANG_EQ] = ACTIONS(4714),
    [anon_sym_PLUS] = ACTIONS(4716),
    [anon_sym_DASH] = ACTIONS(4716),
    [anon_sym_DASH_EQ] = ACTIONS(4714),
    [anon_sym_LT_EQ] = ACTIONS(4714),
    [anon_sym_GT_EQ] = ACTIONS(4714),
    [anon_sym_PLUS_PLUS] = ACTIONS(4714),
    [anon_sym_DASH_DASH] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4714),
  },
  [2005] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_RBRACK] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4718),
    [anon_sym_EQ_EQ] = ACTIONS(4718),
    [anon_sym_EQ] = ACTIONS(4720),
    [anon_sym_PLUS_EQ] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_BANG_EQ] = ACTIONS(4718),
    [anon_sym_PLUS] = ACTIONS(4720),
    [anon_sym_DASH] = ACTIONS(4720),
    [anon_sym_DASH_EQ] = ACTIONS(4718),
    [anon_sym_LT_EQ] = ACTIONS(4718),
    [anon_sym_GT_EQ] = ACTIONS(4718),
    [anon_sym_PLUS_PLUS] = ACTIONS(4718),
    [anon_sym_DASH_DASH] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4718),
  },
  [2006] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5146),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2007] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5148),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2008] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_RBRACK] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4754),
    [anon_sym_EQ_EQ] = ACTIONS(4754),
    [anon_sym_EQ] = ACTIONS(4756),
    [anon_sym_PLUS_EQ] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_BANG_EQ] = ACTIONS(4754),
    [anon_sym_PLUS] = ACTIONS(4756),
    [anon_sym_DASH] = ACTIONS(4756),
    [anon_sym_DASH_EQ] = ACTIONS(4754),
    [anon_sym_LT_EQ] = ACTIONS(4754),
    [anon_sym_GT_EQ] = ACTIONS(4754),
    [anon_sym_PLUS_PLUS] = ACTIONS(4754),
    [anon_sym_DASH_DASH] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4754),
  },
  [2009] = {
    [sym__concat] = ACTIONS(4710),
    [sym_variable_name] = ACTIONS(4710),
    [ts_builtin_sym_end] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4712),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2010] = {
    [sym__concat] = ACTIONS(4714),
    [sym_variable_name] = ACTIONS(4714),
    [ts_builtin_sym_end] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4716),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2011] = {
    [sym__concat] = ACTIONS(4718),
    [sym_variable_name] = ACTIONS(4718),
    [ts_builtin_sym_end] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4720),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2012] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5150),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2013] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5152),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2014] = {
    [sym__concat] = ACTIONS(4754),
    [sym_variable_name] = ACTIONS(4754),
    [ts_builtin_sym_end] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4756),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2015] = {
    [sym__concat] = ACTIONS(4710),
    [ts_builtin_sym_end] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4712),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2016] = {
    [sym__concat] = ACTIONS(4714),
    [ts_builtin_sym_end] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4716),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2017] = {
    [sym__concat] = ACTIONS(4718),
    [ts_builtin_sym_end] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4720),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2018] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5154),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2019] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5156),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2020] = {
    [sym__concat] = ACTIONS(4754),
    [ts_builtin_sym_end] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4756),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2021] = {
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [sym_variable_name] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4710),
  },
  [2022] = {
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [sym_variable_name] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4714),
  },
  [2023] = {
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [sym_variable_name] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4718),
  },
  [2024] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5158),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2025] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5160),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2026] = {
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [sym_variable_name] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4754),
  },
  [2027] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4712),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym__string_content] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4712),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4712),
    [anon_sym_BQUOTE] = ACTIONS(4712),
    [sym_comment] = ACTIONS(281),
  },
  [2028] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4716),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym__string_content] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4716),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4716),
    [anon_sym_BQUOTE] = ACTIONS(4716),
    [sym_comment] = ACTIONS(281),
  },
  [2029] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4720),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym__string_content] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4720),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4720),
    [anon_sym_BQUOTE] = ACTIONS(4720),
    [sym_comment] = ACTIONS(281),
  },
  [2030] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5162),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2031] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5164),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2032] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4756),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym__string_content] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4756),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4756),
    [anon_sym_BQUOTE] = ACTIONS(4756),
    [sym_comment] = ACTIONS(281),
  },
  [2033] = {
    [anon_sym_RBRACE] = ACTIONS(4129),
    [anon_sym_EQ] = ACTIONS(5166),
    [anon_sym_DASH] = ACTIONS(5166),
    [sym__special_characters] = ACTIONS(5166),
    [anon_sym_DQUOTE] = ACTIONS(4129),
    [anon_sym_DOLLAR] = ACTIONS(5166),
    [sym_raw_string] = ACTIONS(4129),
    [anon_sym_POUND] = ACTIONS(4129),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4129),
    [anon_sym_SLASH] = ACTIONS(4129),
    [anon_sym_COLON] = ACTIONS(5166),
    [anon_sym_COLON_QMARK] = ACTIONS(5166),
    [anon_sym_COLON_DASH] = ACTIONS(5166),
    [anon_sym_PERCENT] = ACTIONS(5166),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4129),
    [anon_sym_BQUOTE] = ACTIONS(4129),
    [anon_sym_LT_LPAREN] = ACTIONS(4129),
    [anon_sym_GT_LPAREN] = ACTIONS(4129),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(5166),
  },
  [2034] = {
    [anon_sym_RBRACE] = ACTIONS(4131),
    [anon_sym_EQ] = ACTIONS(5168),
    [anon_sym_DASH] = ACTIONS(5168),
    [sym__special_characters] = ACTIONS(5168),
    [anon_sym_DQUOTE] = ACTIONS(4131),
    [anon_sym_DOLLAR] = ACTIONS(5168),
    [sym_raw_string] = ACTIONS(4131),
    [anon_sym_POUND] = ACTIONS(4131),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4131),
    [anon_sym_SLASH] = ACTIONS(4131),
    [anon_sym_COLON] = ACTIONS(5168),
    [anon_sym_COLON_QMARK] = ACTIONS(5168),
    [anon_sym_COLON_DASH] = ACTIONS(5168),
    [anon_sym_PERCENT] = ACTIONS(5168),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4131),
    [anon_sym_BQUOTE] = ACTIONS(4131),
    [anon_sym_LT_LPAREN] = ACTIONS(4131),
    [anon_sym_GT_LPAREN] = ACTIONS(4131),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(5168),
  },
  [2035] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_RBRACE] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
  },
  [2036] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_RBRACE] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
  },
  [2037] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5170),
    [sym_comment] = ACTIONS(55),
  },
  [2038] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5172),
    [sym_comment] = ACTIONS(55),
  },
  [2039] = {
    [anon_sym_RBRACE] = ACTIONS(5172),
    [sym_comment] = ACTIONS(55),
  },
  [2040] = {
    [sym_concatenation] = STATE(2258),
    [sym_string] = STATE(2257),
    [sym_simple_expansion] = STATE(2257),
    [sym_string_expansion] = STATE(2257),
    [sym_expansion] = STATE(2257),
    [sym_command_substitution] = STATE(2257),
    [sym_process_substitution] = STATE(2257),
    [anon_sym_RBRACE] = ACTIONS(5172),
    [sym__special_characters] = ACTIONS(5174),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(5176),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5176),
  },
  [2041] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_RBRACE] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
  },
  [2042] = {
    [sym_concatenation] = STATE(2261),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2261),
    [sym_regex] = ACTIONS(5178),
    [anon_sym_RBRACE] = ACTIONS(5180),
    [anon_sym_EQ] = ACTIONS(5182),
    [anon_sym_DASH] = ACTIONS(5182),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5184),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5182),
    [anon_sym_COLON_QMARK] = ACTIONS(5182),
    [anon_sym_COLON_DASH] = ACTIONS(5182),
    [anon_sym_PERCENT] = ACTIONS(5182),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2043] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5180),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2044] = {
    [sym_concatenation] = STATE(2263),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2263),
    [sym_regex] = ACTIONS(5186),
    [anon_sym_RBRACE] = ACTIONS(5172),
    [anon_sym_EQ] = ACTIONS(5188),
    [anon_sym_DASH] = ACTIONS(5188),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5190),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5188),
    [anon_sym_COLON_QMARK] = ACTIONS(5188),
    [anon_sym_COLON_DASH] = ACTIONS(5188),
    [anon_sym_PERCENT] = ACTIONS(5188),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2045] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5172),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2046] = {
    [sym_concatenation] = STATE(2265),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2265),
    [anon_sym_RBRACE] = ACTIONS(5192),
    [anon_sym_EQ] = ACTIONS(5194),
    [anon_sym_DASH] = ACTIONS(5194),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5196),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5194),
    [anon_sym_COLON_QMARK] = ACTIONS(5194),
    [anon_sym_COLON_DASH] = ACTIONS(5194),
    [anon_sym_PERCENT] = ACTIONS(5194),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2047] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_RBRACE] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
  },
  [2048] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5192),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2049] = {
    [sym_concatenation] = STATE(2263),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2263),
    [anon_sym_RBRACE] = ACTIONS(5172),
    [anon_sym_EQ] = ACTIONS(5188),
    [anon_sym_DASH] = ACTIONS(5188),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5190),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5188),
    [anon_sym_COLON_QMARK] = ACTIONS(5188),
    [anon_sym_COLON_DASH] = ACTIONS(5188),
    [anon_sym_PERCENT] = ACTIONS(5188),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2050] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_RBRACE] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
  },
  [2051] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5198),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2052] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(5198),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2053] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_RBRACE] = ACTIONS(3158),
    [sym_comment] = ACTIONS(55),
  },
  [2054] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5200),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2055] = {
    [sym__simple_heredoc_body] = ACTIONS(5202),
    [sym__heredoc_body_beginning] = ACTIONS(5202),
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [ts_builtin_sym_end] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5204),
    [anon_sym_EQ_EQ] = ACTIONS(5204),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [anon_sym_LT_LT] = ACTIONS(5204),
    [anon_sym_LT_LT_DASH] = ACTIONS(5202),
    [anon_sym_LT_LT_LT] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2056] = {
    [sym__simple_heredoc_body] = ACTIONS(5206),
    [sym__heredoc_body_beginning] = ACTIONS(5206),
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [ts_builtin_sym_end] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5208),
    [anon_sym_EQ_EQ] = ACTIONS(5208),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [anon_sym_LT_LT] = ACTIONS(5208),
    [anon_sym_LT_LT_DASH] = ACTIONS(5206),
    [anon_sym_LT_LT_LT] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2057] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_RBRACE] = ACTIONS(3934),
    [anon_sym_EQ] = ACTIONS(3936),
    [anon_sym_DASH] = ACTIONS(3936),
    [sym__special_characters] = ACTIONS(3936),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_POUND] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_COLON] = ACTIONS(3936),
    [anon_sym_COLON_QMARK] = ACTIONS(3936),
    [anon_sym_COLON_DASH] = ACTIONS(3936),
    [anon_sym_PERCENT] = ACTIONS(3936),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3936),
  },
  [2058] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_RBRACE] = ACTIONS(3942),
    [anon_sym_EQ] = ACTIONS(3944),
    [anon_sym_DASH] = ACTIONS(3944),
    [sym__special_characters] = ACTIONS(3944),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_POUND] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_COLON] = ACTIONS(3944),
    [anon_sym_COLON_QMARK] = ACTIONS(3944),
    [anon_sym_COLON_DASH] = ACTIONS(3944),
    [anon_sym_PERCENT] = ACTIONS(3944),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(3944),
  },
  [2059] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5210),
    [sym_comment] = ACTIONS(55),
  },
  [2060] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5212),
    [sym_comment] = ACTIONS(55),
  },
  [2061] = {
    [anon_sym_RBRACE] = ACTIONS(5212),
    [sym_comment] = ACTIONS(55),
  },
  [2062] = {
    [sym_concatenation] = STATE(2271),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2271),
    [anon_sym_RBRACE] = ACTIONS(5214),
    [anon_sym_EQ] = ACTIONS(5216),
    [anon_sym_DASH] = ACTIONS(5216),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5218),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5216),
    [anon_sym_COLON_QMARK] = ACTIONS(5216),
    [anon_sym_COLON_DASH] = ACTIONS(5216),
    [anon_sym_PERCENT] = ACTIONS(5216),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2063] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_RBRACE] = ACTIONS(3998),
    [anon_sym_EQ] = ACTIONS(4000),
    [anon_sym_DASH] = ACTIONS(4000),
    [sym__special_characters] = ACTIONS(4000),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_POUND] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_COLON] = ACTIONS(4000),
    [anon_sym_COLON_QMARK] = ACTIONS(4000),
    [anon_sym_COLON_DASH] = ACTIONS(4000),
    [anon_sym_PERCENT] = ACTIONS(4000),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4000),
  },
  [2064] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5214),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2065] = {
    [sym_concatenation] = STATE(2272),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2272),
    [anon_sym_RBRACE] = ACTIONS(5212),
    [anon_sym_EQ] = ACTIONS(5220),
    [anon_sym_DASH] = ACTIONS(5220),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5222),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5220),
    [anon_sym_COLON_QMARK] = ACTIONS(5220),
    [anon_sym_COLON_DASH] = ACTIONS(5220),
    [anon_sym_PERCENT] = ACTIONS(5220),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2066] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5212),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2067] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_RBRACE] = ACTIONS(4043),
    [anon_sym_EQ] = ACTIONS(4045),
    [anon_sym_DASH] = ACTIONS(4045),
    [sym__special_characters] = ACTIONS(4045),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_POUND] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_COLON] = ACTIONS(4045),
    [anon_sym_COLON_QMARK] = ACTIONS(4045),
    [anon_sym_COLON_DASH] = ACTIONS(4045),
    [anon_sym_PERCENT] = ACTIONS(4045),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4045),
  },
  [2068] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5224),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2069] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_RBRACE] = ACTIONS(4065),
    [anon_sym_EQ] = ACTIONS(4067),
    [anon_sym_DASH] = ACTIONS(4067),
    [sym__special_characters] = ACTIONS(4067),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_POUND] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_COLON] = ACTIONS(4067),
    [anon_sym_COLON_QMARK] = ACTIONS(4067),
    [anon_sym_COLON_DASH] = ACTIONS(4067),
    [anon_sym_PERCENT] = ACTIONS(4067),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4067),
  },
  [2070] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_RBRACE] = ACTIONS(4089),
    [anon_sym_EQ] = ACTIONS(4091),
    [anon_sym_DASH] = ACTIONS(4091),
    [sym__special_characters] = ACTIONS(4091),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_POUND] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_COLON] = ACTIONS(4091),
    [anon_sym_COLON_QMARK] = ACTIONS(4091),
    [anon_sym_COLON_DASH] = ACTIONS(4091),
    [anon_sym_PERCENT] = ACTIONS(4091),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4091),
  },
  [2071] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [anon_sym_BQUOTE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2072] = {
    [aux_sym_concatenation_repeat1] = STATE(2073),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2073] = {
    [aux_sym_concatenation_repeat1] = STATE(2274),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2074] = {
    [aux_sym_concatenation_repeat1] = STATE(2076),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_BQUOTE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2075] = {
    [aux_sym_concatenation_repeat1] = STATE(2076),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_BQUOTE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2076] = {
    [aux_sym_concatenation_repeat1] = STATE(2275),
    [sym__concat] = ACTIONS(735),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2077] = {
    [sym__heredoc_body_middle] = ACTIONS(3934),
    [sym__heredoc_body_end] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
  },
  [2078] = {
    [sym__heredoc_body_middle] = ACTIONS(3942),
    [sym__heredoc_body_end] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
  },
  [2079] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5226),
    [sym_comment] = ACTIONS(55),
  },
  [2080] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5228),
    [sym_comment] = ACTIONS(55),
  },
  [2081] = {
    [anon_sym_RBRACE] = ACTIONS(5228),
    [sym_comment] = ACTIONS(55),
  },
  [2082] = {
    [sym_concatenation] = STATE(2279),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2279),
    [anon_sym_RBRACE] = ACTIONS(5230),
    [anon_sym_EQ] = ACTIONS(5232),
    [anon_sym_DASH] = ACTIONS(5232),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5234),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5232),
    [anon_sym_COLON_QMARK] = ACTIONS(5232),
    [anon_sym_COLON_DASH] = ACTIONS(5232),
    [anon_sym_PERCENT] = ACTIONS(5232),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2083] = {
    [sym__heredoc_body_middle] = ACTIONS(3998),
    [sym__heredoc_body_end] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
  },
  [2084] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5230),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2085] = {
    [sym_concatenation] = STATE(2280),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2280),
    [anon_sym_RBRACE] = ACTIONS(5228),
    [anon_sym_EQ] = ACTIONS(5236),
    [anon_sym_DASH] = ACTIONS(5236),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5238),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5236),
    [anon_sym_COLON_QMARK] = ACTIONS(5236),
    [anon_sym_COLON_DASH] = ACTIONS(5236),
    [anon_sym_PERCENT] = ACTIONS(5236),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2086] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5228),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2087] = {
    [sym__heredoc_body_middle] = ACTIONS(4043),
    [sym__heredoc_body_end] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
  },
  [2088] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5240),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2089] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3934),
  },
  [2090] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3942),
  },
  [2091] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5242),
    [sym_comment] = ACTIONS(55),
  },
  [2092] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5244),
    [sym_comment] = ACTIONS(55),
  },
  [2093] = {
    [anon_sym_RBRACE] = ACTIONS(5244),
    [sym_comment] = ACTIONS(55),
  },
  [2094] = {
    [sym_concatenation] = STATE(2285),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2285),
    [anon_sym_RBRACE] = ACTIONS(5246),
    [anon_sym_EQ] = ACTIONS(5248),
    [anon_sym_DASH] = ACTIONS(5248),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5250),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5248),
    [anon_sym_COLON_QMARK] = ACTIONS(5248),
    [anon_sym_COLON_DASH] = ACTIONS(5248),
    [anon_sym_PERCENT] = ACTIONS(5248),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2095] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3998),
  },
  [2096] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5246),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2097] = {
    [sym_concatenation] = STATE(2286),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2286),
    [anon_sym_RBRACE] = ACTIONS(5244),
    [anon_sym_EQ] = ACTIONS(5252),
    [anon_sym_DASH] = ACTIONS(5252),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5254),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5252),
    [anon_sym_COLON_QMARK] = ACTIONS(5252),
    [anon_sym_COLON_DASH] = ACTIONS(5252),
    [anon_sym_PERCENT] = ACTIONS(5252),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2098] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5244),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2099] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4043),
  },
  [2100] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5256),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2101] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4065),
  },
  [2102] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4089),
  },
  [2103] = {
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [sym_variable_name] = ACTIONS(4710),
    [ts_builtin_sym_end] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2104] = {
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [sym_variable_name] = ACTIONS(4714),
    [ts_builtin_sym_end] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2105] = {
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [sym_variable_name] = ACTIONS(4718),
    [ts_builtin_sym_end] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2106] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5258),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2107] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5260),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2108] = {
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [sym_variable_name] = ACTIONS(4754),
    [ts_builtin_sym_end] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2109] = {
    [ts_builtin_sym_end] = ACTIONS(3724),
    [anon_sym_SEMI] = ACTIONS(3726),
    [anon_sym_esac] = ACTIONS(3724),
    [anon_sym_PIPE] = ACTIONS(3726),
    [anon_sym_RPAREN] = ACTIONS(3724),
    [anon_sym_SEMI_SEMI] = ACTIONS(3724),
    [anon_sym_PIPE_AMP] = ACTIONS(3724),
    [anon_sym_AMP_AMP] = ACTIONS(3724),
    [anon_sym_PIPE_PIPE] = ACTIONS(3724),
    [anon_sym_BQUOTE] = ACTIONS(3724),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3724),
    [anon_sym_AMP] = ACTIONS(3726),
  },
  [2110] = {
    [ts_builtin_sym_end] = ACTIONS(5262),
    [anon_sym_SEMI] = ACTIONS(5264),
    [anon_sym_esac] = ACTIONS(5262),
    [anon_sym_PIPE] = ACTIONS(5264),
    [anon_sym_RPAREN] = ACTIONS(5262),
    [anon_sym_SEMI_SEMI] = ACTIONS(5262),
    [anon_sym_PIPE_AMP] = ACTIONS(5262),
    [anon_sym_AMP_AMP] = ACTIONS(5262),
    [anon_sym_PIPE_PIPE] = ACTIONS(5262),
    [anon_sym_BQUOTE] = ACTIONS(5262),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5262),
    [anon_sym_AMP] = ACTIONS(5264),
  },
  [2111] = {
    [sym_do_group] = STATE(2290),
    [sym_compound_statement] = STATE(2290),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [2112] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4710),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4710),
    [anon_sym_EQ_EQ] = ACTIONS(4710),
    [anon_sym_EQ] = ACTIONS(4712),
    [anon_sym_PLUS_EQ] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_BANG_EQ] = ACTIONS(4710),
    [anon_sym_PLUS] = ACTIONS(4712),
    [anon_sym_DASH] = ACTIONS(4712),
    [anon_sym_DASH_EQ] = ACTIONS(4710),
    [anon_sym_LT_EQ] = ACTIONS(4710),
    [anon_sym_GT_EQ] = ACTIONS(4710),
    [anon_sym_PLUS_PLUS] = ACTIONS(4710),
    [anon_sym_DASH_DASH] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4710),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2113] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4714),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4714),
    [anon_sym_EQ_EQ] = ACTIONS(4714),
    [anon_sym_EQ] = ACTIONS(4716),
    [anon_sym_PLUS_EQ] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_BANG_EQ] = ACTIONS(4714),
    [anon_sym_PLUS] = ACTIONS(4716),
    [anon_sym_DASH] = ACTIONS(4716),
    [anon_sym_DASH_EQ] = ACTIONS(4714),
    [anon_sym_LT_EQ] = ACTIONS(4714),
    [anon_sym_GT_EQ] = ACTIONS(4714),
    [anon_sym_PLUS_PLUS] = ACTIONS(4714),
    [anon_sym_DASH_DASH] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4714),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2114] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4718),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4718),
    [anon_sym_EQ_EQ] = ACTIONS(4718),
    [anon_sym_EQ] = ACTIONS(4720),
    [anon_sym_PLUS_EQ] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_BANG_EQ] = ACTIONS(4718),
    [anon_sym_PLUS] = ACTIONS(4720),
    [anon_sym_DASH] = ACTIONS(4720),
    [anon_sym_DASH_EQ] = ACTIONS(4718),
    [anon_sym_LT_EQ] = ACTIONS(4718),
    [anon_sym_GT_EQ] = ACTIONS(4718),
    [anon_sym_PLUS_PLUS] = ACTIONS(4718),
    [anon_sym_DASH_DASH] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4718),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2115] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5266),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2116] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5268),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2117] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4754),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4754),
    [anon_sym_EQ_EQ] = ACTIONS(4754),
    [anon_sym_EQ] = ACTIONS(4756),
    [anon_sym_PLUS_EQ] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_BANG_EQ] = ACTIONS(4754),
    [anon_sym_PLUS] = ACTIONS(4756),
    [anon_sym_DASH] = ACTIONS(4756),
    [anon_sym_DASH_EQ] = ACTIONS(4754),
    [anon_sym_LT_EQ] = ACTIONS(4754),
    [anon_sym_GT_EQ] = ACTIONS(4754),
    [anon_sym_PLUS_PLUS] = ACTIONS(4754),
    [anon_sym_DASH_DASH] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4754),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2118] = {
    [sym_do_group] = STATE(2290),
    [sym_compound_statement] = STATE(2290),
    [anon_sym_SEMI] = ACTIONS(5270),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [2119] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3934),
  },
  [2120] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3942),
  },
  [2121] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5272),
    [sym_comment] = ACTIONS(55),
  },
  [2122] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5274),
    [sym_comment] = ACTIONS(55),
  },
  [2123] = {
    [anon_sym_RBRACE] = ACTIONS(5274),
    [sym_comment] = ACTIONS(55),
  },
  [2124] = {
    [sym_concatenation] = STATE(2297),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2297),
    [anon_sym_RBRACE] = ACTIONS(5276),
    [anon_sym_EQ] = ACTIONS(5278),
    [anon_sym_DASH] = ACTIONS(5278),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5280),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5278),
    [anon_sym_COLON_QMARK] = ACTIONS(5278),
    [anon_sym_COLON_DASH] = ACTIONS(5278),
    [anon_sym_PERCENT] = ACTIONS(5278),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2125] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(3998),
  },
  [2126] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5276),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2127] = {
    [sym_concatenation] = STATE(2298),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2298),
    [anon_sym_RBRACE] = ACTIONS(5274),
    [anon_sym_EQ] = ACTIONS(5282),
    [anon_sym_DASH] = ACTIONS(5282),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5284),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5282),
    [anon_sym_COLON_QMARK] = ACTIONS(5282),
    [anon_sym_COLON_DASH] = ACTIONS(5282),
    [anon_sym_PERCENT] = ACTIONS(5282),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2128] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5274),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2129] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4043),
  },
  [2130] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5286),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2131] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4065),
  },
  [2132] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4089),
  },
  [2133] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4710),
    [anon_sym_EQ_EQ] = ACTIONS(4710),
    [anon_sym_EQ] = ACTIONS(4712),
    [anon_sym_PLUS_EQ] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_BANG_EQ] = ACTIONS(4710),
    [anon_sym_PLUS] = ACTIONS(4712),
    [anon_sym_DASH] = ACTIONS(4712),
    [anon_sym_DASH_EQ] = ACTIONS(4710),
    [anon_sym_LT_EQ] = ACTIONS(4710),
    [anon_sym_GT_EQ] = ACTIONS(4710),
    [anon_sym_PLUS_PLUS] = ACTIONS(4710),
    [anon_sym_DASH_DASH] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4710),
  },
  [2134] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4714),
    [anon_sym_EQ_EQ] = ACTIONS(4714),
    [anon_sym_EQ] = ACTIONS(4716),
    [anon_sym_PLUS_EQ] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_BANG_EQ] = ACTIONS(4714),
    [anon_sym_PLUS] = ACTIONS(4716),
    [anon_sym_DASH] = ACTIONS(4716),
    [anon_sym_DASH_EQ] = ACTIONS(4714),
    [anon_sym_LT_EQ] = ACTIONS(4714),
    [anon_sym_GT_EQ] = ACTIONS(4714),
    [anon_sym_PLUS_PLUS] = ACTIONS(4714),
    [anon_sym_DASH_DASH] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4714),
  },
  [2135] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4718),
    [anon_sym_EQ_EQ] = ACTIONS(4718),
    [anon_sym_EQ] = ACTIONS(4720),
    [anon_sym_PLUS_EQ] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_BANG_EQ] = ACTIONS(4718),
    [anon_sym_PLUS] = ACTIONS(4720),
    [anon_sym_DASH] = ACTIONS(4720),
    [anon_sym_DASH_EQ] = ACTIONS(4718),
    [anon_sym_LT_EQ] = ACTIONS(4718),
    [anon_sym_GT_EQ] = ACTIONS(4718),
    [anon_sym_PLUS_PLUS] = ACTIONS(4718),
    [anon_sym_DASH_DASH] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4718),
  },
  [2136] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5288),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2137] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5290),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2138] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4754),
    [anon_sym_EQ_EQ] = ACTIONS(4754),
    [anon_sym_EQ] = ACTIONS(4756),
    [anon_sym_PLUS_EQ] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_BANG_EQ] = ACTIONS(4754),
    [anon_sym_PLUS] = ACTIONS(4756),
    [anon_sym_DASH] = ACTIONS(4756),
    [anon_sym_DASH_EQ] = ACTIONS(4754),
    [anon_sym_LT_EQ] = ACTIONS(4754),
    [anon_sym_GT_EQ] = ACTIONS(4754),
    [anon_sym_PLUS_PLUS] = ACTIONS(4754),
    [anon_sym_DASH_DASH] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(4754),
  },
  [2139] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5202),
    [anon_sym_EQ_EQ] = ACTIONS(5202),
    [anon_sym_EQ] = ACTIONS(5204),
    [anon_sym_PLUS_EQ] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_BANG_EQ] = ACTIONS(5202),
    [anon_sym_PLUS] = ACTIONS(5204),
    [anon_sym_DASH] = ACTIONS(5204),
    [anon_sym_DASH_EQ] = ACTIONS(5202),
    [anon_sym_LT_EQ] = ACTIONS(5202),
    [anon_sym_GT_EQ] = ACTIONS(5202),
    [anon_sym_PLUS_PLUS] = ACTIONS(5202),
    [anon_sym_DASH_DASH] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5202),
  },
  [2140] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5206),
    [anon_sym_EQ_EQ] = ACTIONS(5206),
    [anon_sym_EQ] = ACTIONS(5208),
    [anon_sym_PLUS_EQ] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_BANG_EQ] = ACTIONS(5206),
    [anon_sym_PLUS] = ACTIONS(5208),
    [anon_sym_DASH] = ACTIONS(5208),
    [anon_sym_DASH_EQ] = ACTIONS(5206),
    [anon_sym_LT_EQ] = ACTIONS(5206),
    [anon_sym_GT_EQ] = ACTIONS(5206),
    [anon_sym_PLUS_PLUS] = ACTIONS(5206),
    [anon_sym_DASH_DASH] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5206),
  },
  [2141] = {
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [ts_builtin_sym_end] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2959),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_RPAREN] = ACTIONS(2959),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [anon_sym_LT_LT] = ACTIONS(2961),
    [anon_sym_LT_LT_DASH] = ACTIONS(2959),
    [anon_sym_LT_LT_LT] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2142] = {
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [ts_builtin_sym_end] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2973),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_RPAREN] = ACTIONS(2973),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [anon_sym_LT_LT] = ACTIONS(2975),
    [anon_sym_LT_LT_DASH] = ACTIONS(2973),
    [anon_sym_LT_LT_LT] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2143] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5292),
    [sym_comment] = ACTIONS(55),
  },
  [2144] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5294),
    [sym_comment] = ACTIONS(55),
  },
  [2145] = {
    [anon_sym_RBRACE] = ACTIONS(5294),
    [sym_comment] = ACTIONS(55),
  },
  [2146] = {
    [sym_concatenation] = STATE(2306),
    [sym_string] = STATE(2305),
    [sym_simple_expansion] = STATE(2305),
    [sym_string_expansion] = STATE(2305),
    [sym_expansion] = STATE(2305),
    [sym_command_substitution] = STATE(2305),
    [sym_process_substitution] = STATE(2305),
    [anon_sym_RBRACE] = ACTIONS(5294),
    [sym__special_characters] = ACTIONS(5296),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(5298),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5298),
  },
  [2147] = {
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [ts_builtin_sym_end] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3009),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_RPAREN] = ACTIONS(3009),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [anon_sym_LT_LT] = ACTIONS(3011),
    [anon_sym_LT_LT_DASH] = ACTIONS(3009),
    [anon_sym_LT_LT_LT] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2148] = {
    [sym_concatenation] = STATE(2309),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2309),
    [sym_regex] = ACTIONS(5300),
    [anon_sym_RBRACE] = ACTIONS(5302),
    [anon_sym_EQ] = ACTIONS(5304),
    [anon_sym_DASH] = ACTIONS(5304),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5306),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5304),
    [anon_sym_COLON_QMARK] = ACTIONS(5304),
    [anon_sym_COLON_DASH] = ACTIONS(5304),
    [anon_sym_PERCENT] = ACTIONS(5304),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2149] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5302),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2150] = {
    [sym_concatenation] = STATE(2311),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2311),
    [sym_regex] = ACTIONS(5308),
    [anon_sym_RBRACE] = ACTIONS(5294),
    [anon_sym_EQ] = ACTIONS(5310),
    [anon_sym_DASH] = ACTIONS(5310),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5312),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5310),
    [anon_sym_COLON_QMARK] = ACTIONS(5310),
    [anon_sym_COLON_DASH] = ACTIONS(5310),
    [anon_sym_PERCENT] = ACTIONS(5310),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2151] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5294),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2152] = {
    [sym_concatenation] = STATE(2313),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2313),
    [anon_sym_RBRACE] = ACTIONS(5314),
    [anon_sym_EQ] = ACTIONS(5316),
    [anon_sym_DASH] = ACTIONS(5316),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5318),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5316),
    [anon_sym_COLON_QMARK] = ACTIONS(5316),
    [anon_sym_COLON_DASH] = ACTIONS(5316),
    [anon_sym_PERCENT] = ACTIONS(5316),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2153] = {
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [ts_builtin_sym_end] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3065),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_RPAREN] = ACTIONS(3065),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [anon_sym_LT_LT] = ACTIONS(3067),
    [anon_sym_LT_LT_DASH] = ACTIONS(3065),
    [anon_sym_LT_LT_LT] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2154] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5314),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2155] = {
    [sym_concatenation] = STATE(2311),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2311),
    [anon_sym_RBRACE] = ACTIONS(5294),
    [anon_sym_EQ] = ACTIONS(5310),
    [anon_sym_DASH] = ACTIONS(5310),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5312),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5310),
    [anon_sym_COLON_QMARK] = ACTIONS(5310),
    [anon_sym_COLON_DASH] = ACTIONS(5310),
    [anon_sym_PERCENT] = ACTIONS(5310),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2156] = {
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [ts_builtin_sym_end] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3120),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_RPAREN] = ACTIONS(3120),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [anon_sym_LT_LT] = ACTIONS(3122),
    [anon_sym_LT_LT_DASH] = ACTIONS(3120),
    [anon_sym_LT_LT_LT] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2157] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5320),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2158] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(5320),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2159] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [ts_builtin_sym_end] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2160] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5322),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2161] = {
    [aux_sym_concatenation_repeat1] = STATE(2161),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(4936),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2162] = {
    [aux_sym_concatenation_repeat1] = STATE(2162),
    [sym__concat] = ACTIONS(2807),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2163] = {
    [sym_concatenation] = STATE(2316),
    [sym_string] = STATE(2321),
    [sym_array] = STATE(2316),
    [sym_simple_expansion] = STATE(2321),
    [sym_string_expansion] = STATE(2321),
    [sym_expansion] = STATE(2321),
    [sym_command_substitution] = STATE(2321),
    [sym_process_substitution] = STATE(2321),
    [sym__empty_value] = ACTIONS(5324),
    [anon_sym_LPAREN] = ACTIONS(5326),
    [sym__special_characters] = ACTIONS(5328),
    [anon_sym_DQUOTE] = ACTIONS(5330),
    [anon_sym_DOLLAR] = ACTIONS(5332),
    [sym_raw_string] = ACTIONS(5334),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5336),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5338),
    [anon_sym_BQUOTE] = ACTIONS(5340),
    [anon_sym_LT_LPAREN] = ACTIONS(5342),
    [anon_sym_GT_LPAREN] = ACTIONS(5342),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5334),
  },
  [2164] = {
    [anon_sym_RPAREN_RPAREN] = ACTIONS(5344),
    [anon_sym_AMP_AMP] = ACTIONS(493),
    [anon_sym_PIPE_PIPE] = ACTIONS(493),
    [anon_sym_EQ_TILDE] = ACTIONS(495),
    [anon_sym_EQ_EQ] = ACTIONS(495),
    [anon_sym_EQ] = ACTIONS(497),
    [anon_sym_PLUS_EQ] = ACTIONS(493),
    [anon_sym_LT] = ACTIONS(497),
    [anon_sym_GT] = ACTIONS(497),
    [anon_sym_BANG_EQ] = ACTIONS(493),
    [anon_sym_PLUS] = ACTIONS(497),
    [anon_sym_DASH] = ACTIONS(497),
    [anon_sym_DASH_EQ] = ACTIONS(493),
    [anon_sym_LT_EQ] = ACTIONS(493),
    [anon_sym_GT_EQ] = ACTIONS(493),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(493),
  },
  [2165] = {
    [sym_do_group] = STATE(2327),
    [anon_sym_do] = ACTIONS(525),
    [sym_comment] = ACTIONS(55),
  },
  [2166] = {
    [sym_compound_statement] = STATE(2329),
    [anon_sym_LPAREN] = ACTIONS(5346),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [2167] = {
    [anon_sym_AMP_AMP] = ACTIONS(681),
    [anon_sym_PIPE_PIPE] = ACTIONS(681),
    [anon_sym_RBRACK] = ACTIONS(5344),
    [anon_sym_EQ_TILDE] = ACTIONS(683),
    [anon_sym_EQ_EQ] = ACTIONS(683),
    [anon_sym_EQ] = ACTIONS(685),
    [anon_sym_PLUS_EQ] = ACTIONS(681),
    [anon_sym_LT] = ACTIONS(685),
    [anon_sym_GT] = ACTIONS(685),
    [anon_sym_BANG_EQ] = ACTIONS(681),
    [anon_sym_PLUS] = ACTIONS(685),
    [anon_sym_DASH] = ACTIONS(685),
    [anon_sym_DASH_EQ] = ACTIONS(681),
    [anon_sym_LT_EQ] = ACTIONS(681),
    [anon_sym_GT_EQ] = ACTIONS(681),
    [anon_sym_PLUS_PLUS] = ACTIONS(687),
    [anon_sym_DASH_DASH] = ACTIONS(687),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(681),
  },
  [2168] = {
    [anon_sym_AMP_AMP] = ACTIONS(689),
    [anon_sym_PIPE_PIPE] = ACTIONS(689),
    [anon_sym_RBRACK_RBRACK] = ACTIONS(5344),
    [anon_sym_EQ_TILDE] = ACTIONS(691),
    [anon_sym_EQ_EQ] = ACTIONS(691),
    [anon_sym_EQ] = ACTIONS(693),
    [anon_sym_PLUS_EQ] = ACTIONS(689),
    [anon_sym_LT] = ACTIONS(693),
    [anon_sym_GT] = ACTIONS(693),
    [anon_sym_BANG_EQ] = ACTIONS(689),
    [anon_sym_PLUS] = ACTIONS(693),
    [anon_sym_DASH] = ACTIONS(693),
    [anon_sym_DASH_EQ] = ACTIONS(689),
    [anon_sym_LT_EQ] = ACTIONS(689),
    [anon_sym_GT_EQ] = ACTIONS(689),
    [anon_sym_PLUS_PLUS] = ACTIONS(499),
    [anon_sym_DASH_DASH] = ACTIONS(499),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(689),
  },
  [2169] = {
    [anon_sym_LBRACK] = ACTIONS(63),
    [anon_sym_EQ] = ACTIONS(5348),
    [anon_sym_PLUS_EQ] = ACTIONS(5348),
    [sym_comment] = ACTIONS(55),
  },
  [2170] = {
    [aux_sym_concatenation_repeat1] = STATE(2332),
    [sym__concat] = ACTIONS(5350),
    [sym_variable_name] = ACTIONS(699),
    [anon_sym_SEMI] = ACTIONS(701),
    [anon_sym_esac] = ACTIONS(701),
    [anon_sym_PIPE] = ACTIONS(701),
    [anon_sym_SEMI_SEMI] = ACTIONS(699),
    [anon_sym_PIPE_AMP] = ACTIONS(699),
    [anon_sym_AMP_AMP] = ACTIONS(699),
    [anon_sym_PIPE_PIPE] = ACTIONS(699),
    [sym__special_characters] = ACTIONS(699),
    [anon_sym_DQUOTE] = ACTIONS(699),
    [anon_sym_DOLLAR] = ACTIONS(701),
    [sym_raw_string] = ACTIONS(699),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(699),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(699),
    [anon_sym_BQUOTE] = ACTIONS(699),
    [anon_sym_LT_LPAREN] = ACTIONS(699),
    [anon_sym_GT_LPAREN] = ACTIONS(699),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(701),
    [sym_word] = ACTIONS(701),
    [anon_sym_LF] = ACTIONS(699),
    [anon_sym_AMP] = ACTIONS(701),
  },
  [2171] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(2335),
    [anon_sym_DQUOTE] = ACTIONS(5352),
    [anon_sym_DOLLAR] = ACTIONS(5354),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2172] = {
    [sym_string] = STATE(2337),
    [anon_sym_DASH] = ACTIONS(5356),
    [anon_sym_DQUOTE] = ACTIONS(5013),
    [anon_sym_DOLLAR] = ACTIONS(5356),
    [sym_raw_string] = ACTIONS(5358),
    [anon_sym_POUND] = ACTIONS(5356),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5360),
    [anon_sym_STAR] = ACTIONS(5362),
    [anon_sym_AT] = ACTIONS(5362),
    [anon_sym_QMARK] = ACTIONS(5362),
    [anon_sym_0] = ACTIONS(5360),
    [anon_sym__] = ACTIONS(5360),
  },
  [2173] = {
    [aux_sym_concatenation_repeat1] = STATE(2332),
    [sym__concat] = ACTIONS(5350),
    [sym_variable_name] = ACTIONS(715),
    [anon_sym_SEMI] = ACTIONS(717),
    [anon_sym_esac] = ACTIONS(717),
    [anon_sym_PIPE] = ACTIONS(717),
    [anon_sym_SEMI_SEMI] = ACTIONS(715),
    [anon_sym_PIPE_AMP] = ACTIONS(715),
    [anon_sym_AMP_AMP] = ACTIONS(715),
    [anon_sym_PIPE_PIPE] = ACTIONS(715),
    [sym__special_characters] = ACTIONS(715),
    [anon_sym_DQUOTE] = ACTIONS(715),
    [anon_sym_DOLLAR] = ACTIONS(717),
    [sym_raw_string] = ACTIONS(715),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(715),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(715),
    [anon_sym_BQUOTE] = ACTIONS(715),
    [anon_sym_LT_LPAREN] = ACTIONS(715),
    [anon_sym_GT_LPAREN] = ACTIONS(715),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(717),
    [sym_word] = ACTIONS(717),
    [anon_sym_LF] = ACTIONS(715),
    [anon_sym_AMP] = ACTIONS(717),
  },
  [2174] = {
    [sym_subscript] = STATE(2342),
    [sym_variable_name] = ACTIONS(5364),
    [anon_sym_BANG] = ACTIONS(5366),
    [anon_sym_DASH] = ACTIONS(5368),
    [anon_sym_DOLLAR] = ACTIONS(5368),
    [anon_sym_POUND] = ACTIONS(5366),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5370),
    [anon_sym_STAR] = ACTIONS(5372),
    [anon_sym_AT] = ACTIONS(5372),
    [anon_sym_QMARK] = ACTIONS(5372),
    [anon_sym_0] = ACTIONS(5370),
    [anon_sym__] = ACTIONS(5370),
  },
  [2175] = {
    [sym__terminated_statement] = STATE(2345),
    [sym_for_statement] = STATE(2343),
    [sym_c_style_for_statement] = STATE(2343),
    [sym_while_statement] = STATE(2343),
    [sym_if_statement] = STATE(2343),
    [sym_case_statement] = STATE(2343),
    [sym_function_definition] = STATE(2343),
    [sym_subshell] = STATE(2343),
    [sym_pipeline] = STATE(2343),
    [sym_list] = STATE(2343),
    [sym_negated_command] = STATE(2343),
    [sym_test_command] = STATE(2343),
    [sym_declaration_command] = STATE(2343),
    [sym_unset_command] = STATE(2343),
    [sym_command] = STATE(2343),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2344),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2345),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2176] = {
    [sym__terminated_statement] = STATE(2348),
    [sym_for_statement] = STATE(2346),
    [sym_c_style_for_statement] = STATE(2346),
    [sym_while_statement] = STATE(2346),
    [sym_if_statement] = STATE(2346),
    [sym_case_statement] = STATE(2346),
    [sym_function_definition] = STATE(2346),
    [sym_subshell] = STATE(2346),
    [sym_pipeline] = STATE(2346),
    [sym_list] = STATE(2346),
    [sym_negated_command] = STATE(2346),
    [sym_test_command] = STATE(2346),
    [sym_declaration_command] = STATE(2346),
    [sym_unset_command] = STATE(2346),
    [sym_command] = STATE(2346),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2347),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2348),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2177] = {
    [sym__terminated_statement] = STATE(2351),
    [sym_for_statement] = STATE(2349),
    [sym_c_style_for_statement] = STATE(2349),
    [sym_while_statement] = STATE(2349),
    [sym_if_statement] = STATE(2349),
    [sym_case_statement] = STATE(2349),
    [sym_function_definition] = STATE(2349),
    [sym_subshell] = STATE(2349),
    [sym_pipeline] = STATE(2349),
    [sym_list] = STATE(2349),
    [sym_negated_command] = STATE(2349),
    [sym_test_command] = STATE(2349),
    [sym_declaration_command] = STATE(2349),
    [sym_unset_command] = STATE(2349),
    [sym_command] = STATE(2349),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2350),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2351),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2178] = {
    [anon_sym_EQ] = ACTIONS(5348),
    [anon_sym_PLUS_EQ] = ACTIONS(5348),
    [sym_comment] = ACTIONS(55),
  },
  [2179] = {
    [sym_variable_assignment] = STATE(2352),
    [sym_subscript] = STATE(2178),
    [sym_concatenation] = STATE(2352),
    [sym_string] = STATE(2173),
    [sym_simple_expansion] = STATE(2173),
    [sym_string_expansion] = STATE(2173),
    [sym_expansion] = STATE(2173),
    [sym_command_substitution] = STATE(2173),
    [sym_process_substitution] = STATE(2173),
    [aux_sym_declaration_command_repeat1] = STATE(2352),
    [sym_variable_name] = ACTIONS(5009),
    [anon_sym_SEMI] = ACTIONS(731),
    [anon_sym_esac] = ACTIONS(731),
    [anon_sym_PIPE] = ACTIONS(731),
    [anon_sym_SEMI_SEMI] = ACTIONS(729),
    [anon_sym_PIPE_AMP] = ACTIONS(729),
    [anon_sym_AMP_AMP] = ACTIONS(729),
    [anon_sym_PIPE_PIPE] = ACTIONS(729),
    [sym__special_characters] = ACTIONS(5011),
    [anon_sym_DQUOTE] = ACTIONS(5013),
    [anon_sym_DOLLAR] = ACTIONS(5015),
    [sym_raw_string] = ACTIONS(5017),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5019),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5021),
    [anon_sym_BQUOTE] = ACTIONS(5023),
    [anon_sym_LT_LPAREN] = ACTIONS(5025),
    [anon_sym_GT_LPAREN] = ACTIONS(5025),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5374),
    [sym_word] = ACTIONS(5029),
    [anon_sym_LF] = ACTIONS(729),
    [anon_sym_AMP] = ACTIONS(731),
  },
  [2180] = {
    [aux_sym_concatenation_repeat1] = STATE(2354),
    [sym__concat] = ACTIONS(5376),
    [anon_sym_SEMI] = ACTIONS(739),
    [anon_sym_esac] = ACTIONS(739),
    [anon_sym_PIPE] = ACTIONS(739),
    [anon_sym_SEMI_SEMI] = ACTIONS(737),
    [anon_sym_PIPE_AMP] = ACTIONS(737),
    [anon_sym_AMP_AMP] = ACTIONS(737),
    [anon_sym_PIPE_PIPE] = ACTIONS(737),
    [sym__special_characters] = ACTIONS(737),
    [anon_sym_DQUOTE] = ACTIONS(737),
    [anon_sym_DOLLAR] = ACTIONS(739),
    [sym_raw_string] = ACTIONS(737),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(737),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(737),
    [anon_sym_BQUOTE] = ACTIONS(737),
    [anon_sym_LT_LPAREN] = ACTIONS(737),
    [anon_sym_GT_LPAREN] = ACTIONS(737),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(739),
    [sym_word] = ACTIONS(739),
    [anon_sym_LF] = ACTIONS(737),
    [anon_sym_AMP] = ACTIONS(739),
  },
  [2181] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(2357),
    [anon_sym_DQUOTE] = ACTIONS(5378),
    [anon_sym_DOLLAR] = ACTIONS(5380),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2182] = {
    [sym_string] = STATE(2359),
    [anon_sym_DASH] = ACTIONS(5382),
    [anon_sym_DQUOTE] = ACTIONS(5033),
    [anon_sym_DOLLAR] = ACTIONS(5382),
    [sym_raw_string] = ACTIONS(5384),
    [anon_sym_POUND] = ACTIONS(5382),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5386),
    [anon_sym_STAR] = ACTIONS(5388),
    [anon_sym_AT] = ACTIONS(5388),
    [anon_sym_QMARK] = ACTIONS(5388),
    [anon_sym_0] = ACTIONS(5386),
    [anon_sym__] = ACTIONS(5386),
  },
  [2183] = {
    [aux_sym_concatenation_repeat1] = STATE(2354),
    [sym__concat] = ACTIONS(5376),
    [anon_sym_SEMI] = ACTIONS(755),
    [anon_sym_esac] = ACTIONS(755),
    [anon_sym_PIPE] = ACTIONS(755),
    [anon_sym_SEMI_SEMI] = ACTIONS(753),
    [anon_sym_PIPE_AMP] = ACTIONS(753),
    [anon_sym_AMP_AMP] = ACTIONS(753),
    [anon_sym_PIPE_PIPE] = ACTIONS(753),
    [sym__special_characters] = ACTIONS(753),
    [anon_sym_DQUOTE] = ACTIONS(753),
    [anon_sym_DOLLAR] = ACTIONS(755),
    [sym_raw_string] = ACTIONS(753),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(753),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(753),
    [anon_sym_BQUOTE] = ACTIONS(753),
    [anon_sym_LT_LPAREN] = ACTIONS(753),
    [anon_sym_GT_LPAREN] = ACTIONS(753),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(755),
    [sym_word] = ACTIONS(755),
    [anon_sym_LF] = ACTIONS(753),
    [anon_sym_AMP] = ACTIONS(755),
  },
  [2184] = {
    [sym_subscript] = STATE(2364),
    [sym_variable_name] = ACTIONS(5390),
    [anon_sym_BANG] = ACTIONS(5392),
    [anon_sym_DASH] = ACTIONS(5394),
    [anon_sym_DOLLAR] = ACTIONS(5394),
    [anon_sym_POUND] = ACTIONS(5392),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5396),
    [anon_sym_STAR] = ACTIONS(5398),
    [anon_sym_AT] = ACTIONS(5398),
    [anon_sym_QMARK] = ACTIONS(5398),
    [anon_sym_0] = ACTIONS(5396),
    [anon_sym__] = ACTIONS(5396),
  },
  [2185] = {
    [sym__terminated_statement] = STATE(2367),
    [sym_for_statement] = STATE(2365),
    [sym_c_style_for_statement] = STATE(2365),
    [sym_while_statement] = STATE(2365),
    [sym_if_statement] = STATE(2365),
    [sym_case_statement] = STATE(2365),
    [sym_function_definition] = STATE(2365),
    [sym_subshell] = STATE(2365),
    [sym_pipeline] = STATE(2365),
    [sym_list] = STATE(2365),
    [sym_negated_command] = STATE(2365),
    [sym_test_command] = STATE(2365),
    [sym_declaration_command] = STATE(2365),
    [sym_unset_command] = STATE(2365),
    [sym_command] = STATE(2365),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2366),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2367),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2186] = {
    [sym__terminated_statement] = STATE(2370),
    [sym_for_statement] = STATE(2368),
    [sym_c_style_for_statement] = STATE(2368),
    [sym_while_statement] = STATE(2368),
    [sym_if_statement] = STATE(2368),
    [sym_case_statement] = STATE(2368),
    [sym_function_definition] = STATE(2368),
    [sym_subshell] = STATE(2368),
    [sym_pipeline] = STATE(2368),
    [sym_list] = STATE(2368),
    [sym_negated_command] = STATE(2368),
    [sym_test_command] = STATE(2368),
    [sym_declaration_command] = STATE(2368),
    [sym_unset_command] = STATE(2368),
    [sym_command] = STATE(2368),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2369),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2370),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2187] = {
    [sym__terminated_statement] = STATE(2373),
    [sym_for_statement] = STATE(2371),
    [sym_c_style_for_statement] = STATE(2371),
    [sym_while_statement] = STATE(2371),
    [sym_if_statement] = STATE(2371),
    [sym_case_statement] = STATE(2371),
    [sym_function_definition] = STATE(2371),
    [sym_subshell] = STATE(2371),
    [sym_pipeline] = STATE(2371),
    [sym_list] = STATE(2371),
    [sym_negated_command] = STATE(2371),
    [sym_test_command] = STATE(2371),
    [sym_declaration_command] = STATE(2371),
    [sym_unset_command] = STATE(2371),
    [sym_command] = STATE(2371),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2372),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2373),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2188] = {
    [sym_concatenation] = STATE(2374),
    [sym_string] = STATE(2183),
    [sym_simple_expansion] = STATE(2183),
    [sym_string_expansion] = STATE(2183),
    [sym_expansion] = STATE(2183),
    [sym_command_substitution] = STATE(2183),
    [sym_process_substitution] = STATE(2183),
    [aux_sym_unset_command_repeat1] = STATE(2374),
    [anon_sym_SEMI] = ACTIONS(769),
    [anon_sym_esac] = ACTIONS(769),
    [anon_sym_PIPE] = ACTIONS(769),
    [anon_sym_SEMI_SEMI] = ACTIONS(767),
    [anon_sym_PIPE_AMP] = ACTIONS(767),
    [anon_sym_AMP_AMP] = ACTIONS(767),
    [anon_sym_PIPE_PIPE] = ACTIONS(767),
    [sym__special_characters] = ACTIONS(5031),
    [anon_sym_DQUOTE] = ACTIONS(5033),
    [anon_sym_DOLLAR] = ACTIONS(5035),
    [sym_raw_string] = ACTIONS(5037),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5039),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5041),
    [anon_sym_BQUOTE] = ACTIONS(5043),
    [anon_sym_LT_LPAREN] = ACTIONS(5045),
    [anon_sym_GT_LPAREN] = ACTIONS(5045),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5400),
    [sym_word] = ACTIONS(5049),
    [anon_sym_LF] = ACTIONS(767),
    [anon_sym_AMP] = ACTIONS(769),
  },
  [2189] = {
    [sym_string] = STATE(2375),
    [sym_simple_expansion] = STATE(2375),
    [sym_string_expansion] = STATE(2375),
    [sym_expansion] = STATE(2375),
    [sym_command_substitution] = STATE(2375),
    [sym_process_substitution] = STATE(2375),
    [sym__special_characters] = ACTIONS(5402),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5402),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5402),
  },
  [2190] = {
    [aux_sym_concatenation_repeat1] = STATE(2376),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_EQ_TILDE] = ACTIONS(809),
    [anon_sym_EQ_EQ] = ACTIONS(809),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2191] = {
    [sym__simple_heredoc_body] = ACTIONS(811),
    [sym__heredoc_body_beginning] = ACTIONS(811),
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_EQ_TILDE] = ACTIONS(813),
    [anon_sym_EQ_EQ] = ACTIONS(813),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [anon_sym_LT_LT] = ACTIONS(813),
    [anon_sym_LT_LT_DASH] = ACTIONS(811),
    [anon_sym_LT_LT_LT] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [2192] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(5404),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2193] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(5404),
    [anon_sym_DOLLAR] = ACTIONS(5406),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2194] = {
    [sym__simple_heredoc_body] = ACTIONS(845),
    [sym__heredoc_body_beginning] = ACTIONS(845),
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_EQ_TILDE] = ACTIONS(847),
    [anon_sym_EQ_EQ] = ACTIONS(847),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [anon_sym_LT_LT] = ACTIONS(847),
    [anon_sym_LT_LT_DASH] = ACTIONS(845),
    [anon_sym_LT_LT_LT] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [2195] = {
    [sym__simple_heredoc_body] = ACTIONS(849),
    [sym__heredoc_body_beginning] = ACTIONS(849),
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_EQ_TILDE] = ACTIONS(851),
    [anon_sym_EQ_EQ] = ACTIONS(851),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [anon_sym_LT_LT] = ACTIONS(851),
    [anon_sym_LT_LT_DASH] = ACTIONS(849),
    [anon_sym_LT_LT_LT] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [2196] = {
    [sym__simple_heredoc_body] = ACTIONS(853),
    [sym__heredoc_body_beginning] = ACTIONS(853),
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_EQ_TILDE] = ACTIONS(855),
    [anon_sym_EQ_EQ] = ACTIONS(855),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [anon_sym_LT_LT] = ACTIONS(855),
    [anon_sym_LT_LT_DASH] = ACTIONS(853),
    [anon_sym_LT_LT_LT] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [2197] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(5408),
    [sym_comment] = ACTIONS(55),
  },
  [2198] = {
    [sym_subscript] = STATE(2382),
    [sym_variable_name] = ACTIONS(5410),
    [anon_sym_DASH] = ACTIONS(5412),
    [anon_sym_DOLLAR] = ACTIONS(5412),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5414),
    [anon_sym_STAR] = ACTIONS(5416),
    [anon_sym_AT] = ACTIONS(5416),
    [anon_sym_QMARK] = ACTIONS(5416),
    [anon_sym_0] = ACTIONS(5414),
    [anon_sym__] = ACTIONS(5414),
  },
  [2199] = {
    [sym_concatenation] = STATE(2385),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2385),
    [anon_sym_RBRACE] = ACTIONS(5418),
    [anon_sym_EQ] = ACTIONS(5420),
    [anon_sym_DASH] = ACTIONS(5420),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5422),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5424),
    [anon_sym_COLON] = ACTIONS(5420),
    [anon_sym_COLON_QMARK] = ACTIONS(5420),
    [anon_sym_COLON_DASH] = ACTIONS(5420),
    [anon_sym_PERCENT] = ACTIONS(5420),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2200] = {
    [sym_concatenation] = STATE(2388),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2388),
    [anon_sym_RBRACE] = ACTIONS(5426),
    [anon_sym_EQ] = ACTIONS(5428),
    [anon_sym_DASH] = ACTIONS(5428),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5430),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5432),
    [anon_sym_COLON] = ACTIONS(5428),
    [anon_sym_COLON_QMARK] = ACTIONS(5428),
    [anon_sym_COLON_DASH] = ACTIONS(5428),
    [anon_sym_PERCENT] = ACTIONS(5428),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2201] = {
    [anon_sym_SEMI] = ACTIONS(5434),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5436),
    [anon_sym_SEMI_SEMI] = ACTIONS(5438),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5438),
    [anon_sym_AMP] = ACTIONS(5434),
  },
  [2202] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5434),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5436),
    [anon_sym_SEMI_SEMI] = ACTIONS(5438),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5438),
    [anon_sym_AMP] = ACTIONS(5434),
  },
  [2203] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2391),
    [sym_c_style_for_statement] = STATE(2391),
    [sym_while_statement] = STATE(2391),
    [sym_if_statement] = STATE(2391),
    [sym_case_statement] = STATE(2391),
    [sym_function_definition] = STATE(2391),
    [sym_subshell] = STATE(2391),
    [sym_pipeline] = STATE(2391),
    [sym_list] = STATE(2391),
    [sym_negated_command] = STATE(2391),
    [sym_test_command] = STATE(2391),
    [sym_declaration_command] = STATE(2391),
    [sym_unset_command] = STATE(2391),
    [sym_command] = STATE(2391),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2392),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2204] = {
    [anon_sym_SEMI] = ACTIONS(5440),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5442),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(5436),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5442),
    [anon_sym_AMP] = ACTIONS(5440),
  },
  [2205] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5440),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5442),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(5436),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5442),
    [anon_sym_AMP] = ACTIONS(5440),
  },
  [2206] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2394),
    [sym_c_style_for_statement] = STATE(2394),
    [sym_while_statement] = STATE(2394),
    [sym_if_statement] = STATE(2394),
    [sym_case_statement] = STATE(2394),
    [sym_function_definition] = STATE(2394),
    [sym_subshell] = STATE(2394),
    [sym_pipeline] = STATE(2394),
    [sym_list] = STATE(2394),
    [sym_negated_command] = STATE(2394),
    [sym_test_command] = STATE(2394),
    [sym_declaration_command] = STATE(2394),
    [sym_unset_command] = STATE(2394),
    [sym_command] = STATE(2394),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2395),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2207] = {
    [anon_sym_SEMI] = ACTIONS(5444),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5446),
    [anon_sym_SEMI_SEMI] = ACTIONS(5448),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5448),
    [anon_sym_AMP] = ACTIONS(5444),
  },
  [2208] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5444),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5446),
    [anon_sym_SEMI_SEMI] = ACTIONS(5448),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5448),
    [anon_sym_AMP] = ACTIONS(5444),
  },
  [2209] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2398),
    [sym_c_style_for_statement] = STATE(2398),
    [sym_while_statement] = STATE(2398),
    [sym_if_statement] = STATE(2398),
    [sym_case_statement] = STATE(2398),
    [sym_function_definition] = STATE(2398),
    [sym_subshell] = STATE(2398),
    [sym_pipeline] = STATE(2398),
    [sym_list] = STATE(2398),
    [sym_negated_command] = STATE(2398),
    [sym_test_command] = STATE(2398),
    [sym_declaration_command] = STATE(2398),
    [sym_unset_command] = STATE(2398),
    [sym_command] = STATE(2398),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2399),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2210] = {
    [anon_sym_RPAREN] = ACTIONS(5450),
    [sym_comment] = ACTIONS(55),
  },
  [2211] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2212] = {
    [sym_for_statement] = STATE(521),
    [sym_c_style_for_statement] = STATE(521),
    [sym_while_statement] = STATE(521),
    [sym_if_statement] = STATE(521),
    [sym_case_statement] = STATE(521),
    [sym_function_definition] = STATE(521),
    [sym_subshell] = STATE(521),
    [sym_pipeline] = STATE(521),
    [sym_list] = STATE(521),
    [sym_negated_command] = STATE(521),
    [sym_test_command] = STATE(521),
    [sym_declaration_command] = STATE(521),
    [sym_unset_command] = STATE(521),
    [sym_command] = STATE(521),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2401),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [2213] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(5452),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5454),
    [anon_sym_DQUOTE] = ACTIONS(5456),
    [anon_sym_DOLLAR] = ACTIONS(5454),
    [sym_raw_string] = ACTIONS(5456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5456),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5456),
    [anon_sym_BQUOTE] = ACTIONS(5456),
    [anon_sym_LT_LPAREN] = ACTIONS(5456),
    [anon_sym_GT_LPAREN] = ACTIONS(5456),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5454),
  },
  [2214] = {
    [sym_for_statement] = STATE(2402),
    [sym_c_style_for_statement] = STATE(2402),
    [sym_while_statement] = STATE(2402),
    [sym_if_statement] = STATE(2402),
    [sym_case_statement] = STATE(2402),
    [sym_function_definition] = STATE(2402),
    [sym_subshell] = STATE(2402),
    [sym_pipeline] = STATE(2402),
    [sym_list] = STATE(2402),
    [sym_negated_command] = STATE(2402),
    [sym_test_command] = STATE(2402),
    [sym_declaration_command] = STATE(2402),
    [sym_unset_command] = STATE(2402),
    [sym_command] = STATE(2402),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2403),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [2215] = {
    [anon_sym_LT] = ACTIONS(5458),
    [anon_sym_GT] = ACTIONS(5458),
    [anon_sym_GT_GT] = ACTIONS(5460),
    [anon_sym_AMP_GT] = ACTIONS(5458),
    [anon_sym_AMP_GT_GT] = ACTIONS(5460),
    [anon_sym_LT_AMP] = ACTIONS(5460),
    [anon_sym_GT_AMP] = ACTIONS(5460),
    [sym_comment] = ACTIONS(55),
  },
  [2216] = {
    [sym_concatenation] = STATE(2405),
    [sym_string] = STATE(2407),
    [sym_simple_expansion] = STATE(2407),
    [sym_string_expansion] = STATE(2407),
    [sym_expansion] = STATE(2407),
    [sym_command_substitution] = STATE(2407),
    [sym_process_substitution] = STATE(2407),
    [sym_regex] = ACTIONS(5462),
    [sym__special_characters] = ACTIONS(5464),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5466),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5466),
  },
  [2217] = {
    [sym_concatenation] = STATE(535),
    [sym_string] = STATE(2411),
    [sym_simple_expansion] = STATE(2411),
    [sym_string_expansion] = STATE(2411),
    [sym_expansion] = STATE(2411),
    [sym_command_substitution] = STATE(2411),
    [sym_process_substitution] = STATE(2411),
    [sym__special_characters] = ACTIONS(5468),
    [anon_sym_DQUOTE] = ACTIONS(5470),
    [anon_sym_DOLLAR] = ACTIONS(5472),
    [sym_raw_string] = ACTIONS(5474),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5476),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5478),
    [anon_sym_BQUOTE] = ACTIONS(5480),
    [anon_sym_LT_LPAREN] = ACTIONS(5482),
    [anon_sym_GT_LPAREN] = ACTIONS(5482),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5474),
  },
  [2218] = {
    [sym_concatenation] = STATE(539),
    [sym_string] = STATE(2417),
    [sym_simple_expansion] = STATE(2417),
    [sym_string_expansion] = STATE(2417),
    [sym_expansion] = STATE(2417),
    [sym_command_substitution] = STATE(2417),
    [sym_process_substitution] = STATE(2417),
    [sym__special_characters] = ACTIONS(5484),
    [anon_sym_DQUOTE] = ACTIONS(5470),
    [anon_sym_DOLLAR] = ACTIONS(5472),
    [sym_raw_string] = ACTIONS(5486),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5476),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5478),
    [anon_sym_BQUOTE] = ACTIONS(5480),
    [anon_sym_LT_LPAREN] = ACTIONS(5482),
    [anon_sym_GT_LPAREN] = ACTIONS(5482),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5486),
  },
  [2219] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(981),
    [sym__heredoc_body_beginning] = ACTIONS(981),
    [sym_file_descriptor] = ACTIONS(981),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(983),
    [anon_sym_esac] = ACTIONS(983),
    [anon_sym_PIPE] = ACTIONS(983),
    [anon_sym_SEMI_SEMI] = ACTIONS(981),
    [anon_sym_PIPE_AMP] = ACTIONS(981),
    [anon_sym_AMP_AMP] = ACTIONS(981),
    [anon_sym_PIPE_PIPE] = ACTIONS(981),
    [anon_sym_EQ_TILDE] = ACTIONS(983),
    [anon_sym_EQ_EQ] = ACTIONS(983),
    [anon_sym_LT] = ACTIONS(983),
    [anon_sym_GT] = ACTIONS(983),
    [anon_sym_GT_GT] = ACTIONS(981),
    [anon_sym_AMP_GT] = ACTIONS(983),
    [anon_sym_AMP_GT_GT] = ACTIONS(981),
    [anon_sym_LT_AMP] = ACTIONS(981),
    [anon_sym_GT_AMP] = ACTIONS(981),
    [anon_sym_LT_LT] = ACTIONS(983),
    [anon_sym_LT_LT_DASH] = ACTIONS(981),
    [anon_sym_LT_LT_LT] = ACTIONS(981),
    [sym__special_characters] = ACTIONS(981),
    [anon_sym_DQUOTE] = ACTIONS(981),
    [anon_sym_DOLLAR] = ACTIONS(983),
    [sym_raw_string] = ACTIONS(981),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(981),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(981),
    [anon_sym_BQUOTE] = ACTIONS(981),
    [anon_sym_LT_LPAREN] = ACTIONS(981),
    [anon_sym_GT_LPAREN] = ACTIONS(981),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(983),
    [anon_sym_LF] = ACTIONS(981),
    [anon_sym_AMP] = ACTIONS(983),
  },
  [2220] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(985),
    [sym__heredoc_body_beginning] = ACTIONS(985),
    [sym_file_descriptor] = ACTIONS(985),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(987),
    [anon_sym_esac] = ACTIONS(987),
    [anon_sym_PIPE] = ACTIONS(987),
    [anon_sym_SEMI_SEMI] = ACTIONS(985),
    [anon_sym_PIPE_AMP] = ACTIONS(985),
    [anon_sym_AMP_AMP] = ACTIONS(985),
    [anon_sym_PIPE_PIPE] = ACTIONS(985),
    [anon_sym_EQ_TILDE] = ACTIONS(987),
    [anon_sym_EQ_EQ] = ACTIONS(987),
    [anon_sym_LT] = ACTIONS(987),
    [anon_sym_GT] = ACTIONS(987),
    [anon_sym_GT_GT] = ACTIONS(985),
    [anon_sym_AMP_GT] = ACTIONS(987),
    [anon_sym_AMP_GT_GT] = ACTIONS(985),
    [anon_sym_LT_AMP] = ACTIONS(985),
    [anon_sym_GT_AMP] = ACTIONS(985),
    [anon_sym_LT_LT] = ACTIONS(987),
    [anon_sym_LT_LT_DASH] = ACTIONS(985),
    [anon_sym_LT_LT_LT] = ACTIONS(985),
    [sym__special_characters] = ACTIONS(985),
    [anon_sym_DQUOTE] = ACTIONS(985),
    [anon_sym_DOLLAR] = ACTIONS(987),
    [sym_raw_string] = ACTIONS(985),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(985),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(985),
    [anon_sym_BQUOTE] = ACTIONS(985),
    [anon_sym_LT_LPAREN] = ACTIONS(985),
    [anon_sym_GT_LPAREN] = ACTIONS(985),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(987),
    [anon_sym_LF] = ACTIONS(985),
    [anon_sym_AMP] = ACTIONS(987),
  },
  [2221] = {
    [sym_file_redirect] = STATE(2418),
    [sym_heredoc_redirect] = STATE(2418),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(2418),
    [aux_sym_while_statement_repeat1] = STATE(2418),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_esac] = ACTIONS(989),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [2222] = {
    [sym_file_redirect] = STATE(2419),
    [sym_heredoc_redirect] = STATE(2419),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(2419),
    [sym_concatenation] = STATE(2420),
    [sym_string] = STATE(2220),
    [sym_simple_expansion] = STATE(2220),
    [sym_string_expansion] = STATE(2220),
    [sym_expansion] = STATE(2220),
    [sym_command_substitution] = STATE(2220),
    [sym_process_substitution] = STATE(2220),
    [aux_sym_while_statement_repeat1] = STATE(2419),
    [aux_sym_command_repeat2] = STATE(2420),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_esac] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(5093),
    [anon_sym_EQ_EQ] = ACTIONS(5093),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym__special_characters] = ACTIONS(5101),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5103),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5105),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [2223] = {
    [anon_sym_esac] = ACTIONS(5452),
    [sym__special_characters] = ACTIONS(5456),
    [anon_sym_DQUOTE] = ACTIONS(5456),
    [anon_sym_DOLLAR] = ACTIONS(5454),
    [sym_raw_string] = ACTIONS(5456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5456),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5456),
    [anon_sym_BQUOTE] = ACTIONS(5456),
    [anon_sym_LT_LPAREN] = ACTIONS(5456),
    [anon_sym_GT_LPAREN] = ACTIONS(5456),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5454),
  },
  [2224] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5488),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5490),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2225] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5452),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5490),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2226] = {
    [sym__terminated_statement] = STATE(2226),
    [sym_for_statement] = STATE(2422),
    [sym_c_style_for_statement] = STATE(2422),
    [sym_while_statement] = STATE(2422),
    [sym_if_statement] = STATE(2422),
    [sym_case_statement] = STATE(2422),
    [sym_function_definition] = STATE(2422),
    [sym_subshell] = STATE(2422),
    [sym_pipeline] = STATE(2422),
    [sym_list] = STATE(2422),
    [sym_negated_command] = STATE(2422),
    [sym_test_command] = STATE(2422),
    [sym_declaration_command] = STATE(2422),
    [sym_unset_command] = STATE(2422),
    [sym_command] = STATE(2422),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2423),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2226),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_esac] = ACTIONS(3645),
    [anon_sym_SEMI_SEMI] = ACTIONS(3728),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [2227] = {
    [sym_file_redirect] = STATE(2419),
    [sym_heredoc_redirect] = STATE(2419),
    [sym_heredoc_body] = STATE(540),
    [sym_herestring_redirect] = STATE(2419),
    [sym_concatenation] = STATE(2424),
    [sym_string] = STATE(2220),
    [sym_simple_expansion] = STATE(2220),
    [sym_string_expansion] = STATE(2220),
    [sym_expansion] = STATE(2220),
    [sym_command_substitution] = STATE(2220),
    [sym_process_substitution] = STATE(2220),
    [aux_sym_while_statement_repeat1] = STATE(2419),
    [aux_sym_command_repeat2] = STATE(2424),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(991),
    [anon_sym_esac] = ACTIONS(991),
    [anon_sym_PIPE] = ACTIONS(991),
    [anon_sym_SEMI_SEMI] = ACTIONS(989),
    [anon_sym_PIPE_AMP] = ACTIONS(989),
    [anon_sym_AMP_AMP] = ACTIONS(989),
    [anon_sym_PIPE_PIPE] = ACTIONS(989),
    [anon_sym_EQ_TILDE] = ACTIONS(5093),
    [anon_sym_EQ_EQ] = ACTIONS(5093),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym__special_characters] = ACTIONS(5101),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5103),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5105),
    [anon_sym_LF] = ACTIONS(989),
    [anon_sym_AMP] = ACTIONS(991),
  },
  [2228] = {
    [sym__terminated_statement] = STATE(2226),
    [sym_for_statement] = STATE(2426),
    [sym_c_style_for_statement] = STATE(2426),
    [sym_while_statement] = STATE(2426),
    [sym_if_statement] = STATE(2426),
    [sym_case_statement] = STATE(2426),
    [sym_function_definition] = STATE(2426),
    [sym_subshell] = STATE(2426),
    [sym_pipeline] = STATE(2426),
    [sym_list] = STATE(2426),
    [sym_negated_command] = STATE(2426),
    [sym_test_command] = STATE(2426),
    [sym_declaration_command] = STATE(2426),
    [sym_unset_command] = STATE(2426),
    [sym_command] = STATE(2426),
    [sym_command_name] = STATE(1969),
    [sym_variable_assignment] = STATE(2427),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2226),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5452),
    [anon_sym_SEMI_SEMI] = ACTIONS(5492),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [2229] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(5494),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5496),
    [anon_sym_DQUOTE] = ACTIONS(5498),
    [anon_sym_DOLLAR] = ACTIONS(5496),
    [sym_raw_string] = ACTIONS(5498),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5498),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5498),
    [anon_sym_BQUOTE] = ACTIONS(5498),
    [anon_sym_LT_LPAREN] = ACTIONS(5498),
    [anon_sym_GT_LPAREN] = ACTIONS(5498),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5496),
  },
  [2230] = {
    [anon_sym_esac] = ACTIONS(5494),
    [sym__special_characters] = ACTIONS(5498),
    [anon_sym_DQUOTE] = ACTIONS(5498),
    [anon_sym_DOLLAR] = ACTIONS(5496),
    [sym_raw_string] = ACTIONS(5498),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5498),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5498),
    [anon_sym_BQUOTE] = ACTIONS(5498),
    [anon_sym_LT_LPAREN] = ACTIONS(5498),
    [anon_sym_GT_LPAREN] = ACTIONS(5498),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5496),
  },
  [2231] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5500),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5502),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2232] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5494),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5502),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2233] = {
    [sym__terminated_statement] = STATE(2226),
    [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(1969),
    [sym_variable_assignment] = STATE(2431),
    [sym_subscript] = STATE(1971),
    [sym_file_redirect] = STATE(1974),
    [sym_concatenation] = STATE(1972),
    [sym_string] = STATE(1962),
    [sym_simple_expansion] = STATE(1962),
    [sym_string_expansion] = STATE(1962),
    [sym_expansion] = STATE(1962),
    [sym_command_substitution] = STATE(1962),
    [sym_process_substitution] = STATE(1962),
    [aux_sym__statements_repeat1] = STATE(2226),
    [aux_sym_command_repeat1] = STATE(1974),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(4445),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(4447),
    [anon_sym_while] = ACTIONS(4449),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_esac] = ACTIONS(5494),
    [anon_sym_SEMI_SEMI] = ACTIONS(5504),
    [anon_sym_function] = ACTIONS(4455),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(4457),
    [anon_sym_LBRACK] = ACTIONS(4459),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(4461),
    [anon_sym_declare] = ACTIONS(4463),
    [anon_sym_typeset] = ACTIONS(4463),
    [anon_sym_export] = ACTIONS(4463),
    [anon_sym_readonly] = ACTIONS(4463),
    [anon_sym_local] = ACTIONS(4463),
    [anon_sym_unset] = ACTIONS(4465),
    [anon_sym_unsetenv] = ACTIONS(4465),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(4467),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(4473),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4483),
  },
  [2234] = {
    [sym__terminated_statement] = STATE(2435),
    [sym_for_statement] = STATE(2433),
    [sym_c_style_for_statement] = STATE(2433),
    [sym_while_statement] = STATE(2433),
    [sym_if_statement] = STATE(2433),
    [sym_case_statement] = STATE(2433),
    [sym_function_definition] = STATE(2433),
    [sym_subshell] = STATE(2433),
    [sym_pipeline] = STATE(2433),
    [sym_list] = STATE(2433),
    [sym_negated_command] = STATE(2433),
    [sym_test_command] = STATE(2433),
    [sym_declaration_command] = STATE(2433),
    [sym_unset_command] = STATE(2433),
    [sym_command] = STATE(2433),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2434),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2435),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5506),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2235] = {
    [aux_sym_case_item_repeat1] = STATE(1976),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(5508),
    [sym_comment] = ACTIONS(55),
  },
  [2236] = {
    [sym__terminated_statement] = STATE(2440),
    [sym_for_statement] = STATE(2438),
    [sym_c_style_for_statement] = STATE(2438),
    [sym_while_statement] = STATE(2438),
    [sym_if_statement] = STATE(2438),
    [sym_case_statement] = STATE(2438),
    [sym_function_definition] = STATE(2438),
    [sym_subshell] = STATE(2438),
    [sym_pipeline] = STATE(2438),
    [sym_list] = STATE(2438),
    [sym_negated_command] = STATE(2438),
    [sym_test_command] = STATE(2438),
    [sym_declaration_command] = STATE(2438),
    [sym_unset_command] = STATE(2438),
    [sym_command] = STATE(2438),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2439),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2440),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5510),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2237] = {
    [aux_sym_case_item_repeat1] = STATE(1976),
    [anon_sym_PIPE] = ACTIONS(3670),
    [anon_sym_RPAREN] = ACTIONS(5512),
    [sym_comment] = ACTIONS(55),
  },
  [2238] = {
    [ts_builtin_sym_end] = ACTIONS(5514),
    [anon_sym_SEMI] = ACTIONS(5516),
    [anon_sym_esac] = ACTIONS(5514),
    [anon_sym_PIPE] = ACTIONS(5516),
    [anon_sym_RPAREN] = ACTIONS(5514),
    [anon_sym_SEMI_SEMI] = ACTIONS(5514),
    [anon_sym_PIPE_AMP] = ACTIONS(5514),
    [anon_sym_AMP_AMP] = ACTIONS(5514),
    [anon_sym_PIPE_PIPE] = ACTIONS(5514),
    [anon_sym_BQUOTE] = ACTIONS(5514),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5514),
    [anon_sym_AMP] = ACTIONS(5516),
  },
  [2239] = {
    [ts_builtin_sym_end] = ACTIONS(5518),
    [anon_sym_SEMI] = ACTIONS(5520),
    [anon_sym_esac] = ACTIONS(5518),
    [anon_sym_PIPE] = ACTIONS(5520),
    [anon_sym_RPAREN] = ACTIONS(5518),
    [anon_sym_SEMI_SEMI] = ACTIONS(5518),
    [anon_sym_PIPE_AMP] = ACTIONS(5518),
    [anon_sym_AMP_AMP] = ACTIONS(5518),
    [anon_sym_PIPE_PIPE] = ACTIONS(5518),
    [anon_sym_BQUOTE] = ACTIONS(5518),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5518),
    [anon_sym_AMP] = ACTIONS(5520),
  },
  [2240] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_in] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5202),
  },
  [2241] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_in] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5206),
  },
  [2242] = {
    [aux_sym_concatenation_repeat1] = STATE(2242),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(4936),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2243] = {
    [aux_sym_concatenation_repeat1] = STATE(2243),
    [sym__concat] = ACTIONS(2807),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_RPAREN] = ACTIONS(1763),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2244] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_RBRACK] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5202),
    [anon_sym_EQ_EQ] = ACTIONS(5202),
    [anon_sym_EQ] = ACTIONS(5204),
    [anon_sym_PLUS_EQ] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_BANG_EQ] = ACTIONS(5202),
    [anon_sym_PLUS] = ACTIONS(5204),
    [anon_sym_DASH] = ACTIONS(5204),
    [anon_sym_DASH_EQ] = ACTIONS(5202),
    [anon_sym_LT_EQ] = ACTIONS(5202),
    [anon_sym_GT_EQ] = ACTIONS(5202),
    [anon_sym_PLUS_PLUS] = ACTIONS(5202),
    [anon_sym_DASH_DASH] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5202),
  },
  [2245] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_RBRACK] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5206),
    [anon_sym_EQ_EQ] = ACTIONS(5206),
    [anon_sym_EQ] = ACTIONS(5208),
    [anon_sym_PLUS_EQ] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_BANG_EQ] = ACTIONS(5206),
    [anon_sym_PLUS] = ACTIONS(5208),
    [anon_sym_DASH] = ACTIONS(5208),
    [anon_sym_DASH_EQ] = ACTIONS(5206),
    [anon_sym_LT_EQ] = ACTIONS(5206),
    [anon_sym_GT_EQ] = ACTIONS(5206),
    [anon_sym_PLUS_PLUS] = ACTIONS(5206),
    [anon_sym_DASH_DASH] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5206),
  },
  [2246] = {
    [sym__concat] = ACTIONS(5202),
    [sym_variable_name] = ACTIONS(5202),
    [ts_builtin_sym_end] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5204),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2247] = {
    [sym__concat] = ACTIONS(5206),
    [sym_variable_name] = ACTIONS(5206),
    [ts_builtin_sym_end] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5208),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2248] = {
    [sym__concat] = ACTIONS(5202),
    [ts_builtin_sym_end] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5204),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2249] = {
    [sym__concat] = ACTIONS(5206),
    [ts_builtin_sym_end] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5208),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2250] = {
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [sym_variable_name] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5202),
  },
  [2251] = {
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [sym_variable_name] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5206),
  },
  [2252] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5204),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym__string_content] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5204),
    [anon_sym_BQUOTE] = ACTIONS(5204),
    [sym_comment] = ACTIONS(281),
  },
  [2253] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5208),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym__string_content] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5208),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5208),
    [anon_sym_BQUOTE] = ACTIONS(5208),
    [sym_comment] = ACTIONS(281),
  },
  [2254] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_RBRACE] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
  },
  [2255] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_RBRACE] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
  },
  [2256] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5522),
    [sym_comment] = ACTIONS(55),
  },
  [2257] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5524),
    [sym_comment] = ACTIONS(55),
  },
  [2258] = {
    [anon_sym_RBRACE] = ACTIONS(5524),
    [sym_comment] = ACTIONS(55),
  },
  [2259] = {
    [sym_concatenation] = STATE(2445),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2445),
    [anon_sym_RBRACE] = ACTIONS(5526),
    [anon_sym_EQ] = ACTIONS(5528),
    [anon_sym_DASH] = ACTIONS(5528),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5530),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5528),
    [anon_sym_COLON_QMARK] = ACTIONS(5528),
    [anon_sym_COLON_DASH] = ACTIONS(5528),
    [anon_sym_PERCENT] = ACTIONS(5528),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2260] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_RBRACE] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
  },
  [2261] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5526),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2262] = {
    [sym_concatenation] = STATE(2446),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2446),
    [anon_sym_RBRACE] = ACTIONS(5524),
    [anon_sym_EQ] = ACTIONS(5532),
    [anon_sym_DASH] = ACTIONS(5532),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5534),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5532),
    [anon_sym_COLON_QMARK] = ACTIONS(5532),
    [anon_sym_COLON_DASH] = ACTIONS(5532),
    [anon_sym_PERCENT] = ACTIONS(5532),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2263] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5524),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2264] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_RBRACE] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
  },
  [2265] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5536),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2266] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_RBRACE] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
  },
  [2267] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_RBRACE] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
  },
  [2268] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_RBRACE] = ACTIONS(4710),
    [anon_sym_EQ] = ACTIONS(4712),
    [anon_sym_DASH] = ACTIONS(4712),
    [sym__special_characters] = ACTIONS(4712),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_POUND] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_COLON] = ACTIONS(4712),
    [anon_sym_COLON_QMARK] = ACTIONS(4712),
    [anon_sym_COLON_DASH] = ACTIONS(4712),
    [anon_sym_PERCENT] = ACTIONS(4712),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4712),
  },
  [2269] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_RBRACE] = ACTIONS(4714),
    [anon_sym_EQ] = ACTIONS(4716),
    [anon_sym_DASH] = ACTIONS(4716),
    [sym__special_characters] = ACTIONS(4716),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_POUND] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_COLON] = ACTIONS(4716),
    [anon_sym_COLON_QMARK] = ACTIONS(4716),
    [anon_sym_COLON_DASH] = ACTIONS(4716),
    [anon_sym_PERCENT] = ACTIONS(4716),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4716),
  },
  [2270] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_RBRACE] = ACTIONS(4718),
    [anon_sym_EQ] = ACTIONS(4720),
    [anon_sym_DASH] = ACTIONS(4720),
    [sym__special_characters] = ACTIONS(4720),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_POUND] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_COLON] = ACTIONS(4720),
    [anon_sym_COLON_QMARK] = ACTIONS(4720),
    [anon_sym_COLON_DASH] = ACTIONS(4720),
    [anon_sym_PERCENT] = ACTIONS(4720),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4720),
  },
  [2271] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5538),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2272] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5540),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2273] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_RBRACE] = ACTIONS(4754),
    [anon_sym_EQ] = ACTIONS(4756),
    [anon_sym_DASH] = ACTIONS(4756),
    [sym__special_characters] = ACTIONS(4756),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_POUND] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_COLON] = ACTIONS(4756),
    [anon_sym_COLON_QMARK] = ACTIONS(4756),
    [anon_sym_COLON_DASH] = ACTIONS(4756),
    [anon_sym_PERCENT] = ACTIONS(4756),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(4756),
  },
  [2274] = {
    [aux_sym_concatenation_repeat1] = STATE(2274),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(4936),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2275] = {
    [aux_sym_concatenation_repeat1] = STATE(2275),
    [sym__concat] = ACTIONS(2807),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2276] = {
    [sym__heredoc_body_middle] = ACTIONS(4710),
    [sym__heredoc_body_end] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
  },
  [2277] = {
    [sym__heredoc_body_middle] = ACTIONS(4714),
    [sym__heredoc_body_end] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
  },
  [2278] = {
    [sym__heredoc_body_middle] = ACTIONS(4718),
    [sym__heredoc_body_end] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
  },
  [2279] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5542),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2280] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5544),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2281] = {
    [sym__heredoc_body_middle] = ACTIONS(4754),
    [sym__heredoc_body_end] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
  },
  [2282] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4710),
  },
  [2283] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4714),
  },
  [2284] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4718),
  },
  [2285] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5546),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2286] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5548),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2287] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4754),
  },
  [2288] = {
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [sym_variable_name] = ACTIONS(5202),
    [ts_builtin_sym_end] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2289] = {
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [sym_variable_name] = ACTIONS(5206),
    [ts_builtin_sym_end] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2290] = {
    [ts_builtin_sym_end] = ACTIONS(5550),
    [anon_sym_SEMI] = ACTIONS(5552),
    [anon_sym_esac] = ACTIONS(5550),
    [anon_sym_PIPE] = ACTIONS(5552),
    [anon_sym_RPAREN] = ACTIONS(5550),
    [anon_sym_SEMI_SEMI] = ACTIONS(5550),
    [anon_sym_PIPE_AMP] = ACTIONS(5550),
    [anon_sym_AMP_AMP] = ACTIONS(5550),
    [anon_sym_PIPE_PIPE] = ACTIONS(5550),
    [anon_sym_BQUOTE] = ACTIONS(5550),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5550),
    [anon_sym_AMP] = ACTIONS(5552),
  },
  [2291] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5202),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5202),
    [anon_sym_EQ_EQ] = ACTIONS(5202),
    [anon_sym_EQ] = ACTIONS(5204),
    [anon_sym_PLUS_EQ] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_BANG_EQ] = ACTIONS(5202),
    [anon_sym_PLUS] = ACTIONS(5204),
    [anon_sym_DASH] = ACTIONS(5204),
    [anon_sym_DASH_EQ] = ACTIONS(5202),
    [anon_sym_LT_EQ] = ACTIONS(5202),
    [anon_sym_GT_EQ] = ACTIONS(5202),
    [anon_sym_PLUS_PLUS] = ACTIONS(5202),
    [anon_sym_DASH_DASH] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5202),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2292] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5206),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5206),
    [anon_sym_EQ_EQ] = ACTIONS(5206),
    [anon_sym_EQ] = ACTIONS(5208),
    [anon_sym_PLUS_EQ] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_BANG_EQ] = ACTIONS(5206),
    [anon_sym_PLUS] = ACTIONS(5208),
    [anon_sym_DASH] = ACTIONS(5208),
    [anon_sym_DASH_EQ] = ACTIONS(5206),
    [anon_sym_LT_EQ] = ACTIONS(5206),
    [anon_sym_GT_EQ] = ACTIONS(5206),
    [anon_sym_PLUS_PLUS] = ACTIONS(5206),
    [anon_sym_DASH_DASH] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5206),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2293] = {
    [sym_do_group] = STATE(2454),
    [sym_compound_statement] = STATE(2454),
    [anon_sym_do] = ACTIONS(1212),
    [anon_sym_LBRACE] = ACTIONS(3350),
    [sym_comment] = ACTIONS(55),
  },
  [2294] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4710),
  },
  [2295] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4714),
  },
  [2296] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4718),
  },
  [2297] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5554),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2298] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5556),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2299] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4754),
  },
  [2300] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5202),
    [anon_sym_EQ_EQ] = ACTIONS(5202),
    [anon_sym_EQ] = ACTIONS(5204),
    [anon_sym_PLUS_EQ] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_BANG_EQ] = ACTIONS(5202),
    [anon_sym_PLUS] = ACTIONS(5204),
    [anon_sym_DASH] = ACTIONS(5204),
    [anon_sym_DASH_EQ] = ACTIONS(5202),
    [anon_sym_LT_EQ] = ACTIONS(5202),
    [anon_sym_GT_EQ] = ACTIONS(5202),
    [anon_sym_PLUS_PLUS] = ACTIONS(5202),
    [anon_sym_DASH_DASH] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5202),
  },
  [2301] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5206),
    [anon_sym_EQ_EQ] = ACTIONS(5206),
    [anon_sym_EQ] = ACTIONS(5208),
    [anon_sym_PLUS_EQ] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_BANG_EQ] = ACTIONS(5206),
    [anon_sym_PLUS] = ACTIONS(5208),
    [anon_sym_DASH] = ACTIONS(5208),
    [anon_sym_DASH_EQ] = ACTIONS(5206),
    [anon_sym_LT_EQ] = ACTIONS(5206),
    [anon_sym_GT_EQ] = ACTIONS(5206),
    [anon_sym_PLUS_PLUS] = ACTIONS(5206),
    [anon_sym_DASH_DASH] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_test_operator] = ACTIONS(5206),
  },
  [2302] = {
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [ts_builtin_sym_end] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3934),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_RPAREN] = ACTIONS(3934),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [anon_sym_LT_LT] = ACTIONS(3936),
    [anon_sym_LT_LT_DASH] = ACTIONS(3934),
    [anon_sym_LT_LT_LT] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2303] = {
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [ts_builtin_sym_end] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3942),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_RPAREN] = ACTIONS(3942),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [anon_sym_LT_LT] = ACTIONS(3944),
    [anon_sym_LT_LT_DASH] = ACTIONS(3942),
    [anon_sym_LT_LT_LT] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2304] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5558),
    [sym_comment] = ACTIONS(55),
  },
  [2305] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(5560),
    [sym_comment] = ACTIONS(55),
  },
  [2306] = {
    [anon_sym_RBRACE] = ACTIONS(5560),
    [sym_comment] = ACTIONS(55),
  },
  [2307] = {
    [sym_concatenation] = STATE(2460),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2460),
    [anon_sym_RBRACE] = ACTIONS(5562),
    [anon_sym_EQ] = ACTIONS(5564),
    [anon_sym_DASH] = ACTIONS(5564),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5566),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5564),
    [anon_sym_COLON_QMARK] = ACTIONS(5564),
    [anon_sym_COLON_DASH] = ACTIONS(5564),
    [anon_sym_PERCENT] = ACTIONS(5564),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2308] = {
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [ts_builtin_sym_end] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(3998),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_RPAREN] = ACTIONS(3998),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [anon_sym_LT_LT] = ACTIONS(4000),
    [anon_sym_LT_LT_DASH] = ACTIONS(3998),
    [anon_sym_LT_LT_LT] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2309] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5562),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2310] = {
    [sym_concatenation] = STATE(2461),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2461),
    [anon_sym_RBRACE] = ACTIONS(5560),
    [anon_sym_EQ] = ACTIONS(5568),
    [anon_sym_DASH] = ACTIONS(5568),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5570),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5568),
    [anon_sym_COLON_QMARK] = ACTIONS(5568),
    [anon_sym_COLON_DASH] = ACTIONS(5568),
    [anon_sym_PERCENT] = ACTIONS(5568),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2311] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5560),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2312] = {
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [ts_builtin_sym_end] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4043),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_RPAREN] = ACTIONS(4043),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [anon_sym_LT_LT] = ACTIONS(4045),
    [anon_sym_LT_LT_DASH] = ACTIONS(4043),
    [anon_sym_LT_LT_LT] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2313] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5572),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2314] = {
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [ts_builtin_sym_end] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4065),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_RPAREN] = ACTIONS(4065),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [anon_sym_LT_LT] = ACTIONS(4067),
    [anon_sym_LT_LT_DASH] = ACTIONS(4065),
    [anon_sym_LT_LT_LT] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2315] = {
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [ts_builtin_sym_end] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4089),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_RPAREN] = ACTIONS(4089),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [anon_sym_LT_LT] = ACTIONS(4091),
    [anon_sym_LT_LT_DASH] = ACTIONS(4089),
    [anon_sym_LT_LT_LT] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2316] = {
    [sym_file_descriptor] = ACTIONS(1106),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_esac] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [2317] = {
    [sym_concatenation] = STATE(2464),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(2464),
    [anon_sym_RPAREN] = ACTIONS(5574),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [2318] = {
    [aux_sym_concatenation_repeat1] = STATE(2466),
    [sym_file_descriptor] = ACTIONS(1128),
    [sym__concat] = ACTIONS(5576),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_esac] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [anon_sym_LT] = ACTIONS(1132),
    [anon_sym_GT] = ACTIONS(1132),
    [anon_sym_GT_GT] = ACTIONS(1128),
    [anon_sym_AMP_GT] = ACTIONS(1132),
    [anon_sym_AMP_GT_GT] = ACTIONS(1128),
    [anon_sym_LT_AMP] = ACTIONS(1128),
    [anon_sym_GT_AMP] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [2319] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(2469),
    [anon_sym_DQUOTE] = ACTIONS(5578),
    [anon_sym_DOLLAR] = ACTIONS(5580),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2320] = {
    [sym_string] = STATE(2471),
    [anon_sym_DASH] = ACTIONS(5582),
    [anon_sym_DQUOTE] = ACTIONS(5330),
    [anon_sym_DOLLAR] = ACTIONS(5582),
    [sym_raw_string] = ACTIONS(5584),
    [anon_sym_POUND] = ACTIONS(5582),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5586),
    [anon_sym_STAR] = ACTIONS(5588),
    [anon_sym_AT] = ACTIONS(5588),
    [anon_sym_QMARK] = ACTIONS(5588),
    [anon_sym_0] = ACTIONS(5586),
    [anon_sym__] = ACTIONS(5586),
  },
  [2321] = {
    [aux_sym_concatenation_repeat1] = STATE(2466),
    [sym_file_descriptor] = ACTIONS(1106),
    [sym__concat] = ACTIONS(5576),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_esac] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [anon_sym_LT] = ACTIONS(1108),
    [anon_sym_GT] = ACTIONS(1108),
    [anon_sym_GT_GT] = ACTIONS(1106),
    [anon_sym_AMP_GT] = ACTIONS(1108),
    [anon_sym_AMP_GT_GT] = ACTIONS(1106),
    [anon_sym_LT_AMP] = ACTIONS(1106),
    [anon_sym_GT_AMP] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [2322] = {
    [sym_subscript] = STATE(2476),
    [sym_variable_name] = ACTIONS(5590),
    [anon_sym_BANG] = ACTIONS(5592),
    [anon_sym_DASH] = ACTIONS(5594),
    [anon_sym_DOLLAR] = ACTIONS(5594),
    [anon_sym_POUND] = ACTIONS(5592),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5596),
    [anon_sym_STAR] = ACTIONS(5598),
    [anon_sym_AT] = ACTIONS(5598),
    [anon_sym_QMARK] = ACTIONS(5598),
    [anon_sym_0] = ACTIONS(5596),
    [anon_sym__] = ACTIONS(5596),
  },
  [2323] = {
    [sym__terminated_statement] = STATE(2479),
    [sym_for_statement] = STATE(2477),
    [sym_c_style_for_statement] = STATE(2477),
    [sym_while_statement] = STATE(2477),
    [sym_if_statement] = STATE(2477),
    [sym_case_statement] = STATE(2477),
    [sym_function_definition] = STATE(2477),
    [sym_subshell] = STATE(2477),
    [sym_pipeline] = STATE(2477),
    [sym_list] = STATE(2477),
    [sym_negated_command] = STATE(2477),
    [sym_test_command] = STATE(2477),
    [sym_declaration_command] = STATE(2477),
    [sym_unset_command] = STATE(2477),
    [sym_command] = STATE(2477),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2478),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2479),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2324] = {
    [sym__terminated_statement] = STATE(2482),
    [sym_for_statement] = STATE(2480),
    [sym_c_style_for_statement] = STATE(2480),
    [sym_while_statement] = STATE(2480),
    [sym_if_statement] = STATE(2480),
    [sym_case_statement] = STATE(2480),
    [sym_function_definition] = STATE(2480),
    [sym_subshell] = STATE(2480),
    [sym_pipeline] = STATE(2480),
    [sym_list] = STATE(2480),
    [sym_negated_command] = STATE(2480),
    [sym_test_command] = STATE(2480),
    [sym_declaration_command] = STATE(2480),
    [sym_unset_command] = STATE(2480),
    [sym_command] = STATE(2480),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2481),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2482),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2325] = {
    [sym__terminated_statement] = STATE(2485),
    [sym_for_statement] = STATE(2483),
    [sym_c_style_for_statement] = STATE(2483),
    [sym_while_statement] = STATE(2483),
    [sym_if_statement] = STATE(2483),
    [sym_case_statement] = STATE(2483),
    [sym_function_definition] = STATE(2483),
    [sym_subshell] = STATE(2483),
    [sym_pipeline] = STATE(2483),
    [sym_list] = STATE(2483),
    [sym_negated_command] = STATE(2483),
    [sym_test_command] = STATE(2483),
    [sym_declaration_command] = STATE(2483),
    [sym_unset_command] = STATE(2483),
    [sym_command] = STATE(2483),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2484),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2485),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2326] = {
    [sym_file_redirect] = STATE(2489),
    [sym_heredoc_redirect] = STATE(2489),
    [sym_herestring_redirect] = STATE(2489),
    [aux_sym_while_statement_repeat1] = STATE(2489),
    [sym_file_descriptor] = ACTIONS(5600),
    [anon_sym_SEMI] = ACTIONS(1302),
    [anon_sym_esac] = ACTIONS(1300),
    [anon_sym_PIPE] = ACTIONS(1302),
    [anon_sym_SEMI_SEMI] = ACTIONS(1300),
    [anon_sym_PIPE_AMP] = ACTIONS(1300),
    [anon_sym_AMP_AMP] = ACTIONS(1300),
    [anon_sym_PIPE_PIPE] = ACTIONS(1300),
    [anon_sym_LT] = ACTIONS(5602),
    [anon_sym_GT] = ACTIONS(5602),
    [anon_sym_GT_GT] = ACTIONS(5604),
    [anon_sym_AMP_GT] = ACTIONS(5602),
    [anon_sym_AMP_GT_GT] = ACTIONS(5604),
    [anon_sym_LT_AMP] = ACTIONS(5604),
    [anon_sym_GT_AMP] = ACTIONS(5604),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(5606),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1300),
    [anon_sym_AMP] = ACTIONS(1302),
  },
  [2327] = {
    [sym_file_redirect] = STATE(2490),
    [sym_heredoc_redirect] = STATE(2490),
    [sym_heredoc_body] = STATE(699),
    [sym_herestring_redirect] = STATE(2490),
    [aux_sym_while_statement_repeat1] = STATE(2490),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(1340),
    [anon_sym_esac] = ACTIONS(1338),
    [anon_sym_PIPE] = ACTIONS(1340),
    [anon_sym_SEMI_SEMI] = ACTIONS(1338),
    [anon_sym_PIPE_AMP] = ACTIONS(1338),
    [anon_sym_AMP_AMP] = ACTIONS(1338),
    [anon_sym_PIPE_PIPE] = ACTIONS(1338),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1338),
    [anon_sym_AMP] = ACTIONS(1340),
  },
  [2328] = {
    [anon_sym_RPAREN] = ACTIONS(5608),
    [sym_comment] = ACTIONS(55),
  },
  [2329] = {
    [sym_file_redirect] = STATE(756),
    [sym_file_descriptor] = ACTIONS(5610),
    [anon_sym_SEMI] = ACTIONS(1432),
    [anon_sym_esac] = ACTIONS(1430),
    [anon_sym_PIPE] = ACTIONS(1432),
    [anon_sym_SEMI_SEMI] = ACTIONS(1430),
    [anon_sym_PIPE_AMP] = ACTIONS(1430),
    [anon_sym_AMP_AMP] = ACTIONS(1430),
    [anon_sym_PIPE_PIPE] = ACTIONS(1430),
    [anon_sym_LT] = ACTIONS(5612),
    [anon_sym_GT] = ACTIONS(5612),
    [anon_sym_GT_GT] = ACTIONS(5614),
    [anon_sym_AMP_GT] = ACTIONS(5612),
    [anon_sym_AMP_GT_GT] = ACTIONS(5614),
    [anon_sym_LT_AMP] = ACTIONS(5614),
    [anon_sym_GT_AMP] = ACTIONS(5614),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1430),
    [anon_sym_AMP] = ACTIONS(1432),
  },
  [2330] = {
    [sym_concatenation] = STATE(2494),
    [sym_string] = STATE(2497),
    [sym_array] = STATE(2494),
    [sym_simple_expansion] = STATE(2497),
    [sym_string_expansion] = STATE(2497),
    [sym_expansion] = STATE(2497),
    [sym_command_substitution] = STATE(2497),
    [sym_process_substitution] = STATE(2497),
    [sym__empty_value] = ACTIONS(5616),
    [anon_sym_LPAREN] = ACTIONS(5618),
    [sym__special_characters] = ACTIONS(5620),
    [anon_sym_DQUOTE] = ACTIONS(5013),
    [anon_sym_DOLLAR] = ACTIONS(5015),
    [sym_raw_string] = ACTIONS(5622),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5019),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5021),
    [anon_sym_BQUOTE] = ACTIONS(5023),
    [anon_sym_LT_LPAREN] = ACTIONS(5025),
    [anon_sym_GT_LPAREN] = ACTIONS(5025),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5622),
  },
  [2331] = {
    [sym_string] = STATE(2498),
    [sym_simple_expansion] = STATE(2498),
    [sym_string_expansion] = STATE(2498),
    [sym_expansion] = STATE(2498),
    [sym_command_substitution] = STATE(2498),
    [sym_process_substitution] = STATE(2498),
    [sym__special_characters] = ACTIONS(5624),
    [anon_sym_DQUOTE] = ACTIONS(5013),
    [anon_sym_DOLLAR] = ACTIONS(5015),
    [sym_raw_string] = ACTIONS(5624),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5019),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5021),
    [anon_sym_BQUOTE] = ACTIONS(5023),
    [anon_sym_LT_LPAREN] = ACTIONS(5025),
    [anon_sym_GT_LPAREN] = ACTIONS(5025),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5624),
  },
  [2332] = {
    [aux_sym_concatenation_repeat1] = STATE(2499),
    [sym__concat] = ACTIONS(5350),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2333] = {
    [sym__concat] = ACTIONS(811),
    [sym_variable_name] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(813),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [2334] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(5626),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2335] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(5626),
    [anon_sym_DOLLAR] = ACTIONS(5628),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2336] = {
    [sym__concat] = ACTIONS(845),
    [sym_variable_name] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(847),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [2337] = {
    [sym__concat] = ACTIONS(849),
    [sym_variable_name] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(851),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [2338] = {
    [sym__concat] = ACTIONS(853),
    [sym_variable_name] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(855),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [2339] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(5630),
    [sym_comment] = ACTIONS(55),
  },
  [2340] = {
    [sym_subscript] = STATE(2505),
    [sym_variable_name] = ACTIONS(5632),
    [anon_sym_DASH] = ACTIONS(5634),
    [anon_sym_DOLLAR] = ACTIONS(5634),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5636),
    [anon_sym_STAR] = ACTIONS(5638),
    [anon_sym_AT] = ACTIONS(5638),
    [anon_sym_QMARK] = ACTIONS(5638),
    [anon_sym_0] = ACTIONS(5636),
    [anon_sym__] = ACTIONS(5636),
  },
  [2341] = {
    [sym_concatenation] = STATE(2508),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2508),
    [anon_sym_RBRACE] = ACTIONS(5640),
    [anon_sym_EQ] = ACTIONS(5642),
    [anon_sym_DASH] = ACTIONS(5642),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5644),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5646),
    [anon_sym_COLON] = ACTIONS(5642),
    [anon_sym_COLON_QMARK] = ACTIONS(5642),
    [anon_sym_COLON_DASH] = ACTIONS(5642),
    [anon_sym_PERCENT] = ACTIONS(5642),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2342] = {
    [sym_concatenation] = STATE(2511),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2511),
    [anon_sym_RBRACE] = ACTIONS(5648),
    [anon_sym_EQ] = ACTIONS(5650),
    [anon_sym_DASH] = ACTIONS(5650),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5652),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5654),
    [anon_sym_COLON] = ACTIONS(5650),
    [anon_sym_COLON_QMARK] = ACTIONS(5650),
    [anon_sym_COLON_DASH] = ACTIONS(5650),
    [anon_sym_PERCENT] = ACTIONS(5650),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2343] = {
    [anon_sym_SEMI] = ACTIONS(5656),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5658),
    [anon_sym_SEMI_SEMI] = ACTIONS(5660),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5660),
    [anon_sym_AMP] = ACTIONS(5656),
  },
  [2344] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5656),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5658),
    [anon_sym_SEMI_SEMI] = ACTIONS(5660),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5660),
    [anon_sym_AMP] = ACTIONS(5656),
  },
  [2345] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2514),
    [sym_c_style_for_statement] = STATE(2514),
    [sym_while_statement] = STATE(2514),
    [sym_if_statement] = STATE(2514),
    [sym_case_statement] = STATE(2514),
    [sym_function_definition] = STATE(2514),
    [sym_subshell] = STATE(2514),
    [sym_pipeline] = STATE(2514),
    [sym_list] = STATE(2514),
    [sym_negated_command] = STATE(2514),
    [sym_test_command] = STATE(2514),
    [sym_declaration_command] = STATE(2514),
    [sym_unset_command] = STATE(2514),
    [sym_command] = STATE(2514),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2515),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2346] = {
    [anon_sym_SEMI] = ACTIONS(5662),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5664),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(5658),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5664),
    [anon_sym_AMP] = ACTIONS(5662),
  },
  [2347] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5662),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5664),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(5658),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5664),
    [anon_sym_AMP] = ACTIONS(5662),
  },
  [2348] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2517),
    [sym_c_style_for_statement] = STATE(2517),
    [sym_while_statement] = STATE(2517),
    [sym_if_statement] = STATE(2517),
    [sym_case_statement] = STATE(2517),
    [sym_function_definition] = STATE(2517),
    [sym_subshell] = STATE(2517),
    [sym_pipeline] = STATE(2517),
    [sym_list] = STATE(2517),
    [sym_negated_command] = STATE(2517),
    [sym_test_command] = STATE(2517),
    [sym_declaration_command] = STATE(2517),
    [sym_unset_command] = STATE(2517),
    [sym_command] = STATE(2517),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2518),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2349] = {
    [anon_sym_SEMI] = ACTIONS(5666),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5668),
    [anon_sym_SEMI_SEMI] = ACTIONS(5670),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5670),
    [anon_sym_AMP] = ACTIONS(5666),
  },
  [2350] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5666),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5668),
    [anon_sym_SEMI_SEMI] = ACTIONS(5670),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5670),
    [anon_sym_AMP] = ACTIONS(5666),
  },
  [2351] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2521),
    [sym_c_style_for_statement] = STATE(2521),
    [sym_while_statement] = STATE(2521),
    [sym_if_statement] = STATE(2521),
    [sym_case_statement] = STATE(2521),
    [sym_function_definition] = STATE(2521),
    [sym_subshell] = STATE(2521),
    [sym_pipeline] = STATE(2521),
    [sym_list] = STATE(2521),
    [sym_negated_command] = STATE(2521),
    [sym_test_command] = STATE(2521),
    [sym_declaration_command] = STATE(2521),
    [sym_unset_command] = STATE(2521),
    [sym_command] = STATE(2521),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2522),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2352] = {
    [sym_variable_assignment] = STATE(2352),
    [sym_subscript] = STATE(2178),
    [sym_concatenation] = STATE(2352),
    [sym_string] = STATE(2173),
    [sym_simple_expansion] = STATE(2173),
    [sym_string_expansion] = STATE(2173),
    [sym_expansion] = STATE(2173),
    [sym_command_substitution] = STATE(2173),
    [sym_process_substitution] = STATE(2173),
    [aux_sym_declaration_command_repeat1] = STATE(2352),
    [sym_variable_name] = ACTIONS(5672),
    [anon_sym_SEMI] = ACTIONS(1601),
    [anon_sym_esac] = ACTIONS(1601),
    [anon_sym_PIPE] = ACTIONS(1601),
    [anon_sym_SEMI_SEMI] = ACTIONS(1599),
    [anon_sym_PIPE_AMP] = ACTIONS(1599),
    [anon_sym_AMP_AMP] = ACTIONS(1599),
    [anon_sym_PIPE_PIPE] = ACTIONS(1599),
    [sym__special_characters] = ACTIONS(5675),
    [anon_sym_DQUOTE] = ACTIONS(5678),
    [anon_sym_DOLLAR] = ACTIONS(5681),
    [sym_raw_string] = ACTIONS(5684),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5687),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5690),
    [anon_sym_BQUOTE] = ACTIONS(5693),
    [anon_sym_LT_LPAREN] = ACTIONS(5696),
    [anon_sym_GT_LPAREN] = ACTIONS(5696),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5699),
    [sym_word] = ACTIONS(5702),
    [anon_sym_LF] = ACTIONS(1599),
    [anon_sym_AMP] = ACTIONS(1601),
  },
  [2353] = {
    [sym_string] = STATE(2523),
    [sym_simple_expansion] = STATE(2523),
    [sym_string_expansion] = STATE(2523),
    [sym_expansion] = STATE(2523),
    [sym_command_substitution] = STATE(2523),
    [sym_process_substitution] = STATE(2523),
    [sym__special_characters] = ACTIONS(5705),
    [anon_sym_DQUOTE] = ACTIONS(5033),
    [anon_sym_DOLLAR] = ACTIONS(5035),
    [sym_raw_string] = ACTIONS(5705),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5039),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5041),
    [anon_sym_BQUOTE] = ACTIONS(5043),
    [anon_sym_LT_LPAREN] = ACTIONS(5045),
    [anon_sym_GT_LPAREN] = ACTIONS(5045),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5705),
  },
  [2354] = {
    [aux_sym_concatenation_repeat1] = STATE(2524),
    [sym__concat] = ACTIONS(5376),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(809),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2355] = {
    [sym__concat] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(813),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [2356] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(5707),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2357] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(5707),
    [anon_sym_DOLLAR] = ACTIONS(5709),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2358] = {
    [sym__concat] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(847),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [2359] = {
    [sym__concat] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(851),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [2360] = {
    [sym__concat] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(855),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [2361] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(5711),
    [sym_comment] = ACTIONS(55),
  },
  [2362] = {
    [sym_subscript] = STATE(2530),
    [sym_variable_name] = ACTIONS(5713),
    [anon_sym_DASH] = ACTIONS(5715),
    [anon_sym_DOLLAR] = ACTIONS(5715),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5717),
    [anon_sym_STAR] = ACTIONS(5719),
    [anon_sym_AT] = ACTIONS(5719),
    [anon_sym_QMARK] = ACTIONS(5719),
    [anon_sym_0] = ACTIONS(5717),
    [anon_sym__] = ACTIONS(5717),
  },
  [2363] = {
    [sym_concatenation] = STATE(2533),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2533),
    [anon_sym_RBRACE] = ACTIONS(5721),
    [anon_sym_EQ] = ACTIONS(5723),
    [anon_sym_DASH] = ACTIONS(5723),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5725),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5727),
    [anon_sym_COLON] = ACTIONS(5723),
    [anon_sym_COLON_QMARK] = ACTIONS(5723),
    [anon_sym_COLON_DASH] = ACTIONS(5723),
    [anon_sym_PERCENT] = ACTIONS(5723),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2364] = {
    [sym_concatenation] = STATE(2536),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2536),
    [anon_sym_RBRACE] = ACTIONS(5729),
    [anon_sym_EQ] = ACTIONS(5731),
    [anon_sym_DASH] = ACTIONS(5731),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5733),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5735),
    [anon_sym_COLON] = ACTIONS(5731),
    [anon_sym_COLON_QMARK] = ACTIONS(5731),
    [anon_sym_COLON_DASH] = ACTIONS(5731),
    [anon_sym_PERCENT] = ACTIONS(5731),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2365] = {
    [anon_sym_SEMI] = ACTIONS(5737),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5741),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5741),
    [anon_sym_AMP] = ACTIONS(5737),
  },
  [2366] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5737),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5739),
    [anon_sym_SEMI_SEMI] = ACTIONS(5741),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5741),
    [anon_sym_AMP] = ACTIONS(5737),
  },
  [2367] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2539),
    [sym_c_style_for_statement] = STATE(2539),
    [sym_while_statement] = STATE(2539),
    [sym_if_statement] = STATE(2539),
    [sym_case_statement] = STATE(2539),
    [sym_function_definition] = STATE(2539),
    [sym_subshell] = STATE(2539),
    [sym_pipeline] = STATE(2539),
    [sym_list] = STATE(2539),
    [sym_negated_command] = STATE(2539),
    [sym_test_command] = STATE(2539),
    [sym_declaration_command] = STATE(2539),
    [sym_unset_command] = STATE(2539),
    [sym_command] = STATE(2539),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2540),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2368] = {
    [anon_sym_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5745),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5745),
    [anon_sym_AMP] = ACTIONS(5743),
  },
  [2369] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5743),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5745),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(5739),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5745),
    [anon_sym_AMP] = ACTIONS(5743),
  },
  [2370] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2542),
    [sym_c_style_for_statement] = STATE(2542),
    [sym_while_statement] = STATE(2542),
    [sym_if_statement] = STATE(2542),
    [sym_case_statement] = STATE(2542),
    [sym_function_definition] = STATE(2542),
    [sym_subshell] = STATE(2542),
    [sym_pipeline] = STATE(2542),
    [sym_list] = STATE(2542),
    [sym_negated_command] = STATE(2542),
    [sym_test_command] = STATE(2542),
    [sym_declaration_command] = STATE(2542),
    [sym_unset_command] = STATE(2542),
    [sym_command] = STATE(2542),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2543),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2371] = {
    [anon_sym_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5751),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5751),
    [anon_sym_AMP] = ACTIONS(5747),
  },
  [2372] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5747),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5749),
    [anon_sym_SEMI_SEMI] = ACTIONS(5751),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5751),
    [anon_sym_AMP] = ACTIONS(5747),
  },
  [2373] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2546),
    [sym_c_style_for_statement] = STATE(2546),
    [sym_while_statement] = STATE(2546),
    [sym_if_statement] = STATE(2546),
    [sym_case_statement] = STATE(2546),
    [sym_function_definition] = STATE(2546),
    [sym_subshell] = STATE(2546),
    [sym_pipeline] = STATE(2546),
    [sym_list] = STATE(2546),
    [sym_negated_command] = STATE(2546),
    [sym_test_command] = STATE(2546),
    [sym_declaration_command] = STATE(2546),
    [sym_unset_command] = STATE(2546),
    [sym_command] = STATE(2546),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2547),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2374] = {
    [sym_concatenation] = STATE(2374),
    [sym_string] = STATE(2183),
    [sym_simple_expansion] = STATE(2183),
    [sym_string_expansion] = STATE(2183),
    [sym_expansion] = STATE(2183),
    [sym_command_substitution] = STATE(2183),
    [sym_process_substitution] = STATE(2183),
    [aux_sym_unset_command_repeat1] = STATE(2374),
    [anon_sym_SEMI] = ACTIONS(1683),
    [anon_sym_esac] = ACTIONS(1683),
    [anon_sym_PIPE] = ACTIONS(1683),
    [anon_sym_SEMI_SEMI] = ACTIONS(1681),
    [anon_sym_PIPE_AMP] = ACTIONS(1681),
    [anon_sym_AMP_AMP] = ACTIONS(1681),
    [anon_sym_PIPE_PIPE] = ACTIONS(1681),
    [sym__special_characters] = ACTIONS(5753),
    [anon_sym_DQUOTE] = ACTIONS(5756),
    [anon_sym_DOLLAR] = ACTIONS(5759),
    [sym_raw_string] = ACTIONS(5762),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5765),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5768),
    [anon_sym_BQUOTE] = ACTIONS(5771),
    [anon_sym_LT_LPAREN] = ACTIONS(5774),
    [anon_sym_GT_LPAREN] = ACTIONS(5774),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5777),
    [sym_word] = ACTIONS(5780),
    [anon_sym_LF] = ACTIONS(1681),
    [anon_sym_AMP] = ACTIONS(1683),
  },
  [2375] = {
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2376] = {
    [aux_sym_concatenation_repeat1] = STATE(2376),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(5783),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_EQ_TILDE] = ACTIONS(1765),
    [anon_sym_EQ_EQ] = ACTIONS(1765),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2377] = {
    [sym__simple_heredoc_body] = ACTIONS(1770),
    [sym__heredoc_body_beginning] = ACTIONS(1770),
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_EQ_TILDE] = ACTIONS(1772),
    [anon_sym_EQ_EQ] = ACTIONS(1772),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [anon_sym_LT_LT] = ACTIONS(1772),
    [anon_sym_LT_LT_DASH] = ACTIONS(1770),
    [anon_sym_LT_LT_LT] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [2378] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(5786),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2379] = {
    [sym_concatenation] = STATE(2552),
    [sym_string] = STATE(2551),
    [sym_simple_expansion] = STATE(2551),
    [sym_string_expansion] = STATE(2551),
    [sym_expansion] = STATE(2551),
    [sym_command_substitution] = STATE(2551),
    [sym_process_substitution] = STATE(2551),
    [anon_sym_RBRACE] = ACTIONS(5788),
    [sym__special_characters] = ACTIONS(5790),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(5792),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5792),
  },
  [2380] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(5794),
    [sym_comment] = ACTIONS(55),
  },
  [2381] = {
    [sym_concatenation] = STATE(2556),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2556),
    [anon_sym_RBRACE] = ACTIONS(5796),
    [anon_sym_EQ] = ACTIONS(5798),
    [anon_sym_DASH] = ACTIONS(5798),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5800),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5802),
    [anon_sym_COLON] = ACTIONS(5798),
    [anon_sym_COLON_QMARK] = ACTIONS(5798),
    [anon_sym_COLON_DASH] = ACTIONS(5798),
    [anon_sym_PERCENT] = ACTIONS(5798),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2382] = {
    [sym_concatenation] = STATE(2558),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2558),
    [anon_sym_RBRACE] = ACTIONS(5788),
    [anon_sym_EQ] = ACTIONS(5804),
    [anon_sym_DASH] = ACTIONS(5804),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5806),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5808),
    [anon_sym_COLON] = ACTIONS(5804),
    [anon_sym_COLON_QMARK] = ACTIONS(5804),
    [anon_sym_COLON_DASH] = ACTIONS(5804),
    [anon_sym_PERCENT] = ACTIONS(5804),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2383] = {
    [sym__simple_heredoc_body] = ACTIONS(1871),
    [sym__heredoc_body_beginning] = ACTIONS(1871),
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_EQ_TILDE] = ACTIONS(1873),
    [anon_sym_EQ_EQ] = ACTIONS(1873),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [anon_sym_LT_LT] = ACTIONS(1873),
    [anon_sym_LT_LT_DASH] = ACTIONS(1871),
    [anon_sym_LT_LT_LT] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [2384] = {
    [sym_concatenation] = STATE(2561),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2561),
    [sym_regex] = ACTIONS(5810),
    [anon_sym_RBRACE] = ACTIONS(5812),
    [anon_sym_EQ] = ACTIONS(5814),
    [anon_sym_DASH] = ACTIONS(5814),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5816),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5814),
    [anon_sym_COLON_QMARK] = ACTIONS(5814),
    [anon_sym_COLON_DASH] = ACTIONS(5814),
    [anon_sym_PERCENT] = ACTIONS(5814),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2385] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5812),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2386] = {
    [sym__simple_heredoc_body] = ACTIONS(1919),
    [sym__heredoc_body_beginning] = ACTIONS(1919),
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_EQ_TILDE] = ACTIONS(1921),
    [anon_sym_EQ_EQ] = ACTIONS(1921),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [anon_sym_LT_LT] = ACTIONS(1921),
    [anon_sym_LT_LT_DASH] = ACTIONS(1919),
    [anon_sym_LT_LT_LT] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [2387] = {
    [sym_concatenation] = STATE(2558),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2558),
    [sym_regex] = ACTIONS(5818),
    [anon_sym_RBRACE] = ACTIONS(5788),
    [anon_sym_EQ] = ACTIONS(5804),
    [anon_sym_DASH] = ACTIONS(5804),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5806),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(5804),
    [anon_sym_COLON_QMARK] = ACTIONS(5804),
    [anon_sym_COLON_DASH] = ACTIONS(5804),
    [anon_sym_PERCENT] = ACTIONS(5804),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2388] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5788),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2389] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5820),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2390] = {
    [sym__simple_heredoc_body] = ACTIONS(1927),
    [sym__heredoc_body_beginning] = ACTIONS(1927),
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_EQ_TILDE] = ACTIONS(1929),
    [anon_sym_EQ_EQ] = ACTIONS(1929),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [anon_sym_LT_LT] = ACTIONS(1929),
    [anon_sym_LT_LT_DASH] = ACTIONS(1927),
    [anon_sym_LT_LT_LT] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [2391] = {
    [anon_sym_SEMI] = ACTIONS(5822),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5820),
    [anon_sym_SEMI_SEMI] = ACTIONS(5824),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5824),
    [anon_sym_AMP] = ACTIONS(5822),
  },
  [2392] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5822),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5820),
    [anon_sym_SEMI_SEMI] = ACTIONS(5824),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5824),
    [anon_sym_AMP] = ACTIONS(5822),
  },
  [2393] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(5820),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2394] = {
    [anon_sym_SEMI] = ACTIONS(5826),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5828),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(5820),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5828),
    [anon_sym_AMP] = ACTIONS(5826),
  },
  [2395] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5826),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5828),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(5820),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5828),
    [anon_sym_AMP] = ACTIONS(5826),
  },
  [2396] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(5830),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2397] = {
    [sym__simple_heredoc_body] = ACTIONS(1959),
    [sym__heredoc_body_beginning] = ACTIONS(1959),
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_EQ_TILDE] = ACTIONS(1961),
    [anon_sym_EQ_EQ] = ACTIONS(1961),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [anon_sym_LT_LT] = ACTIONS(1961),
    [anon_sym_LT_LT_DASH] = ACTIONS(1959),
    [anon_sym_LT_LT_LT] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [2398] = {
    [anon_sym_SEMI] = ACTIONS(5832),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5830),
    [anon_sym_SEMI_SEMI] = ACTIONS(5834),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5834),
    [anon_sym_AMP] = ACTIONS(5832),
  },
  [2399] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5832),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5830),
    [anon_sym_SEMI_SEMI] = ACTIONS(5834),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5834),
    [anon_sym_AMP] = ACTIONS(5832),
  },
  [2400] = {
    [sym_compound_statement] = STATE(2568),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [2401] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1969),
    [anon_sym_esac] = ACTIONS(1969),
    [anon_sym_PIPE] = ACTIONS(1969),
    [anon_sym_SEMI_SEMI] = ACTIONS(1967),
    [anon_sym_PIPE_AMP] = ACTIONS(1967),
    [anon_sym_AMP_AMP] = ACTIONS(1967),
    [anon_sym_PIPE_PIPE] = ACTIONS(1967),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1967),
    [anon_sym_AMP] = ACTIONS(1969),
  },
  [2402] = {
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_esac] = ACTIONS(1971),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [2403] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(1973),
    [anon_sym_esac] = ACTIONS(1973),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(1971),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(1971),
    [anon_sym_PIPE_PIPE] = ACTIONS(1971),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(1971),
    [anon_sym_AMP] = ACTIONS(1973),
  },
  [2404] = {
    [sym_concatenation] = STATE(994),
    [sym_string] = STATE(2570),
    [sym_simple_expansion] = STATE(2570),
    [sym_string_expansion] = STATE(2570),
    [sym_expansion] = STATE(2570),
    [sym_command_substitution] = STATE(2570),
    [sym_process_substitution] = STATE(2570),
    [sym__special_characters] = ACTIONS(5836),
    [anon_sym_DQUOTE] = ACTIONS(5470),
    [anon_sym_DOLLAR] = ACTIONS(5472),
    [sym_raw_string] = ACTIONS(5838),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5476),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5478),
    [anon_sym_BQUOTE] = ACTIONS(5480),
    [anon_sym_LT_LPAREN] = ACTIONS(5482),
    [anon_sym_GT_LPAREN] = ACTIONS(5482),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5838),
  },
  [2405] = {
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_esac] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [2406] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(2007),
    [sym__heredoc_body_beginning] = ACTIONS(2007),
    [sym_file_descriptor] = ACTIONS(2007),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(2009),
    [anon_sym_esac] = ACTIONS(2009),
    [anon_sym_PIPE] = ACTIONS(2009),
    [anon_sym_SEMI_SEMI] = ACTIONS(2007),
    [anon_sym_PIPE_AMP] = ACTIONS(2007),
    [anon_sym_AMP_AMP] = ACTIONS(2007),
    [anon_sym_PIPE_PIPE] = ACTIONS(2007),
    [anon_sym_EQ_TILDE] = ACTIONS(2009),
    [anon_sym_EQ_EQ] = ACTIONS(2009),
    [anon_sym_LT] = ACTIONS(2009),
    [anon_sym_GT] = ACTIONS(2009),
    [anon_sym_GT_GT] = ACTIONS(2007),
    [anon_sym_AMP_GT] = ACTIONS(2009),
    [anon_sym_AMP_GT_GT] = ACTIONS(2007),
    [anon_sym_LT_AMP] = ACTIONS(2007),
    [anon_sym_GT_AMP] = ACTIONS(2007),
    [anon_sym_LT_LT] = ACTIONS(2009),
    [anon_sym_LT_LT_DASH] = ACTIONS(2007),
    [anon_sym_LT_LT_LT] = ACTIONS(2007),
    [sym__special_characters] = ACTIONS(2007),
    [anon_sym_DQUOTE] = ACTIONS(2007),
    [anon_sym_DOLLAR] = ACTIONS(2009),
    [sym_raw_string] = ACTIONS(2007),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2007),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2007),
    [anon_sym_BQUOTE] = ACTIONS(2007),
    [anon_sym_LT_LPAREN] = ACTIONS(2007),
    [anon_sym_GT_LPAREN] = ACTIONS(2007),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2009),
    [anon_sym_LF] = ACTIONS(2007),
    [anon_sym_AMP] = ACTIONS(2009),
  },
  [2407] = {
    [aux_sym_concatenation_repeat1] = STATE(2190),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [sym__concat] = ACTIONS(5051),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_esac] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(2005),
    [anon_sym_EQ_EQ] = ACTIONS(2005),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(2003),
    [anon_sym_DQUOTE] = ACTIONS(2003),
    [anon_sym_DOLLAR] = ACTIONS(2005),
    [sym_raw_string] = ACTIONS(2003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003),
    [anon_sym_BQUOTE] = ACTIONS(2003),
    [anon_sym_LT_LPAREN] = ACTIONS(2003),
    [anon_sym_GT_LPAREN] = ACTIONS(2003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2005),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [2408] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(773),
    [sym__heredoc_body_beginning] = ACTIONS(773),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_esac] = ACTIONS(773),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [2409] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(2575),
    [anon_sym_DQUOTE] = ACTIONS(5842),
    [anon_sym_DOLLAR] = ACTIONS(5844),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2410] = {
    [sym_string] = STATE(2577),
    [anon_sym_DASH] = ACTIONS(5846),
    [anon_sym_DQUOTE] = ACTIONS(5470),
    [anon_sym_DOLLAR] = ACTIONS(5846),
    [sym_raw_string] = ACTIONS(5848),
    [anon_sym_POUND] = ACTIONS(5846),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5850),
    [anon_sym_STAR] = ACTIONS(5852),
    [anon_sym_AT] = ACTIONS(5852),
    [anon_sym_QMARK] = ACTIONS(5852),
    [anon_sym_0] = ACTIONS(5850),
    [anon_sym__] = ACTIONS(5850),
  },
  [2411] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(791),
    [sym__heredoc_body_beginning] = ACTIONS(791),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [2412] = {
    [sym_subscript] = STATE(2582),
    [sym_variable_name] = ACTIONS(5854),
    [anon_sym_BANG] = ACTIONS(5856),
    [anon_sym_DASH] = ACTIONS(5858),
    [anon_sym_DOLLAR] = ACTIONS(5858),
    [anon_sym_POUND] = ACTIONS(5856),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5860),
    [anon_sym_STAR] = ACTIONS(5862),
    [anon_sym_AT] = ACTIONS(5862),
    [anon_sym_QMARK] = ACTIONS(5862),
    [anon_sym_0] = ACTIONS(5860),
    [anon_sym__] = ACTIONS(5860),
  },
  [2413] = {
    [sym__terminated_statement] = STATE(2585),
    [sym_for_statement] = STATE(2583),
    [sym_c_style_for_statement] = STATE(2583),
    [sym_while_statement] = STATE(2583),
    [sym_if_statement] = STATE(2583),
    [sym_case_statement] = STATE(2583),
    [sym_function_definition] = STATE(2583),
    [sym_subshell] = STATE(2583),
    [sym_pipeline] = STATE(2583),
    [sym_list] = STATE(2583),
    [sym_negated_command] = STATE(2583),
    [sym_test_command] = STATE(2583),
    [sym_declaration_command] = STATE(2583),
    [sym_unset_command] = STATE(2583),
    [sym_command] = STATE(2583),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2584),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2585),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2414] = {
    [sym__terminated_statement] = STATE(2588),
    [sym_for_statement] = STATE(2586),
    [sym_c_style_for_statement] = STATE(2586),
    [sym_while_statement] = STATE(2586),
    [sym_if_statement] = STATE(2586),
    [sym_case_statement] = STATE(2586),
    [sym_function_definition] = STATE(2586),
    [sym_subshell] = STATE(2586),
    [sym_pipeline] = STATE(2586),
    [sym_list] = STATE(2586),
    [sym_negated_command] = STATE(2586),
    [sym_test_command] = STATE(2586),
    [sym_declaration_command] = STATE(2586),
    [sym_unset_command] = STATE(2586),
    [sym_command] = STATE(2586),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2587),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2588),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2415] = {
    [sym__terminated_statement] = STATE(2591),
    [sym_for_statement] = STATE(2589),
    [sym_c_style_for_statement] = STATE(2589),
    [sym_while_statement] = STATE(2589),
    [sym_if_statement] = STATE(2589),
    [sym_case_statement] = STATE(2589),
    [sym_function_definition] = STATE(2589),
    [sym_subshell] = STATE(2589),
    [sym_pipeline] = STATE(2589),
    [sym_list] = STATE(2589),
    [sym_negated_command] = STATE(2589),
    [sym_test_command] = STATE(2589),
    [sym_declaration_command] = STATE(2589),
    [sym_unset_command] = STATE(2589),
    [sym_command] = STATE(2589),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2590),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(2591),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2416] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(2015),
    [sym__heredoc_body_beginning] = ACTIONS(2015),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_esac] = ACTIONS(2015),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [2417] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(2019),
    [sym__heredoc_body_beginning] = ACTIONS(2019),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_esac] = ACTIONS(2019),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [2418] = {
    [sym_file_redirect] = STATE(2418),
    [sym_heredoc_redirect] = STATE(2418),
    [sym_herestring_redirect] = STATE(2418),
    [aux_sym_while_statement_repeat1] = STATE(2418),
    [sym__simple_heredoc_body] = ACTIONS(2027),
    [sym__heredoc_body_beginning] = ACTIONS(2027),
    [sym_file_descriptor] = ACTIONS(5864),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_esac] = ACTIONS(2027),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(5867),
    [anon_sym_GT] = ACTIONS(5867),
    [anon_sym_GT_GT] = ACTIONS(5870),
    [anon_sym_AMP_GT] = ACTIONS(5867),
    [anon_sym_AMP_GT_GT] = ACTIONS(5870),
    [anon_sym_LT_AMP] = ACTIONS(5870),
    [anon_sym_GT_AMP] = ACTIONS(5870),
    [anon_sym_LT_LT] = ACTIONS(2040),
    [anon_sym_LT_LT_DASH] = ACTIONS(2043),
    [anon_sym_LT_LT_LT] = ACTIONS(5873),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [2419] = {
    [sym_file_redirect] = STATE(2418),
    [sym_heredoc_redirect] = STATE(2418),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(2418),
    [aux_sym_while_statement_repeat1] = STATE(2418),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_esac] = ACTIONS(2023),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [2420] = {
    [sym_concatenation] = STATE(2420),
    [sym_string] = STATE(2220),
    [sym_simple_expansion] = STATE(2220),
    [sym_string_expansion] = STATE(2220),
    [sym_expansion] = STATE(2220),
    [sym_command_substitution] = STATE(2220),
    [sym_process_substitution] = STATE(2220),
    [aux_sym_command_repeat2] = STATE(2420),
    [sym__simple_heredoc_body] = ACTIONS(2003),
    [sym__heredoc_body_beginning] = ACTIONS(2003),
    [sym_file_descriptor] = ACTIONS(2003),
    [anon_sym_SEMI] = ACTIONS(2005),
    [anon_sym_esac] = ACTIONS(2005),
    [anon_sym_PIPE] = ACTIONS(2005),
    [anon_sym_SEMI_SEMI] = ACTIONS(2003),
    [anon_sym_PIPE_AMP] = ACTIONS(2003),
    [anon_sym_AMP_AMP] = ACTIONS(2003),
    [anon_sym_PIPE_PIPE] = ACTIONS(2003),
    [anon_sym_EQ_TILDE] = ACTIONS(5876),
    [anon_sym_EQ_EQ] = ACTIONS(5876),
    [anon_sym_LT] = ACTIONS(2005),
    [anon_sym_GT] = ACTIONS(2005),
    [anon_sym_GT_GT] = ACTIONS(2003),
    [anon_sym_AMP_GT] = ACTIONS(2005),
    [anon_sym_AMP_GT_GT] = ACTIONS(2003),
    [anon_sym_LT_AMP] = ACTIONS(2003),
    [anon_sym_GT_AMP] = ACTIONS(2003),
    [anon_sym_LT_LT] = ACTIONS(2005),
    [anon_sym_LT_LT_DASH] = ACTIONS(2003),
    [anon_sym_LT_LT_LT] = ACTIONS(2003),
    [sym__special_characters] = ACTIONS(5879),
    [anon_sym_DQUOTE] = ACTIONS(5882),
    [anon_sym_DOLLAR] = ACTIONS(5885),
    [sym_raw_string] = ACTIONS(5888),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5891),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5894),
    [anon_sym_BQUOTE] = ACTIONS(5897),
    [anon_sym_LT_LPAREN] = ACTIONS(5900),
    [anon_sym_GT_LPAREN] = ACTIONS(5900),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5903),
    [anon_sym_LF] = ACTIONS(2003),
    [anon_sym_AMP] = ACTIONS(2005),
  },
  [2421] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(5906),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5908),
    [anon_sym_DQUOTE] = ACTIONS(5910),
    [anon_sym_DOLLAR] = ACTIONS(5908),
    [sym_raw_string] = ACTIONS(5910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5910),
    [anon_sym_BQUOTE] = ACTIONS(5910),
    [anon_sym_LT_LPAREN] = ACTIONS(5910),
    [anon_sym_GT_LPAREN] = ACTIONS(5910),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5908),
  },
  [2422] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5089),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2423] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5089),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2424] = {
    [sym_file_redirect] = STATE(2592),
    [sym_heredoc_redirect] = STATE(2592),
    [sym_heredoc_body] = STATE(996),
    [sym_herestring_redirect] = STATE(2592),
    [sym_concatenation] = STATE(2420),
    [sym_string] = STATE(2220),
    [sym_simple_expansion] = STATE(2220),
    [sym_string_expansion] = STATE(2220),
    [sym_expansion] = STATE(2220),
    [sym_command_substitution] = STATE(2220),
    [sym_process_substitution] = STATE(2220),
    [aux_sym_while_statement_repeat1] = STATE(2592),
    [aux_sym_command_repeat2] = STATE(2420),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(2025),
    [anon_sym_esac] = ACTIONS(2025),
    [anon_sym_PIPE] = ACTIONS(2025),
    [anon_sym_SEMI_SEMI] = ACTIONS(2023),
    [anon_sym_PIPE_AMP] = ACTIONS(2023),
    [anon_sym_AMP_AMP] = ACTIONS(2023),
    [anon_sym_PIPE_PIPE] = ACTIONS(2023),
    [anon_sym_EQ_TILDE] = ACTIONS(5093),
    [anon_sym_EQ_EQ] = ACTIONS(5093),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym__special_characters] = ACTIONS(5101),
    [anon_sym_DQUOTE] = ACTIONS(4469),
    [anon_sym_DOLLAR] = ACTIONS(4471),
    [sym_raw_string] = ACTIONS(5103),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4475),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4477),
    [anon_sym_BQUOTE] = ACTIONS(4479),
    [anon_sym_LT_LPAREN] = ACTIONS(4481),
    [anon_sym_GT_LPAREN] = ACTIONS(4481),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5105),
    [anon_sym_LF] = ACTIONS(2023),
    [anon_sym_AMP] = ACTIONS(2025),
  },
  [2425] = {
    [anon_sym_esac] = ACTIONS(5906),
    [sym__special_characters] = ACTIONS(5910),
    [anon_sym_DQUOTE] = ACTIONS(5910),
    [anon_sym_DOLLAR] = ACTIONS(5908),
    [sym_raw_string] = ACTIONS(5910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5910),
    [anon_sym_BQUOTE] = ACTIONS(5910),
    [anon_sym_LT_LPAREN] = ACTIONS(5910),
    [anon_sym_GT_LPAREN] = ACTIONS(5910),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5908),
  },
  [2426] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5912),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5914),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2427] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5906),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5914),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2428] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(5916),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5918),
    [anon_sym_DQUOTE] = ACTIONS(5920),
    [anon_sym_DOLLAR] = ACTIONS(5918),
    [sym_raw_string] = ACTIONS(5920),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5920),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5920),
    [anon_sym_BQUOTE] = ACTIONS(5920),
    [anon_sym_LT_LPAREN] = ACTIONS(5920),
    [anon_sym_GT_LPAREN] = ACTIONS(5920),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5918),
  },
  [2429] = {
    [anon_sym_esac] = ACTIONS(5916),
    [sym__special_characters] = ACTIONS(5920),
    [anon_sym_DQUOTE] = ACTIONS(5920),
    [anon_sym_DOLLAR] = ACTIONS(5918),
    [sym_raw_string] = ACTIONS(5920),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5920),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5920),
    [anon_sym_BQUOTE] = ACTIONS(5920),
    [anon_sym_LT_LPAREN] = ACTIONS(5920),
    [anon_sym_GT_LPAREN] = ACTIONS(5920),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5918),
  },
  [2430] = {
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5922),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5924),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2431] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5077),
    [anon_sym_esac] = ACTIONS(5916),
    [anon_sym_PIPE] = ACTIONS(5081),
    [anon_sym_SEMI_SEMI] = ACTIONS(5924),
    [anon_sym_PIPE_AMP] = ACTIONS(5085),
    [anon_sym_AMP_AMP] = ACTIONS(5087),
    [anon_sym_PIPE_PIPE] = ACTIONS(5087),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5089),
    [anon_sym_AMP] = ACTIONS(5077),
  },
  [2432] = {
    [sym__special_characters] = ACTIONS(5003),
    [anon_sym_DQUOTE] = ACTIONS(5003),
    [anon_sym_DOLLAR] = ACTIONS(5005),
    [sym_raw_string] = ACTIONS(5003),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5003),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5003),
    [anon_sym_BQUOTE] = ACTIONS(5003),
    [anon_sym_LT_LPAREN] = ACTIONS(5003),
    [anon_sym_GT_LPAREN] = ACTIONS(5003),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5003),
  },
  [2433] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5926),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2434] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5926),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2435] = {
    [sym__terminated_statement] = STATE(2599),
    [sym_for_statement] = STATE(2597),
    [sym_c_style_for_statement] = STATE(2597),
    [sym_while_statement] = STATE(2597),
    [sym_if_statement] = STATE(2597),
    [sym_case_statement] = STATE(2597),
    [sym_function_definition] = STATE(2597),
    [sym_subshell] = STATE(2597),
    [sym_pipeline] = STATE(2597),
    [sym_list] = STATE(2597),
    [sym_negated_command] = STATE(2597),
    [sym_test_command] = STATE(2597),
    [sym_declaration_command] = STATE(2597),
    [sym_unset_command] = STATE(2597),
    [sym_command] = STATE(2597),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2598),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2599),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5928),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2436] = {
    [sym__terminated_statement] = STATE(2600),
    [sym_for_statement] = STATE(2597),
    [sym_c_style_for_statement] = STATE(2597),
    [sym_while_statement] = STATE(2597),
    [sym_if_statement] = STATE(2597),
    [sym_case_statement] = STATE(2597),
    [sym_function_definition] = STATE(2597),
    [sym_subshell] = STATE(2597),
    [sym_pipeline] = STATE(2597),
    [sym_list] = STATE(2597),
    [sym_negated_command] = STATE(2597),
    [sym_test_command] = STATE(2597),
    [sym_declaration_command] = STATE(2597),
    [sym_unset_command] = STATE(2597),
    [sym_command] = STATE(2597),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2598),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2600),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5928),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2437] = {
    [sym__special_characters] = ACTIONS(5116),
    [anon_sym_DQUOTE] = ACTIONS(5116),
    [anon_sym_DOLLAR] = ACTIONS(5118),
    [sym_raw_string] = ACTIONS(5116),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5116),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5116),
    [anon_sym_BQUOTE] = ACTIONS(5116),
    [anon_sym_LT_LPAREN] = ACTIONS(5116),
    [anon_sym_GT_LPAREN] = ACTIONS(5116),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5116),
  },
  [2438] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5930),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2439] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(5930),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2440] = {
    [sym__terminated_statement] = STATE(2599),
    [sym_for_statement] = STATE(2603),
    [sym_c_style_for_statement] = STATE(2603),
    [sym_while_statement] = STATE(2603),
    [sym_if_statement] = STATE(2603),
    [sym_case_statement] = STATE(2603),
    [sym_function_definition] = STATE(2603),
    [sym_subshell] = STATE(2603),
    [sym_pipeline] = STATE(2603),
    [sym_list] = STATE(2603),
    [sym_negated_command] = STATE(2603),
    [sym_test_command] = STATE(2603),
    [sym_declaration_command] = STATE(2603),
    [sym_unset_command] = STATE(2603),
    [sym_command] = STATE(2603),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2604),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2599),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5932),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2441] = {
    [sym__terminated_statement] = STATE(2605),
    [sym_for_statement] = STATE(2603),
    [sym_c_style_for_statement] = STATE(2603),
    [sym_while_statement] = STATE(2603),
    [sym_if_statement] = STATE(2603),
    [sym_case_statement] = STATE(2603),
    [sym_function_definition] = STATE(2603),
    [sym_subshell] = STATE(2603),
    [sym_pipeline] = STATE(2603),
    [sym_list] = STATE(2603),
    [sym_negated_command] = STATE(2603),
    [sym_test_command] = STATE(2603),
    [sym_declaration_command] = STATE(2603),
    [sym_unset_command] = STATE(2603),
    [sym_command] = STATE(2603),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2604),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2605),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(5932),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2442] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_RBRACE] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
  },
  [2443] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_RBRACE] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
  },
  [2444] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_RBRACE] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
  },
  [2445] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5934),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2446] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5936),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2447] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_RBRACE] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
  },
  [2448] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_RBRACE] = ACTIONS(5202),
    [anon_sym_EQ] = ACTIONS(5204),
    [anon_sym_DASH] = ACTIONS(5204),
    [sym__special_characters] = ACTIONS(5204),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_POUND] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_COLON] = ACTIONS(5204),
    [anon_sym_COLON_QMARK] = ACTIONS(5204),
    [anon_sym_COLON_DASH] = ACTIONS(5204),
    [anon_sym_PERCENT] = ACTIONS(5204),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(5204),
  },
  [2449] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_RBRACE] = ACTIONS(5206),
    [anon_sym_EQ] = ACTIONS(5208),
    [anon_sym_DASH] = ACTIONS(5208),
    [sym__special_characters] = ACTIONS(5208),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_POUND] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_COLON] = ACTIONS(5208),
    [anon_sym_COLON_QMARK] = ACTIONS(5208),
    [anon_sym_COLON_DASH] = ACTIONS(5208),
    [anon_sym_PERCENT] = ACTIONS(5208),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(5208),
  },
  [2450] = {
    [sym__heredoc_body_middle] = ACTIONS(5202),
    [sym__heredoc_body_end] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
  },
  [2451] = {
    [sym__heredoc_body_middle] = ACTIONS(5206),
    [sym__heredoc_body_end] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
  },
  [2452] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5202),
  },
  [2453] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5206),
  },
  [2454] = {
    [ts_builtin_sym_end] = ACTIONS(5938),
    [anon_sym_SEMI] = ACTIONS(5940),
    [anon_sym_esac] = ACTIONS(5938),
    [anon_sym_PIPE] = ACTIONS(5940),
    [anon_sym_RPAREN] = ACTIONS(5938),
    [anon_sym_SEMI_SEMI] = ACTIONS(5938),
    [anon_sym_PIPE_AMP] = ACTIONS(5938),
    [anon_sym_AMP_AMP] = ACTIONS(5938),
    [anon_sym_PIPE_PIPE] = ACTIONS(5938),
    [anon_sym_BQUOTE] = ACTIONS(5938),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5938),
    [anon_sym_AMP] = ACTIONS(5940),
  },
  [2455] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5202),
  },
  [2456] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5206),
  },
  [2457] = {
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [ts_builtin_sym_end] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4710),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_RPAREN] = ACTIONS(4710),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [anon_sym_LT_LT] = ACTIONS(4712),
    [anon_sym_LT_LT_DASH] = ACTIONS(4710),
    [anon_sym_LT_LT_LT] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2458] = {
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [ts_builtin_sym_end] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4714),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_RPAREN] = ACTIONS(4714),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [anon_sym_LT_LT] = ACTIONS(4716),
    [anon_sym_LT_LT_DASH] = ACTIONS(4714),
    [anon_sym_LT_LT_LT] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2459] = {
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [ts_builtin_sym_end] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4718),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_RPAREN] = ACTIONS(4718),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [anon_sym_LT_LT] = ACTIONS(4720),
    [anon_sym_LT_LT_DASH] = ACTIONS(4718),
    [anon_sym_LT_LT_LT] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2460] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5942),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2461] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(5944),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2462] = {
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [ts_builtin_sym_end] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4754),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_RPAREN] = ACTIONS(4754),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [anon_sym_LT_LT] = ACTIONS(4756),
    [anon_sym_LT_LT_DASH] = ACTIONS(4754),
    [anon_sym_LT_LT_LT] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2463] = {
    [sym_file_descriptor] = ACTIONS(2099),
    [sym_variable_name] = ACTIONS(2099),
    [anon_sym_SEMI] = ACTIONS(2101),
    [anon_sym_esac] = ACTIONS(2101),
    [anon_sym_PIPE] = ACTIONS(2101),
    [anon_sym_SEMI_SEMI] = ACTIONS(2099),
    [anon_sym_PIPE_AMP] = ACTIONS(2099),
    [anon_sym_AMP_AMP] = ACTIONS(2099),
    [anon_sym_PIPE_PIPE] = ACTIONS(2099),
    [anon_sym_LT] = ACTIONS(2101),
    [anon_sym_GT] = ACTIONS(2101),
    [anon_sym_GT_GT] = ACTIONS(2099),
    [anon_sym_AMP_GT] = ACTIONS(2101),
    [anon_sym_AMP_GT_GT] = ACTIONS(2099),
    [anon_sym_LT_AMP] = ACTIONS(2099),
    [anon_sym_GT_AMP] = ACTIONS(2099),
    [sym__special_characters] = ACTIONS(2099),
    [anon_sym_DQUOTE] = ACTIONS(2099),
    [anon_sym_DOLLAR] = ACTIONS(2101),
    [sym_raw_string] = ACTIONS(2099),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2099),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2099),
    [anon_sym_BQUOTE] = ACTIONS(2099),
    [anon_sym_LT_LPAREN] = ACTIONS(2099),
    [anon_sym_GT_LPAREN] = ACTIONS(2099),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2101),
    [anon_sym_LF] = ACTIONS(2099),
    [anon_sym_AMP] = ACTIONS(2101),
  },
  [2464] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(5946),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [2465] = {
    [sym_string] = STATE(2611),
    [sym_simple_expansion] = STATE(2611),
    [sym_string_expansion] = STATE(2611),
    [sym_expansion] = STATE(2611),
    [sym_command_substitution] = STATE(2611),
    [sym_process_substitution] = STATE(2611),
    [sym__special_characters] = ACTIONS(5948),
    [anon_sym_DQUOTE] = ACTIONS(5330),
    [anon_sym_DOLLAR] = ACTIONS(5332),
    [sym_raw_string] = ACTIONS(5948),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5336),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5338),
    [anon_sym_BQUOTE] = ACTIONS(5340),
    [anon_sym_LT_LPAREN] = ACTIONS(5342),
    [anon_sym_GT_LPAREN] = ACTIONS(5342),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5948),
  },
  [2466] = {
    [aux_sym_concatenation_repeat1] = STATE(2612),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(5576),
    [sym_variable_name] = ACTIONS(807),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(809),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [sym__special_characters] = ACTIONS(807),
    [anon_sym_DQUOTE] = ACTIONS(807),
    [anon_sym_DOLLAR] = ACTIONS(809),
    [sym_raw_string] = ACTIONS(807),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(807),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(807),
    [anon_sym_BQUOTE] = ACTIONS(807),
    [anon_sym_LT_LPAREN] = ACTIONS(807),
    [anon_sym_GT_LPAREN] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(809),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2467] = {
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [sym_variable_name] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(813),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [sym__special_characters] = ACTIONS(811),
    [anon_sym_DQUOTE] = ACTIONS(811),
    [anon_sym_DOLLAR] = ACTIONS(813),
    [sym_raw_string] = ACTIONS(811),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(811),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(811),
    [anon_sym_BQUOTE] = ACTIONS(811),
    [anon_sym_LT_LPAREN] = ACTIONS(811),
    [anon_sym_GT_LPAREN] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(813),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [2468] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(5950),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2469] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(5950),
    [anon_sym_DOLLAR] = ACTIONS(5952),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2470] = {
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [sym_variable_name] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(847),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [sym__special_characters] = ACTIONS(845),
    [anon_sym_DQUOTE] = ACTIONS(845),
    [anon_sym_DOLLAR] = ACTIONS(847),
    [sym_raw_string] = ACTIONS(845),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(845),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(845),
    [anon_sym_BQUOTE] = ACTIONS(845),
    [anon_sym_LT_LPAREN] = ACTIONS(845),
    [anon_sym_GT_LPAREN] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(847),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [2471] = {
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [sym_variable_name] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(851),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [sym__special_characters] = ACTIONS(849),
    [anon_sym_DQUOTE] = ACTIONS(849),
    [anon_sym_DOLLAR] = ACTIONS(851),
    [sym_raw_string] = ACTIONS(849),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(849),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(849),
    [anon_sym_BQUOTE] = ACTIONS(849),
    [anon_sym_LT_LPAREN] = ACTIONS(849),
    [anon_sym_GT_LPAREN] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(851),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [2472] = {
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [sym_variable_name] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(855),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [sym__special_characters] = ACTIONS(853),
    [anon_sym_DQUOTE] = ACTIONS(853),
    [anon_sym_DOLLAR] = ACTIONS(855),
    [sym_raw_string] = ACTIONS(853),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(853),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(853),
    [anon_sym_BQUOTE] = ACTIONS(853),
    [anon_sym_LT_LPAREN] = ACTIONS(853),
    [anon_sym_GT_LPAREN] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(855),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [2473] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(5954),
    [sym_comment] = ACTIONS(55),
  },
  [2474] = {
    [sym_subscript] = STATE(2618),
    [sym_variable_name] = ACTIONS(5956),
    [anon_sym_DASH] = ACTIONS(5958),
    [anon_sym_DOLLAR] = ACTIONS(5958),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5960),
    [anon_sym_STAR] = ACTIONS(5962),
    [anon_sym_AT] = ACTIONS(5962),
    [anon_sym_QMARK] = ACTIONS(5962),
    [anon_sym_0] = ACTIONS(5960),
    [anon_sym__] = ACTIONS(5960),
  },
  [2475] = {
    [sym_concatenation] = STATE(2621),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2621),
    [anon_sym_RBRACE] = ACTIONS(5964),
    [anon_sym_EQ] = ACTIONS(5966),
    [anon_sym_DASH] = ACTIONS(5966),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5968),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5970),
    [anon_sym_COLON] = ACTIONS(5966),
    [anon_sym_COLON_QMARK] = ACTIONS(5966),
    [anon_sym_COLON_DASH] = ACTIONS(5966),
    [anon_sym_PERCENT] = ACTIONS(5966),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2476] = {
    [sym_concatenation] = STATE(2624),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2624),
    [anon_sym_RBRACE] = ACTIONS(5972),
    [anon_sym_EQ] = ACTIONS(5974),
    [anon_sym_DASH] = ACTIONS(5974),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(5976),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(5978),
    [anon_sym_COLON] = ACTIONS(5974),
    [anon_sym_COLON_QMARK] = ACTIONS(5974),
    [anon_sym_COLON_DASH] = ACTIONS(5974),
    [anon_sym_PERCENT] = ACTIONS(5974),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2477] = {
    [anon_sym_SEMI] = ACTIONS(5980),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5982),
    [anon_sym_SEMI_SEMI] = ACTIONS(5984),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5984),
    [anon_sym_AMP] = ACTIONS(5980),
  },
  [2478] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5980),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5982),
    [anon_sym_SEMI_SEMI] = ACTIONS(5984),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5984),
    [anon_sym_AMP] = ACTIONS(5980),
  },
  [2479] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2627),
    [sym_c_style_for_statement] = STATE(2627),
    [sym_while_statement] = STATE(2627),
    [sym_if_statement] = STATE(2627),
    [sym_case_statement] = STATE(2627),
    [sym_function_definition] = STATE(2627),
    [sym_subshell] = STATE(2627),
    [sym_pipeline] = STATE(2627),
    [sym_list] = STATE(2627),
    [sym_negated_command] = STATE(2627),
    [sym_test_command] = STATE(2627),
    [sym_declaration_command] = STATE(2627),
    [sym_unset_command] = STATE(2627),
    [sym_command] = STATE(2627),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2628),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2480] = {
    [anon_sym_SEMI] = ACTIONS(5986),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5988),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(5982),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5988),
    [anon_sym_AMP] = ACTIONS(5986),
  },
  [2481] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5986),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(5988),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(5982),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5988),
    [anon_sym_AMP] = ACTIONS(5986),
  },
  [2482] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2630),
    [sym_c_style_for_statement] = STATE(2630),
    [sym_while_statement] = STATE(2630),
    [sym_if_statement] = STATE(2630),
    [sym_case_statement] = STATE(2630),
    [sym_function_definition] = STATE(2630),
    [sym_subshell] = STATE(2630),
    [sym_pipeline] = STATE(2630),
    [sym_list] = STATE(2630),
    [sym_negated_command] = STATE(2630),
    [sym_test_command] = STATE(2630),
    [sym_declaration_command] = STATE(2630),
    [sym_unset_command] = STATE(2630),
    [sym_command] = STATE(2630),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2631),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2483] = {
    [anon_sym_SEMI] = ACTIONS(5990),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5992),
    [anon_sym_SEMI_SEMI] = ACTIONS(5994),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5994),
    [anon_sym_AMP] = ACTIONS(5990),
  },
  [2484] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(5990),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(5992),
    [anon_sym_SEMI_SEMI] = ACTIONS(5994),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(5994),
    [anon_sym_AMP] = ACTIONS(5990),
  },
  [2485] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2634),
    [sym_c_style_for_statement] = STATE(2634),
    [sym_while_statement] = STATE(2634),
    [sym_if_statement] = STATE(2634),
    [sym_case_statement] = STATE(2634),
    [sym_function_definition] = STATE(2634),
    [sym_subshell] = STATE(2634),
    [sym_pipeline] = STATE(2634),
    [sym_list] = STATE(2634),
    [sym_negated_command] = STATE(2634),
    [sym_test_command] = STATE(2634),
    [sym_declaration_command] = STATE(2634),
    [sym_unset_command] = STATE(2634),
    [sym_command] = STATE(2634),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2635),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2486] = {
    [anon_sym_LT] = ACTIONS(5996),
    [anon_sym_GT] = ACTIONS(5996),
    [anon_sym_GT_GT] = ACTIONS(5998),
    [anon_sym_AMP_GT] = ACTIONS(5996),
    [anon_sym_AMP_GT_GT] = ACTIONS(5998),
    [anon_sym_LT_AMP] = ACTIONS(5998),
    [anon_sym_GT_AMP] = ACTIONS(5998),
    [sym_comment] = ACTIONS(55),
  },
  [2487] = {
    [sym_concatenation] = STATE(1166),
    [sym_string] = STATE(2638),
    [sym_simple_expansion] = STATE(2638),
    [sym_string_expansion] = STATE(2638),
    [sym_expansion] = STATE(2638),
    [sym_command_substitution] = STATE(2638),
    [sym_process_substitution] = STATE(2638),
    [sym__special_characters] = ACTIONS(6000),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(6002),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6002),
  },
  [2488] = {
    [sym_concatenation] = STATE(1170),
    [sym_string] = STATE(2640),
    [sym_simple_expansion] = STATE(2640),
    [sym_string_expansion] = STATE(2640),
    [sym_expansion] = STATE(2640),
    [sym_command_substitution] = STATE(2640),
    [sym_process_substitution] = STATE(2640),
    [sym__special_characters] = ACTIONS(6004),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(6006),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6006),
  },
  [2489] = {
    [sym_file_redirect] = STATE(2641),
    [sym_heredoc_redirect] = STATE(2641),
    [sym_herestring_redirect] = STATE(2641),
    [aux_sym_while_statement_repeat1] = STATE(2641),
    [sym_file_descriptor] = ACTIONS(5600),
    [anon_sym_SEMI] = ACTIONS(2418),
    [anon_sym_esac] = ACTIONS(2416),
    [anon_sym_PIPE] = ACTIONS(2418),
    [anon_sym_SEMI_SEMI] = ACTIONS(2416),
    [anon_sym_PIPE_AMP] = ACTIONS(2416),
    [anon_sym_AMP_AMP] = ACTIONS(2416),
    [anon_sym_PIPE_PIPE] = ACTIONS(2416),
    [anon_sym_LT] = ACTIONS(5602),
    [anon_sym_GT] = ACTIONS(5602),
    [anon_sym_GT_GT] = ACTIONS(5604),
    [anon_sym_AMP_GT] = ACTIONS(5602),
    [anon_sym_AMP_GT_GT] = ACTIONS(5604),
    [anon_sym_LT_AMP] = ACTIONS(5604),
    [anon_sym_GT_AMP] = ACTIONS(5604),
    [anon_sym_LT_LT] = ACTIONS(1308),
    [anon_sym_LT_LT_DASH] = ACTIONS(1310),
    [anon_sym_LT_LT_LT] = ACTIONS(5606),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2416),
    [anon_sym_AMP] = ACTIONS(2418),
  },
  [2490] = {
    [sym_file_redirect] = STATE(2418),
    [sym_heredoc_redirect] = STATE(2418),
    [sym_heredoc_body] = STATE(1188),
    [sym_herestring_redirect] = STATE(2418),
    [aux_sym_while_statement_repeat1] = STATE(2418),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(2479),
    [anon_sym_esac] = ACTIONS(2477),
    [anon_sym_PIPE] = ACTIONS(2479),
    [anon_sym_SEMI_SEMI] = ACTIONS(2477),
    [anon_sym_PIPE_AMP] = ACTIONS(2477),
    [anon_sym_AMP_AMP] = ACTIONS(2477),
    [anon_sym_PIPE_PIPE] = ACTIONS(2477),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2477),
    [anon_sym_AMP] = ACTIONS(2479),
  },
  [2491] = {
    [sym_compound_statement] = STATE(2642),
    [anon_sym_LBRACE] = ACTIONS(595),
    [sym_comment] = ACTIONS(55),
  },
  [2492] = {
    [anon_sym_LT] = ACTIONS(6008),
    [anon_sym_GT] = ACTIONS(6008),
    [anon_sym_GT_GT] = ACTIONS(6010),
    [anon_sym_AMP_GT] = ACTIONS(6008),
    [anon_sym_AMP_GT_GT] = ACTIONS(6010),
    [anon_sym_LT_AMP] = ACTIONS(6010),
    [anon_sym_GT_AMP] = ACTIONS(6010),
    [sym_comment] = ACTIONS(55),
  },
  [2493] = {
    [sym_concatenation] = STATE(1238),
    [sym_string] = STATE(2645),
    [sym_simple_expansion] = STATE(2645),
    [sym_string_expansion] = STATE(2645),
    [sym_expansion] = STATE(2645),
    [sym_command_substitution] = STATE(2645),
    [sym_process_substitution] = STATE(2645),
    [sym__special_characters] = ACTIONS(6012),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(6014),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6014),
  },
  [2494] = {
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_esac] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [2495] = {
    [sym_concatenation] = STATE(2647),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(2647),
    [anon_sym_RPAREN] = ACTIONS(6016),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [2496] = {
    [aux_sym_concatenation_repeat1] = STATE(2332),
    [sym__concat] = ACTIONS(5350),
    [sym_variable_name] = ACTIONS(1128),
    [anon_sym_SEMI] = ACTIONS(1132),
    [anon_sym_esac] = ACTIONS(1132),
    [anon_sym_PIPE] = ACTIONS(1132),
    [anon_sym_SEMI_SEMI] = ACTIONS(1128),
    [anon_sym_PIPE_AMP] = ACTIONS(1128),
    [anon_sym_AMP_AMP] = ACTIONS(1128),
    [anon_sym_PIPE_PIPE] = ACTIONS(1128),
    [sym__special_characters] = ACTIONS(1128),
    [anon_sym_DQUOTE] = ACTIONS(1128),
    [anon_sym_DOLLAR] = ACTIONS(1132),
    [sym_raw_string] = ACTIONS(1128),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1128),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1128),
    [anon_sym_BQUOTE] = ACTIONS(1128),
    [anon_sym_LT_LPAREN] = ACTIONS(1128),
    [anon_sym_GT_LPAREN] = ACTIONS(1128),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1132),
    [sym_word] = ACTIONS(1132),
    [anon_sym_LF] = ACTIONS(1128),
    [anon_sym_AMP] = ACTIONS(1132),
  },
  [2497] = {
    [aux_sym_concatenation_repeat1] = STATE(2332),
    [sym__concat] = ACTIONS(5350),
    [sym_variable_name] = ACTIONS(1106),
    [anon_sym_SEMI] = ACTIONS(1108),
    [anon_sym_esac] = ACTIONS(1108),
    [anon_sym_PIPE] = ACTIONS(1108),
    [anon_sym_SEMI_SEMI] = ACTIONS(1106),
    [anon_sym_PIPE_AMP] = ACTIONS(1106),
    [anon_sym_AMP_AMP] = ACTIONS(1106),
    [anon_sym_PIPE_PIPE] = ACTIONS(1106),
    [sym__special_characters] = ACTIONS(1106),
    [anon_sym_DQUOTE] = ACTIONS(1106),
    [anon_sym_DOLLAR] = ACTIONS(1108),
    [sym_raw_string] = ACTIONS(1106),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1106),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1106),
    [anon_sym_BQUOTE] = ACTIONS(1106),
    [anon_sym_LT_LPAREN] = ACTIONS(1106),
    [anon_sym_GT_LPAREN] = ACTIONS(1106),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1108),
    [sym_word] = ACTIONS(1108),
    [anon_sym_LF] = ACTIONS(1106),
    [anon_sym_AMP] = ACTIONS(1108),
  },
  [2498] = {
    [sym__concat] = ACTIONS(1763),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2499] = {
    [aux_sym_concatenation_repeat1] = STATE(2499),
    [sym__concat] = ACTIONS(6018),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2500] = {
    [sym__concat] = ACTIONS(1770),
    [sym_variable_name] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1772),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [2501] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(6021),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2502] = {
    [sym_concatenation] = STATE(2652),
    [sym_string] = STATE(2651),
    [sym_simple_expansion] = STATE(2651),
    [sym_string_expansion] = STATE(2651),
    [sym_expansion] = STATE(2651),
    [sym_command_substitution] = STATE(2651),
    [sym_process_substitution] = STATE(2651),
    [anon_sym_RBRACE] = ACTIONS(6023),
    [sym__special_characters] = ACTIONS(6025),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6027),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6027),
  },
  [2503] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(6029),
    [sym_comment] = ACTIONS(55),
  },
  [2504] = {
    [sym_concatenation] = STATE(2656),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2656),
    [anon_sym_RBRACE] = ACTIONS(6031),
    [anon_sym_EQ] = ACTIONS(6033),
    [anon_sym_DASH] = ACTIONS(6033),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6035),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6037),
    [anon_sym_COLON] = ACTIONS(6033),
    [anon_sym_COLON_QMARK] = ACTIONS(6033),
    [anon_sym_COLON_DASH] = ACTIONS(6033),
    [anon_sym_PERCENT] = ACTIONS(6033),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2505] = {
    [sym_concatenation] = STATE(2658),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2658),
    [anon_sym_RBRACE] = ACTIONS(6023),
    [anon_sym_EQ] = ACTIONS(6039),
    [anon_sym_DASH] = ACTIONS(6039),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6041),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6043),
    [anon_sym_COLON] = ACTIONS(6039),
    [anon_sym_COLON_QMARK] = ACTIONS(6039),
    [anon_sym_COLON_DASH] = ACTIONS(6039),
    [anon_sym_PERCENT] = ACTIONS(6039),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2506] = {
    [sym__concat] = ACTIONS(1871),
    [sym_variable_name] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1873),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [2507] = {
    [sym_concatenation] = STATE(2661),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2661),
    [sym_regex] = ACTIONS(6045),
    [anon_sym_RBRACE] = ACTIONS(6047),
    [anon_sym_EQ] = ACTIONS(6049),
    [anon_sym_DASH] = ACTIONS(6049),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6051),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6049),
    [anon_sym_COLON_QMARK] = ACTIONS(6049),
    [anon_sym_COLON_DASH] = ACTIONS(6049),
    [anon_sym_PERCENT] = ACTIONS(6049),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2508] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6047),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2509] = {
    [sym__concat] = ACTIONS(1919),
    [sym_variable_name] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1921),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [2510] = {
    [sym_concatenation] = STATE(2658),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2658),
    [sym_regex] = ACTIONS(6053),
    [anon_sym_RBRACE] = ACTIONS(6023),
    [anon_sym_EQ] = ACTIONS(6039),
    [anon_sym_DASH] = ACTIONS(6039),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6041),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6039),
    [anon_sym_COLON_QMARK] = ACTIONS(6039),
    [anon_sym_COLON_DASH] = ACTIONS(6039),
    [anon_sym_PERCENT] = ACTIONS(6039),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2511] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6023),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2512] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6055),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2513] = {
    [sym__concat] = ACTIONS(1927),
    [sym_variable_name] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1929),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [2514] = {
    [anon_sym_SEMI] = ACTIONS(6057),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6055),
    [anon_sym_SEMI_SEMI] = ACTIONS(6059),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6059),
    [anon_sym_AMP] = ACTIONS(6057),
  },
  [2515] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6057),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6055),
    [anon_sym_SEMI_SEMI] = ACTIONS(6059),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6059),
    [anon_sym_AMP] = ACTIONS(6057),
  },
  [2516] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2517] = {
    [anon_sym_SEMI] = ACTIONS(6061),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6063),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6063),
    [anon_sym_AMP] = ACTIONS(6061),
  },
  [2518] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6061),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6063),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(6055),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6063),
    [anon_sym_AMP] = ACTIONS(6061),
  },
  [2519] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6065),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2520] = {
    [sym__concat] = ACTIONS(1959),
    [sym_variable_name] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1961),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [2521] = {
    [anon_sym_SEMI] = ACTIONS(6067),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6065),
    [anon_sym_SEMI_SEMI] = ACTIONS(6069),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6069),
    [anon_sym_AMP] = ACTIONS(6067),
  },
  [2522] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6067),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6065),
    [anon_sym_SEMI_SEMI] = ACTIONS(6069),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6069),
    [anon_sym_AMP] = ACTIONS(6067),
  },
  [2523] = {
    [sym__concat] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2524] = {
    [aux_sym_concatenation_repeat1] = STATE(2524),
    [sym__concat] = ACTIONS(6071),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1765),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2525] = {
    [sym__concat] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1772),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [2526] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(6074),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2527] = {
    [sym_concatenation] = STATE(2672),
    [sym_string] = STATE(2671),
    [sym_simple_expansion] = STATE(2671),
    [sym_string_expansion] = STATE(2671),
    [sym_expansion] = STATE(2671),
    [sym_command_substitution] = STATE(2671),
    [sym_process_substitution] = STATE(2671),
    [anon_sym_RBRACE] = ACTIONS(6076),
    [sym__special_characters] = ACTIONS(6078),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6080),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6080),
  },
  [2528] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(6082),
    [sym_comment] = ACTIONS(55),
  },
  [2529] = {
    [sym_concatenation] = STATE(2676),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2676),
    [anon_sym_RBRACE] = ACTIONS(6084),
    [anon_sym_EQ] = ACTIONS(6086),
    [anon_sym_DASH] = ACTIONS(6086),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6088),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6090),
    [anon_sym_COLON] = ACTIONS(6086),
    [anon_sym_COLON_QMARK] = ACTIONS(6086),
    [anon_sym_COLON_DASH] = ACTIONS(6086),
    [anon_sym_PERCENT] = ACTIONS(6086),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2530] = {
    [sym_concatenation] = STATE(2678),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2678),
    [anon_sym_RBRACE] = ACTIONS(6076),
    [anon_sym_EQ] = ACTIONS(6092),
    [anon_sym_DASH] = ACTIONS(6092),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6094),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6096),
    [anon_sym_COLON] = ACTIONS(6092),
    [anon_sym_COLON_QMARK] = ACTIONS(6092),
    [anon_sym_COLON_DASH] = ACTIONS(6092),
    [anon_sym_PERCENT] = ACTIONS(6092),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2531] = {
    [sym__concat] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1873),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [2532] = {
    [sym_concatenation] = STATE(2681),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2681),
    [sym_regex] = ACTIONS(6098),
    [anon_sym_RBRACE] = ACTIONS(6100),
    [anon_sym_EQ] = ACTIONS(6102),
    [anon_sym_DASH] = ACTIONS(6102),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6104),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6102),
    [anon_sym_COLON_QMARK] = ACTIONS(6102),
    [anon_sym_COLON_DASH] = ACTIONS(6102),
    [anon_sym_PERCENT] = ACTIONS(6102),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2533] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6100),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2534] = {
    [sym__concat] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1921),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [2535] = {
    [sym_concatenation] = STATE(2678),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2678),
    [sym_regex] = ACTIONS(6106),
    [anon_sym_RBRACE] = ACTIONS(6076),
    [anon_sym_EQ] = ACTIONS(6092),
    [anon_sym_DASH] = ACTIONS(6092),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6094),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6092),
    [anon_sym_COLON_QMARK] = ACTIONS(6092),
    [anon_sym_COLON_DASH] = ACTIONS(6092),
    [anon_sym_PERCENT] = ACTIONS(6092),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2536] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6076),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2537] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6108),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2538] = {
    [sym__concat] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1929),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [2539] = {
    [anon_sym_SEMI] = ACTIONS(6110),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6108),
    [anon_sym_SEMI_SEMI] = ACTIONS(6112),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6112),
    [anon_sym_AMP] = ACTIONS(6110),
  },
  [2540] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6110),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6108),
    [anon_sym_SEMI_SEMI] = ACTIONS(6112),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6112),
    [anon_sym_AMP] = ACTIONS(6110),
  },
  [2541] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6108),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2542] = {
    [anon_sym_SEMI] = ACTIONS(6114),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6116),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(6108),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6116),
    [anon_sym_AMP] = ACTIONS(6114),
  },
  [2543] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6114),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6116),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(6108),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6116),
    [anon_sym_AMP] = ACTIONS(6114),
  },
  [2544] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6118),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2545] = {
    [sym__concat] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(1961),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [2546] = {
    [anon_sym_SEMI] = ACTIONS(6120),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6118),
    [anon_sym_SEMI_SEMI] = ACTIONS(6122),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6122),
    [anon_sym_AMP] = ACTIONS(6120),
  },
  [2547] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6120),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6118),
    [anon_sym_SEMI_SEMI] = ACTIONS(6122),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6122),
    [anon_sym_AMP] = ACTIONS(6120),
  },
  [2548] = {
    [sym__simple_heredoc_body] = ACTIONS(2959),
    [sym__heredoc_body_beginning] = ACTIONS(2959),
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_EQ_TILDE] = ACTIONS(2961),
    [anon_sym_EQ_EQ] = ACTIONS(2961),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [anon_sym_LT_LT] = ACTIONS(2961),
    [anon_sym_LT_LT_DASH] = ACTIONS(2959),
    [anon_sym_LT_LT_LT] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2549] = {
    [sym__simple_heredoc_body] = ACTIONS(2973),
    [sym__heredoc_body_beginning] = ACTIONS(2973),
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_EQ_TILDE] = ACTIONS(2975),
    [anon_sym_EQ_EQ] = ACTIONS(2975),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [anon_sym_LT_LT] = ACTIONS(2975),
    [anon_sym_LT_LT_DASH] = ACTIONS(2973),
    [anon_sym_LT_LT_LT] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2550] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6124),
    [sym_comment] = ACTIONS(55),
  },
  [2551] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6126),
    [sym_comment] = ACTIONS(55),
  },
  [2552] = {
    [anon_sym_RBRACE] = ACTIONS(6126),
    [sym_comment] = ACTIONS(55),
  },
  [2553] = {
    [sym_concatenation] = STATE(2692),
    [sym_string] = STATE(2691),
    [sym_simple_expansion] = STATE(2691),
    [sym_string_expansion] = STATE(2691),
    [sym_expansion] = STATE(2691),
    [sym_command_substitution] = STATE(2691),
    [sym_process_substitution] = STATE(2691),
    [anon_sym_RBRACE] = ACTIONS(6126),
    [sym__special_characters] = ACTIONS(6128),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6130),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6130),
  },
  [2554] = {
    [sym__simple_heredoc_body] = ACTIONS(3009),
    [sym__heredoc_body_beginning] = ACTIONS(3009),
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_EQ_TILDE] = ACTIONS(3011),
    [anon_sym_EQ_EQ] = ACTIONS(3011),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [anon_sym_LT_LT] = ACTIONS(3011),
    [anon_sym_LT_LT_DASH] = ACTIONS(3009),
    [anon_sym_LT_LT_LT] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2555] = {
    [sym_concatenation] = STATE(2695),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2695),
    [sym_regex] = ACTIONS(6132),
    [anon_sym_RBRACE] = ACTIONS(6134),
    [anon_sym_EQ] = ACTIONS(6136),
    [anon_sym_DASH] = ACTIONS(6136),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6138),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6136),
    [anon_sym_COLON_QMARK] = ACTIONS(6136),
    [anon_sym_COLON_DASH] = ACTIONS(6136),
    [anon_sym_PERCENT] = ACTIONS(6136),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2556] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6134),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2557] = {
    [sym_concatenation] = STATE(2697),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2697),
    [sym_regex] = ACTIONS(6140),
    [anon_sym_RBRACE] = ACTIONS(6126),
    [anon_sym_EQ] = ACTIONS(6142),
    [anon_sym_DASH] = ACTIONS(6142),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6144),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6142),
    [anon_sym_COLON_QMARK] = ACTIONS(6142),
    [anon_sym_COLON_DASH] = ACTIONS(6142),
    [anon_sym_PERCENT] = ACTIONS(6142),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2558] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6126),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2559] = {
    [sym_concatenation] = STATE(2699),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2699),
    [anon_sym_RBRACE] = ACTIONS(6146),
    [anon_sym_EQ] = ACTIONS(6148),
    [anon_sym_DASH] = ACTIONS(6148),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6150),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6148),
    [anon_sym_COLON_QMARK] = ACTIONS(6148),
    [anon_sym_COLON_DASH] = ACTIONS(6148),
    [anon_sym_PERCENT] = ACTIONS(6148),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2560] = {
    [sym__simple_heredoc_body] = ACTIONS(3065),
    [sym__heredoc_body_beginning] = ACTIONS(3065),
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_EQ_TILDE] = ACTIONS(3067),
    [anon_sym_EQ_EQ] = ACTIONS(3067),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [anon_sym_LT_LT] = ACTIONS(3067),
    [anon_sym_LT_LT_DASH] = ACTIONS(3065),
    [anon_sym_LT_LT_LT] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2561] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6146),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2562] = {
    [sym_concatenation] = STATE(2697),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2697),
    [anon_sym_RBRACE] = ACTIONS(6126),
    [anon_sym_EQ] = ACTIONS(6142),
    [anon_sym_DASH] = ACTIONS(6142),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6144),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6142),
    [anon_sym_COLON_QMARK] = ACTIONS(6142),
    [anon_sym_COLON_DASH] = ACTIONS(6142),
    [anon_sym_PERCENT] = ACTIONS(6142),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2563] = {
    [sym__simple_heredoc_body] = ACTIONS(3120),
    [sym__heredoc_body_beginning] = ACTIONS(3120),
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_EQ_TILDE] = ACTIONS(3122),
    [anon_sym_EQ_EQ] = ACTIONS(3122),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [anon_sym_LT_LT] = ACTIONS(3122),
    [anon_sym_LT_LT_DASH] = ACTIONS(3120),
    [anon_sym_LT_LT_LT] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2564] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6152),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2565] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6152),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2566] = {
    [sym__simple_heredoc_body] = ACTIONS(3158),
    [sym__heredoc_body_beginning] = ACTIONS(3158),
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2567] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6154),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2568] = {
    [sym_file_redirect] = STATE(1437),
    [sym_file_descriptor] = ACTIONS(5610),
    [anon_sym_SEMI] = ACTIONS(2614),
    [anon_sym_esac] = ACTIONS(2612),
    [anon_sym_PIPE] = ACTIONS(2614),
    [anon_sym_SEMI_SEMI] = ACTIONS(2612),
    [anon_sym_PIPE_AMP] = ACTIONS(2612),
    [anon_sym_AMP_AMP] = ACTIONS(2612),
    [anon_sym_PIPE_PIPE] = ACTIONS(2612),
    [anon_sym_LT] = ACTIONS(5612),
    [anon_sym_GT] = ACTIONS(5612),
    [anon_sym_GT_GT] = ACTIONS(5614),
    [anon_sym_AMP_GT] = ACTIONS(5612),
    [anon_sym_AMP_GT_GT] = ACTIONS(5614),
    [anon_sym_LT_AMP] = ACTIONS(5614),
    [anon_sym_GT_AMP] = ACTIONS(5614),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2612),
    [anon_sym_AMP] = ACTIONS(2614),
  },
  [2569] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(1088),
    [sym__heredoc_body_beginning] = ACTIONS(1088),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_esac] = ACTIONS(1088),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2570] = {
    [aux_sym_concatenation_repeat1] = STATE(2572),
    [sym__simple_heredoc_body] = ACTIONS(1092),
    [sym__heredoc_body_beginning] = ACTIONS(1092),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2571] = {
    [sym_string] = STATE(2702),
    [sym_simple_expansion] = STATE(2702),
    [sym_string_expansion] = STATE(2702),
    [sym_expansion] = STATE(2702),
    [sym_command_substitution] = STATE(2702),
    [sym_process_substitution] = STATE(2702),
    [sym__special_characters] = ACTIONS(6156),
    [anon_sym_DQUOTE] = ACTIONS(5470),
    [anon_sym_DOLLAR] = ACTIONS(5472),
    [sym_raw_string] = ACTIONS(6156),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5476),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5478),
    [anon_sym_BQUOTE] = ACTIONS(5480),
    [anon_sym_LT_LPAREN] = ACTIONS(5482),
    [anon_sym_GT_LPAREN] = ACTIONS(5482),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6156),
  },
  [2572] = {
    [aux_sym_concatenation_repeat1] = STATE(2703),
    [sym__simple_heredoc_body] = ACTIONS(807),
    [sym__heredoc_body_beginning] = ACTIONS(807),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(5840),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2573] = {
    [sym__simple_heredoc_body] = ACTIONS(811),
    [sym__heredoc_body_beginning] = ACTIONS(811),
    [sym_file_descriptor] = ACTIONS(811),
    [sym__concat] = ACTIONS(811),
    [anon_sym_SEMI] = ACTIONS(813),
    [anon_sym_esac] = ACTIONS(811),
    [anon_sym_PIPE] = ACTIONS(813),
    [anon_sym_SEMI_SEMI] = ACTIONS(811),
    [anon_sym_PIPE_AMP] = ACTIONS(811),
    [anon_sym_AMP_AMP] = ACTIONS(811),
    [anon_sym_PIPE_PIPE] = ACTIONS(811),
    [anon_sym_LT] = ACTIONS(813),
    [anon_sym_GT] = ACTIONS(813),
    [anon_sym_GT_GT] = ACTIONS(811),
    [anon_sym_AMP_GT] = ACTIONS(813),
    [anon_sym_AMP_GT_GT] = ACTIONS(811),
    [anon_sym_LT_AMP] = ACTIONS(811),
    [anon_sym_GT_AMP] = ACTIONS(811),
    [anon_sym_LT_LT] = ACTIONS(813),
    [anon_sym_LT_LT_DASH] = ACTIONS(811),
    [anon_sym_LT_LT_LT] = ACTIONS(811),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(811),
    [anon_sym_AMP] = ACTIONS(813),
  },
  [2574] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(6158),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2575] = {
    [sym_simple_expansion] = STATE(148),
    [sym_expansion] = STATE(148),
    [sym_command_substitution] = STATE(148),
    [aux_sym_string_repeat1] = STATE(473),
    [anon_sym_DQUOTE] = ACTIONS(6158),
    [anon_sym_DOLLAR] = ACTIONS(6160),
    [sym__string_content] = ACTIONS(273),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(275),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(277),
    [anon_sym_BQUOTE] = ACTIONS(279),
    [sym_comment] = ACTIONS(281),
  },
  [2576] = {
    [sym__simple_heredoc_body] = ACTIONS(845),
    [sym__heredoc_body_beginning] = ACTIONS(845),
    [sym_file_descriptor] = ACTIONS(845),
    [sym__concat] = ACTIONS(845),
    [anon_sym_SEMI] = ACTIONS(847),
    [anon_sym_esac] = ACTIONS(845),
    [anon_sym_PIPE] = ACTIONS(847),
    [anon_sym_SEMI_SEMI] = ACTIONS(845),
    [anon_sym_PIPE_AMP] = ACTIONS(845),
    [anon_sym_AMP_AMP] = ACTIONS(845),
    [anon_sym_PIPE_PIPE] = ACTIONS(845),
    [anon_sym_LT] = ACTIONS(847),
    [anon_sym_GT] = ACTIONS(847),
    [anon_sym_GT_GT] = ACTIONS(845),
    [anon_sym_AMP_GT] = ACTIONS(847),
    [anon_sym_AMP_GT_GT] = ACTIONS(845),
    [anon_sym_LT_AMP] = ACTIONS(845),
    [anon_sym_GT_AMP] = ACTIONS(845),
    [anon_sym_LT_LT] = ACTIONS(847),
    [anon_sym_LT_LT_DASH] = ACTIONS(845),
    [anon_sym_LT_LT_LT] = ACTIONS(845),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(845),
    [anon_sym_AMP] = ACTIONS(847),
  },
  [2577] = {
    [sym__simple_heredoc_body] = ACTIONS(849),
    [sym__heredoc_body_beginning] = ACTIONS(849),
    [sym_file_descriptor] = ACTIONS(849),
    [sym__concat] = ACTIONS(849),
    [anon_sym_SEMI] = ACTIONS(851),
    [anon_sym_esac] = ACTIONS(849),
    [anon_sym_PIPE] = ACTIONS(851),
    [anon_sym_SEMI_SEMI] = ACTIONS(849),
    [anon_sym_PIPE_AMP] = ACTIONS(849),
    [anon_sym_AMP_AMP] = ACTIONS(849),
    [anon_sym_PIPE_PIPE] = ACTIONS(849),
    [anon_sym_LT] = ACTIONS(851),
    [anon_sym_GT] = ACTIONS(851),
    [anon_sym_GT_GT] = ACTIONS(849),
    [anon_sym_AMP_GT] = ACTIONS(851),
    [anon_sym_AMP_GT_GT] = ACTIONS(849),
    [anon_sym_LT_AMP] = ACTIONS(849),
    [anon_sym_GT_AMP] = ACTIONS(849),
    [anon_sym_LT_LT] = ACTIONS(851),
    [anon_sym_LT_LT_DASH] = ACTIONS(849),
    [anon_sym_LT_LT_LT] = ACTIONS(849),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(849),
    [anon_sym_AMP] = ACTIONS(851),
  },
  [2578] = {
    [sym__simple_heredoc_body] = ACTIONS(853),
    [sym__heredoc_body_beginning] = ACTIONS(853),
    [sym_file_descriptor] = ACTIONS(853),
    [sym__concat] = ACTIONS(853),
    [anon_sym_SEMI] = ACTIONS(855),
    [anon_sym_esac] = ACTIONS(853),
    [anon_sym_PIPE] = ACTIONS(855),
    [anon_sym_SEMI_SEMI] = ACTIONS(853),
    [anon_sym_PIPE_AMP] = ACTIONS(853),
    [anon_sym_AMP_AMP] = ACTIONS(853),
    [anon_sym_PIPE_PIPE] = ACTIONS(853),
    [anon_sym_LT] = ACTIONS(855),
    [anon_sym_GT] = ACTIONS(855),
    [anon_sym_GT_GT] = ACTIONS(853),
    [anon_sym_AMP_GT] = ACTIONS(855),
    [anon_sym_AMP_GT_GT] = ACTIONS(853),
    [anon_sym_LT_AMP] = ACTIONS(853),
    [anon_sym_GT_AMP] = ACTIONS(853),
    [anon_sym_LT_LT] = ACTIONS(855),
    [anon_sym_LT_LT_DASH] = ACTIONS(853),
    [anon_sym_LT_LT_LT] = ACTIONS(853),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(853),
    [anon_sym_AMP] = ACTIONS(855),
  },
  [2579] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(6162),
    [sym_comment] = ACTIONS(55),
  },
  [2580] = {
    [sym_subscript] = STATE(2709),
    [sym_variable_name] = ACTIONS(6164),
    [anon_sym_DASH] = ACTIONS(6166),
    [anon_sym_DOLLAR] = ACTIONS(6166),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(6168),
    [anon_sym_STAR] = ACTIONS(6170),
    [anon_sym_AT] = ACTIONS(6170),
    [anon_sym_QMARK] = ACTIONS(6170),
    [anon_sym_0] = ACTIONS(6168),
    [anon_sym__] = ACTIONS(6168),
  },
  [2581] = {
    [sym_concatenation] = STATE(2712),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2712),
    [anon_sym_RBRACE] = ACTIONS(6172),
    [anon_sym_EQ] = ACTIONS(6174),
    [anon_sym_DASH] = ACTIONS(6174),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6176),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6178),
    [anon_sym_COLON] = ACTIONS(6174),
    [anon_sym_COLON_QMARK] = ACTIONS(6174),
    [anon_sym_COLON_DASH] = ACTIONS(6174),
    [anon_sym_PERCENT] = ACTIONS(6174),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2582] = {
    [sym_concatenation] = STATE(2715),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2715),
    [anon_sym_RBRACE] = ACTIONS(6180),
    [anon_sym_EQ] = ACTIONS(6182),
    [anon_sym_DASH] = ACTIONS(6182),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6184),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6186),
    [anon_sym_COLON] = ACTIONS(6182),
    [anon_sym_COLON_QMARK] = ACTIONS(6182),
    [anon_sym_COLON_DASH] = ACTIONS(6182),
    [anon_sym_PERCENT] = ACTIONS(6182),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2583] = {
    [anon_sym_SEMI] = ACTIONS(6188),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6190),
    [anon_sym_SEMI_SEMI] = ACTIONS(6192),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6192),
    [anon_sym_AMP] = ACTIONS(6188),
  },
  [2584] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6188),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6190),
    [anon_sym_SEMI_SEMI] = ACTIONS(6192),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6192),
    [anon_sym_AMP] = ACTIONS(6188),
  },
  [2585] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2718),
    [sym_c_style_for_statement] = STATE(2718),
    [sym_while_statement] = STATE(2718),
    [sym_if_statement] = STATE(2718),
    [sym_case_statement] = STATE(2718),
    [sym_function_definition] = STATE(2718),
    [sym_subshell] = STATE(2718),
    [sym_pipeline] = STATE(2718),
    [sym_list] = STATE(2718),
    [sym_negated_command] = STATE(2718),
    [sym_test_command] = STATE(2718),
    [sym_declaration_command] = STATE(2718),
    [sym_unset_command] = STATE(2718),
    [sym_command] = STATE(2718),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2719),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2586] = {
    [anon_sym_SEMI] = ACTIONS(6194),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6196),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(6190),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6196),
    [anon_sym_AMP] = ACTIONS(6194),
  },
  [2587] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6194),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6196),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(6190),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6196),
    [anon_sym_AMP] = ACTIONS(6194),
  },
  [2588] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2721),
    [sym_c_style_for_statement] = STATE(2721),
    [sym_while_statement] = STATE(2721),
    [sym_if_statement] = STATE(2721),
    [sym_case_statement] = STATE(2721),
    [sym_function_definition] = STATE(2721),
    [sym_subshell] = STATE(2721),
    [sym_pipeline] = STATE(2721),
    [sym_list] = STATE(2721),
    [sym_negated_command] = STATE(2721),
    [sym_test_command] = STATE(2721),
    [sym_declaration_command] = STATE(2721),
    [sym_unset_command] = STATE(2721),
    [sym_command] = STATE(2721),
    [sym_command_name] = STATE(173),
    [sym_variable_assignment] = STATE(2722),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(176),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(176),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(305),
    [anon_sym_while] = ACTIONS(307),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(309),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(311),
    [anon_sym_LBRACK] = ACTIONS(313),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(315),
    [anon_sym_declare] = ACTIONS(317),
    [anon_sym_typeset] = ACTIONS(317),
    [anon_sym_export] = ACTIONS(317),
    [anon_sym_readonly] = ACTIONS(317),
    [anon_sym_local] = ACTIONS(317),
    [anon_sym_unset] = ACTIONS(319),
    [anon_sym_unsetenv] = ACTIONS(319),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(321),
  },
  [2589] = {
    [anon_sym_SEMI] = ACTIONS(6198),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6200),
    [anon_sym_SEMI_SEMI] = ACTIONS(6202),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6202),
    [anon_sym_AMP] = ACTIONS(6198),
  },
  [2590] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6198),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6200),
    [anon_sym_SEMI_SEMI] = ACTIONS(6202),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6202),
    [anon_sym_AMP] = ACTIONS(6198),
  },
  [2591] = {
    [sym__terminated_statement] = STATE(198),
    [sym_for_statement] = STATE(2725),
    [sym_c_style_for_statement] = STATE(2725),
    [sym_while_statement] = STATE(2725),
    [sym_if_statement] = STATE(2725),
    [sym_case_statement] = STATE(2725),
    [sym_function_definition] = STATE(2725),
    [sym_subshell] = STATE(2725),
    [sym_pipeline] = STATE(2725),
    [sym_list] = STATE(2725),
    [sym_negated_command] = STATE(2725),
    [sym_test_command] = STATE(2725),
    [sym_declaration_command] = STATE(2725),
    [sym_unset_command] = STATE(2725),
    [sym_command] = STATE(2725),
    [sym_command_name] = STATE(92),
    [sym_variable_assignment] = STATE(2726),
    [sym_subscript] = STATE(94),
    [sym_file_redirect] = STATE(96),
    [sym_concatenation] = STATE(31),
    [sym_string] = STATE(89),
    [sym_simple_expansion] = STATE(89),
    [sym_string_expansion] = STATE(89),
    [sym_expansion] = STATE(89),
    [sym_command_substitution] = STATE(89),
    [sym_process_substitution] = STATE(89),
    [aux_sym__statements_repeat1] = STATE(198),
    [aux_sym_command_repeat1] = STATE(96),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(137),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(139),
    [anon_sym_while] = ACTIONS(141),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_function] = ACTIONS(143),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(145),
    [anon_sym_LBRACK] = ACTIONS(147),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(149),
    [anon_sym_declare] = ACTIONS(151),
    [anon_sym_typeset] = ACTIONS(151),
    [anon_sym_export] = ACTIONS(151),
    [anon_sym_readonly] = ACTIONS(151),
    [anon_sym_local] = ACTIONS(151),
    [anon_sym_unset] = ACTIONS(153),
    [anon_sym_unsetenv] = ACTIONS(153),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(155),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(157),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(159),
  },
  [2592] = {
    [sym_file_redirect] = STATE(2418),
    [sym_heredoc_redirect] = STATE(2418),
    [sym_heredoc_body] = STATE(1449),
    [sym_herestring_redirect] = STATE(2418),
    [aux_sym_while_statement_repeat1] = STATE(2418),
    [sym__simple_heredoc_body] = ACTIONS(339),
    [sym__heredoc_body_beginning] = ACTIONS(341),
    [sym_file_descriptor] = ACTIONS(5091),
    [anon_sym_SEMI] = ACTIONS(3207),
    [anon_sym_esac] = ACTIONS(3205),
    [anon_sym_PIPE] = ACTIONS(3207),
    [anon_sym_SEMI_SEMI] = ACTIONS(3205),
    [anon_sym_PIPE_AMP] = ACTIONS(3205),
    [anon_sym_AMP_AMP] = ACTIONS(3205),
    [anon_sym_PIPE_PIPE] = ACTIONS(3205),
    [anon_sym_LT] = ACTIONS(5095),
    [anon_sym_GT] = ACTIONS(5095),
    [anon_sym_GT_GT] = ACTIONS(5097),
    [anon_sym_AMP_GT] = ACTIONS(5095),
    [anon_sym_AMP_GT_GT] = ACTIONS(5097),
    [anon_sym_LT_AMP] = ACTIONS(5097),
    [anon_sym_GT_AMP] = ACTIONS(5097),
    [anon_sym_LT_LT] = ACTIONS(355),
    [anon_sym_LT_LT_DASH] = ACTIONS(357),
    [anon_sym_LT_LT_LT] = ACTIONS(5099),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3205),
    [anon_sym_AMP] = ACTIONS(3207),
  },
  [2593] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(6204),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(6206),
    [anon_sym_DQUOTE] = ACTIONS(6208),
    [anon_sym_DOLLAR] = ACTIONS(6206),
    [sym_raw_string] = ACTIONS(6208),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6208),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6208),
    [anon_sym_BQUOTE] = ACTIONS(6208),
    [anon_sym_LT_LPAREN] = ACTIONS(6208),
    [anon_sym_GT_LPAREN] = ACTIONS(6208),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6206),
  },
  [2594] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_esac] = ACTIONS(6210),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(6212),
    [anon_sym_DQUOTE] = ACTIONS(6214),
    [anon_sym_DOLLAR] = ACTIONS(6212),
    [sym_raw_string] = ACTIONS(6214),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6214),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6214),
    [anon_sym_BQUOTE] = ACTIONS(6214),
    [anon_sym_LT_LPAREN] = ACTIONS(6214),
    [anon_sym_GT_LPAREN] = ACTIONS(6214),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6212),
  },
  [2595] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5454),
    [anon_sym_DQUOTE] = ACTIONS(5456),
    [anon_sym_DOLLAR] = ACTIONS(5454),
    [sym_raw_string] = ACTIONS(5456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5456),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5456),
    [anon_sym_BQUOTE] = ACTIONS(5456),
    [anon_sym_LT_LPAREN] = ACTIONS(5456),
    [anon_sym_GT_LPAREN] = ACTIONS(5456),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5454),
  },
  [2596] = {
    [sym__special_characters] = ACTIONS(5456),
    [anon_sym_DQUOTE] = ACTIONS(5456),
    [anon_sym_DOLLAR] = ACTIONS(5454),
    [sym_raw_string] = ACTIONS(5456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5456),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5456),
    [anon_sym_BQUOTE] = ACTIONS(5456),
    [anon_sym_LT_LPAREN] = ACTIONS(5456),
    [anon_sym_GT_LPAREN] = ACTIONS(5456),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5456),
  },
  [2597] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6216),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2598] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6216),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2599] = {
    [sym__terminated_statement] = STATE(2599),
    [sym_for_statement] = STATE(545),
    [sym_c_style_for_statement] = STATE(545),
    [sym_while_statement] = STATE(545),
    [sym_if_statement] = STATE(545),
    [sym_case_statement] = STATE(545),
    [sym_function_definition] = STATE(545),
    [sym_subshell] = STATE(545),
    [sym_pipeline] = STATE(545),
    [sym_list] = STATE(545),
    [sym_negated_command] = STATE(545),
    [sym_test_command] = STATE(545),
    [sym_declaration_command] = STATE(545),
    [sym_unset_command] = STATE(545),
    [sym_command] = STATE(545),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(546),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2599),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(997),
    [sym_variable_name] = ACTIONS(1000),
    [anon_sym_for] = ACTIONS(1003),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(1006),
    [anon_sym_while] = ACTIONS(1009),
    [anon_sym_if] = ACTIONS(1012),
    [anon_sym_case] = ACTIONS(1015),
    [anon_sym_SEMI_SEMI] = ACTIONS(3728),
    [anon_sym_function] = ACTIONS(1018),
    [anon_sym_LPAREN] = ACTIONS(1021),
    [anon_sym_BANG] = ACTIONS(1024),
    [anon_sym_LBRACK] = ACTIONS(1027),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(1030),
    [anon_sym_declare] = ACTIONS(1033),
    [anon_sym_typeset] = ACTIONS(1033),
    [anon_sym_export] = ACTIONS(1033),
    [anon_sym_readonly] = ACTIONS(1033),
    [anon_sym_local] = ACTIONS(1033),
    [anon_sym_unset] = ACTIONS(1036),
    [anon_sym_unsetenv] = ACTIONS(1036),
    [anon_sym_LT] = ACTIONS(1039),
    [anon_sym_GT] = ACTIONS(1039),
    [anon_sym_GT_GT] = ACTIONS(1042),
    [anon_sym_AMP_GT] = ACTIONS(1039),
    [anon_sym_AMP_GT_GT] = ACTIONS(1042),
    [anon_sym_LT_AMP] = ACTIONS(1042),
    [anon_sym_GT_AMP] = ACTIONS(1042),
    [sym__special_characters] = ACTIONS(1045),
    [anon_sym_DQUOTE] = ACTIONS(1048),
    [anon_sym_DOLLAR] = ACTIONS(1051),
    [sym_raw_string] = ACTIONS(1054),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1060),
    [anon_sym_BQUOTE] = ACTIONS(1063),
    [anon_sym_LT_LPAREN] = ACTIONS(1066),
    [anon_sym_GT_LPAREN] = ACTIONS(1066),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1069),
  },
  [2600] = {
    [sym__terminated_statement] = STATE(2599),
    [sym_for_statement] = STATE(2729),
    [sym_c_style_for_statement] = STATE(2729),
    [sym_while_statement] = STATE(2729),
    [sym_if_statement] = STATE(2729),
    [sym_case_statement] = STATE(2729),
    [sym_function_definition] = STATE(2729),
    [sym_subshell] = STATE(2729),
    [sym_pipeline] = STATE(2729),
    [sym_list] = STATE(2729),
    [sym_negated_command] = STATE(2729),
    [sym_test_command] = STATE(2729),
    [sym_declaration_command] = STATE(2729),
    [sym_unset_command] = STATE(2729),
    [sym_command] = STATE(2729),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2730),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2599),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(6218),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2601] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5496),
    [anon_sym_DQUOTE] = ACTIONS(5498),
    [anon_sym_DOLLAR] = ACTIONS(5496),
    [sym_raw_string] = ACTIONS(5498),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5498),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5498),
    [anon_sym_BQUOTE] = ACTIONS(5498),
    [anon_sym_LT_LPAREN] = ACTIONS(5498),
    [anon_sym_GT_LPAREN] = ACTIONS(5498),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5496),
  },
  [2602] = {
    [sym__special_characters] = ACTIONS(5498),
    [anon_sym_DQUOTE] = ACTIONS(5498),
    [anon_sym_DOLLAR] = ACTIONS(5496),
    [sym_raw_string] = ACTIONS(5498),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5498),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5498),
    [anon_sym_BQUOTE] = ACTIONS(5498),
    [anon_sym_LT_LPAREN] = ACTIONS(5498),
    [anon_sym_GT_LPAREN] = ACTIONS(5498),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5498),
  },
  [2603] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6220),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2604] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6220),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2605] = {
    [sym__terminated_statement] = STATE(2599),
    [sym_for_statement] = STATE(2733),
    [sym_c_style_for_statement] = STATE(2733),
    [sym_while_statement] = STATE(2733),
    [sym_if_statement] = STATE(2733),
    [sym_case_statement] = STATE(2733),
    [sym_function_definition] = STATE(2733),
    [sym_subshell] = STATE(2733),
    [sym_pipeline] = STATE(2733),
    [sym_list] = STATE(2733),
    [sym_negated_command] = STATE(2733),
    [sym_test_command] = STATE(2733),
    [sym_declaration_command] = STATE(2733),
    [sym_unset_command] = STATE(2733),
    [sym_command] = STATE(2733),
    [sym_command_name] = STATE(64),
    [sym_variable_assignment] = STATE(2734),
    [sym_subscript] = STATE(66),
    [sym_file_redirect] = STATE(67),
    [sym_concatenation] = STATE(31),
    [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),
    [aux_sym__statements_repeat1] = STATE(2599),
    [aux_sym_command_repeat1] = STATE(67),
    [sym_file_descriptor] = ACTIONS(5),
    [sym_variable_name] = ACTIONS(95),
    [anon_sym_for] = ACTIONS(11),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(97),
    [anon_sym_while] = ACTIONS(99),
    [anon_sym_if] = ACTIONS(17),
    [anon_sym_case] = ACTIONS(19),
    [anon_sym_SEMI_SEMI] = ACTIONS(6222),
    [anon_sym_function] = ACTIONS(101),
    [anon_sym_LPAREN] = ACTIONS(23),
    [anon_sym_BANG] = ACTIONS(103),
    [anon_sym_LBRACK] = ACTIONS(105),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(107),
    [anon_sym_declare] = ACTIONS(109),
    [anon_sym_typeset] = ACTIONS(109),
    [anon_sym_export] = ACTIONS(109),
    [anon_sym_readonly] = ACTIONS(109),
    [anon_sym_local] = ACTIONS(109),
    [anon_sym_unset] = ACTIONS(111),
    [anon_sym_unsetenv] = ACTIONS(111),
    [anon_sym_LT] = ACTIONS(35),
    [anon_sym_GT] = ACTIONS(35),
    [anon_sym_GT_GT] = ACTIONS(37),
    [anon_sym_AMP_GT] = ACTIONS(35),
    [anon_sym_AMP_GT_GT] = ACTIONS(37),
    [anon_sym_LT_AMP] = ACTIONS(37),
    [anon_sym_GT_AMP] = ACTIONS(37),
    [sym__special_characters] = ACTIONS(113),
    [anon_sym_DQUOTE] = ACTIONS(41),
    [anon_sym_DOLLAR] = ACTIONS(43),
    [sym_raw_string] = ACTIONS(115),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(47),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(49),
    [anon_sym_BQUOTE] = ACTIONS(51),
    [anon_sym_LT_LPAREN] = ACTIONS(53),
    [anon_sym_GT_LPAREN] = ACTIONS(53),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(117),
  },
  [2606] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_RBRACE] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
  },
  [2607] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_RBRACE] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
  },
  [2608] = {
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [ts_builtin_sym_end] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5202),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_RPAREN] = ACTIONS(5202),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [anon_sym_LT_LT] = ACTIONS(5204),
    [anon_sym_LT_LT_DASH] = ACTIONS(5202),
    [anon_sym_LT_LT_LT] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2609] = {
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [ts_builtin_sym_end] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5206),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_RPAREN] = ACTIONS(5206),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [anon_sym_LT_LT] = ACTIONS(5208),
    [anon_sym_LT_LT_DASH] = ACTIONS(5206),
    [anon_sym_LT_LT_LT] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2610] = {
    [sym_file_descriptor] = ACTIONS(3265),
    [sym_variable_name] = ACTIONS(3265),
    [anon_sym_SEMI] = ACTIONS(3267),
    [anon_sym_esac] = ACTIONS(3267),
    [anon_sym_PIPE] = ACTIONS(3267),
    [anon_sym_SEMI_SEMI] = ACTIONS(3265),
    [anon_sym_PIPE_AMP] = ACTIONS(3265),
    [anon_sym_AMP_AMP] = ACTIONS(3265),
    [anon_sym_PIPE_PIPE] = ACTIONS(3265),
    [anon_sym_LT] = ACTIONS(3267),
    [anon_sym_GT] = ACTIONS(3267),
    [anon_sym_GT_GT] = ACTIONS(3265),
    [anon_sym_AMP_GT] = ACTIONS(3267),
    [anon_sym_AMP_GT_GT] = ACTIONS(3265),
    [anon_sym_LT_AMP] = ACTIONS(3265),
    [anon_sym_GT_AMP] = ACTIONS(3265),
    [sym__special_characters] = ACTIONS(3265),
    [anon_sym_DQUOTE] = ACTIONS(3265),
    [anon_sym_DOLLAR] = ACTIONS(3267),
    [sym_raw_string] = ACTIONS(3265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3265),
    [anon_sym_BQUOTE] = ACTIONS(3265),
    [anon_sym_LT_LPAREN] = ACTIONS(3265),
    [anon_sym_GT_LPAREN] = ACTIONS(3265),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3267),
    [anon_sym_LF] = ACTIONS(3265),
    [anon_sym_AMP] = ACTIONS(3267),
  },
  [2611] = {
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2612] = {
    [aux_sym_concatenation_repeat1] = STATE(2612),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(6224),
    [sym_variable_name] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1765),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [sym__special_characters] = ACTIONS(1763),
    [anon_sym_DQUOTE] = ACTIONS(1763),
    [anon_sym_DOLLAR] = ACTIONS(1765),
    [sym_raw_string] = ACTIONS(1763),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1763),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1763),
    [anon_sym_BQUOTE] = ACTIONS(1763),
    [anon_sym_LT_LPAREN] = ACTIONS(1763),
    [anon_sym_GT_LPAREN] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1765),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2613] = {
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [sym_variable_name] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1772),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [sym__special_characters] = ACTIONS(1770),
    [anon_sym_DQUOTE] = ACTIONS(1770),
    [anon_sym_DOLLAR] = ACTIONS(1772),
    [sym_raw_string] = ACTIONS(1770),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1770),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1770),
    [anon_sym_BQUOTE] = ACTIONS(1770),
    [anon_sym_LT_LPAREN] = ACTIONS(1770),
    [anon_sym_GT_LPAREN] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1772),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [2614] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(6227),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2615] = {
    [sym_concatenation] = STATE(2739),
    [sym_string] = STATE(2738),
    [sym_simple_expansion] = STATE(2738),
    [sym_string_expansion] = STATE(2738),
    [sym_expansion] = STATE(2738),
    [sym_command_substitution] = STATE(2738),
    [sym_process_substitution] = STATE(2738),
    [anon_sym_RBRACE] = ACTIONS(6229),
    [sym__special_characters] = ACTIONS(6231),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6233),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6233),
  },
  [2616] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(6235),
    [sym_comment] = ACTIONS(55),
  },
  [2617] = {
    [sym_concatenation] = STATE(2743),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2743),
    [anon_sym_RBRACE] = ACTIONS(6237),
    [anon_sym_EQ] = ACTIONS(6239),
    [anon_sym_DASH] = ACTIONS(6239),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6241),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6243),
    [anon_sym_COLON] = ACTIONS(6239),
    [anon_sym_COLON_QMARK] = ACTIONS(6239),
    [anon_sym_COLON_DASH] = ACTIONS(6239),
    [anon_sym_PERCENT] = ACTIONS(6239),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2618] = {
    [sym_concatenation] = STATE(2745),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2745),
    [anon_sym_RBRACE] = ACTIONS(6229),
    [anon_sym_EQ] = ACTIONS(6245),
    [anon_sym_DASH] = ACTIONS(6245),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6249),
    [anon_sym_COLON] = ACTIONS(6245),
    [anon_sym_COLON_QMARK] = ACTIONS(6245),
    [anon_sym_COLON_DASH] = ACTIONS(6245),
    [anon_sym_PERCENT] = ACTIONS(6245),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2619] = {
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [sym_variable_name] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1873),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [sym__special_characters] = ACTIONS(1871),
    [anon_sym_DQUOTE] = ACTIONS(1871),
    [anon_sym_DOLLAR] = ACTIONS(1873),
    [sym_raw_string] = ACTIONS(1871),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1871),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1871),
    [anon_sym_BQUOTE] = ACTIONS(1871),
    [anon_sym_LT_LPAREN] = ACTIONS(1871),
    [anon_sym_GT_LPAREN] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1873),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [2620] = {
    [sym_concatenation] = STATE(2748),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2748),
    [sym_regex] = ACTIONS(6251),
    [anon_sym_RBRACE] = ACTIONS(6253),
    [anon_sym_EQ] = ACTIONS(6255),
    [anon_sym_DASH] = ACTIONS(6255),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6257),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6255),
    [anon_sym_COLON_QMARK] = ACTIONS(6255),
    [anon_sym_COLON_DASH] = ACTIONS(6255),
    [anon_sym_PERCENT] = ACTIONS(6255),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2621] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6253),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2622] = {
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [sym_variable_name] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1921),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [sym__special_characters] = ACTIONS(1919),
    [anon_sym_DQUOTE] = ACTIONS(1919),
    [anon_sym_DOLLAR] = ACTIONS(1921),
    [sym_raw_string] = ACTIONS(1919),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1919),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1919),
    [anon_sym_BQUOTE] = ACTIONS(1919),
    [anon_sym_LT_LPAREN] = ACTIONS(1919),
    [anon_sym_GT_LPAREN] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1921),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [2623] = {
    [sym_concatenation] = STATE(2745),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2745),
    [sym_regex] = ACTIONS(6259),
    [anon_sym_RBRACE] = ACTIONS(6229),
    [anon_sym_EQ] = ACTIONS(6245),
    [anon_sym_DASH] = ACTIONS(6245),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6247),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6245),
    [anon_sym_COLON_QMARK] = ACTIONS(6245),
    [anon_sym_COLON_DASH] = ACTIONS(6245),
    [anon_sym_PERCENT] = ACTIONS(6245),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2624] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6229),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2625] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6261),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2626] = {
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [sym_variable_name] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1929),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [sym__special_characters] = ACTIONS(1927),
    [anon_sym_DQUOTE] = ACTIONS(1927),
    [anon_sym_DOLLAR] = ACTIONS(1929),
    [sym_raw_string] = ACTIONS(1927),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1927),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1927),
    [anon_sym_BQUOTE] = ACTIONS(1927),
    [anon_sym_LT_LPAREN] = ACTIONS(1927),
    [anon_sym_GT_LPAREN] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1929),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [2627] = {
    [anon_sym_SEMI] = ACTIONS(6263),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6261),
    [anon_sym_SEMI_SEMI] = ACTIONS(6265),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6265),
    [anon_sym_AMP] = ACTIONS(6263),
  },
  [2628] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6263),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6261),
    [anon_sym_SEMI_SEMI] = ACTIONS(6265),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6265),
    [anon_sym_AMP] = ACTIONS(6263),
  },
  [2629] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6261),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2630] = {
    [anon_sym_SEMI] = ACTIONS(6267),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6269),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(6261),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6269),
    [anon_sym_AMP] = ACTIONS(6267),
  },
  [2631] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6267),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6269),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(6261),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6269),
    [anon_sym_AMP] = ACTIONS(6267),
  },
  [2632] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6271),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2633] = {
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [sym_variable_name] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1961),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [sym__special_characters] = ACTIONS(1959),
    [anon_sym_DQUOTE] = ACTIONS(1959),
    [anon_sym_DOLLAR] = ACTIONS(1961),
    [sym_raw_string] = ACTIONS(1959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1959),
    [anon_sym_BQUOTE] = ACTIONS(1959),
    [anon_sym_LT_LPAREN] = ACTIONS(1959),
    [anon_sym_GT_LPAREN] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1961),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [2634] = {
    [anon_sym_SEMI] = ACTIONS(6273),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6271),
    [anon_sym_SEMI_SEMI] = ACTIONS(6275),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6275),
    [anon_sym_AMP] = ACTIONS(6273),
  },
  [2635] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6273),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6271),
    [anon_sym_SEMI_SEMI] = ACTIONS(6275),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6275),
    [anon_sym_AMP] = ACTIONS(6273),
  },
  [2636] = {
    [sym_concatenation] = STATE(1586),
    [sym_string] = STATE(2756),
    [sym_simple_expansion] = STATE(2756),
    [sym_string_expansion] = STATE(2756),
    [sym_expansion] = STATE(2756),
    [sym_command_substitution] = STATE(2756),
    [sym_process_substitution] = STATE(2756),
    [sym__special_characters] = ACTIONS(6277),
    [anon_sym_DQUOTE] = ACTIONS(2396),
    [anon_sym_DOLLAR] = ACTIONS(2398),
    [sym_raw_string] = ACTIONS(6279),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2402),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2404),
    [anon_sym_BQUOTE] = ACTIONS(2406),
    [anon_sym_LT_LPAREN] = ACTIONS(2408),
    [anon_sym_GT_LPAREN] = ACTIONS(2408),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6279),
  },
  [2637] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(773),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_esac] = ACTIONS(773),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [anon_sym_LT] = ACTIONS(777),
    [anon_sym_GT] = ACTIONS(777),
    [anon_sym_GT_GT] = ACTIONS(773),
    [anon_sym_AMP_GT] = ACTIONS(777),
    [anon_sym_AMP_GT_GT] = ACTIONS(773),
    [anon_sym_LT_AMP] = ACTIONS(773),
    [anon_sym_GT_AMP] = ACTIONS(773),
    [anon_sym_LT_LT] = ACTIONS(777),
    [anon_sym_LT_LT_DASH] = ACTIONS(773),
    [anon_sym_LT_LT_LT] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [2638] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(791),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [anon_sym_LT] = ACTIONS(793),
    [anon_sym_GT] = ACTIONS(793),
    [anon_sym_GT_GT] = ACTIONS(791),
    [anon_sym_AMP_GT] = ACTIONS(793),
    [anon_sym_AMP_GT_GT] = ACTIONS(791),
    [anon_sym_LT_AMP] = ACTIONS(791),
    [anon_sym_GT_AMP] = ACTIONS(791),
    [anon_sym_LT_LT] = ACTIONS(793),
    [anon_sym_LT_LT_DASH] = ACTIONS(791),
    [anon_sym_LT_LT_LT] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [2639] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(2015),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2017),
    [anon_sym_esac] = ACTIONS(2015),
    [anon_sym_PIPE] = ACTIONS(2017),
    [anon_sym_SEMI_SEMI] = ACTIONS(2015),
    [anon_sym_PIPE_AMP] = ACTIONS(2015),
    [anon_sym_AMP_AMP] = ACTIONS(2015),
    [anon_sym_PIPE_PIPE] = ACTIONS(2015),
    [anon_sym_LT] = ACTIONS(2017),
    [anon_sym_GT] = ACTIONS(2017),
    [anon_sym_GT_GT] = ACTIONS(2015),
    [anon_sym_AMP_GT] = ACTIONS(2017),
    [anon_sym_AMP_GT_GT] = ACTIONS(2015),
    [anon_sym_LT_AMP] = ACTIONS(2015),
    [anon_sym_GT_AMP] = ACTIONS(2015),
    [anon_sym_LT_LT] = ACTIONS(2017),
    [anon_sym_LT_LT_DASH] = ACTIONS(2015),
    [anon_sym_LT_LT_LT] = ACTIONS(2015),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2015),
    [anon_sym_AMP] = ACTIONS(2017),
  },
  [2640] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(2019),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(2021),
    [anon_sym_esac] = ACTIONS(2019),
    [anon_sym_PIPE] = ACTIONS(2021),
    [anon_sym_SEMI_SEMI] = ACTIONS(2019),
    [anon_sym_PIPE_AMP] = ACTIONS(2019),
    [anon_sym_AMP_AMP] = ACTIONS(2019),
    [anon_sym_PIPE_PIPE] = ACTIONS(2019),
    [anon_sym_LT] = ACTIONS(2021),
    [anon_sym_GT] = ACTIONS(2021),
    [anon_sym_GT_GT] = ACTIONS(2019),
    [anon_sym_AMP_GT] = ACTIONS(2021),
    [anon_sym_AMP_GT_GT] = ACTIONS(2019),
    [anon_sym_LT_AMP] = ACTIONS(2019),
    [anon_sym_GT_AMP] = ACTIONS(2019),
    [anon_sym_LT_LT] = ACTIONS(2021),
    [anon_sym_LT_LT_DASH] = ACTIONS(2019),
    [anon_sym_LT_LT_LT] = ACTIONS(2019),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2019),
    [anon_sym_AMP] = ACTIONS(2021),
  },
  [2641] = {
    [sym_file_redirect] = STATE(2641),
    [sym_heredoc_redirect] = STATE(2641),
    [sym_herestring_redirect] = STATE(2641),
    [aux_sym_while_statement_repeat1] = STATE(2641),
    [sym_file_descriptor] = ACTIONS(6281),
    [anon_sym_SEMI] = ACTIONS(2032),
    [anon_sym_esac] = ACTIONS(2027),
    [anon_sym_PIPE] = ACTIONS(2032),
    [anon_sym_SEMI_SEMI] = ACTIONS(2027),
    [anon_sym_PIPE_AMP] = ACTIONS(2027),
    [anon_sym_AMP_AMP] = ACTIONS(2027),
    [anon_sym_PIPE_PIPE] = ACTIONS(2027),
    [anon_sym_LT] = ACTIONS(6284),
    [anon_sym_GT] = ACTIONS(6284),
    [anon_sym_GT_GT] = ACTIONS(6287),
    [anon_sym_AMP_GT] = ACTIONS(6284),
    [anon_sym_AMP_GT_GT] = ACTIONS(6287),
    [anon_sym_LT_AMP] = ACTIONS(6287),
    [anon_sym_GT_AMP] = ACTIONS(6287),
    [anon_sym_LT_LT] = ACTIONS(3612),
    [anon_sym_LT_LT_DASH] = ACTIONS(3615),
    [anon_sym_LT_LT_LT] = ACTIONS(6290),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2027),
    [anon_sym_AMP] = ACTIONS(2032),
  },
  [2642] = {
    [sym_file_redirect] = STATE(1651),
    [sym_file_descriptor] = ACTIONS(5610),
    [anon_sym_SEMI] = ACTIONS(3722),
    [anon_sym_esac] = ACTIONS(3720),
    [anon_sym_PIPE] = ACTIONS(3722),
    [anon_sym_SEMI_SEMI] = ACTIONS(3720),
    [anon_sym_PIPE_AMP] = ACTIONS(3720),
    [anon_sym_AMP_AMP] = ACTIONS(3720),
    [anon_sym_PIPE_PIPE] = ACTIONS(3720),
    [anon_sym_LT] = ACTIONS(5612),
    [anon_sym_GT] = ACTIONS(5612),
    [anon_sym_GT_GT] = ACTIONS(5614),
    [anon_sym_AMP_GT] = ACTIONS(5612),
    [anon_sym_AMP_GT_GT] = ACTIONS(5614),
    [anon_sym_LT_AMP] = ACTIONS(5614),
    [anon_sym_GT_AMP] = ACTIONS(5614),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3720),
    [anon_sym_AMP] = ACTIONS(3722),
  },
  [2643] = {
    [sym_concatenation] = STATE(1654),
    [sym_string] = STATE(2759),
    [sym_simple_expansion] = STATE(2759),
    [sym_string_expansion] = STATE(2759),
    [sym_expansion] = STATE(2759),
    [sym_command_substitution] = STATE(2759),
    [sym_process_substitution] = STATE(2759),
    [sym__special_characters] = ACTIONS(6293),
    [anon_sym_DQUOTE] = ACTIONS(411),
    [anon_sym_DOLLAR] = ACTIONS(413),
    [sym_raw_string] = ACTIONS(6295),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(417),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(419),
    [anon_sym_BQUOTE] = ACTIONS(421),
    [anon_sym_LT_LPAREN] = ACTIONS(423),
    [anon_sym_GT_LPAREN] = ACTIONS(423),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6295),
  },
  [2644] = {
    [aux_sym_concatenation_repeat1] = STATE(2760),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(777),
    [anon_sym_esac] = ACTIONS(773),
    [anon_sym_PIPE] = ACTIONS(777),
    [anon_sym_SEMI_SEMI] = ACTIONS(773),
    [anon_sym_PIPE_AMP] = ACTIONS(773),
    [anon_sym_AMP_AMP] = ACTIONS(773),
    [anon_sym_PIPE_PIPE] = ACTIONS(773),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(773),
    [anon_sym_AMP] = ACTIONS(777),
  },
  [2645] = {
    [aux_sym_concatenation_repeat1] = STATE(2760),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(793),
    [anon_sym_esac] = ACTIONS(791),
    [anon_sym_PIPE] = ACTIONS(793),
    [anon_sym_SEMI_SEMI] = ACTIONS(791),
    [anon_sym_PIPE_AMP] = ACTIONS(791),
    [anon_sym_AMP_AMP] = ACTIONS(791),
    [anon_sym_PIPE_PIPE] = ACTIONS(791),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(791),
    [anon_sym_AMP] = ACTIONS(793),
  },
  [2646] = {
    [sym_variable_name] = ACTIONS(2099),
    [anon_sym_SEMI] = ACTIONS(2101),
    [anon_sym_esac] = ACTIONS(2101),
    [anon_sym_PIPE] = ACTIONS(2101),
    [anon_sym_SEMI_SEMI] = ACTIONS(2099),
    [anon_sym_PIPE_AMP] = ACTIONS(2099),
    [anon_sym_AMP_AMP] = ACTIONS(2099),
    [anon_sym_PIPE_PIPE] = ACTIONS(2099),
    [sym__special_characters] = ACTIONS(2099),
    [anon_sym_DQUOTE] = ACTIONS(2099),
    [anon_sym_DOLLAR] = ACTIONS(2101),
    [sym_raw_string] = ACTIONS(2099),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2099),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2099),
    [anon_sym_BQUOTE] = ACTIONS(2099),
    [anon_sym_LT_LPAREN] = ACTIONS(2099),
    [anon_sym_GT_LPAREN] = ACTIONS(2099),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2101),
    [sym_word] = ACTIONS(2101),
    [anon_sym_LF] = ACTIONS(2099),
    [anon_sym_AMP] = ACTIONS(2101),
  },
  [2647] = {
    [sym_concatenation] = STATE(1026),
    [sym_string] = STATE(558),
    [sym_simple_expansion] = STATE(558),
    [sym_string_expansion] = STATE(558),
    [sym_expansion] = STATE(558),
    [sym_command_substitution] = STATE(558),
    [sym_process_substitution] = STATE(558),
    [aux_sym_for_statement_repeat1] = STATE(1026),
    [anon_sym_RPAREN] = ACTIONS(6297),
    [sym__special_characters] = ACTIONS(1112),
    [anon_sym_DQUOTE] = ACTIONS(1114),
    [anon_sym_DOLLAR] = ACTIONS(1116),
    [sym_raw_string] = ACTIONS(1118),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122),
    [anon_sym_BQUOTE] = ACTIONS(1124),
    [anon_sym_LT_LPAREN] = ACTIONS(1126),
    [anon_sym_GT_LPAREN] = ACTIONS(1126),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(1118),
  },
  [2648] = {
    [sym__concat] = ACTIONS(2959),
    [sym_variable_name] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2961),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2649] = {
    [sym__concat] = ACTIONS(2973),
    [sym_variable_name] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2975),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2650] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6299),
    [sym_comment] = ACTIONS(55),
  },
  [2651] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6301),
    [sym_comment] = ACTIONS(55),
  },
  [2652] = {
    [anon_sym_RBRACE] = ACTIONS(6301),
    [sym_comment] = ACTIONS(55),
  },
  [2653] = {
    [sym_concatenation] = STATE(2766),
    [sym_string] = STATE(2765),
    [sym_simple_expansion] = STATE(2765),
    [sym_string_expansion] = STATE(2765),
    [sym_expansion] = STATE(2765),
    [sym_command_substitution] = STATE(2765),
    [sym_process_substitution] = STATE(2765),
    [anon_sym_RBRACE] = ACTIONS(6301),
    [sym__special_characters] = ACTIONS(6303),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6305),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6305),
  },
  [2654] = {
    [sym__concat] = ACTIONS(3009),
    [sym_variable_name] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3011),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2655] = {
    [sym_concatenation] = STATE(2769),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2769),
    [sym_regex] = ACTIONS(6307),
    [anon_sym_RBRACE] = ACTIONS(6309),
    [anon_sym_EQ] = ACTIONS(6311),
    [anon_sym_DASH] = ACTIONS(6311),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6313),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6311),
    [anon_sym_COLON_QMARK] = ACTIONS(6311),
    [anon_sym_COLON_DASH] = ACTIONS(6311),
    [anon_sym_PERCENT] = ACTIONS(6311),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2656] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6309),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2657] = {
    [sym_concatenation] = STATE(2771),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2771),
    [sym_regex] = ACTIONS(6315),
    [anon_sym_RBRACE] = ACTIONS(6301),
    [anon_sym_EQ] = ACTIONS(6317),
    [anon_sym_DASH] = ACTIONS(6317),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6319),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6317),
    [anon_sym_COLON_QMARK] = ACTIONS(6317),
    [anon_sym_COLON_DASH] = ACTIONS(6317),
    [anon_sym_PERCENT] = ACTIONS(6317),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2658] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6301),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2659] = {
    [sym_concatenation] = STATE(2773),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2773),
    [anon_sym_RBRACE] = ACTIONS(6321),
    [anon_sym_EQ] = ACTIONS(6323),
    [anon_sym_DASH] = ACTIONS(6323),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6325),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6323),
    [anon_sym_COLON_QMARK] = ACTIONS(6323),
    [anon_sym_COLON_DASH] = ACTIONS(6323),
    [anon_sym_PERCENT] = ACTIONS(6323),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2660] = {
    [sym__concat] = ACTIONS(3065),
    [sym_variable_name] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3067),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2661] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6321),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2662] = {
    [sym_concatenation] = STATE(2771),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2771),
    [anon_sym_RBRACE] = ACTIONS(6301),
    [anon_sym_EQ] = ACTIONS(6317),
    [anon_sym_DASH] = ACTIONS(6317),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6319),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6317),
    [anon_sym_COLON_QMARK] = ACTIONS(6317),
    [anon_sym_COLON_DASH] = ACTIONS(6317),
    [anon_sym_PERCENT] = ACTIONS(6317),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2663] = {
    [sym__concat] = ACTIONS(3120),
    [sym_variable_name] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3122),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2664] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6327),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2665] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6327),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2666] = {
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2667] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6329),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2668] = {
    [sym__concat] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2961),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2669] = {
    [sym__concat] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(2975),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2670] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6331),
    [sym_comment] = ACTIONS(55),
  },
  [2671] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6333),
    [sym_comment] = ACTIONS(55),
  },
  [2672] = {
    [anon_sym_RBRACE] = ACTIONS(6333),
    [sym_comment] = ACTIONS(55),
  },
  [2673] = {
    [sym_concatenation] = STATE(2780),
    [sym_string] = STATE(2779),
    [sym_simple_expansion] = STATE(2779),
    [sym_string_expansion] = STATE(2779),
    [sym_expansion] = STATE(2779),
    [sym_command_substitution] = STATE(2779),
    [sym_process_substitution] = STATE(2779),
    [anon_sym_RBRACE] = ACTIONS(6333),
    [sym__special_characters] = ACTIONS(6335),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6337),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6337),
  },
  [2674] = {
    [sym__concat] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3011),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2675] = {
    [sym_concatenation] = STATE(2783),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2783),
    [sym_regex] = ACTIONS(6339),
    [anon_sym_RBRACE] = ACTIONS(6341),
    [anon_sym_EQ] = ACTIONS(6343),
    [anon_sym_DASH] = ACTIONS(6343),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6345),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6343),
    [anon_sym_COLON_QMARK] = ACTIONS(6343),
    [anon_sym_COLON_DASH] = ACTIONS(6343),
    [anon_sym_PERCENT] = ACTIONS(6343),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2676] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6341),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2677] = {
    [sym_concatenation] = STATE(2785),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2785),
    [sym_regex] = ACTIONS(6347),
    [anon_sym_RBRACE] = ACTIONS(6333),
    [anon_sym_EQ] = ACTIONS(6349),
    [anon_sym_DASH] = ACTIONS(6349),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6351),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6349),
    [anon_sym_COLON_QMARK] = ACTIONS(6349),
    [anon_sym_COLON_DASH] = ACTIONS(6349),
    [anon_sym_PERCENT] = ACTIONS(6349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2678] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6333),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2679] = {
    [sym_concatenation] = STATE(2787),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2787),
    [anon_sym_RBRACE] = ACTIONS(6353),
    [anon_sym_EQ] = ACTIONS(6355),
    [anon_sym_DASH] = ACTIONS(6355),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6357),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6355),
    [anon_sym_COLON_QMARK] = ACTIONS(6355),
    [anon_sym_COLON_DASH] = ACTIONS(6355),
    [anon_sym_PERCENT] = ACTIONS(6355),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2680] = {
    [sym__concat] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3067),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2681] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6353),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2682] = {
    [sym_concatenation] = STATE(2785),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2785),
    [anon_sym_RBRACE] = ACTIONS(6333),
    [anon_sym_EQ] = ACTIONS(6349),
    [anon_sym_DASH] = ACTIONS(6349),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6351),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6349),
    [anon_sym_COLON_QMARK] = ACTIONS(6349),
    [anon_sym_COLON_DASH] = ACTIONS(6349),
    [anon_sym_PERCENT] = ACTIONS(6349),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2683] = {
    [sym__concat] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3122),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2684] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6359),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2685] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6359),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2686] = {
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3160),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2687] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6361),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2688] = {
    [sym__simple_heredoc_body] = ACTIONS(3934),
    [sym__heredoc_body_beginning] = ACTIONS(3934),
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_EQ_TILDE] = ACTIONS(3936),
    [anon_sym_EQ_EQ] = ACTIONS(3936),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [anon_sym_LT_LT] = ACTIONS(3936),
    [anon_sym_LT_LT_DASH] = ACTIONS(3934),
    [anon_sym_LT_LT_LT] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2689] = {
    [sym__simple_heredoc_body] = ACTIONS(3942),
    [sym__heredoc_body_beginning] = ACTIONS(3942),
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_EQ_TILDE] = ACTIONS(3944),
    [anon_sym_EQ_EQ] = ACTIONS(3944),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [anon_sym_LT_LT] = ACTIONS(3944),
    [anon_sym_LT_LT_DASH] = ACTIONS(3942),
    [anon_sym_LT_LT_LT] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2690] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6363),
    [sym_comment] = ACTIONS(55),
  },
  [2691] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6365),
    [sym_comment] = ACTIONS(55),
  },
  [2692] = {
    [anon_sym_RBRACE] = ACTIONS(6365),
    [sym_comment] = ACTIONS(55),
  },
  [2693] = {
    [sym_concatenation] = STATE(2793),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2793),
    [anon_sym_RBRACE] = ACTIONS(6367),
    [anon_sym_EQ] = ACTIONS(6369),
    [anon_sym_DASH] = ACTIONS(6369),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6371),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6369),
    [anon_sym_COLON_QMARK] = ACTIONS(6369),
    [anon_sym_COLON_DASH] = ACTIONS(6369),
    [anon_sym_PERCENT] = ACTIONS(6369),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2694] = {
    [sym__simple_heredoc_body] = ACTIONS(3998),
    [sym__heredoc_body_beginning] = ACTIONS(3998),
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_EQ_TILDE] = ACTIONS(4000),
    [anon_sym_EQ_EQ] = ACTIONS(4000),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [anon_sym_LT_LT] = ACTIONS(4000),
    [anon_sym_LT_LT_DASH] = ACTIONS(3998),
    [anon_sym_LT_LT_LT] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2695] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6367),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2696] = {
    [sym_concatenation] = STATE(2794),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2794),
    [anon_sym_RBRACE] = ACTIONS(6365),
    [anon_sym_EQ] = ACTIONS(6373),
    [anon_sym_DASH] = ACTIONS(6373),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6375),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6373),
    [anon_sym_COLON_QMARK] = ACTIONS(6373),
    [anon_sym_COLON_DASH] = ACTIONS(6373),
    [anon_sym_PERCENT] = ACTIONS(6373),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2697] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6365),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2698] = {
    [sym__simple_heredoc_body] = ACTIONS(4043),
    [sym__heredoc_body_beginning] = ACTIONS(4043),
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_EQ_TILDE] = ACTIONS(4045),
    [anon_sym_EQ_EQ] = ACTIONS(4045),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [anon_sym_LT_LT] = ACTIONS(4045),
    [anon_sym_LT_LT_DASH] = ACTIONS(4043),
    [anon_sym_LT_LT_LT] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2699] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6377),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2700] = {
    [sym__simple_heredoc_body] = ACTIONS(4065),
    [sym__heredoc_body_beginning] = ACTIONS(4065),
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_EQ_TILDE] = ACTIONS(4067),
    [anon_sym_EQ_EQ] = ACTIONS(4067),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [anon_sym_LT_LT] = ACTIONS(4067),
    [anon_sym_LT_LT_DASH] = ACTIONS(4065),
    [anon_sym_LT_LT_LT] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2701] = {
    [sym__simple_heredoc_body] = ACTIONS(4089),
    [sym__heredoc_body_beginning] = ACTIONS(4089),
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_EQ_TILDE] = ACTIONS(4091),
    [anon_sym_EQ_EQ] = ACTIONS(4091),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [anon_sym_LT_LT] = ACTIONS(4091),
    [anon_sym_LT_LT_DASH] = ACTIONS(4089),
    [anon_sym_LT_LT_LT] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2702] = {
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(1763),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2703] = {
    [aux_sym_concatenation_repeat1] = STATE(2703),
    [sym__simple_heredoc_body] = ACTIONS(1763),
    [sym__heredoc_body_beginning] = ACTIONS(1763),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(6379),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2704] = {
    [sym__simple_heredoc_body] = ACTIONS(1770),
    [sym__heredoc_body_beginning] = ACTIONS(1770),
    [sym_file_descriptor] = ACTIONS(1770),
    [sym__concat] = ACTIONS(1770),
    [anon_sym_SEMI] = ACTIONS(1772),
    [anon_sym_esac] = ACTIONS(1770),
    [anon_sym_PIPE] = ACTIONS(1772),
    [anon_sym_SEMI_SEMI] = ACTIONS(1770),
    [anon_sym_PIPE_AMP] = ACTIONS(1770),
    [anon_sym_AMP_AMP] = ACTIONS(1770),
    [anon_sym_PIPE_PIPE] = ACTIONS(1770),
    [anon_sym_LT] = ACTIONS(1772),
    [anon_sym_GT] = ACTIONS(1772),
    [anon_sym_GT_GT] = ACTIONS(1770),
    [anon_sym_AMP_GT] = ACTIONS(1772),
    [anon_sym_AMP_GT_GT] = ACTIONS(1770),
    [anon_sym_LT_AMP] = ACTIONS(1770),
    [anon_sym_GT_AMP] = ACTIONS(1770),
    [anon_sym_LT_LT] = ACTIONS(1772),
    [anon_sym_LT_LT_DASH] = ACTIONS(1770),
    [anon_sym_LT_LT_LT] = ACTIONS(1770),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1770),
    [anon_sym_AMP] = ACTIONS(1772),
  },
  [2705] = {
    [anon_sym_DASH] = ACTIONS(815),
    [anon_sym_DQUOTE] = ACTIONS(6382),
    [anon_sym_DOLLAR] = ACTIONS(819),
    [sym__string_content] = ACTIONS(821),
    [anon_sym_POUND] = ACTIONS(815),
    [sym_comment] = ACTIONS(281),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(823),
    [anon_sym_STAR] = ACTIONS(825),
    [anon_sym_AT] = ACTIONS(825),
    [anon_sym_QMARK] = ACTIONS(825),
    [anon_sym_0] = ACTIONS(823),
    [anon_sym__] = ACTIONS(823),
  },
  [2706] = {
    [sym_concatenation] = STATE(2800),
    [sym_string] = STATE(2799),
    [sym_simple_expansion] = STATE(2799),
    [sym_string_expansion] = STATE(2799),
    [sym_expansion] = STATE(2799),
    [sym_command_substitution] = STATE(2799),
    [sym_process_substitution] = STATE(2799),
    [anon_sym_RBRACE] = ACTIONS(6384),
    [sym__special_characters] = ACTIONS(6386),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6388),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6388),
  },
  [2707] = {
    [anon_sym_LBRACK] = ACTIONS(857),
    [anon_sym_EQ] = ACTIONS(6390),
    [sym_comment] = ACTIONS(55),
  },
  [2708] = {
    [sym_concatenation] = STATE(2804),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2804),
    [anon_sym_RBRACE] = ACTIONS(6392),
    [anon_sym_EQ] = ACTIONS(6394),
    [anon_sym_DASH] = ACTIONS(6394),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6396),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6398),
    [anon_sym_COLON] = ACTIONS(6394),
    [anon_sym_COLON_QMARK] = ACTIONS(6394),
    [anon_sym_COLON_DASH] = ACTIONS(6394),
    [anon_sym_PERCENT] = ACTIONS(6394),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2709] = {
    [sym_concatenation] = STATE(2806),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2806),
    [anon_sym_RBRACE] = ACTIONS(6384),
    [anon_sym_EQ] = ACTIONS(6400),
    [anon_sym_DASH] = ACTIONS(6400),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6402),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_SLASH] = ACTIONS(6404),
    [anon_sym_COLON] = ACTIONS(6400),
    [anon_sym_COLON_QMARK] = ACTIONS(6400),
    [anon_sym_COLON_DASH] = ACTIONS(6400),
    [anon_sym_PERCENT] = ACTIONS(6400),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2710] = {
    [sym__simple_heredoc_body] = ACTIONS(1871),
    [sym__heredoc_body_beginning] = ACTIONS(1871),
    [sym_file_descriptor] = ACTIONS(1871),
    [sym__concat] = ACTIONS(1871),
    [anon_sym_SEMI] = ACTIONS(1873),
    [anon_sym_esac] = ACTIONS(1871),
    [anon_sym_PIPE] = ACTIONS(1873),
    [anon_sym_SEMI_SEMI] = ACTIONS(1871),
    [anon_sym_PIPE_AMP] = ACTIONS(1871),
    [anon_sym_AMP_AMP] = ACTIONS(1871),
    [anon_sym_PIPE_PIPE] = ACTIONS(1871),
    [anon_sym_LT] = ACTIONS(1873),
    [anon_sym_GT] = ACTIONS(1873),
    [anon_sym_GT_GT] = ACTIONS(1871),
    [anon_sym_AMP_GT] = ACTIONS(1873),
    [anon_sym_AMP_GT_GT] = ACTIONS(1871),
    [anon_sym_LT_AMP] = ACTIONS(1871),
    [anon_sym_GT_AMP] = ACTIONS(1871),
    [anon_sym_LT_LT] = ACTIONS(1873),
    [anon_sym_LT_LT_DASH] = ACTIONS(1871),
    [anon_sym_LT_LT_LT] = ACTIONS(1871),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1871),
    [anon_sym_AMP] = ACTIONS(1873),
  },
  [2711] = {
    [sym_concatenation] = STATE(2809),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2809),
    [sym_regex] = ACTIONS(6406),
    [anon_sym_RBRACE] = ACTIONS(6408),
    [anon_sym_EQ] = ACTIONS(6410),
    [anon_sym_DASH] = ACTIONS(6410),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6412),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6410),
    [anon_sym_COLON_QMARK] = ACTIONS(6410),
    [anon_sym_COLON_DASH] = ACTIONS(6410),
    [anon_sym_PERCENT] = ACTIONS(6410),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2712] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6408),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2713] = {
    [sym__simple_heredoc_body] = ACTIONS(1919),
    [sym__heredoc_body_beginning] = ACTIONS(1919),
    [sym_file_descriptor] = ACTIONS(1919),
    [sym__concat] = ACTIONS(1919),
    [anon_sym_SEMI] = ACTIONS(1921),
    [anon_sym_esac] = ACTIONS(1919),
    [anon_sym_PIPE] = ACTIONS(1921),
    [anon_sym_SEMI_SEMI] = ACTIONS(1919),
    [anon_sym_PIPE_AMP] = ACTIONS(1919),
    [anon_sym_AMP_AMP] = ACTIONS(1919),
    [anon_sym_PIPE_PIPE] = ACTIONS(1919),
    [anon_sym_LT] = ACTIONS(1921),
    [anon_sym_GT] = ACTIONS(1921),
    [anon_sym_GT_GT] = ACTIONS(1919),
    [anon_sym_AMP_GT] = ACTIONS(1921),
    [anon_sym_AMP_GT_GT] = ACTIONS(1919),
    [anon_sym_LT_AMP] = ACTIONS(1919),
    [anon_sym_GT_AMP] = ACTIONS(1919),
    [anon_sym_LT_LT] = ACTIONS(1921),
    [anon_sym_LT_LT_DASH] = ACTIONS(1919),
    [anon_sym_LT_LT_LT] = ACTIONS(1919),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1919),
    [anon_sym_AMP] = ACTIONS(1921),
  },
  [2714] = {
    [sym_concatenation] = STATE(2806),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2806),
    [sym_regex] = ACTIONS(6414),
    [anon_sym_RBRACE] = ACTIONS(6384),
    [anon_sym_EQ] = ACTIONS(6400),
    [anon_sym_DASH] = ACTIONS(6400),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6402),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6400),
    [anon_sym_COLON_QMARK] = ACTIONS(6400),
    [anon_sym_COLON_DASH] = ACTIONS(6400),
    [anon_sym_PERCENT] = ACTIONS(6400),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2715] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6384),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2716] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6416),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2717] = {
    [sym__simple_heredoc_body] = ACTIONS(1927),
    [sym__heredoc_body_beginning] = ACTIONS(1927),
    [sym_file_descriptor] = ACTIONS(1927),
    [sym__concat] = ACTIONS(1927),
    [anon_sym_SEMI] = ACTIONS(1929),
    [anon_sym_esac] = ACTIONS(1927),
    [anon_sym_PIPE] = ACTIONS(1929),
    [anon_sym_SEMI_SEMI] = ACTIONS(1927),
    [anon_sym_PIPE_AMP] = ACTIONS(1927),
    [anon_sym_AMP_AMP] = ACTIONS(1927),
    [anon_sym_PIPE_PIPE] = ACTIONS(1927),
    [anon_sym_LT] = ACTIONS(1929),
    [anon_sym_GT] = ACTIONS(1929),
    [anon_sym_GT_GT] = ACTIONS(1927),
    [anon_sym_AMP_GT] = ACTIONS(1929),
    [anon_sym_AMP_GT_GT] = ACTIONS(1927),
    [anon_sym_LT_AMP] = ACTIONS(1927),
    [anon_sym_GT_AMP] = ACTIONS(1927),
    [anon_sym_LT_LT] = ACTIONS(1929),
    [anon_sym_LT_LT_DASH] = ACTIONS(1927),
    [anon_sym_LT_LT_LT] = ACTIONS(1927),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1927),
    [anon_sym_AMP] = ACTIONS(1929),
  },
  [2718] = {
    [anon_sym_SEMI] = ACTIONS(6418),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6416),
    [anon_sym_SEMI_SEMI] = ACTIONS(6420),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6420),
    [anon_sym_AMP] = ACTIONS(6418),
  },
  [2719] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6418),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6416),
    [anon_sym_SEMI_SEMI] = ACTIONS(6420),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6420),
    [anon_sym_AMP] = ACTIONS(6418),
  },
  [2720] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6416),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2721] = {
    [anon_sym_SEMI] = ACTIONS(6422),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6424),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_BQUOTE] = ACTIONS(6416),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6424),
    [anon_sym_AMP] = ACTIONS(6422),
  },
  [2722] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6422),
    [anon_sym_PIPE] = ACTIONS(919),
    [anon_sym_SEMI_SEMI] = ACTIONS(6424),
    [anon_sym_PIPE_AMP] = ACTIONS(923),
    [anon_sym_AMP_AMP] = ACTIONS(925),
    [anon_sym_PIPE_PIPE] = ACTIONS(925),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(6416),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6424),
    [anon_sym_AMP] = ACTIONS(6422),
  },
  [2723] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6426),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2724] = {
    [sym__simple_heredoc_body] = ACTIONS(1959),
    [sym__heredoc_body_beginning] = ACTIONS(1959),
    [sym_file_descriptor] = ACTIONS(1959),
    [sym__concat] = ACTIONS(1959),
    [anon_sym_SEMI] = ACTIONS(1961),
    [anon_sym_esac] = ACTIONS(1959),
    [anon_sym_PIPE] = ACTIONS(1961),
    [anon_sym_SEMI_SEMI] = ACTIONS(1959),
    [anon_sym_PIPE_AMP] = ACTIONS(1959),
    [anon_sym_AMP_AMP] = ACTIONS(1959),
    [anon_sym_PIPE_PIPE] = ACTIONS(1959),
    [anon_sym_LT] = ACTIONS(1961),
    [anon_sym_GT] = ACTIONS(1961),
    [anon_sym_GT_GT] = ACTIONS(1959),
    [anon_sym_AMP_GT] = ACTIONS(1961),
    [anon_sym_AMP_GT_GT] = ACTIONS(1959),
    [anon_sym_LT_AMP] = ACTIONS(1959),
    [anon_sym_GT_AMP] = ACTIONS(1959),
    [anon_sym_LT_LT] = ACTIONS(1961),
    [anon_sym_LT_LT_DASH] = ACTIONS(1959),
    [anon_sym_LT_LT_LT] = ACTIONS(1959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1959),
    [anon_sym_AMP] = ACTIONS(1961),
  },
  [2725] = {
    [anon_sym_SEMI] = ACTIONS(6428),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6426),
    [anon_sym_SEMI_SEMI] = ACTIONS(6430),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(6430),
    [anon_sym_AMP] = ACTIONS(6428),
  },
  [2726] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(6428),
    [anon_sym_PIPE] = ACTIONS(623),
    [anon_sym_RPAREN] = ACTIONS(6426),
    [anon_sym_SEMI_SEMI] = ACTIONS(6430),
    [anon_sym_PIPE_AMP] = ACTIONS(629),
    [anon_sym_AMP_AMP] = ACTIONS(631),
    [anon_sym_PIPE_PIPE] = ACTIONS(631),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(6430),
    [anon_sym_AMP] = ACTIONS(6428),
  },
  [2727] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5908),
    [anon_sym_DQUOTE] = ACTIONS(5910),
    [anon_sym_DOLLAR] = ACTIONS(5908),
    [sym_raw_string] = ACTIONS(5910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5910),
    [anon_sym_BQUOTE] = ACTIONS(5910),
    [anon_sym_LT_LPAREN] = ACTIONS(5910),
    [anon_sym_GT_LPAREN] = ACTIONS(5910),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5908),
  },
  [2728] = {
    [sym__special_characters] = ACTIONS(5910),
    [anon_sym_DQUOTE] = ACTIONS(5910),
    [anon_sym_DOLLAR] = ACTIONS(5908),
    [sym_raw_string] = ACTIONS(5910),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5910),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5910),
    [anon_sym_BQUOTE] = ACTIONS(5910),
    [anon_sym_LT_LPAREN] = ACTIONS(5910),
    [anon_sym_GT_LPAREN] = ACTIONS(5910),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5910),
  },
  [2729] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6432),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2730] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6432),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2731] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(5918),
    [anon_sym_DQUOTE] = ACTIONS(5920),
    [anon_sym_DOLLAR] = ACTIONS(5918),
    [sym_raw_string] = ACTIONS(5920),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5920),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5920),
    [anon_sym_BQUOTE] = ACTIONS(5920),
    [anon_sym_LT_LPAREN] = ACTIONS(5920),
    [anon_sym_GT_LPAREN] = ACTIONS(5920),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5918),
  },
  [2732] = {
    [sym__special_characters] = ACTIONS(5920),
    [anon_sym_DQUOTE] = ACTIONS(5920),
    [anon_sym_DOLLAR] = ACTIONS(5918),
    [sym_raw_string] = ACTIONS(5920),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5920),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5920),
    [anon_sym_BQUOTE] = ACTIONS(5920),
    [anon_sym_LT_LPAREN] = ACTIONS(5920),
    [anon_sym_GT_LPAREN] = ACTIONS(5920),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5920),
  },
  [2733] = {
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6434),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2734] = {
    [sym_file_descriptor] = ACTIONS(367),
    [sym_variable_name] = ACTIONS(367),
    [anon_sym_SEMI] = ACTIONS(2081),
    [anon_sym_PIPE] = ACTIONS(529),
    [anon_sym_SEMI_SEMI] = ACTIONS(6434),
    [anon_sym_PIPE_AMP] = ACTIONS(533),
    [anon_sym_AMP_AMP] = ACTIONS(535),
    [anon_sym_PIPE_PIPE] = ACTIONS(535),
    [anon_sym_LT] = ACTIONS(369),
    [anon_sym_GT] = ACTIONS(369),
    [anon_sym_GT_GT] = ACTIONS(367),
    [anon_sym_AMP_GT] = ACTIONS(369),
    [anon_sym_AMP_GT_GT] = ACTIONS(367),
    [anon_sym_LT_AMP] = ACTIONS(367),
    [anon_sym_GT_AMP] = ACTIONS(367),
    [sym__special_characters] = ACTIONS(367),
    [anon_sym_DQUOTE] = ACTIONS(367),
    [anon_sym_DOLLAR] = ACTIONS(369),
    [sym_raw_string] = ACTIONS(367),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(367),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(367),
    [anon_sym_BQUOTE] = ACTIONS(367),
    [anon_sym_LT_LPAREN] = ACTIONS(367),
    [anon_sym_GT_LPAREN] = ACTIONS(367),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(369),
    [anon_sym_LF] = ACTIONS(2083),
    [anon_sym_AMP] = ACTIONS(2081),
  },
  [2735] = {
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [sym_variable_name] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2961),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [sym__special_characters] = ACTIONS(2959),
    [anon_sym_DQUOTE] = ACTIONS(2959),
    [anon_sym_DOLLAR] = ACTIONS(2961),
    [sym_raw_string] = ACTIONS(2959),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2959),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2959),
    [anon_sym_BQUOTE] = ACTIONS(2959),
    [anon_sym_LT_LPAREN] = ACTIONS(2959),
    [anon_sym_GT_LPAREN] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2961),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2736] = {
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [sym_variable_name] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2975),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [sym__special_characters] = ACTIONS(2973),
    [anon_sym_DQUOTE] = ACTIONS(2973),
    [anon_sym_DOLLAR] = ACTIONS(2975),
    [sym_raw_string] = ACTIONS(2973),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(2973),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(2973),
    [anon_sym_BQUOTE] = ACTIONS(2973),
    [anon_sym_LT_LPAREN] = ACTIONS(2973),
    [anon_sym_GT_LPAREN] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(2975),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2737] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6436),
    [sym_comment] = ACTIONS(55),
  },
  [2738] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6438),
    [sym_comment] = ACTIONS(55),
  },
  [2739] = {
    [anon_sym_RBRACE] = ACTIONS(6438),
    [sym_comment] = ACTIONS(55),
  },
  [2740] = {
    [sym_concatenation] = STATE(2822),
    [sym_string] = STATE(2821),
    [sym_simple_expansion] = STATE(2821),
    [sym_string_expansion] = STATE(2821),
    [sym_expansion] = STATE(2821),
    [sym_command_substitution] = STATE(2821),
    [sym_process_substitution] = STATE(2821),
    [anon_sym_RBRACE] = ACTIONS(6438),
    [sym__special_characters] = ACTIONS(6440),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6442),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6442),
  },
  [2741] = {
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [sym_variable_name] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3011),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [sym__special_characters] = ACTIONS(3009),
    [anon_sym_DQUOTE] = ACTIONS(3009),
    [anon_sym_DOLLAR] = ACTIONS(3011),
    [sym_raw_string] = ACTIONS(3009),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3009),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3009),
    [anon_sym_BQUOTE] = ACTIONS(3009),
    [anon_sym_LT_LPAREN] = ACTIONS(3009),
    [anon_sym_GT_LPAREN] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3011),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2742] = {
    [sym_concatenation] = STATE(2825),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2825),
    [sym_regex] = ACTIONS(6444),
    [anon_sym_RBRACE] = ACTIONS(6446),
    [anon_sym_EQ] = ACTIONS(6448),
    [anon_sym_DASH] = ACTIONS(6448),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6450),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6448),
    [anon_sym_COLON_QMARK] = ACTIONS(6448),
    [anon_sym_COLON_DASH] = ACTIONS(6448),
    [anon_sym_PERCENT] = ACTIONS(6448),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2743] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6446),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2744] = {
    [sym_concatenation] = STATE(2827),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2827),
    [sym_regex] = ACTIONS(6452),
    [anon_sym_RBRACE] = ACTIONS(6438),
    [anon_sym_EQ] = ACTIONS(6454),
    [anon_sym_DASH] = ACTIONS(6454),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6454),
    [anon_sym_COLON_QMARK] = ACTIONS(6454),
    [anon_sym_COLON_DASH] = ACTIONS(6454),
    [anon_sym_PERCENT] = ACTIONS(6454),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2745] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6438),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2746] = {
    [sym_concatenation] = STATE(2829),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2829),
    [anon_sym_RBRACE] = ACTIONS(6458),
    [anon_sym_EQ] = ACTIONS(6460),
    [anon_sym_DASH] = ACTIONS(6460),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6462),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6460),
    [anon_sym_COLON_QMARK] = ACTIONS(6460),
    [anon_sym_COLON_DASH] = ACTIONS(6460),
    [anon_sym_PERCENT] = ACTIONS(6460),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2747] = {
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [sym_variable_name] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3067),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [sym__special_characters] = ACTIONS(3065),
    [anon_sym_DQUOTE] = ACTIONS(3065),
    [anon_sym_DOLLAR] = ACTIONS(3067),
    [sym_raw_string] = ACTIONS(3065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3065),
    [anon_sym_BQUOTE] = ACTIONS(3065),
    [anon_sym_LT_LPAREN] = ACTIONS(3065),
    [anon_sym_GT_LPAREN] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3067),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2748] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6458),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2749] = {
    [sym_concatenation] = STATE(2827),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2827),
    [anon_sym_RBRACE] = ACTIONS(6438),
    [anon_sym_EQ] = ACTIONS(6454),
    [anon_sym_DASH] = ACTIONS(6454),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6456),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6454),
    [anon_sym_COLON_QMARK] = ACTIONS(6454),
    [anon_sym_COLON_DASH] = ACTIONS(6454),
    [anon_sym_PERCENT] = ACTIONS(6454),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2750] = {
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [sym_variable_name] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3122),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [sym__special_characters] = ACTIONS(3120),
    [anon_sym_DQUOTE] = ACTIONS(3120),
    [anon_sym_DOLLAR] = ACTIONS(3122),
    [sym_raw_string] = ACTIONS(3120),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3120),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3120),
    [anon_sym_BQUOTE] = ACTIONS(3120),
    [anon_sym_LT_LPAREN] = ACTIONS(3120),
    [anon_sym_GT_LPAREN] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3122),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2751] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6464),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2752] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6464),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2753] = {
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [sym_variable_name] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [sym_word] = ACTIONS(3160),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2754] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6466),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2755] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(1088),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_esac] = ACTIONS(1088),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [anon_sym_LT] = ACTIONS(1090),
    [anon_sym_GT] = ACTIONS(1090),
    [anon_sym_GT_GT] = ACTIONS(1088),
    [anon_sym_AMP_GT] = ACTIONS(1090),
    [anon_sym_AMP_GT_GT] = ACTIONS(1088),
    [anon_sym_LT_AMP] = ACTIONS(1088),
    [anon_sym_GT_AMP] = ACTIONS(1088),
    [anon_sym_LT_LT] = ACTIONS(1090),
    [anon_sym_LT_LT_DASH] = ACTIONS(1088),
    [anon_sym_LT_LT_LT] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2756] = {
    [aux_sym_concatenation_repeat1] = STATE(2757),
    [sym_file_descriptor] = ACTIONS(1092),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [anon_sym_LT] = ACTIONS(1094),
    [anon_sym_GT] = ACTIONS(1094),
    [anon_sym_GT_GT] = ACTIONS(1092),
    [anon_sym_AMP_GT] = ACTIONS(1094),
    [anon_sym_AMP_GT_GT] = ACTIONS(1092),
    [anon_sym_LT_AMP] = ACTIONS(1092),
    [anon_sym_GT_AMP] = ACTIONS(1092),
    [anon_sym_LT_LT] = ACTIONS(1094),
    [anon_sym_LT_LT_DASH] = ACTIONS(1092),
    [anon_sym_LT_LT_LT] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2757] = {
    [aux_sym_concatenation_repeat1] = STATE(2832),
    [sym_file_descriptor] = ACTIONS(807),
    [sym__concat] = ACTIONS(3579),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [anon_sym_LT] = ACTIONS(809),
    [anon_sym_GT] = ACTIONS(809),
    [anon_sym_GT_GT] = ACTIONS(807),
    [anon_sym_AMP_GT] = ACTIONS(809),
    [anon_sym_AMP_GT_GT] = ACTIONS(807),
    [anon_sym_LT_AMP] = ACTIONS(807),
    [anon_sym_GT_AMP] = ACTIONS(807),
    [anon_sym_LT_LT] = ACTIONS(809),
    [anon_sym_LT_LT_DASH] = ACTIONS(807),
    [anon_sym_LT_LT_LT] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2758] = {
    [aux_sym_concatenation_repeat1] = STATE(2760),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(1090),
    [anon_sym_esac] = ACTIONS(1088),
    [anon_sym_PIPE] = ACTIONS(1090),
    [anon_sym_SEMI_SEMI] = ACTIONS(1088),
    [anon_sym_PIPE_AMP] = ACTIONS(1088),
    [anon_sym_AMP_AMP] = ACTIONS(1088),
    [anon_sym_PIPE_PIPE] = ACTIONS(1088),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1088),
    [anon_sym_AMP] = ACTIONS(1090),
  },
  [2759] = {
    [aux_sym_concatenation_repeat1] = STATE(2760),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(1094),
    [anon_sym_esac] = ACTIONS(1092),
    [anon_sym_PIPE] = ACTIONS(1094),
    [anon_sym_SEMI_SEMI] = ACTIONS(1092),
    [anon_sym_PIPE_AMP] = ACTIONS(1092),
    [anon_sym_AMP_AMP] = ACTIONS(1092),
    [anon_sym_PIPE_PIPE] = ACTIONS(1092),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1092),
    [anon_sym_AMP] = ACTIONS(1094),
  },
  [2760] = {
    [aux_sym_concatenation_repeat1] = STATE(2833),
    [sym__concat] = ACTIONS(1160),
    [anon_sym_SEMI] = ACTIONS(809),
    [anon_sym_esac] = ACTIONS(807),
    [anon_sym_PIPE] = ACTIONS(809),
    [anon_sym_SEMI_SEMI] = ACTIONS(807),
    [anon_sym_PIPE_AMP] = ACTIONS(807),
    [anon_sym_AMP_AMP] = ACTIONS(807),
    [anon_sym_PIPE_PIPE] = ACTIONS(807),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(807),
    [anon_sym_AMP] = ACTIONS(809),
  },
  [2761] = {
    [sym_variable_name] = ACTIONS(3265),
    [anon_sym_SEMI] = ACTIONS(3267),
    [anon_sym_esac] = ACTIONS(3267),
    [anon_sym_PIPE] = ACTIONS(3267),
    [anon_sym_SEMI_SEMI] = ACTIONS(3265),
    [anon_sym_PIPE_AMP] = ACTIONS(3265),
    [anon_sym_AMP_AMP] = ACTIONS(3265),
    [anon_sym_PIPE_PIPE] = ACTIONS(3265),
    [sym__special_characters] = ACTIONS(3265),
    [anon_sym_DQUOTE] = ACTIONS(3265),
    [anon_sym_DOLLAR] = ACTIONS(3267),
    [sym_raw_string] = ACTIONS(3265),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3265),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3265),
    [anon_sym_BQUOTE] = ACTIONS(3265),
    [anon_sym_LT_LPAREN] = ACTIONS(3265),
    [anon_sym_GT_LPAREN] = ACTIONS(3265),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3267),
    [sym_word] = ACTIONS(3267),
    [anon_sym_LF] = ACTIONS(3265),
    [anon_sym_AMP] = ACTIONS(3267),
  },
  [2762] = {
    [sym__concat] = ACTIONS(3934),
    [sym_variable_name] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3936),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2763] = {
    [sym__concat] = ACTIONS(3942),
    [sym_variable_name] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3944),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2764] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6468),
    [sym_comment] = ACTIONS(55),
  },
  [2765] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6470),
    [sym_comment] = ACTIONS(55),
  },
  [2766] = {
    [anon_sym_RBRACE] = ACTIONS(6470),
    [sym_comment] = ACTIONS(55),
  },
  [2767] = {
    [sym_concatenation] = STATE(2837),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2837),
    [anon_sym_RBRACE] = ACTIONS(6472),
    [anon_sym_EQ] = ACTIONS(6474),
    [anon_sym_DASH] = ACTIONS(6474),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6476),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6474),
    [anon_sym_COLON_QMARK] = ACTIONS(6474),
    [anon_sym_COLON_DASH] = ACTIONS(6474),
    [anon_sym_PERCENT] = ACTIONS(6474),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2768] = {
    [sym__concat] = ACTIONS(3998),
    [sym_variable_name] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4000),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2769] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6472),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2770] = {
    [sym_concatenation] = STATE(2838),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2838),
    [anon_sym_RBRACE] = ACTIONS(6470),
    [anon_sym_EQ] = ACTIONS(6478),
    [anon_sym_DASH] = ACTIONS(6478),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6480),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6478),
    [anon_sym_COLON_QMARK] = ACTIONS(6478),
    [anon_sym_COLON_DASH] = ACTIONS(6478),
    [anon_sym_PERCENT] = ACTIONS(6478),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2771] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6470),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2772] = {
    [sym__concat] = ACTIONS(4043),
    [sym_variable_name] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4045),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2773] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6482),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2774] = {
    [sym__concat] = ACTIONS(4065),
    [sym_variable_name] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4067),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2775] = {
    [sym__concat] = ACTIONS(4089),
    [sym_variable_name] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4091),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2776] = {
    [sym__concat] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3936),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2777] = {
    [sym__concat] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(3944),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2778] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6484),
    [sym_comment] = ACTIONS(55),
  },
  [2779] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6486),
    [sym_comment] = ACTIONS(55),
  },
  [2780] = {
    [anon_sym_RBRACE] = ACTIONS(6486),
    [sym_comment] = ACTIONS(55),
  },
  [2781] = {
    [sym_concatenation] = STATE(2843),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2843),
    [anon_sym_RBRACE] = ACTIONS(6488),
    [anon_sym_EQ] = ACTIONS(6490),
    [anon_sym_DASH] = ACTIONS(6490),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6492),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6490),
    [anon_sym_COLON_QMARK] = ACTIONS(6490),
    [anon_sym_COLON_DASH] = ACTIONS(6490),
    [anon_sym_PERCENT] = ACTIONS(6490),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2782] = {
    [sym__concat] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4000),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2783] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6488),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2784] = {
    [sym_concatenation] = STATE(2844),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2844),
    [anon_sym_RBRACE] = ACTIONS(6486),
    [anon_sym_EQ] = ACTIONS(6494),
    [anon_sym_DASH] = ACTIONS(6494),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6496),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6494),
    [anon_sym_COLON_QMARK] = ACTIONS(6494),
    [anon_sym_COLON_DASH] = ACTIONS(6494),
    [anon_sym_PERCENT] = ACTIONS(6494),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2785] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6486),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2786] = {
    [sym__concat] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4045),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2787] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6498),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2788] = {
    [sym__concat] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4067),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2789] = {
    [sym__concat] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4091),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2790] = {
    [sym__simple_heredoc_body] = ACTIONS(4710),
    [sym__heredoc_body_beginning] = ACTIONS(4710),
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_EQ_TILDE] = ACTIONS(4712),
    [anon_sym_EQ_EQ] = ACTIONS(4712),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [anon_sym_LT_LT] = ACTIONS(4712),
    [anon_sym_LT_LT_DASH] = ACTIONS(4710),
    [anon_sym_LT_LT_LT] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2791] = {
    [sym__simple_heredoc_body] = ACTIONS(4714),
    [sym__heredoc_body_beginning] = ACTIONS(4714),
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_EQ_TILDE] = ACTIONS(4716),
    [anon_sym_EQ_EQ] = ACTIONS(4716),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [anon_sym_LT_LT] = ACTIONS(4716),
    [anon_sym_LT_LT_DASH] = ACTIONS(4714),
    [anon_sym_LT_LT_LT] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2792] = {
    [sym__simple_heredoc_body] = ACTIONS(4718),
    [sym__heredoc_body_beginning] = ACTIONS(4718),
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_EQ_TILDE] = ACTIONS(4720),
    [anon_sym_EQ_EQ] = ACTIONS(4720),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [anon_sym_LT_LT] = ACTIONS(4720),
    [anon_sym_LT_LT_DASH] = ACTIONS(4718),
    [anon_sym_LT_LT_LT] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2793] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6500),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2794] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6502),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2795] = {
    [sym__simple_heredoc_body] = ACTIONS(4754),
    [sym__heredoc_body_beginning] = ACTIONS(4754),
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_EQ_TILDE] = ACTIONS(4756),
    [anon_sym_EQ_EQ] = ACTIONS(4756),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [anon_sym_LT_LT] = ACTIONS(4756),
    [anon_sym_LT_LT_DASH] = ACTIONS(4754),
    [anon_sym_LT_LT_LT] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2796] = {
    [sym__simple_heredoc_body] = ACTIONS(2959),
    [sym__heredoc_body_beginning] = ACTIONS(2959),
    [sym_file_descriptor] = ACTIONS(2959),
    [sym__concat] = ACTIONS(2959),
    [anon_sym_SEMI] = ACTIONS(2961),
    [anon_sym_esac] = ACTIONS(2959),
    [anon_sym_PIPE] = ACTIONS(2961),
    [anon_sym_SEMI_SEMI] = ACTIONS(2959),
    [anon_sym_PIPE_AMP] = ACTIONS(2959),
    [anon_sym_AMP_AMP] = ACTIONS(2959),
    [anon_sym_PIPE_PIPE] = ACTIONS(2959),
    [anon_sym_LT] = ACTIONS(2961),
    [anon_sym_GT] = ACTIONS(2961),
    [anon_sym_GT_GT] = ACTIONS(2959),
    [anon_sym_AMP_GT] = ACTIONS(2961),
    [anon_sym_AMP_GT_GT] = ACTIONS(2959),
    [anon_sym_LT_AMP] = ACTIONS(2959),
    [anon_sym_GT_AMP] = ACTIONS(2959),
    [anon_sym_LT_LT] = ACTIONS(2961),
    [anon_sym_LT_LT_DASH] = ACTIONS(2959),
    [anon_sym_LT_LT_LT] = ACTIONS(2959),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2959),
    [anon_sym_AMP] = ACTIONS(2961),
  },
  [2797] = {
    [sym__simple_heredoc_body] = ACTIONS(2973),
    [sym__heredoc_body_beginning] = ACTIONS(2973),
    [sym_file_descriptor] = ACTIONS(2973),
    [sym__concat] = ACTIONS(2973),
    [anon_sym_SEMI] = ACTIONS(2975),
    [anon_sym_esac] = ACTIONS(2973),
    [anon_sym_PIPE] = ACTIONS(2975),
    [anon_sym_SEMI_SEMI] = ACTIONS(2973),
    [anon_sym_PIPE_AMP] = ACTIONS(2973),
    [anon_sym_AMP_AMP] = ACTIONS(2973),
    [anon_sym_PIPE_PIPE] = ACTIONS(2973),
    [anon_sym_LT] = ACTIONS(2975),
    [anon_sym_GT] = ACTIONS(2975),
    [anon_sym_GT_GT] = ACTIONS(2973),
    [anon_sym_AMP_GT] = ACTIONS(2975),
    [anon_sym_AMP_GT_GT] = ACTIONS(2973),
    [anon_sym_LT_AMP] = ACTIONS(2973),
    [anon_sym_GT_AMP] = ACTIONS(2973),
    [anon_sym_LT_LT] = ACTIONS(2975),
    [anon_sym_LT_LT_DASH] = ACTIONS(2973),
    [anon_sym_LT_LT_LT] = ACTIONS(2973),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(2973),
    [anon_sym_AMP] = ACTIONS(2975),
  },
  [2798] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6504),
    [sym_comment] = ACTIONS(55),
  },
  [2799] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6506),
    [sym_comment] = ACTIONS(55),
  },
  [2800] = {
    [anon_sym_RBRACE] = ACTIONS(6506),
    [sym_comment] = ACTIONS(55),
  },
  [2801] = {
    [sym_concatenation] = STATE(2852),
    [sym_string] = STATE(2851),
    [sym_simple_expansion] = STATE(2851),
    [sym_string_expansion] = STATE(2851),
    [sym_expansion] = STATE(2851),
    [sym_command_substitution] = STATE(2851),
    [sym_process_substitution] = STATE(2851),
    [anon_sym_RBRACE] = ACTIONS(6506),
    [sym__special_characters] = ACTIONS(6508),
    [anon_sym_DQUOTE] = ACTIONS(1841),
    [anon_sym_DOLLAR] = ACTIONS(1843),
    [sym_raw_string] = ACTIONS(6510),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(1847),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(1849),
    [anon_sym_BQUOTE] = ACTIONS(1851),
    [anon_sym_LT_LPAREN] = ACTIONS(1853),
    [anon_sym_GT_LPAREN] = ACTIONS(1853),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6510),
  },
  [2802] = {
    [sym__simple_heredoc_body] = ACTIONS(3009),
    [sym__heredoc_body_beginning] = ACTIONS(3009),
    [sym_file_descriptor] = ACTIONS(3009),
    [sym__concat] = ACTIONS(3009),
    [anon_sym_SEMI] = ACTIONS(3011),
    [anon_sym_esac] = ACTIONS(3009),
    [anon_sym_PIPE] = ACTIONS(3011),
    [anon_sym_SEMI_SEMI] = ACTIONS(3009),
    [anon_sym_PIPE_AMP] = ACTIONS(3009),
    [anon_sym_AMP_AMP] = ACTIONS(3009),
    [anon_sym_PIPE_PIPE] = ACTIONS(3009),
    [anon_sym_LT] = ACTIONS(3011),
    [anon_sym_GT] = ACTIONS(3011),
    [anon_sym_GT_GT] = ACTIONS(3009),
    [anon_sym_AMP_GT] = ACTIONS(3011),
    [anon_sym_AMP_GT_GT] = ACTIONS(3009),
    [anon_sym_LT_AMP] = ACTIONS(3009),
    [anon_sym_GT_AMP] = ACTIONS(3009),
    [anon_sym_LT_LT] = ACTIONS(3011),
    [anon_sym_LT_LT_DASH] = ACTIONS(3009),
    [anon_sym_LT_LT_LT] = ACTIONS(3009),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3009),
    [anon_sym_AMP] = ACTIONS(3011),
  },
  [2803] = {
    [sym_concatenation] = STATE(2855),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2855),
    [sym_regex] = ACTIONS(6512),
    [anon_sym_RBRACE] = ACTIONS(6514),
    [anon_sym_EQ] = ACTIONS(6516),
    [anon_sym_DASH] = ACTIONS(6516),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6518),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6516),
    [anon_sym_COLON_QMARK] = ACTIONS(6516),
    [anon_sym_COLON_DASH] = ACTIONS(6516),
    [anon_sym_PERCENT] = ACTIONS(6516),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2804] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6514),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2805] = {
    [sym_concatenation] = STATE(2857),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2857),
    [sym_regex] = ACTIONS(6520),
    [anon_sym_RBRACE] = ACTIONS(6506),
    [anon_sym_EQ] = ACTIONS(6522),
    [anon_sym_DASH] = ACTIONS(6522),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6524),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6522),
    [anon_sym_COLON_QMARK] = ACTIONS(6522),
    [anon_sym_COLON_DASH] = ACTIONS(6522),
    [anon_sym_PERCENT] = ACTIONS(6522),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2806] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6506),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2807] = {
    [sym_concatenation] = STATE(2859),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2859),
    [anon_sym_RBRACE] = ACTIONS(6526),
    [anon_sym_EQ] = ACTIONS(6528),
    [anon_sym_DASH] = ACTIONS(6528),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6530),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6528),
    [anon_sym_COLON_QMARK] = ACTIONS(6528),
    [anon_sym_COLON_DASH] = ACTIONS(6528),
    [anon_sym_PERCENT] = ACTIONS(6528),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2808] = {
    [sym__simple_heredoc_body] = ACTIONS(3065),
    [sym__heredoc_body_beginning] = ACTIONS(3065),
    [sym_file_descriptor] = ACTIONS(3065),
    [sym__concat] = ACTIONS(3065),
    [anon_sym_SEMI] = ACTIONS(3067),
    [anon_sym_esac] = ACTIONS(3065),
    [anon_sym_PIPE] = ACTIONS(3067),
    [anon_sym_SEMI_SEMI] = ACTIONS(3065),
    [anon_sym_PIPE_AMP] = ACTIONS(3065),
    [anon_sym_AMP_AMP] = ACTIONS(3065),
    [anon_sym_PIPE_PIPE] = ACTIONS(3065),
    [anon_sym_LT] = ACTIONS(3067),
    [anon_sym_GT] = ACTIONS(3067),
    [anon_sym_GT_GT] = ACTIONS(3065),
    [anon_sym_AMP_GT] = ACTIONS(3067),
    [anon_sym_AMP_GT_GT] = ACTIONS(3065),
    [anon_sym_LT_AMP] = ACTIONS(3065),
    [anon_sym_GT_AMP] = ACTIONS(3065),
    [anon_sym_LT_LT] = ACTIONS(3067),
    [anon_sym_LT_LT_DASH] = ACTIONS(3065),
    [anon_sym_LT_LT_LT] = ACTIONS(3065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3065),
    [anon_sym_AMP] = ACTIONS(3067),
  },
  [2809] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6526),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2810] = {
    [sym_concatenation] = STATE(2857),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2857),
    [anon_sym_RBRACE] = ACTIONS(6506),
    [anon_sym_EQ] = ACTIONS(6522),
    [anon_sym_DASH] = ACTIONS(6522),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6524),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6522),
    [anon_sym_COLON_QMARK] = ACTIONS(6522),
    [anon_sym_COLON_DASH] = ACTIONS(6522),
    [anon_sym_PERCENT] = ACTIONS(6522),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2811] = {
    [sym__simple_heredoc_body] = ACTIONS(3120),
    [sym__heredoc_body_beginning] = ACTIONS(3120),
    [sym_file_descriptor] = ACTIONS(3120),
    [sym__concat] = ACTIONS(3120),
    [anon_sym_SEMI] = ACTIONS(3122),
    [anon_sym_esac] = ACTIONS(3120),
    [anon_sym_PIPE] = ACTIONS(3122),
    [anon_sym_SEMI_SEMI] = ACTIONS(3120),
    [anon_sym_PIPE_AMP] = ACTIONS(3120),
    [anon_sym_AMP_AMP] = ACTIONS(3120),
    [anon_sym_PIPE_PIPE] = ACTIONS(3120),
    [anon_sym_LT] = ACTIONS(3122),
    [anon_sym_GT] = ACTIONS(3122),
    [anon_sym_GT_GT] = ACTIONS(3120),
    [anon_sym_AMP_GT] = ACTIONS(3122),
    [anon_sym_AMP_GT_GT] = ACTIONS(3120),
    [anon_sym_LT_AMP] = ACTIONS(3120),
    [anon_sym_GT_AMP] = ACTIONS(3120),
    [anon_sym_LT_LT] = ACTIONS(3122),
    [anon_sym_LT_LT_DASH] = ACTIONS(3120),
    [anon_sym_LT_LT_LT] = ACTIONS(3120),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3120),
    [anon_sym_AMP] = ACTIONS(3122),
  },
  [2812] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6532),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2813] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(6532),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2814] = {
    [sym__simple_heredoc_body] = ACTIONS(3158),
    [sym__heredoc_body_beginning] = ACTIONS(3158),
    [sym_file_descriptor] = ACTIONS(3158),
    [sym__concat] = ACTIONS(3158),
    [anon_sym_SEMI] = ACTIONS(3160),
    [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(55),
    [anon_sym_LF] = ACTIONS(3158),
    [anon_sym_AMP] = ACTIONS(3160),
  },
  [2815] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_RPAREN] = ACTIONS(6534),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(947),
    [anon_sym_DQUOTE] = ACTIONS(943),
    [anon_sym_DOLLAR] = ACTIONS(947),
    [sym_raw_string] = ACTIONS(943),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(943),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(943),
    [anon_sym_BQUOTE] = ACTIONS(943),
    [anon_sym_LT_LPAREN] = ACTIONS(943),
    [anon_sym_GT_LPAREN] = ACTIONS(943),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(947),
  },
  [2816] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(6206),
    [anon_sym_DQUOTE] = ACTIONS(6208),
    [anon_sym_DOLLAR] = ACTIONS(6206),
    [sym_raw_string] = ACTIONS(6208),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6208),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6208),
    [anon_sym_BQUOTE] = ACTIONS(6208),
    [anon_sym_LT_LPAREN] = ACTIONS(6208),
    [anon_sym_GT_LPAREN] = ACTIONS(6208),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6206),
  },
  [2817] = {
    [sym_file_descriptor] = ACTIONS(943),
    [sym_variable_name] = ACTIONS(943),
    [anon_sym_for] = ACTIONS(947),
    [anon_sym_LPAREN_LPAREN] = ACTIONS(943),
    [anon_sym_while] = ACTIONS(947),
    [anon_sym_if] = ACTIONS(947),
    [anon_sym_case] = ACTIONS(947),
    [anon_sym_SEMI_SEMI] = ACTIONS(943),
    [anon_sym_function] = ACTIONS(947),
    [anon_sym_LPAREN] = ACTIONS(947),
    [anon_sym_BANG] = ACTIONS(947),
    [anon_sym_LBRACK] = ACTIONS(947),
    [anon_sym_LBRACK_LBRACK] = ACTIONS(943),
    [anon_sym_declare] = ACTIONS(947),
    [anon_sym_typeset] = ACTIONS(947),
    [anon_sym_export] = ACTIONS(947),
    [anon_sym_readonly] = ACTIONS(947),
    [anon_sym_local] = ACTIONS(947),
    [anon_sym_unset] = ACTIONS(947),
    [anon_sym_unsetenv] = ACTIONS(947),
    [anon_sym_LT] = ACTIONS(947),
    [anon_sym_GT] = ACTIONS(947),
    [anon_sym_GT_GT] = ACTIONS(943),
    [anon_sym_AMP_GT] = ACTIONS(947),
    [anon_sym_AMP_GT_GT] = ACTIONS(943),
    [anon_sym_LT_AMP] = ACTIONS(943),
    [anon_sym_GT_AMP] = ACTIONS(943),
    [sym__special_characters] = ACTIONS(6212),
    [anon_sym_DQUOTE] = ACTIONS(6214),
    [anon_sym_DOLLAR] = ACTIONS(6212),
    [sym_raw_string] = ACTIONS(6214),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(6214),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(6214),
    [anon_sym_BQUOTE] = ACTIONS(6214),
    [anon_sym_LT_LPAREN] = ACTIONS(6214),
    [anon_sym_GT_LPAREN] = ACTIONS(6214),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(6212),
  },
  [2818] = {
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [sym_variable_name] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3936),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [sym__special_characters] = ACTIONS(3934),
    [anon_sym_DQUOTE] = ACTIONS(3934),
    [anon_sym_DOLLAR] = ACTIONS(3936),
    [sym_raw_string] = ACTIONS(3934),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3934),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3934),
    [anon_sym_BQUOTE] = ACTIONS(3934),
    [anon_sym_LT_LPAREN] = ACTIONS(3934),
    [anon_sym_GT_LPAREN] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3936),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2819] = {
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [sym_variable_name] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3944),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [sym__special_characters] = ACTIONS(3942),
    [anon_sym_DQUOTE] = ACTIONS(3942),
    [anon_sym_DOLLAR] = ACTIONS(3944),
    [sym_raw_string] = ACTIONS(3942),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3942),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3942),
    [anon_sym_BQUOTE] = ACTIONS(3942),
    [anon_sym_LT_LPAREN] = ACTIONS(3942),
    [anon_sym_GT_LPAREN] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(3944),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2820] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6536),
    [sym_comment] = ACTIONS(55),
  },
  [2821] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6538),
    [sym_comment] = ACTIONS(55),
  },
  [2822] = {
    [anon_sym_RBRACE] = ACTIONS(6538),
    [sym_comment] = ACTIONS(55),
  },
  [2823] = {
    [sym_concatenation] = STATE(2865),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2865),
    [anon_sym_RBRACE] = ACTIONS(6540),
    [anon_sym_EQ] = ACTIONS(6542),
    [anon_sym_DASH] = ACTIONS(6542),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6544),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6542),
    [anon_sym_COLON_QMARK] = ACTIONS(6542),
    [anon_sym_COLON_DASH] = ACTIONS(6542),
    [anon_sym_PERCENT] = ACTIONS(6542),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2824] = {
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [sym_variable_name] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(4000),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [sym__special_characters] = ACTIONS(3998),
    [anon_sym_DQUOTE] = ACTIONS(3998),
    [anon_sym_DOLLAR] = ACTIONS(4000),
    [sym_raw_string] = ACTIONS(3998),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(3998),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(3998),
    [anon_sym_BQUOTE] = ACTIONS(3998),
    [anon_sym_LT_LPAREN] = ACTIONS(3998),
    [anon_sym_GT_LPAREN] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4000),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2825] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6540),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2826] = {
    [sym_concatenation] = STATE(2866),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2866),
    [anon_sym_RBRACE] = ACTIONS(6538),
    [anon_sym_EQ] = ACTIONS(6546),
    [anon_sym_DASH] = ACTIONS(6546),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6548),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6546),
    [anon_sym_COLON_QMARK] = ACTIONS(6546),
    [anon_sym_COLON_DASH] = ACTIONS(6546),
    [anon_sym_PERCENT] = ACTIONS(6546),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2827] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6538),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2828] = {
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [sym_variable_name] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4045),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [sym__special_characters] = ACTIONS(4043),
    [anon_sym_DQUOTE] = ACTIONS(4043),
    [anon_sym_DOLLAR] = ACTIONS(4045),
    [sym_raw_string] = ACTIONS(4043),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4043),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4043),
    [anon_sym_BQUOTE] = ACTIONS(4043),
    [anon_sym_LT_LPAREN] = ACTIONS(4043),
    [anon_sym_GT_LPAREN] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4045),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2829] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6550),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2830] = {
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [sym_variable_name] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4067),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [sym__special_characters] = ACTIONS(4065),
    [anon_sym_DQUOTE] = ACTIONS(4065),
    [anon_sym_DOLLAR] = ACTIONS(4067),
    [sym_raw_string] = ACTIONS(4065),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4065),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4065),
    [anon_sym_BQUOTE] = ACTIONS(4065),
    [anon_sym_LT_LPAREN] = ACTIONS(4065),
    [anon_sym_GT_LPAREN] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4067),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2831] = {
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [sym_variable_name] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4091),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [sym__special_characters] = ACTIONS(4089),
    [anon_sym_DQUOTE] = ACTIONS(4089),
    [anon_sym_DOLLAR] = ACTIONS(4091),
    [sym_raw_string] = ACTIONS(4089),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4089),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4089),
    [anon_sym_BQUOTE] = ACTIONS(4089),
    [anon_sym_LT_LPAREN] = ACTIONS(4089),
    [anon_sym_GT_LPAREN] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4091),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2832] = {
    [aux_sym_concatenation_repeat1] = STATE(2832),
    [sym_file_descriptor] = ACTIONS(1763),
    [sym__concat] = ACTIONS(4936),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [anon_sym_LT] = ACTIONS(1765),
    [anon_sym_GT] = ACTIONS(1765),
    [anon_sym_GT_GT] = ACTIONS(1763),
    [anon_sym_AMP_GT] = ACTIONS(1765),
    [anon_sym_AMP_GT_GT] = ACTIONS(1763),
    [anon_sym_LT_AMP] = ACTIONS(1763),
    [anon_sym_GT_AMP] = ACTIONS(1763),
    [anon_sym_LT_LT] = ACTIONS(1765),
    [anon_sym_LT_LT_DASH] = ACTIONS(1763),
    [anon_sym_LT_LT_LT] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2833] = {
    [aux_sym_concatenation_repeat1] = STATE(2833),
    [sym__concat] = ACTIONS(3354),
    [anon_sym_SEMI] = ACTIONS(1765),
    [anon_sym_esac] = ACTIONS(1763),
    [anon_sym_PIPE] = ACTIONS(1765),
    [anon_sym_SEMI_SEMI] = ACTIONS(1763),
    [anon_sym_PIPE_AMP] = ACTIONS(1763),
    [anon_sym_AMP_AMP] = ACTIONS(1763),
    [anon_sym_PIPE_PIPE] = ACTIONS(1763),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(1763),
    [anon_sym_AMP] = ACTIONS(1765),
  },
  [2834] = {
    [sym__concat] = ACTIONS(4710),
    [sym_variable_name] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4712),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2835] = {
    [sym__concat] = ACTIONS(4714),
    [sym_variable_name] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4716),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2836] = {
    [sym__concat] = ACTIONS(4718),
    [sym_variable_name] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4720),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2837] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6552),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2838] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6554),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2839] = {
    [sym__concat] = ACTIONS(4754),
    [sym_variable_name] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4756),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2840] = {
    [sym__concat] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4712),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2841] = {
    [sym__concat] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4716),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2842] = {
    [sym__concat] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4720),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2843] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6556),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2844] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6558),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2845] = {
    [sym__concat] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(4756),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2846] = {
    [sym__simple_heredoc_body] = ACTIONS(5202),
    [sym__heredoc_body_beginning] = ACTIONS(5202),
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_EQ_TILDE] = ACTIONS(5204),
    [anon_sym_EQ_EQ] = ACTIONS(5204),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [anon_sym_LT_LT] = ACTIONS(5204),
    [anon_sym_LT_LT_DASH] = ACTIONS(5202),
    [anon_sym_LT_LT_LT] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2847] = {
    [sym__simple_heredoc_body] = ACTIONS(5206),
    [sym__heredoc_body_beginning] = ACTIONS(5206),
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_EQ_TILDE] = ACTIONS(5208),
    [anon_sym_EQ_EQ] = ACTIONS(5208),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [anon_sym_LT_LT] = ACTIONS(5208),
    [anon_sym_LT_LT_DASH] = ACTIONS(5206),
    [anon_sym_LT_LT_LT] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2848] = {
    [sym__simple_heredoc_body] = ACTIONS(3934),
    [sym__heredoc_body_beginning] = ACTIONS(3934),
    [sym_file_descriptor] = ACTIONS(3934),
    [sym__concat] = ACTIONS(3934),
    [anon_sym_SEMI] = ACTIONS(3936),
    [anon_sym_esac] = ACTIONS(3934),
    [anon_sym_PIPE] = ACTIONS(3936),
    [anon_sym_SEMI_SEMI] = ACTIONS(3934),
    [anon_sym_PIPE_AMP] = ACTIONS(3934),
    [anon_sym_AMP_AMP] = ACTIONS(3934),
    [anon_sym_PIPE_PIPE] = ACTIONS(3934),
    [anon_sym_LT] = ACTIONS(3936),
    [anon_sym_GT] = ACTIONS(3936),
    [anon_sym_GT_GT] = ACTIONS(3934),
    [anon_sym_AMP_GT] = ACTIONS(3936),
    [anon_sym_AMP_GT_GT] = ACTIONS(3934),
    [anon_sym_LT_AMP] = ACTIONS(3934),
    [anon_sym_GT_AMP] = ACTIONS(3934),
    [anon_sym_LT_LT] = ACTIONS(3936),
    [anon_sym_LT_LT_DASH] = ACTIONS(3934),
    [anon_sym_LT_LT_LT] = ACTIONS(3934),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3934),
    [anon_sym_AMP] = ACTIONS(3936),
  },
  [2849] = {
    [sym__simple_heredoc_body] = ACTIONS(3942),
    [sym__heredoc_body_beginning] = ACTIONS(3942),
    [sym_file_descriptor] = ACTIONS(3942),
    [sym__concat] = ACTIONS(3942),
    [anon_sym_SEMI] = ACTIONS(3944),
    [anon_sym_esac] = ACTIONS(3942),
    [anon_sym_PIPE] = ACTIONS(3944),
    [anon_sym_SEMI_SEMI] = ACTIONS(3942),
    [anon_sym_PIPE_AMP] = ACTIONS(3942),
    [anon_sym_AMP_AMP] = ACTIONS(3942),
    [anon_sym_PIPE_PIPE] = ACTIONS(3942),
    [anon_sym_LT] = ACTIONS(3944),
    [anon_sym_GT] = ACTIONS(3944),
    [anon_sym_GT_GT] = ACTIONS(3942),
    [anon_sym_AMP_GT] = ACTIONS(3944),
    [anon_sym_AMP_GT_GT] = ACTIONS(3942),
    [anon_sym_LT_AMP] = ACTIONS(3942),
    [anon_sym_GT_AMP] = ACTIONS(3942),
    [anon_sym_LT_LT] = ACTIONS(3944),
    [anon_sym_LT_LT_DASH] = ACTIONS(3942),
    [anon_sym_LT_LT_LT] = ACTIONS(3942),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3942),
    [anon_sym_AMP] = ACTIONS(3944),
  },
  [2850] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6560),
    [sym_comment] = ACTIONS(55),
  },
  [2851] = {
    [aux_sym_concatenation_repeat1] = STATE(1366),
    [sym__concat] = ACTIONS(2977),
    [anon_sym_RBRACE] = ACTIONS(6562),
    [sym_comment] = ACTIONS(55),
  },
  [2852] = {
    [anon_sym_RBRACE] = ACTIONS(6562),
    [sym_comment] = ACTIONS(55),
  },
  [2853] = {
    [sym_concatenation] = STATE(2875),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2875),
    [anon_sym_RBRACE] = ACTIONS(6564),
    [anon_sym_EQ] = ACTIONS(6566),
    [anon_sym_DASH] = ACTIONS(6566),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6568),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6566),
    [anon_sym_COLON_QMARK] = ACTIONS(6566),
    [anon_sym_COLON_DASH] = ACTIONS(6566),
    [anon_sym_PERCENT] = ACTIONS(6566),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2854] = {
    [sym__simple_heredoc_body] = ACTIONS(3998),
    [sym__heredoc_body_beginning] = ACTIONS(3998),
    [sym_file_descriptor] = ACTIONS(3998),
    [sym__concat] = ACTIONS(3998),
    [anon_sym_SEMI] = ACTIONS(4000),
    [anon_sym_esac] = ACTIONS(3998),
    [anon_sym_PIPE] = ACTIONS(4000),
    [anon_sym_SEMI_SEMI] = ACTIONS(3998),
    [anon_sym_PIPE_AMP] = ACTIONS(3998),
    [anon_sym_AMP_AMP] = ACTIONS(3998),
    [anon_sym_PIPE_PIPE] = ACTIONS(3998),
    [anon_sym_LT] = ACTIONS(4000),
    [anon_sym_GT] = ACTIONS(4000),
    [anon_sym_GT_GT] = ACTIONS(3998),
    [anon_sym_AMP_GT] = ACTIONS(4000),
    [anon_sym_AMP_GT_GT] = ACTIONS(3998),
    [anon_sym_LT_AMP] = ACTIONS(3998),
    [anon_sym_GT_AMP] = ACTIONS(3998),
    [anon_sym_LT_LT] = ACTIONS(4000),
    [anon_sym_LT_LT_DASH] = ACTIONS(3998),
    [anon_sym_LT_LT_LT] = ACTIONS(3998),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(3998),
    [anon_sym_AMP] = ACTIONS(4000),
  },
  [2855] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6564),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2856] = {
    [sym_concatenation] = STATE(2876),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(2876),
    [anon_sym_RBRACE] = ACTIONS(6562),
    [anon_sym_EQ] = ACTIONS(6570),
    [anon_sym_DASH] = ACTIONS(6570),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(6572),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(6570),
    [anon_sym_COLON_QMARK] = ACTIONS(6570),
    [anon_sym_COLON_DASH] = ACTIONS(6570),
    [anon_sym_PERCENT] = ACTIONS(6570),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2857] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6562),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2858] = {
    [sym__simple_heredoc_body] = ACTIONS(4043),
    [sym__heredoc_body_beginning] = ACTIONS(4043),
    [sym_file_descriptor] = ACTIONS(4043),
    [sym__concat] = ACTIONS(4043),
    [anon_sym_SEMI] = ACTIONS(4045),
    [anon_sym_esac] = ACTIONS(4043),
    [anon_sym_PIPE] = ACTIONS(4045),
    [anon_sym_SEMI_SEMI] = ACTIONS(4043),
    [anon_sym_PIPE_AMP] = ACTIONS(4043),
    [anon_sym_AMP_AMP] = ACTIONS(4043),
    [anon_sym_PIPE_PIPE] = ACTIONS(4043),
    [anon_sym_LT] = ACTIONS(4045),
    [anon_sym_GT] = ACTIONS(4045),
    [anon_sym_GT_GT] = ACTIONS(4043),
    [anon_sym_AMP_GT] = ACTIONS(4045),
    [anon_sym_AMP_GT_GT] = ACTIONS(4043),
    [anon_sym_LT_AMP] = ACTIONS(4043),
    [anon_sym_GT_AMP] = ACTIONS(4043),
    [anon_sym_LT_LT] = ACTIONS(4045),
    [anon_sym_LT_LT_DASH] = ACTIONS(4043),
    [anon_sym_LT_LT_LT] = ACTIONS(4043),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4043),
    [anon_sym_AMP] = ACTIONS(4045),
  },
  [2859] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6574),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2860] = {
    [sym__simple_heredoc_body] = ACTIONS(4065),
    [sym__heredoc_body_beginning] = ACTIONS(4065),
    [sym_file_descriptor] = ACTIONS(4065),
    [sym__concat] = ACTIONS(4065),
    [anon_sym_SEMI] = ACTIONS(4067),
    [anon_sym_esac] = ACTIONS(4065),
    [anon_sym_PIPE] = ACTIONS(4067),
    [anon_sym_SEMI_SEMI] = ACTIONS(4065),
    [anon_sym_PIPE_AMP] = ACTIONS(4065),
    [anon_sym_AMP_AMP] = ACTIONS(4065),
    [anon_sym_PIPE_PIPE] = ACTIONS(4065),
    [anon_sym_LT] = ACTIONS(4067),
    [anon_sym_GT] = ACTIONS(4067),
    [anon_sym_GT_GT] = ACTIONS(4065),
    [anon_sym_AMP_GT] = ACTIONS(4067),
    [anon_sym_AMP_GT_GT] = ACTIONS(4065),
    [anon_sym_LT_AMP] = ACTIONS(4065),
    [anon_sym_GT_AMP] = ACTIONS(4065),
    [anon_sym_LT_LT] = ACTIONS(4067),
    [anon_sym_LT_LT_DASH] = ACTIONS(4065),
    [anon_sym_LT_LT_LT] = ACTIONS(4065),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4065),
    [anon_sym_AMP] = ACTIONS(4067),
  },
  [2861] = {
    [sym__simple_heredoc_body] = ACTIONS(4089),
    [sym__heredoc_body_beginning] = ACTIONS(4089),
    [sym_file_descriptor] = ACTIONS(4089),
    [sym__concat] = ACTIONS(4089),
    [anon_sym_SEMI] = ACTIONS(4091),
    [anon_sym_esac] = ACTIONS(4089),
    [anon_sym_PIPE] = ACTIONS(4091),
    [anon_sym_SEMI_SEMI] = ACTIONS(4089),
    [anon_sym_PIPE_AMP] = ACTIONS(4089),
    [anon_sym_AMP_AMP] = ACTIONS(4089),
    [anon_sym_PIPE_PIPE] = ACTIONS(4089),
    [anon_sym_LT] = ACTIONS(4091),
    [anon_sym_GT] = ACTIONS(4091),
    [anon_sym_GT_GT] = ACTIONS(4089),
    [anon_sym_AMP_GT] = ACTIONS(4091),
    [anon_sym_AMP_GT_GT] = ACTIONS(4089),
    [anon_sym_LT_AMP] = ACTIONS(4089),
    [anon_sym_GT_AMP] = ACTIONS(4089),
    [anon_sym_LT_LT] = ACTIONS(4091),
    [anon_sym_LT_LT_DASH] = ACTIONS(4089),
    [anon_sym_LT_LT_LT] = ACTIONS(4089),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4089),
    [anon_sym_AMP] = ACTIONS(4091),
  },
  [2862] = {
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [sym_variable_name] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4712),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [sym__special_characters] = ACTIONS(4710),
    [anon_sym_DQUOTE] = ACTIONS(4710),
    [anon_sym_DOLLAR] = ACTIONS(4712),
    [sym_raw_string] = ACTIONS(4710),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4710),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4710),
    [anon_sym_BQUOTE] = ACTIONS(4710),
    [anon_sym_LT_LPAREN] = ACTIONS(4710),
    [anon_sym_GT_LPAREN] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4712),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2863] = {
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [sym_variable_name] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4716),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [sym__special_characters] = ACTIONS(4714),
    [anon_sym_DQUOTE] = ACTIONS(4714),
    [anon_sym_DOLLAR] = ACTIONS(4716),
    [sym_raw_string] = ACTIONS(4714),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4714),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4714),
    [anon_sym_BQUOTE] = ACTIONS(4714),
    [anon_sym_LT_LPAREN] = ACTIONS(4714),
    [anon_sym_GT_LPAREN] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4716),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2864] = {
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [sym_variable_name] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4720),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [sym__special_characters] = ACTIONS(4718),
    [anon_sym_DQUOTE] = ACTIONS(4718),
    [anon_sym_DOLLAR] = ACTIONS(4720),
    [sym_raw_string] = ACTIONS(4718),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4718),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4718),
    [anon_sym_BQUOTE] = ACTIONS(4718),
    [anon_sym_LT_LPAREN] = ACTIONS(4718),
    [anon_sym_GT_LPAREN] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4720),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2865] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6576),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2866] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6578),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2867] = {
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [sym_variable_name] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4756),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [sym__special_characters] = ACTIONS(4754),
    [anon_sym_DQUOTE] = ACTIONS(4754),
    [anon_sym_DOLLAR] = ACTIONS(4756),
    [sym_raw_string] = ACTIONS(4754),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(4754),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(4754),
    [anon_sym_BQUOTE] = ACTIONS(4754),
    [anon_sym_LT_LPAREN] = ACTIONS(4754),
    [anon_sym_GT_LPAREN] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(4756),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2868] = {
    [sym__concat] = ACTIONS(5202),
    [sym_variable_name] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5204),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2869] = {
    [sym__concat] = ACTIONS(5206),
    [sym_variable_name] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5208),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2870] = {
    [sym__concat] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5204),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2871] = {
    [sym__concat] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [aux_sym_SLASH_BSLASHw_PLUS_SLASH] = ACTIONS(5208),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2872] = {
    [sym__simple_heredoc_body] = ACTIONS(4710),
    [sym__heredoc_body_beginning] = ACTIONS(4710),
    [sym_file_descriptor] = ACTIONS(4710),
    [sym__concat] = ACTIONS(4710),
    [anon_sym_SEMI] = ACTIONS(4712),
    [anon_sym_esac] = ACTIONS(4710),
    [anon_sym_PIPE] = ACTIONS(4712),
    [anon_sym_SEMI_SEMI] = ACTIONS(4710),
    [anon_sym_PIPE_AMP] = ACTIONS(4710),
    [anon_sym_AMP_AMP] = ACTIONS(4710),
    [anon_sym_PIPE_PIPE] = ACTIONS(4710),
    [anon_sym_LT] = ACTIONS(4712),
    [anon_sym_GT] = ACTIONS(4712),
    [anon_sym_GT_GT] = ACTIONS(4710),
    [anon_sym_AMP_GT] = ACTIONS(4712),
    [anon_sym_AMP_GT_GT] = ACTIONS(4710),
    [anon_sym_LT_AMP] = ACTIONS(4710),
    [anon_sym_GT_AMP] = ACTIONS(4710),
    [anon_sym_LT_LT] = ACTIONS(4712),
    [anon_sym_LT_LT_DASH] = ACTIONS(4710),
    [anon_sym_LT_LT_LT] = ACTIONS(4710),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4710),
    [anon_sym_AMP] = ACTIONS(4712),
  },
  [2873] = {
    [sym__simple_heredoc_body] = ACTIONS(4714),
    [sym__heredoc_body_beginning] = ACTIONS(4714),
    [sym_file_descriptor] = ACTIONS(4714),
    [sym__concat] = ACTIONS(4714),
    [anon_sym_SEMI] = ACTIONS(4716),
    [anon_sym_esac] = ACTIONS(4714),
    [anon_sym_PIPE] = ACTIONS(4716),
    [anon_sym_SEMI_SEMI] = ACTIONS(4714),
    [anon_sym_PIPE_AMP] = ACTIONS(4714),
    [anon_sym_AMP_AMP] = ACTIONS(4714),
    [anon_sym_PIPE_PIPE] = ACTIONS(4714),
    [anon_sym_LT] = ACTIONS(4716),
    [anon_sym_GT] = ACTIONS(4716),
    [anon_sym_GT_GT] = ACTIONS(4714),
    [anon_sym_AMP_GT] = ACTIONS(4716),
    [anon_sym_AMP_GT_GT] = ACTIONS(4714),
    [anon_sym_LT_AMP] = ACTIONS(4714),
    [anon_sym_GT_AMP] = ACTIONS(4714),
    [anon_sym_LT_LT] = ACTIONS(4716),
    [anon_sym_LT_LT_DASH] = ACTIONS(4714),
    [anon_sym_LT_LT_LT] = ACTIONS(4714),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4714),
    [anon_sym_AMP] = ACTIONS(4716),
  },
  [2874] = {
    [sym__simple_heredoc_body] = ACTIONS(4718),
    [sym__heredoc_body_beginning] = ACTIONS(4718),
    [sym_file_descriptor] = ACTIONS(4718),
    [sym__concat] = ACTIONS(4718),
    [anon_sym_SEMI] = ACTIONS(4720),
    [anon_sym_esac] = ACTIONS(4718),
    [anon_sym_PIPE] = ACTIONS(4720),
    [anon_sym_SEMI_SEMI] = ACTIONS(4718),
    [anon_sym_PIPE_AMP] = ACTIONS(4718),
    [anon_sym_AMP_AMP] = ACTIONS(4718),
    [anon_sym_PIPE_PIPE] = ACTIONS(4718),
    [anon_sym_LT] = ACTIONS(4720),
    [anon_sym_GT] = ACTIONS(4720),
    [anon_sym_GT_GT] = ACTIONS(4718),
    [anon_sym_AMP_GT] = ACTIONS(4720),
    [anon_sym_AMP_GT_GT] = ACTIONS(4718),
    [anon_sym_LT_AMP] = ACTIONS(4718),
    [anon_sym_GT_AMP] = ACTIONS(4718),
    [anon_sym_LT_LT] = ACTIONS(4720),
    [anon_sym_LT_LT_DASH] = ACTIONS(4718),
    [anon_sym_LT_LT_LT] = ACTIONS(4718),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4718),
    [anon_sym_AMP] = ACTIONS(4720),
  },
  [2875] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6580),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2876] = {
    [sym_concatenation] = STATE(960),
    [sym_string] = STATE(483),
    [sym_simple_expansion] = STATE(483),
    [sym_string_expansion] = STATE(483),
    [sym_expansion] = STATE(483),
    [sym_command_substitution] = STATE(483),
    [sym_process_substitution] = STATE(483),
    [aux_sym_expansion_repeat1] = STATE(960),
    [anon_sym_RBRACE] = ACTIONS(6582),
    [anon_sym_EQ] = ACTIONS(1915),
    [anon_sym_DASH] = ACTIONS(1915),
    [sym__special_characters] = ACTIONS(873),
    [anon_sym_DQUOTE] = ACTIONS(875),
    [anon_sym_DOLLAR] = ACTIONS(877),
    [sym_raw_string] = ACTIONS(879),
    [anon_sym_POUND] = ACTIONS(1917),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(883),
    [anon_sym_COLON] = ACTIONS(1915),
    [anon_sym_COLON_QMARK] = ACTIONS(1915),
    [anon_sym_COLON_DASH] = ACTIONS(1915),
    [anon_sym_PERCENT] = ACTIONS(1915),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(887),
    [anon_sym_BQUOTE] = ACTIONS(889),
    [anon_sym_LT_LPAREN] = ACTIONS(891),
    [anon_sym_GT_LPAREN] = ACTIONS(891),
    [sym_comment] = ACTIONS(281),
    [sym_word] = ACTIONS(893),
  },
  [2877] = {
    [sym__simple_heredoc_body] = ACTIONS(4754),
    [sym__heredoc_body_beginning] = ACTIONS(4754),
    [sym_file_descriptor] = ACTIONS(4754),
    [sym__concat] = ACTIONS(4754),
    [anon_sym_SEMI] = ACTIONS(4756),
    [anon_sym_esac] = ACTIONS(4754),
    [anon_sym_PIPE] = ACTIONS(4756),
    [anon_sym_SEMI_SEMI] = ACTIONS(4754),
    [anon_sym_PIPE_AMP] = ACTIONS(4754),
    [anon_sym_AMP_AMP] = ACTIONS(4754),
    [anon_sym_PIPE_PIPE] = ACTIONS(4754),
    [anon_sym_LT] = ACTIONS(4756),
    [anon_sym_GT] = ACTIONS(4756),
    [anon_sym_GT_GT] = ACTIONS(4754),
    [anon_sym_AMP_GT] = ACTIONS(4756),
    [anon_sym_AMP_GT_GT] = ACTIONS(4754),
    [anon_sym_LT_AMP] = ACTIONS(4754),
    [anon_sym_GT_AMP] = ACTIONS(4754),
    [anon_sym_LT_LT] = ACTIONS(4756),
    [anon_sym_LT_LT_DASH] = ACTIONS(4754),
    [anon_sym_LT_LT_LT] = ACTIONS(4754),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(4754),
    [anon_sym_AMP] = ACTIONS(4756),
  },
  [2878] = {
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [sym_variable_name] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5204),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [sym__special_characters] = ACTIONS(5202),
    [anon_sym_DQUOTE] = ACTIONS(5202),
    [anon_sym_DOLLAR] = ACTIONS(5204),
    [sym_raw_string] = ACTIONS(5202),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5202),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5202),
    [anon_sym_BQUOTE] = ACTIONS(5202),
    [anon_sym_LT_LPAREN] = ACTIONS(5202),
    [anon_sym_GT_LPAREN] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5204),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2879] = {
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [sym_variable_name] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5208),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [sym__special_characters] = ACTIONS(5206),
    [anon_sym_DQUOTE] = ACTIONS(5206),
    [anon_sym_DOLLAR] = ACTIONS(5208),
    [sym_raw_string] = ACTIONS(5206),
    [anon_sym_DOLLAR_LBRACE] = ACTIONS(5206),
    [anon_sym_DOLLAR_LPAREN] = ACTIONS(5206),
    [anon_sym_BQUOTE] = ACTIONS(5206),
    [anon_sym_LT_LPAREN] = ACTIONS(5206),
    [anon_sym_GT_LPAREN] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [sym_word] = ACTIONS(5208),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
  [2880] = {
    [sym__simple_heredoc_body] = ACTIONS(5202),
    [sym__heredoc_body_beginning] = ACTIONS(5202),
    [sym_file_descriptor] = ACTIONS(5202),
    [sym__concat] = ACTIONS(5202),
    [anon_sym_SEMI] = ACTIONS(5204),
    [anon_sym_esac] = ACTIONS(5202),
    [anon_sym_PIPE] = ACTIONS(5204),
    [anon_sym_SEMI_SEMI] = ACTIONS(5202),
    [anon_sym_PIPE_AMP] = ACTIONS(5202),
    [anon_sym_AMP_AMP] = ACTIONS(5202),
    [anon_sym_PIPE_PIPE] = ACTIONS(5202),
    [anon_sym_LT] = ACTIONS(5204),
    [anon_sym_GT] = ACTIONS(5204),
    [anon_sym_GT_GT] = ACTIONS(5202),
    [anon_sym_AMP_GT] = ACTIONS(5204),
    [anon_sym_AMP_GT_GT] = ACTIONS(5202),
    [anon_sym_LT_AMP] = ACTIONS(5202),
    [anon_sym_GT_AMP] = ACTIONS(5202),
    [anon_sym_LT_LT] = ACTIONS(5204),
    [anon_sym_LT_LT_DASH] = ACTIONS(5202),
    [anon_sym_LT_LT_LT] = ACTIONS(5202),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5202),
    [anon_sym_AMP] = ACTIONS(5204),
  },
  [2881] = {
    [sym__simple_heredoc_body] = ACTIONS(5206),
    [sym__heredoc_body_beginning] = ACTIONS(5206),
    [sym_file_descriptor] = ACTIONS(5206),
    [sym__concat] = ACTIONS(5206),
    [anon_sym_SEMI] = ACTIONS(5208),
    [anon_sym_esac] = ACTIONS(5206),
    [anon_sym_PIPE] = ACTIONS(5208),
    [anon_sym_SEMI_SEMI] = ACTIONS(5206),
    [anon_sym_PIPE_AMP] = ACTIONS(5206),
    [anon_sym_AMP_AMP] = ACTIONS(5206),
    [anon_sym_PIPE_PIPE] = ACTIONS(5206),
    [anon_sym_LT] = ACTIONS(5208),
    [anon_sym_GT] = ACTIONS(5208),
    [anon_sym_GT_GT] = ACTIONS(5206),
    [anon_sym_AMP_GT] = ACTIONS(5208),
    [anon_sym_AMP_GT_GT] = ACTIONS(5206),
    [anon_sym_LT_AMP] = ACTIONS(5206),
    [anon_sym_GT_AMP] = ACTIONS(5206),
    [anon_sym_LT_LT] = ACTIONS(5208),
    [anon_sym_LT_LT_DASH] = ACTIONS(5206),
    [anon_sym_LT_LT_LT] = ACTIONS(5206),
    [sym_comment] = ACTIONS(55),
    [anon_sym_LF] = ACTIONS(5206),
    [anon_sym_AMP] = ACTIONS(5208),
  },
};

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 = true}, 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 = false}, SHIFT(9),
  [23] = {.count = 1, .reusable = false}, SHIFT(10),
  [25] = {.count = 1, .reusable = false}, SHIFT(11),
  [27] = {.count = 1, .reusable = false}, SHIFT(12),
  [29] = {.count = 1, .reusable = true}, SHIFT(13),
  [31] = {.count = 1, .reusable = false}, SHIFT(14),
  [33] = {.count = 1, .reusable = false}, SHIFT(15),
  [35] = {.count = 1, .reusable = false}, SHIFT(16),
  [37] = {.count = 1, .reusable = true}, SHIFT(16),
  [39] = {.count = 1, .reusable = false}, SHIFT(17),
  [41] = {.count = 1, .reusable = true}, SHIFT(18),
  [43] = {.count = 1, .reusable = false}, 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(24),
  [55] = {.count = 1, .reusable = true}, SHIFT_EXTRA(),
  [57] = {.count = 1, .reusable = false}, SHIFT(25),
  [59] = {.count = 1, .reusable = false}, SHIFT(34),
  [61] = {.count = 1, .reusable = true}, SHIFT(34),
  [63] = {.count = 1, .reusable = true}, SHIFT(35),
  [65] = {.count = 1, .reusable = true}, SHIFT(36),
  [67] = {.count = 1, .reusable = true}, SHIFT(37),
  [69] = {.count = 1, .reusable = true}, SHIFT(38),
  [71] = {.count = 1, .reusable = true}, SHIFT(39),
  [73] = {.count = 1, .reusable = false}, SHIFT(40),
  [75] = {.count = 1, .reusable = true}, SHIFT(41),
  [77] = {.count = 1, .reusable = true}, SHIFT(42),
  [79] = {.count = 1, .reusable = false}, SHIFT(43),
  [81] = {.count = 1, .reusable = true}, SHIFT(44),
  [83] = {.count = 1, .reusable = true}, SHIFT(45),
  [85] = {.count = 1, .reusable = true}, SHIFT(46),
  [87] = {.count = 1, .reusable = true}, SHIFT(47),
  [89] = {.count = 1, .reusable = true}, SHIFT(48),
  [91] = {.count = 1, .reusable = false}, SHIFT(44),
  [93] = {.count = 1, .reusable = true}, SHIFT(40),
  [95] = {.count = 1, .reusable = true}, SHIFT(50),
  [97] = {.count = 1, .reusable = true}, SHIFT(51),
  [99] = {.count = 1, .reusable = false}, SHIFT(52),
  [101] = {.count = 1, .reusable = false}, SHIFT(53),
  [103] = {.count = 1, .reusable = false}, SHIFT(54),
  [105] = {.count = 1, .reusable = false}, SHIFT(55),
  [107] = {.count = 1, .reusable = true}, SHIFT(56),
  [109] = {.count = 1, .reusable = false}, SHIFT(57),
  [111] = {.count = 1, .reusable = false}, SHIFT(58),
  [113] = {.count = 1, .reusable = false}, SHIFT(59),
  [115] = {.count = 1, .reusable = true}, SHIFT(60),
  [117] = {.count = 1, .reusable = false}, SHIFT(61),
  [119] = {.count = 1, .reusable = true}, SHIFT(69),
  [121] = {.count = 1, .reusable = true}, SHIFT(70),
  [123] = {.count = 1, .reusable = false}, SHIFT(71),
  [125] = {.count = 1, .reusable = true}, SHIFT(72),
  [127] = {.count = 1, .reusable = true}, SHIFT(73),
  [129] = {.count = 1, .reusable = true}, SHIFT(74),
  [131] = {.count = 1, .reusable = true}, SHIFT(75),
  [133] = {.count = 1, .reusable = true}, SHIFT(76),
  [135] = {.count = 1, .reusable = true}, SHIFT(78),
  [137] = {.count = 1, .reusable = true}, SHIFT(79),
  [139] = {.count = 1, .reusable = true}, SHIFT(80),
  [141] = {.count = 1, .reusable = false}, SHIFT(81),
  [143] = {.count = 1, .reusable = false}, SHIFT(82),
  [145] = {.count = 1, .reusable = false}, SHIFT(83),
  [147] = {.count = 1, .reusable = false}, SHIFT(84),
  [149] = {.count = 1, .reusable = true}, SHIFT(85),
  [151] = {.count = 1, .reusable = false}, SHIFT(86),
  [153] = {.count = 1, .reusable = false}, SHIFT(87),
  [155] = {.count = 1, .reusable = false}, SHIFT(88),
  [157] = {.count = 1, .reusable = true}, SHIFT(89),
  [159] = {.count = 1, .reusable = false}, SHIFT(90),
  [161] = {.count = 1, .reusable = true}, SHIFT(97),
  [163] = {.count = 1, .reusable = true}, SHIFT(100),
  [165] = {.count = 1, .reusable = false}, SHIFT(101),
  [167] = {.count = 1, .reusable = true}, SHIFT(102),
  [169] = {.count = 1, .reusable = true}, SHIFT(103),
  [171] = {.count = 1, .reusable = false}, SHIFT(104),
  [173] = {.count = 1, .reusable = true}, SHIFT(105),
  [175] = {.count = 1, .reusable = true}, SHIFT(106),
  [177] = {.count = 1, .reusable = true}, SHIFT(107),
  [179] = {.count = 1, .reusable = true}, SHIFT(108),
  [181] = {.count = 1, .reusable = true}, SHIFT(109),
  [183] = {.count = 1, .reusable = false}, SHIFT(105),
  [185] = {.count = 1, .reusable = true}, SHIFT(101),
  [187] = {.count = 1, .reusable = false}, SHIFT(111),
  [189] = {.count = 1, .reusable = true}, SHIFT(112),
  [191] = {.count = 1, .reusable = true}, SHIFT(113),
  [193] = {.count = 1, .reusable = false}, SHIFT(113),
  [195] = {.count = 1, .reusable = true}, SHIFT(111),
  [197] = {.count = 1, .reusable = true}, SHIFT(115),
  [199] = {.count = 1, .reusable = true}, REDUCE(sym_declaration_command, 1),
  [201] = {.count = 1, .reusable = false}, REDUCE(sym_declaration_command, 1),
  [203] = {.count = 1, .reusable = true}, SHIFT(116),
  [205] = {.count = 1, .reusable = true}, SHIFT(117),
  [207] = {.count = 1, .reusable = false}, SHIFT(118),
  [209] = {.count = 1, .reusable = true}, SHIFT(119),
  [211] = {.count = 1, .reusable = true}, SHIFT(120),
  [213] = {.count = 1, .reusable = true}, SHIFT(121),
  [215] = {.count = 1, .reusable = true}, SHIFT(122),
  [217] = {.count = 1, .reusable = true}, SHIFT(123),
  [219] = {.count = 1, .reusable = false}, SHIFT(125),
  [221] = {.count = 1, .reusable = false}, SHIFT(119),
  [223] = {.count = 1, .reusable = true}, REDUCE(sym_unset_command, 1),
  [225] = {.count = 1, .reusable = false}, REDUCE(sym_unset_command, 1),
  [227] = {.count = 1, .reusable = true}, SHIFT(126),
  [229] = {.count = 1, .reusable = true}, SHIFT(127),
  [231] = {.count = 1, .reusable = false}, SHIFT(128),
  [233] = {.count = 1, .reusable = true}, SHIFT(129),
  [235] = {.count = 1, .reusable = true}, SHIFT(130),
  [237] = {.count = 1, .reusable = true}, SHIFT(131),
  [239] = {.count = 1, .reusable = true}, SHIFT(132),
  [241] = {.count = 1, .reusable = true}, SHIFT(133),
  [243] = {.count = 1, .reusable = false}, SHIFT(134),
  [245] = {.count = 1, .reusable = false}, SHIFT(129),
  [247] = {.count = 1, .reusable = true}, SHIFT(135),
  [249] = {.count = 1, .reusable = true}, SHIFT(136),
  [251] = {.count = 1, .reusable = false}, SHIFT(137),
  [253] = {.count = 1, .reusable = true}, SHIFT(138),
  [255] = {.count = 1, .reusable = true}, SHIFT(139),
  [257] = {.count = 1, .reusable = true}, SHIFT(140),
  [259] = {.count = 1, .reusable = true}, SHIFT(141),
  [261] = {.count = 1, .reusable = true}, SHIFT(142),
  [263] = {.count = 1, .reusable = true}, REDUCE(sym_command_name, 1, .alias_sequence_id = 1),
  [265] = {.count = 1, .reusable = true}, SHIFT(144),
  [267] = {.count = 1, .reusable = false}, REDUCE(sym_command_name, 1, .alias_sequence_id = 1),
  [269] = {.count = 1, .reusable = false}, SHIFT(146),
  [271] = {.count = 1, .reusable = false}, SHIFT(147),
  [273] = {.count = 1, .reusable = true}, SHIFT(148),
  [275] = {.count = 1, .reusable = false}, SHIFT(149),
  [277] = {.count = 1, .reusable = false}, SHIFT(150),
  [279] = {.count = 1, .reusable = false}, SHIFT(151),
  [281] = {.count = 1, .reusable = false}, SHIFT_EXTRA(),
  [283] = {.count = 1, .reusable = true}, SHIFT(153),
  [285] = {.count = 1, .reusable = true}, SHIFT(154),
  [287] = {.count = 1, .reusable = false}, SHIFT(155),
  [289] = {.count = 1, .reusable = true}, SHIFT(155),
  [291] = {.count = 1, .reusable = true}, REDUCE(sym_command_name, 1),
  [293] = {.count = 1, .reusable = false}, REDUCE(sym_command_name, 1),
  [295] = {.count = 1, .reusable = true}, SHIFT(156),
  [297] = {.count = 1, .reusable = true}, SHIFT(157),
  [299] = {.count = 1, .reusable = true}, SHIFT(158),
  [301] = {.count = 1, .reusable = false}, SHIFT(159),
  [303] = {.count = 1, .reusable = true}, SHIFT(159),
  [305] = {.count = 1, .reusable = true}, SHIFT(163),
  [307] = {.count = 1, .reusable = false}, SHIFT(164),
  [309] = {.count = 1, .reusable = false}, SHIFT(165),
  [311] = {.count = 1, .reusable = false}, SHIFT(166),
  [313] = {.count = 1, .reusable = false}, SHIFT(167),
  [315] = {.count = 1, .reusable = true}, SHIFT(168),
  [317] = {.count = 1, .reusable = false}, SHIFT(169),
  [319] = {.count = 1, .reusable = false}, SHIFT(170),
  [321] = {.count = 1, .reusable = false}, SHIFT(171),
  [323] = {.count = 1, .reusable = true}, SHIFT(180),
  [325] = {.count = 1, .reusable = true}, ACCEPT_INPUT(),
  [327] = {.count = 1, .reusable = true}, REDUCE(sym_program, 1),
  [329] = {.count = 1, .reusable = false}, SHIFT(181),
  [331] = {.count = 1, .reusable = false}, SHIFT(182),
  [333] = {.count = 1, .reusable = true}, SHIFT(181),
  [335] = {.count = 1, .reusable = true}, SHIFT(182),
  [337] = {.count = 1, .reusable = true}, SHIFT(183),
  [339] = {.count = 1, .reusable = true}, SHIFT(184),
  [341] = {.count = 1, .reusable = true}, SHIFT(185),
  [343] = {.count = 1, .reusable = true}, SHIFT(186),
  [345] = {.count = 1, .reusable = true}, REDUCE(sym_command, 1),
  [347] = {.count = 1, .reusable = false}, REDUCE(sym_command, 1),
  [349] = {.count = 1, .reusable = false}, SHIFT(187),
  [351] = {.count = 1, .reusable = false}, SHIFT(188),
  [353] = {.count = 1, .reusable = true}, SHIFT(188),
  [355] = {.count = 1, .reusable = false}, SHIFT(189),
  [357] = {.count = 1, .reusable = true}, SHIFT(189),
  [359] = {.count = 1, .reusable = true}, SHIFT(190),
  [361] = {.count = 1, .reusable = true}, SHIFT(191),
  [363] = {.count = 1, .reusable = true}, SHIFT(192),
  [365] = {.count = 1, .reusable = false}, SHIFT(192),
  [367] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat1, 1),
  [369] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat1, 1),
  [371] = {.count = 1, .reusable = true}, SHIFT(17),
  [373] = {.count = 1, .reusable = true}, SHIFT(201),
  [375] = {.count = 1, .reusable = true}, SHIFT(202),
  [377] = {.count = 1, .reusable = true}, SHIFT(204),
  [379] = {.count = 1, .reusable = true}, SHIFT(205),
  [381] = {.count = 1, .reusable = true}, SHIFT(207),
  [383] = {.count = 1, .reusable = true}, SHIFT(208),
  [385] = {.count = 1, .reusable = true}, SHIFT(209),
  [387] = {.count = 1, .reusable = true}, SHIFT(210),
  [389] = {.count = 1, .reusable = false}, SHIFT(211),
  [391] = {.count = 1, .reusable = true}, SHIFT(212),
  [393] = {.count = 1, .reusable = true}, SHIFT(213),
  [395] = {.count = 1, .reusable = true}, SHIFT(214),
  [397] = {.count = 1, .reusable = true}, SHIFT(215),
  [399] = {.count = 1, .reusable = true}, SHIFT(216),
  [401] = {.count = 1, .reusable = false}, SHIFT(217),
  [403] = {.count = 1, .reusable = true}, SHIFT(217),
  [405] = {.count = 1, .reusable = true}, SHIFT(218),
  [407] = {.count = 1, .reusable = false}, SHIFT(219),
  [409] = {.count = 1, .reusable = true}, SHIFT(220),
  [411] = {.count = 1, .reusable = true}, SHIFT(221),
  [413] = {.count = 1, .reusable = false}, SHIFT(222),
  [415] = {.count = 1, .reusable = true}, SHIFT(223),
  [417] = {.count = 1, .reusable = true}, SHIFT(224),
  [419] = {.count = 1, .reusable = true}, SHIFT(225),
  [421] = {.count = 1, .reusable = true}, SHIFT(226),
  [423] = {.count = 1, .reusable = true}, SHIFT(227),
  [425] = {.count = 1, .reusable = false}, SHIFT(223),
  [427] = {.count = 1, .reusable = true}, SHIFT(219),
  [429] = {.count = 1, .reusable = true}, SHIFT(229),
  [431] = {.count = 1, .reusable = false}, SHIFT(230),
  [433] = {.count = 1, .reusable = true}, SHIFT(230),
  [435] = {.count = 1, .reusable = true}, SHIFT(231),
  [437] = {.count = 1, .reusable = false}, SHIFT(232),
  [439] = {.count = 1, .reusable = true}, SHIFT(233),
  [441] = {.count = 1, .reusable = true}, SHIFT(234),
  [443] = {.count = 1, .reusable = false}, SHIFT(235),
  [445] = {.count = 1, .reusable = true}, SHIFT(236),
  [447] = {.count = 1, .reusable = true}, SHIFT(237),
  [449] = {.count = 1, .reusable = true}, SHIFT(238),
  [451] = {.count = 1, .reusable = true}, SHIFT(239),
  [453] = {.count = 1, .reusable = true}, SHIFT(240),
  [455] = {.count = 1, .reusable = false}, SHIFT(236),
  [457] = {.count = 1, .reusable = true}, SHIFT(232),
  [459] = {.count = 1, .reusable = true}, SHIFT(243),
  [461] = {.count = 1, .reusable = true}, REDUCE(sym__expression, 1, .alias_sequence_id = 1),
  [463] = {.count = 1, .reusable = false}, REDUCE(sym__expression, 1, .alias_sequence_id = 1),
  [465] = {.count = 1, .reusable = false}, SHIFT(245),
  [467] = {.count = 1, .reusable = false}, SHIFT(246),
  [469] = {.count = 1, .reusable = true}, SHIFT(248),
  [471] = {.count = 1, .reusable = true}, SHIFT(249),
  [473] = {.count = 1, .reusable = false}, SHIFT(250),
  [475] = {.count = 1, .reusable = true}, SHIFT(250),
  [477] = {.count = 1, .reusable = true}, REDUCE(sym__expression, 1),
  [479] = {.count = 1, .reusable = false}, REDUCE(sym__expression, 1),
  [481] = {.count = 1, .reusable = true}, SHIFT(251),
  [483] = {.count = 1, .reusable = true}, SHIFT(252),
  [485] = {.count = 1, .reusable = true}, SHIFT(253),
  [487] = {.count = 1, .reusable = false}, SHIFT(254),
  [489] = {.count = 1, .reusable = true}, SHIFT(254),
  [491] = {.count = 1, .reusable = true}, SHIFT(264),
  [493] = {.count = 1, .reusable = true}, SHIFT(265),
  [495] = {.count = 1, .reusable = true}, SHIFT(266),
  [497] = {.count = 1, .reusable = false}, SHIFT(265),
  [499] = {.count = 1, .reusable = true}, SHIFT(267),
  [501] = {.count = 1, .reusable = true}, SHIFT(268),
  [503] = {.count = 1, .reusable = true}, SHIFT(271),
  [505] = {.count = 1, .reusable = true}, SHIFT(274),
  [507] = {.count = 1, .reusable = true}, SHIFT(275),
  [509] = {.count = 1, .reusable = true}, SHIFT(276),
  [511] = {.count = 1, .reusable = false}, SHIFT(278),
  [513] = {.count = 1, .reusable = false}, SHIFT(276),
  [515] = {.count = 1, .reusable = true}, SHIFT(279),
  [517] = {.count = 1, .reusable = true}, SHIFT(280),
  [519] = {.count = 1, .reusable = false}, SHIFT(281),
  [521] = {.count = 1, .reusable = false}, SHIFT(280),
  [523] = {.count = 1, .reusable = true}, SHIFT(283),
  [525] = {.count = 1, .reusable = true}, SHIFT(284),
  [527] = {.count = 1, .reusable = false}, SHIFT(286),
  [529] = {.count = 1, .reusable = false}, SHIFT(287),
  [531] = {.count = 1, .reusable = true}, SHIFT(286),
  [533] = {.count = 1, .reusable = true}, SHIFT(287),
  [535] = {.count = 1, .reusable = true}, SHIFT(288),
  [537] = {.count = 1, .reusable = true}, SHIFT(289),
  [539] = {.count = 1, .reusable = false}, SHIFT(290),
  [541] = {.count = 1, .reusable = false}, SHIFT(291),
  [543] = {.count = 1, .reusable = true}, SHIFT(291),
  [545] = {.count = 1, .reusable = true}, SHIFT(292),
  [547] = {.count = 1, .reusable = true}, SHIFT(293),
  [549] = {.count = 1, .reusable = true}, SHIFT(294),
  [551] = {.count = 1, .reusable = false}, SHIFT(294),
  [553] = {.count = 1, .reusable = true}, SHIFT(59),
  [555] = {.count = 1, .reusable = true}, SHIFT(298),
  [557] = {.count = 1, .reusable = true}, SHIFT(299),
  [559] = {.count = 1, .reusable = true}, SHIFT(300),
  [561] = {.count = 1, .reusable = false}, SHIFT(301),
  [563] = {.count = 1, .reusable = true}, SHIFT(301),
  [565] = {.count = 1, .reusable = false}, SHIFT(303),
  [567] = {.count = 1, .reusable = false}, SHIFT(304),
  [569] = {.count = 1, .reusable = true}, SHIFT(306),
  [571] = {.count = 1, .reusable = true}, SHIFT(307),
  [573] = {.count = 1, .reusable = false}, SHIFT(308),
  [575] = {.count = 1, .reusable = true}, SHIFT(308),
  [577] = {.count = 1, .reusable = true}, SHIFT(309),
  [579] = {.count = 1, .reusable = false}, SHIFT(310),
  [581] = {.count = 1, .reusable = true}, SHIFT(310),
  [583] = {.count = 1, .reusable = true}, SHIFT(311),
  [585] = {.count = 1, .reusable = true}, SHIFT(312),
  [587] = {.count = 1, .reusable = true}, SHIFT(313),
  [589] = {.count = 1, .reusable = false}, SHIFT(314),
  [591] = {.count = 1, .reusable = true}, SHIFT(314),
  [593] = {.count = 1, .reusable = true}, SHIFT(324),
  [595] = {.count = 1, .reusable = true}, SHIFT(325),
  [597] = {.count = 1, .reusable = true}, SHIFT(327),
  [599] = {.count = 1, .reusable = true}, SHIFT(330),
  [601] = {.count = 1, .reusable = true}, SHIFT(333),
  [603] = {.count = 1, .reusable = true}, SHIFT(334),
  [605] = {.count = 1, .reusable = true}, SHIFT(335),
  [607] = {.count = 1, .reusable = false}, SHIFT(337),
  [609] = {.count = 1, .reusable = false}, SHIFT(335),
  [611] = {.count = 1, .reusable = true}, SHIFT(338),
  [613] = {.count = 1, .reusable = true}, SHIFT(339),
  [615] = {.count = 1, .reusable = false}, SHIFT(340),
  [617] = {.count = 1, .reusable = false}, SHIFT(339),
  [619] = {.count = 1, .reusable = true}, SHIFT(342),
  [621] = {.count = 1, .reusable = false}, SHIFT(343),
  [623] = {.count = 1, .reusable = false}, SHIFT(344),
  [625] = {.count = 1, .reusable = true}, SHIFT(345),
  [627] = {.count = 1, .reusable = true}, SHIFT(343),
  [629] = {.count = 1, .reusable = true}, SHIFT(344),
  [631] = {.count = 1, .reusable = true}, SHIFT(346),
  [633] = {.count = 1, .reusable = true}, SHIFT(347),
  [635] = {.count = 1, .reusable = false}, SHIFT(348),
  [637] = {.count = 1, .reusable = false}, SHIFT(349),
  [639] = {.count = 1, .reusable = true}, SHIFT(349),
  [641] = {.count = 1, .reusable = true}, SHIFT(350),
  [643] = {.count = 1, .reusable = true}, SHIFT(351),
  [645] = {.count = 1, .reusable = true}, SHIFT(352),
  [647] = {.count = 1, .reusable = false}, SHIFT(352),
  [649] = {.count = 1, .reusable = true}, SHIFT(88),
  [651] = {.count = 1, .reusable = true}, SHIFT(358),
  [653] = {.count = 1, .reusable = true}, REDUCE(sym_negated_command, 2),
  [655] = {.count = 1, .reusable = false}, REDUCE(sym_negated_command, 2),
  [657] = {.count = 1, .reusable = true}, SHIFT(361),
  [659] = {.count = 1, .reusable = false}, SHIFT(363),
  [661] = {.count = 1, .reusable = false}, SHIFT(364),
  [663] = {.count = 1, .reusable = true}, SHIFT(366),
  [665] = {.count = 1, .reusable = true}, SHIFT(367),
  [667] = {.count = 1, .reusable = false}, SHIFT(368),
  [669] = {.count = 1, .reusable = true}, SHIFT(368),
  [671] = {.count = 1, .reusable = true}, SHIFT(369),
  [673] = {.count = 1, .reusable = true}, SHIFT(370),
  [675] = {.count = 1, .reusable = true}, SHIFT(371),
  [677] = {.count = 1, .reusable = false}, SHIFT(372),
  [679] = {.count = 1, .reusable = true}, SHIFT(372),
  [681] = {.count = 1, .reusable = true}, SHIFT(382),
  [683] = {.count = 1, .reusable = true}, SHIFT(383),
  [685] = {.count = 1, .reusable = false}, SHIFT(382),
  [687] = {.count = 1, .reusable = true}, SHIFT(384),
  [689] = {.count = 1, .reusable = true}, SHIFT(387),
  [691] = {.count = 1, .reusable = true}, SHIFT(388),
  [693] = {.count = 1, .reusable = false}, SHIFT(387),
  [695] = {.count = 1, .reusable = true}, SHIFT(389),
  [697] = {.count = 1, .reusable = true}, SHIFT(390),
  [699] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 1),
  [701] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 1, .alias_sequence_id = 1),
  [703] = {.count = 1, .reusable = false}, SHIFT(392),
  [705] = {.count = 1, .reusable = false}, SHIFT(393),
  [707] = {.count = 1, .reusable = true}, SHIFT(395),
  [709] = {.count = 1, .reusable = true}, SHIFT(396),
  [711] = {.count = 1, .reusable = false}, SHIFT(397),
  [713] = {.count = 1, .reusable = true}, SHIFT(397),
  [715] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 1),
  [717] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 1),
  [719] = {.count = 1, .reusable = true}, SHIFT(398),
  [721] = {.count = 1, .reusable = true}, SHIFT(399),
  [723] = {.count = 1, .reusable = true}, SHIFT(400),
  [725] = {.count = 1, .reusable = false}, SHIFT(401),
  [727] = {.count = 1, .reusable = true}, SHIFT(401),
  [729] = {.count = 1, .reusable = true}, REDUCE(sym_declaration_command, 2),
  [731] = {.count = 1, .reusable = false}, REDUCE(sym_declaration_command, 2),
  [733] = {.count = 1, .reusable = false}, SHIFT(411),
  [735] = {.count = 1, .reusable = true}, SHIFT(412),
  [737] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 1),
  [739] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 1, .alias_sequence_id = 1),
  [741] = {.count = 1, .reusable = false}, SHIFT(414),
  [743] = {.count = 1, .reusable = false}, SHIFT(415),
  [745] = {.count = 1, .reusable = true}, SHIFT(417),
  [747] = {.count = 1, .reusable = true}, SHIFT(418),
  [749] = {.count = 1, .reusable = false}, SHIFT(419),
  [751] = {.count = 1, .reusable = true}, SHIFT(419),
  [753] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 1),
  [755] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 1),
  [757] = {.count = 1, .reusable = true}, SHIFT(420),
  [759] = {.count = 1, .reusable = true}, SHIFT(421),
  [761] = {.count = 1, .reusable = true}, SHIFT(422),
  [763] = {.count = 1, .reusable = false}, SHIFT(423),
  [765] = {.count = 1, .reusable = true}, SHIFT(423),
  [767] = {.count = 1, .reusable = true}, REDUCE(sym_unset_command, 2),
  [769] = {.count = 1, .reusable = false}, REDUCE(sym_unset_command, 2),
  [771] = {.count = 1, .reusable = false}, SHIFT(433),
  [773] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 2, .alias_sequence_id = 2),
  [775] = {.count = 1, .reusable = true}, SHIFT(434),
  [777] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 2, .alias_sequence_id = 2),
  [779] = {.count = 1, .reusable = false}, SHIFT(436),
  [781] = {.count = 1, .reusable = false}, SHIFT(437),
  [783] = {.count = 1, .reusable = true}, SHIFT(439),
  [785] = {.count = 1, .reusable = true}, SHIFT(440),
  [787] = {.count = 1, .reusable = false}, SHIFT(441),
  [789] = {.count = 1, .reusable = true}, SHIFT(441),
  [791] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 2),
  [793] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 2),
  [795] = {.count = 1, .reusable = true}, SHIFT(442),
  [797] = {.count = 1, .reusable = true}, SHIFT(443),
  [799] = {.count = 1, .reusable = true}, SHIFT(444),
  [801] = {.count = 1, .reusable = false}, SHIFT(445),
  [803] = {.count = 1, .reusable = true}, SHIFT(445),
  [805] = {.count = 1, .reusable = true}, SHIFT(455),
  [807] = {.count = 1, .reusable = true}, REDUCE(sym_concatenation, 2),
  [809] = {.count = 1, .reusable = false}, REDUCE(sym_concatenation, 2),
  [811] = {.count = 1, .reusable = true}, REDUCE(sym_string, 2),
  [813] = {.count = 1, .reusable = false}, REDUCE(sym_string, 2),
  [815] = {.count = 1, .reusable = true}, SHIFT(457),
  [817] = {.count = 1, .reusable = false}, SHIFT(458),
  [819] = {.count = 1, .reusable = false}, SHIFT(457),
  [821] = {.count = 1, .reusable = false}, SHIFT(459),
  [823] = {.count = 1, .reusable = false}, SHIFT(460),
  [825] = {.count = 1, .reusable = true}, SHIFT(460),
  [827] = {.count = 1, .reusable = true}, SHIFT(461),
  [829] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 1),
  [831] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 1),
  [833] = {.count = 1, .reusable = true}, SHIFT(462),
  [835] = {.count = 1, .reusable = true}, SHIFT(463),
  [837] = {.count = 1, .reusable = true}, SHIFT(464),
  [839] = {.count = 1, .reusable = false}, SHIFT(465),
  [841] = {.count = 1, .reusable = true}, SHIFT(465),
  [843] = {.count = 1, .reusable = false}, SHIFT(472),
  [845] = {.count = 1, .reusable = true}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 3),
  [847] = {.count = 1, .reusable = false}, REDUCE(sym_simple_expansion, 2, .alias_sequence_id = 3),
  [849] = {.count = 1, .reusable = true}, REDUCE(sym_string_expansion, 2),
  [851] = {.count = 1, .reusable = false}, REDUCE(sym_string_expansion, 2),
  [853] = {.count = 1, .reusable = true}, REDUCE(sym_simple_expansion, 2),
  [855] = {.count = 1, .reusable = false}, REDUCE(sym_simple_expansion, 2),
  [857] = {.count = 1, .reusable = true}, SHIFT(474),
  [859] = {.count = 1, .reusable = true}, SHIFT(475),
  [861] = {.count = 1, .reusable = true}, SHIFT(476),
  [863] = {.count = 1, .reusable = true}, SHIFT(477),
  [865] = {.count = 1, .reusable = false}, SHIFT(478),
  [867] = {.count = 1, .reusable = true}, SHIFT(478),
  [869] = {.count = 1, .reusable = true}, SHIFT(479),
  [871] = {.count = 1, .reusable = false}, SHIFT(489),
  [873] = {.count = 1, .reusable = false}, SHIFT(480),
  [875] = {.count = 1, .reusable = true}, SHIFT(481),
  [877] = {.count = 1, .reusable = false}, SHIFT(482),
  [879] = {.count = 1, .reusable = true}, SHIFT(483),
  [881] = {.count = 1, .reusable = true}, SHIFT(489),
  [883] = {.count = 1, .reusable = true}, SHIFT(484),
  [885] = {.count = 1, .reusable = true}, SHIFT(485),
  [887] = {.count = 1, .reusable = true}, SHIFT(486),
  [889] = {.count = 1, .reusable = true}, SHIFT(487),
  [891] = {.count = 1, .reusable = true}, SHIFT(488),
  [893] = {.count = 1, .reusable = false}, SHIFT(483),
  [895] = {.count = 1, .reusable = true}, SHIFT(490),
  [897] = {.count = 1, .reusable = false}, SHIFT(492),
  [899] = {.count = 1, .reusable = true}, SHIFT(492),
  [901] = {.count = 1, .reusable = true}, SHIFT(491),
  [903] = {.count = 1, .reusable = false}, SHIFT(493),
  [905] = {.count = 1, .reusable = true}, SHIFT(494),
  [907] = {.count = 1, .reusable = true}, SHIFT(493),
  [909] = {.count = 1, .reusable = true}, SHIFT(499),
  [911] = {.count = 1, .reusable = false}, SHIFT(502),
  [913] = {.count = 1, .reusable = false}, SHIFT(503),
  [915] = {.count = 1, .reusable = true}, SHIFT(504),
  [917] = {.count = 1, .reusable = false}, SHIFT(505),
  [919] = {.count = 1, .reusable = false}, SHIFT(506),
  [921] = {.count = 1, .reusable = true}, SHIFT(505),
  [923] = {.count = 1, .reusable = true}, SHIFT(506),
  [925] = {.count = 1, .reusable = true}, SHIFT(507),
  [927] = {.count = 1, .reusable = true}, SHIFT(508),
  [929] = {.count = 1, .reusable = false}, SHIFT(509),
  [931] = {.count = 1, .reusable = true}, SHIFT(509),
  [933] = {.count = 1, .reusable = true}, SHIFT(510),
  [935] = {.count = 1, .reusable = false}, SHIFT(516),
  [937] = {.count = 1, .reusable = true}, SHIFT(517),
  [939] = {.count = 1, .reusable = true}, SHIFT(516),
  [941] = {.count = 1, .reusable = true}, SHIFT(520),
  [943] = {.count = 1, .reusable = true}, REDUCE(sym__terminated_statement, 2),
  [945] = {.count = 1, .reusable = true}, REDUCE(sym_program, 2),
  [947] = {.count = 1, .reusable = false}, REDUCE(sym__terminated_statement, 2),
  [949] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 1),
  [951] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 1),
  [953] = {.count = 1, .reusable = true}, SHIFT(528),
  [955] = {.count = 1, .reusable = true}, SHIFT(525),
  [957] = {.count = 1, .reusable = false}, SHIFT(526),
  [959] = {.count = 1, .reusable = true}, SHIFT(527),
  [961] = {.count = 1, .reusable = false}, SHIFT(529),
  [963] = {.count = 1, .reusable = true}, SHIFT(529),
  [965] = {.count = 1, .reusable = true}, SHIFT(530),
  [967] = {.count = 1, .reusable = true}, SHIFT(531),
  [969] = {.count = 1, .reusable = true}, SHIFT(532),
  [971] = {.count = 1, .reusable = true}, SHIFT(533),
  [973] = {.count = 1, .reusable = true}, SHIFT(534),
  [975] = {.count = 1, .reusable = true}, SHIFT(536),
  [977] = {.count = 1, .reusable = true}, SHIFT(537),
  [979] = {.count = 1, .reusable = true}, SHIFT(538),
  [981] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 1, .alias_sequence_id = 1),
  [983] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 1, .alias_sequence_id = 1),
  [985] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 1),
  [987] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 1),
  [989] = {.count = 1, .reusable = true}, REDUCE(sym_command, 2),
  [991] = {.count = 1, .reusable = false}, REDUCE(sym_command, 2),
  [993] = {.count = 1, .reusable = false}, SHIFT(544),
  [995] = {.count = 1, .reusable = true}, SHIFT(544),
  [997] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(2),
  [1000] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(50),
  [1003] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(4),
  [1006] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(51),
  [1009] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(52),
  [1012] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(7),
  [1015] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(8),
  [1018] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(53),
  [1021] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(10),
  [1024] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(54),
  [1027] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(55),
  [1030] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(56),
  [1033] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(57),
  [1036] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(58),
  [1039] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(16),
  [1042] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(16),
  [1045] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(59),
  [1048] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(18),
  [1051] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(19),
  [1054] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(60),
  [1057] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(21),
  [1060] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(22),
  [1063] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(23),
  [1066] = {.count = 2, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(24),
  [1069] = {.count = 2, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2), SHIFT_REPEAT(61),
  [1072] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(2),
  [1075] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(97),
  [1078] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(16),
  [1081] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2), SHIFT_REPEAT(16),
  [1084] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat1, 2),
  [1086] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat1, 2),
  [1088] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 3, .alias_sequence_id = 4),
  [1090] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 3, .alias_sequence_id = 4),
  [1092] = {.count = 1, .reusable = true}, REDUCE(sym_file_redirect, 3),
  [1094] = {.count = 1, .reusable = false}, REDUCE(sym_file_redirect, 3),
  [1096] = {.count = 1, .reusable = true}, SHIFT(548),
  [1098] = {.count = 1, .reusable = true}, SHIFT(549),
  [1100] = {.count = 1, .reusable = true}, SHIFT(551),
  [1102] = {.count = 1, .reusable = true}, SHIFT(552),
  [1104] = {.count = 1, .reusable = true}, SHIFT(553),
  [1106] = {.count = 1, .reusable = true}, REDUCE(sym_variable_assignment, 3),
  [1108] = {.count = 1, .reusable = false}, REDUCE(sym_variable_assignment, 3),
  [1110] = {.count = 1, .reusable = true}, SHIFT(554),
  [1112] = {.count = 1, .reusable = true}, SHIFT(555),
  [1114] = {.count = 1, .reusable = true}, SHIFT(556),
  [1116] = {.count = 1, .reusable = false}, SHIFT(557),
  [1118] = {.count = 1, .reusable = true}, SHIFT(558),
  [1120] = {.count = 1, .reusable = true}, SHIFT(559),
  [1122] = {.count = 1, .reusable = true}, SHIFT(560),
  [1124] = {.count = 1, .reusable = true}, SHIFT(561),
  [1126] = {.count = 1, .reusable = true}, SHIFT(562),
  [1128] = {.count = 1, .reusable = true}, REDUCE(sym_variable_assignment, 3, .alias_sequence_id = 4),
  [1130] = {.count = 1, .reusable = true}, SHIFT(564),
  [1132] = {.count = 1, .reusable = false}, REDUCE(sym_variable_assignment, 3, .alias_sequence_id = 4),
  [1134] = {.count = 1, .reusable = false}, SHIFT(566),
  [1136] = {.count = 1, .reusable = false}, SHIFT(567),
  [1138] = {.count = 1, .reusable = true}, SHIFT(569),
  [1140] = {.count = 1, .reusable = true}, SHIFT(570),
  [1142] = {.count = 1, .reusable = false}, SHIFT(571),
  [1144] = {.count = 1, .reusable = true}, SHIFT(571),
  [1146] = {.count = 1, .reusable = true}, SHIFT(572),
  [1148] = {.count = 1, .reusable = true}, SHIFT(573),
  [1150] = {.count = 1, .reusable = true}, SHIFT(574),
  [1152] = {.count = 1, .reusable = false}, SHIFT(575),
  [1154] = {.count = 1, .reusable = true}, SHIFT(575),
  [1156] = {.count = 1, .reusable = false}, SHIFT(585),
  [1158] = {.count = 1, .reusable = true}, SHIFT(585),
  [1160] = {.count = 1, .reusable = true}, SHIFT(589),
  [1162] = {.count = 1, .reusable = false}, SHIFT(591),
  [1164] = {.count = 1, .reusable = false}, SHIFT(592),
  [1166] = {.count = 1, .reusable = true}, SHIFT(594),
  [1168] = {.count = 1, .reusable = true}, SHIFT(595),
  [1170] = {.count = 1, .reusable = false}, SHIFT(596),
  [1172] = {.count = 1, .reusable = true}, SHIFT(596),
  [1174] = {.count = 1, .reusable = true}, SHIFT(597),
  [1176] = {.count = 1, .reusable = true}, SHIFT(598),
  [1178] = {.count = 1, .reusable = true}, SHIFT(599),
  [1180] = {.count = 1, .reusable = false}, SHIFT(600),
  [1182] = {.count = 1, .reusable = true}, SHIFT(600),
  [1184] = {.count = 1, .reusable = false}, SHIFT(610),
  [1186] = {.count = 1, .reusable = true}, SHIFT(610),
  [1188] = {.count = 1, .reusable = true}, SHIFT(611),
  [1190] = {.count = 1, .reusable = true}, SHIFT(612),
  [1192] = {.count = 1, .reusable = false}, SHIFT(611),
  [1194] = {.count = 1, .reusable = true}, SHIFT(613),
  [1196] = {.count = 1, .reusable = true}, SHIFT(614),
  [1198] = {.count = 1, .reusable = true}, SHIFT(615),
  [1200] = {.count = 1, .reusable = false}, SHIFT(616),
  [1202] = {.count = 1, .reusable = true}, SHIFT(617),
  [1204] = {.count = 1, .reusable = true}, SHIFT(618),
  [1206] = {.count = 1, .reusable = true}, SHIFT(619),
  [1208] = {.count = 1, .reusable = true}, SHIFT(620),
  [1210] = {.count = 1, .reusable = true}, SHIFT(621),
  [1212] = {.count = 1, .reusable = true}, SHIFT(623),
  [1214] = {.count = 1, .reusable = true}, SHIFT(627),
  [1216] = {.count = 1, .reusable = false}, SHIFT(629),
  [1218] = {.count = 1, .reusable = false}, SHIFT(630),
  [1220] = {.count = 1, .reusable = true}, SHIFT(632),
  [1222] = {.count = 1, .reusable = true}, SHIFT(633),
  [1224] = {.count = 1, .reusable = false}, SHIFT(634),
  [1226] = {.count = 1, .reusable = true}, SHIFT(634),
  [1228] = {.count = 1, .reusable = true}, SHIFT(635),
  [1230] = {.count = 1, .reusable = true}, SHIFT(636),
  [1232] = {.count = 1, .reusable = true}, SHIFT(637),
  [1234] = {.count = 1, .reusable = false}, SHIFT(638),
  [1236] = {.count = 1, .reusable = true}, SHIFT(638),
  [1238] = {.count = 1, .reusable = true}, SHIFT(648),
  [1240] = {.count = 1, .reusable = true}, SHIFT(649),
  [1242] = {.count = 1, .reusable = true}, SHIFT(650),
  [1244] = {.count = 1, .reusable = false}, SHIFT(649),
  [1246] = {.count = 1, .reusable = true}, SHIFT(651),
  [1248] = {.count = 1, .reusable = true}, REDUCE(sym_unary_expression, 2),
  [1250] = {.count = 1, .reusable = true}, SHIFT(652),
  [1252] = {.count = 1, .reusable = false}, SHIFT(654),
  [1254] = {.count = 1, .reusable = false}, SHIFT(655),
  [1256] = {.count = 1, .reusable = true}, SHIFT(656),
  [1258] = {.count = 1, .reusable = true}, SHIFT(657),
  [1260] = {.count = 1, .reusable = true}, SHIFT(658),
  [1262] = {.count = 1, .reusable = false}, SHIFT(659),
  [1264] = {.count = 1, .reusable = true}, SHIFT(659),
  [1266] = {.count = 1, .reusable = true}, SHIFT(660),
  [1268] = {.count = 1, .reusable = false}, SHIFT(662),
  [1270] = {.count = 1, .reusable = true}, SHIFT(662),
  [1272] = {.count = 1, .reusable = true}, SHIFT(661),
  [1274] = {.count = 1, .reusable = true}, SHIFT(663),
  [1276] = {.count = 1, .reusable = false}, SHIFT(665),
  [1278] = {.count = 1, .reusable = true}, SHIFT(665),
  [1280] = {.count = 1, .reusable = true}, SHIFT(664),
  [1282] = {.count = 1, .reusable = false}, SHIFT(666),
  [1284] = {.count = 1, .reusable = true}, SHIFT(667),
  [1286] = {.count = 1, .reusable = true}, SHIFT(666),
  [1288] = {.count = 1, .reusable = false}, SHIFT(670),
  [1290] = {.count = 1, .reusable = true}, SHIFT(670),
  [1292] = {.count = 1, .reusable = false}, SHIFT(673),
  [1294] = {.count = 1, .reusable = true}, SHIFT(674),
  [1296] = {.count = 1, .reusable = true}, SHIFT(673),
  [1298] = {.count = 1, .reusable = true}, SHIFT(677),
  [1300] = {.count = 1, .reusable = true}, REDUCE(sym_test_command, 3),
  [1302] = {.count = 1, .reusable = false}, REDUCE(sym_test_command, 3),
  [1304] = {.count = 1, .reusable = false}, SHIFT(678),
  [1306] = {.count = 1, .reusable = true}, SHIFT(678),
  [1308] = {.count = 1, .reusable = false}, SHIFT(679),
  [1310] = {.count = 1, .reusable = true}, SHIFT(679),
  [1312] = {.count = 1, .reusable = true}, SHIFT(680),
  [1314] = {.count = 1, .reusable = true}, SHIFT(683),
  [1316] = {.count = 1, .reusable = true}, REDUCE(sym_postfix_expression, 2),
  [1318] = {.count = 1, .reusable = false}, REDUCE(sym_postfix_expression, 2),
  [1320] = {.count = 1, .reusable = true}, SHIFT(684),
  [1322] = {.count = 1, .reusable = true}, SHIFT(685),
  [1324] = {.count = 1, .reusable = true}, SHIFT(686),
  [1326] = {.count = 1, .reusable = true}, SHIFT(688),
  [1328] = {.count = 1, .reusable = true}, SHIFT(690),
  [1330] = {.count = 1, .reusable = false}, SHIFT(692),
  [1332] = {.count = 1, .reusable = false}, SHIFT(694),
  [1334] = {.count = 1, .reusable = true}, SHIFT(696),
  [1336] = {.count = 1, .reusable = false}, SHIFT(697),
  [1338] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 3),
  [1340] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 3),
  [1342] = {.count = 1, .reusable = false}, SHIFT(703),
  [1344] = {.count = 1, .reusable = true}, SHIFT(703),
  [1346] = {.count = 1, .reusable = true}, SHIFT(704),
  [1348] = {.count = 1, .reusable = true}, SHIFT(705),
  [1350] = {.count = 1, .reusable = true}, SHIFT(706),
  [1352] = {.count = 1, .reusable = true}, SHIFT(707),
  [1354] = {.count = 1, .reusable = true}, SHIFT(708),
  [1356] = {.count = 1, .reusable = true}, SHIFT(709),
  [1358] = {.count = 1, .reusable = false}, SHIFT(714),
  [1360] = {.count = 1, .reusable = false}, SHIFT(715),
  [1362] = {.count = 1, .reusable = false}, SHIFT(716),
  [1364] = {.count = 1, .reusable = true}, SHIFT(720),
  [1366] = {.count = 1, .reusable = false}, SHIFT(721),
  [1368] = {.count = 1, .reusable = true}, SHIFT(721),
  [1370] = {.count = 1, .reusable = true}, SHIFT(722),
  [1372] = {.count = 1, .reusable = false}, SHIFT(724),
  [1374] = {.count = 1, .reusable = false}, SHIFT(725),
  [1376] = {.count = 1, .reusable = false}, SHIFT(726),
  [1378] = {.count = 1, .reusable = true}, SHIFT(726),
  [1380] = {.count = 1, .reusable = true}, SHIFT(727),
  [1382] = {.count = 1, .reusable = true}, SHIFT(728),
  [1384] = {.count = 1, .reusable = true}, SHIFT(729),
  [1386] = {.count = 1, .reusable = true}, SHIFT(730),
  [1388] = {.count = 1, .reusable = false}, SHIFT(731),
  [1390] = {.count = 1, .reusable = true}, SHIFT(731),
  [1392] = {.count = 1, .reusable = true}, SHIFT(732),
  [1394] = {.count = 1, .reusable = false}, SHIFT(734),
  [1396] = {.count = 1, .reusable = true}, SHIFT(734),
  [1398] = {.count = 1, .reusable = true}, SHIFT(733),
  [1400] = {.count = 1, .reusable = true}, SHIFT(735),
  [1402] = {.count = 1, .reusable = false}, SHIFT(737),
  [1404] = {.count = 1, .reusable = true}, SHIFT(737),
  [1406] = {.count = 1, .reusable = true}, SHIFT(736),
  [1408] = {.count = 1, .reusable = false}, SHIFT(738),
  [1410] = {.count = 1, .reusable = true}, SHIFT(739),
  [1412] = {.count = 1, .reusable = true}, SHIFT(738),
  [1414] = {.count = 1, .reusable = false}, SHIFT(742),
  [1416] = {.count = 1, .reusable = true}, SHIFT(742),
  [1418] = {.count = 1, .reusable = false}, SHIFT(745),
  [1420] = {.count = 1, .reusable = true}, SHIFT(746),
  [1422] = {.count = 1, .reusable = true}, SHIFT(745),
  [1424] = {.count = 1, .reusable = true}, SHIFT(749),
  [1426] = {.count = 1, .reusable = true}, SHIFT(750),
  [1428] = {.count = 1, .reusable = true}, SHIFT(754),
  [1430] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 3),
  [1432] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 3),
  [1434] = {.count = 1, .reusable = false}, SHIFT(755),
  [1436] = {.count = 1, .reusable = true}, SHIFT(755),
  [1438] = {.count = 1, .reusable = true}, SHIFT(757),
  [1440] = {.count = 1, .reusable = true}, SHIFT(758),
  [1442] = {.count = 1, .reusable = true}, SHIFT(759),
  [1444] = {.count = 1, .reusable = true}, SHIFT(761),
  [1446] = {.count = 1, .reusable = true}, SHIFT(763),
  [1448] = {.count = 1, .reusable = false}, SHIFT(765),
  [1450] = {.count = 1, .reusable = false}, SHIFT(767),
  [1452] = {.count = 1, .reusable = true}, SHIFT(769),
  [1454] = {.count = 1, .reusable = true}, SHIFT(770),
  [1456] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 3),
  [1458] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 3),
  [1460] = {.count = 1, .reusable = false}, SHIFT(773),
  [1462] = {.count = 1, .reusable = true}, SHIFT(773),
  [1464] = {.count = 1, .reusable = true}, SHIFT(774),
  [1466] = {.count = 1, .reusable = true}, SHIFT(775),
  [1468] = {.count = 1, .reusable = true}, SHIFT(776),
  [1470] = {.count = 1, .reusable = true}, SHIFT(777),
  [1472] = {.count = 1, .reusable = true}, SHIFT(778),
  [1474] = {.count = 1, .reusable = true}, SHIFT(779),
  [1476] = {.count = 1, .reusable = false}, SHIFT(783),
  [1478] = {.count = 1, .reusable = true}, SHIFT(783),
  [1480] = {.count = 1, .reusable = true}, SHIFT(785),
  [1482] = {.count = 1, .reusable = true}, SHIFT(786),
  [1484] = {.count = 1, .reusable = true}, SHIFT(787),
  [1486] = {.count = 1, .reusable = true}, SHIFT(788),
  [1488] = {.count = 1, .reusable = true}, SHIFT(789),
  [1490] = {.count = 1, .reusable = true}, SHIFT(790),
  [1492] = {.count = 1, .reusable = false}, SHIFT(792),
  [1494] = {.count = 1, .reusable = false}, SHIFT(793),
  [1496] = {.count = 1, .reusable = true}, SHIFT(794),
  [1498] = {.count = 1, .reusable = true}, SHIFT(795),
  [1500] = {.count = 1, .reusable = true}, SHIFT(796),
  [1502] = {.count = 1, .reusable = false}, SHIFT(797),
  [1504] = {.count = 1, .reusable = true}, SHIFT(797),
  [1506] = {.count = 1, .reusable = true}, SHIFT(798),
  [1508] = {.count = 1, .reusable = false}, SHIFT(800),
  [1510] = {.count = 1, .reusable = true}, SHIFT(800),
  [1512] = {.count = 1, .reusable = true}, SHIFT(799),
  [1514] = {.count = 1, .reusable = true}, SHIFT(801),
  [1516] = {.count = 1, .reusable = false}, SHIFT(803),
  [1518] = {.count = 1, .reusable = true}, SHIFT(803),
  [1520] = {.count = 1, .reusable = true}, SHIFT(802),
  [1522] = {.count = 1, .reusable = false}, SHIFT(804),
  [1524] = {.count = 1, .reusable = true}, SHIFT(805),
  [1526] = {.count = 1, .reusable = true}, SHIFT(804),
  [1528] = {.count = 1, .reusable = false}, SHIFT(808),
  [1530] = {.count = 1, .reusable = true}, SHIFT(808),
  [1532] = {.count = 1, .reusable = false}, SHIFT(811),
  [1534] = {.count = 1, .reusable = true}, SHIFT(812),
  [1536] = {.count = 1, .reusable = true}, SHIFT(811),
  [1538] = {.count = 1, .reusable = true}, SHIFT(816),
  [1540] = {.count = 1, .reusable = true}, SHIFT(818),
  [1542] = {.count = 1, .reusable = true}, SHIFT(819),
  [1544] = {.count = 1, .reusable = true}, SHIFT(820),
  [1546] = {.count = 1, .reusable = true}, SHIFT(821),
  [1548] = {.count = 1, .reusable = true}, SHIFT(822),
  [1550] = {.count = 1, .reusable = false}, SHIFT(824),
  [1552] = {.count = 1, .reusable = false}, SHIFT(825),
  [1554] = {.count = 1, .reusable = true}, SHIFT(826),
  [1556] = {.count = 1, .reusable = true}, SHIFT(827),
  [1558] = {.count = 1, .reusable = true}, SHIFT(828),
  [1560] = {.count = 1, .reusable = false}, SHIFT(829),
  [1562] = {.count = 1, .reusable = true}, SHIFT(829),
  [1564] = {.count = 1, .reusable = true}, SHIFT(830),
  [1566] = {.count = 1, .reusable = false}, SHIFT(832),
  [1568] = {.count = 1, .reusable = true}, SHIFT(832),
  [1570] = {.count = 1, .reusable = true}, SHIFT(831),
  [1572] = {.count = 1, .reusable = true}, SHIFT(833),
  [1574] = {.count = 1, .reusable = false}, SHIFT(835),
  [1576] = {.count = 1, .reusable = true}, SHIFT(835),
  [1578] = {.count = 1, .reusable = true}, SHIFT(834),
  [1580] = {.count = 1, .reusable = false}, SHIFT(836),
  [1582] = {.count = 1, .reusable = true}, SHIFT(837),
  [1584] = {.count = 1, .reusable = true}, SHIFT(836),
  [1586] = {.count = 1, .reusable = false}, SHIFT(840),
  [1588] = {.count = 1, .reusable = true}, SHIFT(840),
  [1590] = {.count = 1, .reusable = false}, SHIFT(843),
  [1592] = {.count = 1, .reusable = true}, SHIFT(844),
  [1594] = {.count = 1, .reusable = true}, SHIFT(843),
  [1596] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(115),
  [1599] = {.count = 1, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2),
  [1601] = {.count = 1, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2),
  [1603] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(116),
  [1606] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(117),
  [1609] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(118),
  [1612] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(119),
  [1615] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(120),
  [1618] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(121),
  [1621] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(122),
  [1624] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(123),
  [1627] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(411),
  [1630] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(119),
  [1633] = {.count = 1, .reusable = true}, SHIFT(847),
  [1635] = {.count = 1, .reusable = false}, SHIFT(849),
  [1637] = {.count = 1, .reusable = false}, SHIFT(850),
  [1639] = {.count = 1, .reusable = true}, SHIFT(851),
  [1641] = {.count = 1, .reusable = true}, SHIFT(852),
  [1643] = {.count = 1, .reusable = true}, SHIFT(853),
  [1645] = {.count = 1, .reusable = false}, SHIFT(854),
  [1647] = {.count = 1, .reusable = true}, SHIFT(854),
  [1649] = {.count = 1, .reusable = true}, SHIFT(855),
  [1651] = {.count = 1, .reusable = false}, SHIFT(857),
  [1653] = {.count = 1, .reusable = true}, SHIFT(857),
  [1655] = {.count = 1, .reusable = true}, SHIFT(856),
  [1657] = {.count = 1, .reusable = true}, SHIFT(858),
  [1659] = {.count = 1, .reusable = false}, SHIFT(860),
  [1661] = {.count = 1, .reusable = true}, SHIFT(860),
  [1663] = {.count = 1, .reusable = true}, SHIFT(859),
  [1665] = {.count = 1, .reusable = false}, SHIFT(861),
  [1667] = {.count = 1, .reusable = true}, SHIFT(862),
  [1669] = {.count = 1, .reusable = true}, SHIFT(861),
  [1671] = {.count = 1, .reusable = false}, SHIFT(865),
  [1673] = {.count = 1, .reusable = true}, SHIFT(865),
  [1675] = {.count = 1, .reusable = false}, SHIFT(868),
  [1677] = {.count = 1, .reusable = true}, SHIFT(869),
  [1679] = {.count = 1, .reusable = true}, SHIFT(868),
  [1681] = {.count = 1, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2),
  [1683] = {.count = 1, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2),
  [1685] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(126),
  [1688] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(127),
  [1691] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(128),
  [1694] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(129),
  [1697] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(130),
  [1700] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(131),
  [1703] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(132),
  [1706] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(133),
  [1709] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(433),
  [1712] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(129),
  [1715] = {.count = 1, .reusable = true}, SHIFT(872),
  [1717] = {.count = 1, .reusable = false}, SHIFT(874),
  [1719] = {.count = 1, .reusable = false}, SHIFT(875),
  [1721] = {.count = 1, .reusable = true}, SHIFT(876),
  [1723] = {.count = 1, .reusable = true}, SHIFT(877),
  [1725] = {.count = 1, .reusable = true}, SHIFT(878),
  [1727] = {.count = 1, .reusable = false}, SHIFT(879),
  [1729] = {.count = 1, .reusable = true}, SHIFT(879),
  [1731] = {.count = 1, .reusable = true}, SHIFT(880),
  [1733] = {.count = 1, .reusable = false}, SHIFT(882),
  [1735] = {.count = 1, .reusable = true}, SHIFT(882),
  [1737] = {.count = 1, .reusable = true}, SHIFT(881),
  [1739] = {.count = 1, .reusable = true}, SHIFT(883),
  [1741] = {.count = 1, .reusable = false}, SHIFT(885),
  [1743] = {.count = 1, .reusable = true}, SHIFT(885),
  [1745] = {.count = 1, .reusable = true}, SHIFT(884),
  [1747] = {.count = 1, .reusable = false}, SHIFT(886),
  [1749] = {.count = 1, .reusable = true}, SHIFT(887),
  [1751] = {.count = 1, .reusable = true}, SHIFT(886),
  [1753] = {.count = 1, .reusable = false}, SHIFT(890),
  [1755] = {.count = 1, .reusable = true}, SHIFT(890),
  [1757] = {.count = 1, .reusable = false}, SHIFT(893),
  [1759] = {.count = 1, .reusable = true}, SHIFT(894),
  [1761] = {.count = 1, .reusable = true}, SHIFT(893),
  [1763] = {.count = 1, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2),
  [1765] = {.count = 1, .reusable = false}, REDUCE(aux_sym_concatenation_repeat1, 2),
  [1767] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(144),
  [1770] = {.count = 1, .reusable = true}, REDUCE(sym_string, 3),
  [1772] = {.count = 1, .reusable = false}, REDUCE(sym_string, 3),
  [1774] = {.count = 1, .reusable = true}, SHIFT(897),
  [1776] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2),
  [1778] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 2),
  [1780] = {.count = 1, .reusable = true}, SHIFT(898),
  [1782] = {.count = 1, .reusable = true}, SHIFT(899),
  [1784] = {.count = 1, .reusable = true}, SHIFT(900),
  [1786] = {.count = 1, .reusable = false}, SHIFT(901),
  [1788] = {.count = 1, .reusable = true}, SHIFT(901),
  [1790] = {.count = 1, .reusable = true}, SHIFT(902),
  [1792] = {.count = 1, .reusable = false}, SHIFT(904),
  [1794] = {.count = 1, .reusable = true}, SHIFT(904),
  [1796] = {.count = 1, .reusable = true}, SHIFT(903),
  [1798] = {.count = 1, .reusable = true}, SHIFT(905),
  [1800] = {.count = 1, .reusable = false}, SHIFT(907),
  [1802] = {.count = 1, .reusable = true}, SHIFT(907),
  [1804] = {.count = 1, .reusable = true}, SHIFT(906),
  [1806] = {.count = 1, .reusable = false}, SHIFT(908),
  [1808] = {.count = 1, .reusable = true}, SHIFT(909),
  [1810] = {.count = 1, .reusable = true}, SHIFT(908),
  [1812] = {.count = 1, .reusable = false}, SHIFT(912),
  [1814] = {.count = 1, .reusable = true}, SHIFT(912),
  [1816] = {.count = 1, .reusable = false}, SHIFT(915),
  [1818] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(916),
  [1821] = {.count = 2, .reusable = true}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(148),
  [1824] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(149),
  [1827] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(150),
  [1830] = {.count = 2, .reusable = false}, REDUCE(aux_sym_string_repeat1, 2), SHIFT_REPEAT(151),
  [1833] = {.count = 1, .reusable = true}, SHIFT(917),
  [1835] = {.count = 1, .reusable = true}, SHIFT(918),
  [1837] = {.count = 1, .reusable = true}, SHIFT(920),
  [1839] = {.count = 1, .reusable = false}, SHIFT(921),
  [1841] = {.count = 1, .reusable = true}, SHIFT(922),
  [1843] = {.count = 1, .reusable = false}, SHIFT(923),
  [1845] = {.count = 1, .reusable = true}, SHIFT(924),
  [1847] = {.count = 1, .reusable = true}, SHIFT(925),
  [1849] = {.count = 1, .reusable = true}, SHIFT(926),
  [1851] = {.count = 1, .reusable = true}, SHIFT(927),
  [1853] = {.count = 1, .reusable = true}, SHIFT(928),
  [1855] = {.count = 1, .reusable = true}, SHIFT(930),
  [1857] = {.count = 1, .reusable = true}, SHIFT(931),
  [1859] = {.count = 1, .reusable = false}, SHIFT(933),
  [1861] = {.count = 1, .reusable = true}, SHIFT(933),
  [1863] = {.count = 1, .reusable = true}, SHIFT(932),
  [1865] = {.count = 1, .reusable = false}, SHIFT(935),
  [1867] = {.count = 1, .reusable = true}, SHIFT(935),
  [1869] = {.count = 1, .reusable = true}, SHIFT(934),
  [1871] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 3, .alias_sequence_id = 3),
  [1873] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 3, .alias_sequence_id = 3),
  [1875] = {.count = 1, .reusable = true}, SHIFT(936),
  [1877] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 1, .alias_sequence_id = 1),
  [1879] = {.count = 1, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 1, .alias_sequence_id = 1),
  [1881] = {.count = 1, .reusable = false}, SHIFT(938),
  [1883] = {.count = 1, .reusable = false}, SHIFT(939),
  [1885] = {.count = 1, .reusable = true}, SHIFT(941),
  [1887] = {.count = 1, .reusable = true}, SHIFT(942),
  [1889] = {.count = 1, .reusable = false}, SHIFT(943),
  [1891] = {.count = 1, .reusable = true}, SHIFT(943),
  [1893] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 1),
  [1895] = {.count = 1, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 1),
  [1897] = {.count = 1, .reusable = true}, SHIFT(944),
  [1899] = {.count = 1, .reusable = true}, SHIFT(945),
  [1901] = {.count = 1, .reusable = true}, SHIFT(946),
  [1903] = {.count = 1, .reusable = false}, SHIFT(947),
  [1905] = {.count = 1, .reusable = true}, SHIFT(947),
  [1907] = {.count = 1, .reusable = true}, SHIFT(948),
  [1909] = {.count = 1, .reusable = true}, SHIFT(949),
  [1911] = {.count = 1, .reusable = false}, SHIFT(950),
  [1913] = {.count = 1, .reusable = true}, SHIFT(950),
  [1915] = {.count = 1, .reusable = false}, SHIFT(960),
  [1917] = {.count = 1, .reusable = true}, SHIFT(960),
  [1919] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 3),
  [1921] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 3),
  [1923] = {.count = 1, .reusable = true}, SHIFT(961),
  [1925] = {.count = 1, .reusable = true}, SHIFT(962),
  [1927] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 3),
  [1929] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 3),
  [1931] = {.count = 1, .reusable = false}, SHIFT(963),
  [1933] = {.count = 1, .reusable = true}, SHIFT(963),
  [1935] = {.count = 1, .reusable = true}, SHIFT(964),
  [1937] = {.count = 1, .reusable = true}, SHIFT(966),
  [1939] = {.count = 1, .reusable = true}, SHIFT(968),
  [1941] = {.count = 1, .reusable = false}, SHIFT(972),
  [1943] = {.count = 1, .reusable = true}, SHIFT(972),
  [1945] = {.count = 1, .reusable = true}, SHIFT(973),
  [1947] = {.count = 1, .reusable = true}, SHIFT(974),
  [1949] = {.count = 1, .reusable = true}, SHIFT(975),
  [1951] = {.count = 1, .reusable = true}, SHIFT(976),
  [1953] = {.count = 1, .reusable = false}, SHIFT(979),
  [1955] = {.count = 1, .reusable = true}, SHIFT(979),
  [1957] = {.count = 1, .reusable = true}, SHIFT(981),
  [1959] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 3),
  [1961] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 3),
  [1963] = {.count = 1, .reusable = false}, SHIFT(982),
  [1965] = {.count = 1, .reusable = true}, SHIFT(982),
  [1967] = {.count = 1, .reusable = true}, REDUCE(sym_pipeline, 3),
  [1969] = {.count = 1, .reusable = false}, REDUCE(sym_pipeline, 3),
  [1971] = {.count = 1, .reusable = true}, REDUCE(sym_list, 3),
  [1973] = {.count = 1, .reusable = false}, REDUCE(sym_list, 3),
  [1975] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 2),
  [1977] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 2),
  [1979] = {.count = 1, .reusable = true}, SHIFT(984),
  [1981] = {.count = 1, .reusable = false}, SHIFT(985),
  [1983] = {.count = 1, .reusable = true}, SHIFT(985),
  [1985] = {.count = 1, .reusable = true}, SHIFT(986),
  [1987] = {.count = 1, .reusable = true}, SHIFT(987),
  [1989] = {.count = 1, .reusable = true}, SHIFT(988),
  [1991] = {.count = 1, .reusable = false}, SHIFT(989),
  [1993] = {.count = 1, .reusable = true}, SHIFT(989),
  [1995] = {.count = 1, .reusable = true}, SHIFT(991),
  [1997] = {.count = 1, .reusable = true}, SHIFT(990),
  [1999] = {.count = 1, .reusable = true}, SHIFT(992),
  [2001] = {.count = 1, .reusable = true}, SHIFT(993),
  [2003] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2),
  [2005] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2),
  [2007] = {.count = 1, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2, .alias_sequence_id = 2),
  [2009] = {.count = 1, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2, .alias_sequence_id = 2),
  [2011] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_redirect, 2),
  [2013] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_redirect, 2),
  [2015] = {.count = 1, .reusable = true}, REDUCE(sym_herestring_redirect, 2, .alias_sequence_id = 2),
  [2017] = {.count = 1, .reusable = false}, REDUCE(sym_herestring_redirect, 2, .alias_sequence_id = 2),
  [2019] = {.count = 1, .reusable = true}, REDUCE(sym_herestring_redirect, 2),
  [2021] = {.count = 1, .reusable = false}, REDUCE(sym_herestring_redirect, 2),
  [2023] = {.count = 1, .reusable = true}, REDUCE(sym_command, 3),
  [2025] = {.count = 1, .reusable = false}, REDUCE(sym_command, 3),
  [2027] = {.count = 1, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2),
  [2029] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(186),
  [2032] = {.count = 1, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2),
  [2034] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(188),
  [2037] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(188),
  [2040] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(189),
  [2043] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(189),
  [2046] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(190),
  [2049] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(187),
  [2052] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(191),
  [2055] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(18),
  [2058] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(19),
  [2061] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(192),
  [2064] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(21),
  [2067] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(22),
  [2070] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(23),
  [2073] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(24),
  [2076] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(192),
  [2079] = {.count = 1, .reusable = true}, REDUCE(sym_program, 3),
  [2081] = {.count = 1, .reusable = false}, SHIFT(997),
  [2083] = {.count = 1, .reusable = true}, SHIFT(997),
  [2085] = {.count = 1, .reusable = true}, SHIFT(999),
  [2087] = {.count = 1, .reusable = false}, SHIFT(790),
  [2089] = {.count = 1, .reusable = true}, SHIFT(1000),
  [2091] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 4, .alias_sequence_id = 4),
  [2093] = {.count = 1, .reusable = true}, SHIFT(1002),
  [2095] = {.count = 1, .reusable = true}, SHIFT(1003),
  [2097] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 4),
  [2099] = {.count = 1, .reusable = true}, REDUCE(sym_array, 2),
  [2101] = {.count = 1, .reusable = false}, REDUCE(sym_array, 2),
  [2103] = {.count = 1, .reusable = true}, SHIFT(1004),
  [2105] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 1, .alias_sequence_id = 1),
  [2107] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 1, .alias_sequence_id = 1),
  [2109] = {.count = 1, .reusable = false}, SHIFT(1006),
  [2111] = {.count = 1, .reusable = false}, SHIFT(1007),
  [2113] = {.count = 1, .reusable = true}, SHIFT(1009),
  [2115] = {.count = 1, .reusable = true}, SHIFT(1010),
  [2117] = {.count = 1, .reusable = false}, SHIFT(1011),
  [2119] = {.count = 1, .reusable = true}, SHIFT(1011),
  [2121] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 1),
  [2123] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 1),
  [2125] = {.count = 1, .reusable = true}, SHIFT(1012),
  [2127] = {.count = 1, .reusable = true}, SHIFT(1013),
  [2129] = {.count = 1, .reusable = true}, SHIFT(1014),
  [2131] = {.count = 1, .reusable = false}, SHIFT(1015),
  [2133] = {.count = 1, .reusable = true}, SHIFT(1015),
  [2135] = {.count = 1, .reusable = true}, SHIFT(1025),
  [2137] = {.count = 1, .reusable = true}, SHIFT(1027),
  [2139] = {.count = 1, .reusable = false}, SHIFT(1029),
  [2141] = {.count = 1, .reusable = false}, SHIFT(1030),
  [2143] = {.count = 1, .reusable = true}, SHIFT(1031),
  [2145] = {.count = 1, .reusable = true}, SHIFT(1032),
  [2147] = {.count = 1, .reusable = true}, SHIFT(1033),
  [2149] = {.count = 1, .reusable = false}, SHIFT(1034),
  [2151] = {.count = 1, .reusable = true}, SHIFT(1034),
  [2153] = {.count = 1, .reusable = true}, SHIFT(1035),
  [2155] = {.count = 1, .reusable = false}, SHIFT(1037),
  [2157] = {.count = 1, .reusable = true}, SHIFT(1037),
  [2159] = {.count = 1, .reusable = true}, SHIFT(1036),
  [2161] = {.count = 1, .reusable = true}, SHIFT(1038),
  [2163] = {.count = 1, .reusable = false}, SHIFT(1040),
  [2165] = {.count = 1, .reusable = true}, SHIFT(1040),
  [2167] = {.count = 1, .reusable = true}, SHIFT(1039),
  [2169] = {.count = 1, .reusable = false}, SHIFT(1041),
  [2171] = {.count = 1, .reusable = true}, SHIFT(1042),
  [2173] = {.count = 1, .reusable = true}, SHIFT(1041),
  [2175] = {.count = 1, .reusable = false}, SHIFT(1045),
  [2177] = {.count = 1, .reusable = true}, SHIFT(1045),
  [2179] = {.count = 1, .reusable = false}, SHIFT(1048),
  [2181] = {.count = 1, .reusable = true}, SHIFT(1049),
  [2183] = {.count = 1, .reusable = true}, SHIFT(1048),
  [2185] = {.count = 1, .reusable = true}, SHIFT(1052),
  [2187] = {.count = 1, .reusable = false}, SHIFT(1054),
  [2189] = {.count = 1, .reusable = true}, SHIFT(1054),
  [2191] = {.count = 1, .reusable = true}, SHIFT(1055),
  [2193] = {.count = 1, .reusable = false}, REDUCE(sym_unary_expression, 2),
  [2195] = {.count = 1, .reusable = true}, SHIFT(1056),
  [2197] = {.count = 1, .reusable = false}, SHIFT(1058),
  [2199] = {.count = 1, .reusable = false}, SHIFT(1059),
  [2201] = {.count = 1, .reusable = true}, SHIFT(1060),
  [2203] = {.count = 1, .reusable = true}, SHIFT(1061),
  [2205] = {.count = 1, .reusable = true}, SHIFT(1062),
  [2207] = {.count = 1, .reusable = false}, SHIFT(1063),
  [2209] = {.count = 1, .reusable = true}, SHIFT(1063),
  [2211] = {.count = 1, .reusable = true}, SHIFT(1064),
  [2213] = {.count = 1, .reusable = false}, SHIFT(1066),
  [2215] = {.count = 1, .reusable = true}, SHIFT(1066),
  [2217] = {.count = 1, .reusable = true}, SHIFT(1065),
  [2219] = {.count = 1, .reusable = true}, SHIFT(1067),
  [2221] = {.count = 1, .reusable = false}, SHIFT(1069),
  [2223] = {.count = 1, .reusable = true}, SHIFT(1069),
  [2225] = {.count = 1, .reusable = true}, SHIFT(1068),
  [2227] = {.count = 1, .reusable = false}, SHIFT(1070),
  [2229] = {.count = 1, .reusable = true}, SHIFT(1071),
  [2231] = {.count = 1, .reusable = true}, SHIFT(1070),
  [2233] = {.count = 1, .reusable = false}, SHIFT(1074),
  [2235] = {.count = 1, .reusable = true}, SHIFT(1074),
  [2237] = {.count = 1, .reusable = false}, SHIFT(1077),
  [2239] = {.count = 1, .reusable = true}, SHIFT(1078),
  [2241] = {.count = 1, .reusable = true}, SHIFT(1077),
  [2243] = {.count = 1, .reusable = true}, SHIFT(1083),
  [2245] = {.count = 1, .reusable = true}, SHIFT(1084),
  [2247] = {.count = 1, .reusable = false}, SHIFT(1086),
  [2249] = {.count = 1, .reusable = false}, SHIFT(1087),
  [2251] = {.count = 1, .reusable = true}, SHIFT(1089),
  [2253] = {.count = 1, .reusable = true}, SHIFT(1090),
  [2255] = {.count = 1, .reusable = false}, SHIFT(1091),
  [2257] = {.count = 1, .reusable = true}, SHIFT(1091),
  [2259] = {.count = 1, .reusable = true}, SHIFT(1092),
  [2261] = {.count = 1, .reusable = true}, SHIFT(1093),
  [2263] = {.count = 1, .reusable = true}, SHIFT(1094),
  [2265] = {.count = 1, .reusable = false}, SHIFT(1095),
  [2267] = {.count = 1, .reusable = true}, SHIFT(1095),
  [2269] = {.count = 1, .reusable = false}, SHIFT(1105),
  [2271] = {.count = 1, .reusable = true}, SHIFT(1105),
  [2273] = {.count = 1, .reusable = false}, SHIFT(617),
  [2275] = {.count = 1, .reusable = false}, SHIFT(1107),
  [2277] = {.count = 1, .reusable = true}, REDUCE(sym_for_statement, 4),
  [2279] = {.count = 1, .reusable = false}, REDUCE(sym_for_statement, 4),
  [2281] = {.count = 1, .reusable = true}, SHIFT(1109),
  [2283] = {.count = 1, .reusable = true}, SHIFT(1110),
  [2285] = {.count = 1, .reusable = false}, SHIFT(1112),
  [2287] = {.count = 1, .reusable = false}, SHIFT(1113),
  [2289] = {.count = 1, .reusable = true}, SHIFT(1114),
  [2291] = {.count = 1, .reusable = true}, SHIFT(1115),
  [2293] = {.count = 1, .reusable = true}, SHIFT(1116),
  [2295] = {.count = 1, .reusable = false}, SHIFT(1117),
  [2297] = {.count = 1, .reusable = true}, SHIFT(1117),
  [2299] = {.count = 1, .reusable = true}, SHIFT(1118),
  [2301] = {.count = 1, .reusable = false}, SHIFT(1120),
  [2303] = {.count = 1, .reusable = true}, SHIFT(1120),
  [2305] = {.count = 1, .reusable = true}, SHIFT(1119),
  [2307] = {.count = 1, .reusable = true}, SHIFT(1121),
  [2309] = {.count = 1, .reusable = false}, SHIFT(1123),
  [2311] = {.count = 1, .reusable = true}, SHIFT(1123),
  [2313] = {.count = 1, .reusable = true}, SHIFT(1122),
  [2315] = {.count = 1, .reusable = false}, SHIFT(1124),
  [2317] = {.count = 1, .reusable = true}, SHIFT(1125),
  [2319] = {.count = 1, .reusable = true}, SHIFT(1124),
  [2321] = {.count = 1, .reusable = false}, SHIFT(1128),
  [2323] = {.count = 1, .reusable = true}, SHIFT(1128),
  [2325] = {.count = 1, .reusable = false}, SHIFT(1131),
  [2327] = {.count = 1, .reusable = true}, SHIFT(1132),
  [2329] = {.count = 1, .reusable = true}, SHIFT(1131),
  [2331] = {.count = 1, .reusable = true}, REDUCE(sym_parenthesized_expression, 3),
  [2333] = {.count = 1, .reusable = false}, REDUCE(sym_parenthesized_expression, 3),
  [2335] = {.count = 1, .reusable = true}, SHIFT(1136),
  [2337] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(243),
  [2340] = {.count = 1, .reusable = false}, SHIFT(1137),
  [2342] = {.count = 1, .reusable = true}, SHIFT(1138),
  [2344] = {.count = 1, .reusable = false}, SHIFT(1139),
  [2346] = {.count = 1, .reusable = true}, SHIFT(1140),
  [2348] = {.count = 1, .reusable = true}, SHIFT(1142),
  [2350] = {.count = 1, .reusable = true}, SHIFT(1143),
  [2352] = {.count = 1, .reusable = false}, SHIFT(1145),
  [2354] = {.count = 1, .reusable = true}, SHIFT(1145),
  [2356] = {.count = 1, .reusable = true}, SHIFT(1144),
  [2358] = {.count = 1, .reusable = false}, SHIFT(1147),
  [2360] = {.count = 1, .reusable = true}, SHIFT(1147),
  [2362] = {.count = 1, .reusable = true}, SHIFT(1146),
  [2364] = {.count = 1, .reusable = true}, SHIFT(1148),
  [2366] = {.count = 1, .reusable = true}, SHIFT(1149),
  [2368] = {.count = 1, .reusable = false}, SHIFT(1150),
  [2370] = {.count = 1, .reusable = true}, SHIFT(1150),
  [2372] = {.count = 1, .reusable = true}, SHIFT(1151),
  [2374] = {.count = 1, .reusable = true}, SHIFT(1152),
  [2376] = {.count = 1, .reusable = false}, SHIFT(1153),
  [2378] = {.count = 1, .reusable = true}, SHIFT(1153),
  [2380] = {.count = 1, .reusable = false}, SHIFT(1154),
  [2382] = {.count = 1, .reusable = true}, SHIFT(1154),
  [2384] = {.count = 1, .reusable = true}, SHIFT(1155),
  [2386] = {.count = 1, .reusable = false}, SHIFT(1156),
  [2388] = {.count = 1, .reusable = true}, SHIFT(1156),
  [2390] = {.count = 1, .reusable = false}, SHIFT(1157),
  [2392] = {.count = 1, .reusable = true}, SHIFT(1157),
  [2394] = {.count = 1, .reusable = true}, SHIFT(1158),
  [2396] = {.count = 1, .reusable = true}, SHIFT(1159),
  [2398] = {.count = 1, .reusable = false}, SHIFT(1160),
  [2400] = {.count = 1, .reusable = true}, SHIFT(1161),
  [2402] = {.count = 1, .reusable = true}, SHIFT(1162),
  [2404] = {.count = 1, .reusable = true}, SHIFT(1163),
  [2406] = {.count = 1, .reusable = true}, SHIFT(1164),
  [2408] = {.count = 1, .reusable = true}, SHIFT(1165),
  [2410] = {.count = 1, .reusable = true}, SHIFT(1167),
  [2412] = {.count = 1, .reusable = true}, SHIFT(1168),
  [2414] = {.count = 1, .reusable = true}, SHIFT(1169),
  [2416] = {.count = 1, .reusable = true}, REDUCE(sym_test_command, 4),
  [2418] = {.count = 1, .reusable = false}, REDUCE(sym_test_command, 4),
  [2420] = {.count = 1, .reusable = true}, REDUCE(sym_binary_expression, 3),
  [2422] = {.count = 1, .reusable = false}, REDUCE(sym_binary_expression, 3),
  [2424] = {.count = 1, .reusable = true}, SHIFT(1173),
  [2426] = {.count = 1, .reusable = false}, SHIFT(1174),
  [2428] = {.count = 1, .reusable = true}, SHIFT(1174),
  [2430] = {.count = 1, .reusable = true}, SHIFT(1175),
  [2432] = {.count = 1, .reusable = true}, SHIFT(1178),
  [2434] = {.count = 1, .reusable = true}, SHIFT(1179),
  [2436] = {.count = 1, .reusable = false}, SHIFT(1180),
  [2438] = {.count = 1, .reusable = true}, SHIFT(1180),
  [2440] = {.count = 1, .reusable = true}, SHIFT(1181),
  [2442] = {.count = 1, .reusable = true}, SHIFT(1182),
  [2444] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(274),
  [2447] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(275),
  [2450] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(276),
  [2453] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(692),
  [2456] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(276),
  [2459] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(279),
  [2462] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(280),
  [2465] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(694),
  [2468] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(280),
  [2471] = {.count = 1, .reusable = true}, REDUCE(sym_do_group, 2),
  [2473] = {.count = 1, .reusable = false}, REDUCE(sym_do_group, 2),
  [2475] = {.count = 1, .reusable = false}, SHIFT(1186),
  [2477] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 4),
  [2479] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 4),
  [2481] = {.count = 1, .reusable = true}, SHIFT(1189),
  [2483] = {.count = 1, .reusable = true}, SHIFT(1190),
  [2485] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(289),
  [2488] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(291),
  [2491] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(291),
  [2494] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(292),
  [2497] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(290),
  [2500] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(293),
  [2503] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(294),
  [2506] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(294),
  [2509] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 4),
  [2511] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 4),
  [2513] = {.count = 1, .reusable = false}, REDUCE(sym_else_clause, 1),
  [2515] = {.count = 1, .reusable = true}, SHIFT(1195),
  [2517] = {.count = 1, .reusable = false}, SHIFT(1195),
  [2519] = {.count = 1, .reusable = true}, SHIFT(715),
  [2521] = {.count = 1, .reusable = true}, SHIFT(716),
  [2523] = {.count = 1, .reusable = false}, SHIFT(1200),
  [2525] = {.count = 1, .reusable = true}, SHIFT(1201),
  [2527] = {.count = 1, .reusable = true}, SHIFT(1202),
  [2529] = {.count = 1, .reusable = false}, SHIFT(1202),
  [2531] = {.count = 1, .reusable = false}, SHIFT(1206),
  [2533] = {.count = 1, .reusable = true}, SHIFT(1206),
  [2535] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(299),
  [2538] = {.count = 1, .reusable = false}, SHIFT(1207),
  [2540] = {.count = 1, .reusable = false}, SHIFT(1208),
  [2542] = {.count = 1, .reusable = false}, SHIFT(1211),
  [2544] = {.count = 1, .reusable = true}, SHIFT(1211),
  [2546] = {.count = 1, .reusable = true}, SHIFT(1212),
  [2548] = {.count = 1, .reusable = false}, SHIFT(1213),
  [2550] = {.count = 1, .reusable = true}, SHIFT(1214),
  [2552] = {.count = 1, .reusable = true}, SHIFT(1216),
  [2554] = {.count = 1, .reusable = true}, SHIFT(1217),
  [2556] = {.count = 1, .reusable = false}, SHIFT(1219),
  [2558] = {.count = 1, .reusable = true}, SHIFT(1219),
  [2560] = {.count = 1, .reusable = true}, SHIFT(1218),
  [2562] = {.count = 1, .reusable = false}, SHIFT(1221),
  [2564] = {.count = 1, .reusable = true}, SHIFT(1221),
  [2566] = {.count = 1, .reusable = true}, SHIFT(1220),
  [2568] = {.count = 1, .reusable = true}, SHIFT(1222),
  [2570] = {.count = 1, .reusable = true}, SHIFT(1223),
  [2572] = {.count = 1, .reusable = false}, SHIFT(1224),
  [2574] = {.count = 1, .reusable = true}, SHIFT(1224),
  [2576] = {.count = 1, .reusable = true}, SHIFT(1225),
  [2578] = {.count = 1, .reusable = true}, SHIFT(1226),
  [2580] = {.count = 1, .reusable = false}, SHIFT(1227),
  [2582] = {.count = 1, .reusable = true}, SHIFT(1227),
  [2584] = {.count = 1, .reusable = false}, SHIFT(1228),
  [2586] = {.count = 1, .reusable = true}, SHIFT(1228),
  [2588] = {.count = 1, .reusable = true}, SHIFT(1229),
  [2590] = {.count = 1, .reusable = false}, SHIFT(1230),
  [2592] = {.count = 1, .reusable = true}, SHIFT(1230),
  [2594] = {.count = 1, .reusable = true}, REDUCE(sym_compound_statement, 2),
  [2596] = {.count = 1, .reusable = false}, REDUCE(sym_compound_statement, 2),
  [2598] = {.count = 1, .reusable = false}, SHIFT(1232),
  [2600] = {.count = 1, .reusable = true}, SHIFT(1232),
  [2602] = {.count = 1, .reusable = true}, SHIFT(1233),
  [2604] = {.count = 1, .reusable = false}, SHIFT(1235),
  [2606] = {.count = 1, .reusable = true}, SHIFT(1235),
  [2608] = {.count = 1, .reusable = true}, SHIFT(1236),
  [2610] = {.count = 1, .reusable = true}, SHIFT(1237),
  [2612] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 4),
  [2614] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 4),
  [2616] = {.count = 1, .reusable = true}, SHIFT(1240),
  [2618] = {.count = 1, .reusable = false}, SHIFT(1241),
  [2620] = {.count = 1, .reusable = true}, SHIFT(1241),
  [2622] = {.count = 1, .reusable = true}, SHIFT(1242),
  [2624] = {.count = 1, .reusable = true}, SHIFT(1245),
  [2626] = {.count = 1, .reusable = true}, SHIFT(1246),
  [2628] = {.count = 1, .reusable = false}, SHIFT(1247),
  [2630] = {.count = 1, .reusable = true}, SHIFT(1247),
  [2632] = {.count = 1, .reusable = true}, SHIFT(1248),
  [2634] = {.count = 1, .reusable = true}, SHIFT(1249),
  [2636] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(333),
  [2639] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(334),
  [2642] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(335),
  [2645] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(765),
  [2648] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(335),
  [2651] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(338),
  [2654] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(339),
  [2657] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(767),
  [2660] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(339),
  [2663] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 4),
  [2665] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 4),
  [2667] = {.count = 1, .reusable = true}, SHIFT(1253),
  [2669] = {.count = 1, .reusable = true}, SHIFT(1254),
  [2671] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(347),
  [2674] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(349),
  [2677] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(349),
  [2680] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(350),
  [2683] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(348),
  [2686] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(351),
  [2689] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(352),
  [2692] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(352),
  [2695] = {.count = 1, .reusable = true}, SHIFT(1256),
  [2697] = {.count = 1, .reusable = true}, SHIFT(1258),
  [2699] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(361),
  [2702] = {.count = 1, .reusable = false}, SHIFT(1260),
  [2704] = {.count = 1, .reusable = true}, SHIFT(1261),
  [2706] = {.count = 1, .reusable = false}, SHIFT(1262),
  [2708] = {.count = 1, .reusable = true}, SHIFT(1263),
  [2710] = {.count = 1, .reusable = true}, SHIFT(1265),
  [2712] = {.count = 1, .reusable = true}, SHIFT(1266),
  [2714] = {.count = 1, .reusable = false}, SHIFT(1268),
  [2716] = {.count = 1, .reusable = true}, SHIFT(1268),
  [2718] = {.count = 1, .reusable = true}, SHIFT(1267),
  [2720] = {.count = 1, .reusable = false}, SHIFT(1270),
  [2722] = {.count = 1, .reusable = true}, SHIFT(1270),
  [2724] = {.count = 1, .reusable = true}, SHIFT(1269),
  [2726] = {.count = 1, .reusable = true}, SHIFT(1271),
  [2728] = {.count = 1, .reusable = true}, SHIFT(1272),
  [2730] = {.count = 1, .reusable = false}, SHIFT(1273),
  [2732] = {.count = 1, .reusable = true}, SHIFT(1273),
  [2734] = {.count = 1, .reusable = true}, SHIFT(1274),
  [2736] = {.count = 1, .reusable = true}, SHIFT(1275),
  [2738] = {.count = 1, .reusable = false}, SHIFT(1276),
  [2740] = {.count = 1, .reusable = true}, SHIFT(1276),
  [2742] = {.count = 1, .reusable = false}, SHIFT(1277),
  [2744] = {.count = 1, .reusable = true}, SHIFT(1277),
  [2746] = {.count = 1, .reusable = true}, SHIFT(1278),
  [2748] = {.count = 1, .reusable = false}, SHIFT(1279),
  [2750] = {.count = 1, .reusable = true}, SHIFT(1279),
  [2752] = {.count = 1, .reusable = true}, SHIFT(1280),
  [2754] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(390),
  [2757] = {.count = 1, .reusable = false}, SHIFT(1282),
  [2759] = {.count = 1, .reusable = true}, SHIFT(1283),
  [2761] = {.count = 1, .reusable = false}, SHIFT(1284),
  [2763] = {.count = 1, .reusable = true}, SHIFT(1285),
  [2765] = {.count = 1, .reusable = true}, SHIFT(1287),
  [2767] = {.count = 1, .reusable = true}, SHIFT(1288),
  [2769] = {.count = 1, .reusable = false}, SHIFT(1290),
  [2771] = {.count = 1, .reusable = true}, SHIFT(1290),
  [2773] = {.count = 1, .reusable = true}, SHIFT(1289),
  [2775] = {.count = 1, .reusable = false}, SHIFT(1292),
  [2777] = {.count = 1, .reusable = true}, SHIFT(1292),
  [2779] = {.count = 1, .reusable = true}, SHIFT(1291),
  [2781] = {.count = 1, .reusable = true}, SHIFT(1293),
  [2783] = {.count = 1, .reusable = true}, SHIFT(1294),
  [2785] = {.count = 1, .reusable = false}, SHIFT(1295),
  [2787] = {.count = 1, .reusable = true}, SHIFT(1295),
  [2789] = {.count = 1, .reusable = true}, SHIFT(1296),
  [2791] = {.count = 1, .reusable = true}, SHIFT(1297),
  [2793] = {.count = 1, .reusable = false}, SHIFT(1298),
  [2795] = {.count = 1, .reusable = true}, SHIFT(1298),
  [2797] = {.count = 1, .reusable = false}, SHIFT(1299),
  [2799] = {.count = 1, .reusable = true}, SHIFT(1299),
  [2801] = {.count = 1, .reusable = true}, SHIFT(1300),
  [2803] = {.count = 1, .reusable = false}, SHIFT(1301),
  [2805] = {.count = 1, .reusable = true}, SHIFT(1301),
  [2807] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(412),
  [2810] = {.count = 1, .reusable = false}, SHIFT(1302),
  [2812] = {.count = 1, .reusable = true}, SHIFT(1303),
  [2814] = {.count = 1, .reusable = false}, SHIFT(1304),
  [2816] = {.count = 1, .reusable = true}, SHIFT(1305),
  [2818] = {.count = 1, .reusable = true}, SHIFT(1307),
  [2820] = {.count = 1, .reusable = true}, SHIFT(1308),
  [2822] = {.count = 1, .reusable = false}, SHIFT(1310),
  [2824] = {.count = 1, .reusable = true}, SHIFT(1310),
  [2826] = {.count = 1, .reusable = true}, SHIFT(1309),
  [2828] = {.count = 1, .reusable = false}, SHIFT(1312),
  [2830] = {.count = 1, .reusable = true}, SHIFT(1312),
  [2832] = {.count = 1, .reusable = true}, SHIFT(1311),
  [2834] = {.count = 1, .reusable = true}, SHIFT(1313),
  [2836] = {.count = 1, .reusable = true}, SHIFT(1314),
  [2838] = {.count = 1, .reusable = false}, SHIFT(1315),
  [2840] = {.count = 1, .reusable = true}, SHIFT(1315),
  [2842] = {.count = 1, .reusable = true}, SHIFT(1316),
  [2844] = {.count = 1, .reusable = true}, SHIFT(1317),
  [2846] = {.count = 1, .reusable = false}, SHIFT(1318),
  [2848] = {.count = 1, .reusable = true}, SHIFT(1318),
  [2850] = {.count = 1, .reusable = false}, SHIFT(1319),
  [2852] = {.count = 1, .reusable = true}, SHIFT(1319),
  [2854] = {.count = 1, .reusable = true}, SHIFT(1320),
  [2856] = {.count = 1, .reusable = false}, SHIFT(1321),
  [2858] = {.count = 1, .reusable = true}, SHIFT(1321),
  [2860] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(434),
  [2863] = {.count = 1, .reusable = false}, SHIFT(1322),
  [2865] = {.count = 1, .reusable = true}, SHIFT(1323),
  [2867] = {.count = 1, .reusable = false}, SHIFT(1324),
  [2869] = {.count = 1, .reusable = true}, SHIFT(1325),
  [2871] = {.count = 1, .reusable = true}, SHIFT(1327),
  [2873] = {.count = 1, .reusable = true}, SHIFT(1328),
  [2875] = {.count = 1, .reusable = false}, SHIFT(1330),
  [2877] = {.count = 1, .reusable = true}, SHIFT(1330),
  [2879] = {.count = 1, .reusable = true}, SHIFT(1329),
  [2881] = {.count = 1, .reusable = false}, SHIFT(1332),
  [2883] = {.count = 1, .reusable = true}, SHIFT(1332),
  [2885] = {.count = 1, .reusable = true}, SHIFT(1331),
  [2887] = {.count = 1, .reusable = true}, SHIFT(1333),
  [2889] = {.count = 1, .reusable = true}, SHIFT(1334),
  [2891] = {.count = 1, .reusable = false}, SHIFT(1335),
  [2893] = {.count = 1, .reusable = true}, SHIFT(1335),
  [2895] = {.count = 1, .reusable = true}, SHIFT(1336),
  [2897] = {.count = 1, .reusable = true}, SHIFT(1337),
  [2899] = {.count = 1, .reusable = false}, SHIFT(1338),
  [2901] = {.count = 1, .reusable = true}, SHIFT(1338),
  [2903] = {.count = 1, .reusable = false}, SHIFT(1339),
  [2905] = {.count = 1, .reusable = true}, SHIFT(1339),
  [2907] = {.count = 1, .reusable = true}, SHIFT(1340),
  [2909] = {.count = 1, .reusable = false}, SHIFT(1341),
  [2911] = {.count = 1, .reusable = true}, SHIFT(1341),
  [2913] = {.count = 1, .reusable = false}, REDUCE(aux_sym_string_repeat1, 3),
  [2915] = {.count = 1, .reusable = true}, REDUCE(aux_sym_string_repeat1, 3),
  [2917] = {.count = 1, .reusable = true}, SHIFT(1342),
  [2919] = {.count = 1, .reusable = false}, SHIFT(1343),
  [2921] = {.count = 1, .reusable = true}, SHIFT(1344),
  [2923] = {.count = 1, .reusable = true}, SHIFT(1346),
  [2925] = {.count = 1, .reusable = true}, SHIFT(1347),
  [2927] = {.count = 1, .reusable = false}, SHIFT(1349),
  [2929] = {.count = 1, .reusable = true}, SHIFT(1349),
  [2931] = {.count = 1, .reusable = true}, SHIFT(1348),
  [2933] = {.count = 1, .reusable = false}, SHIFT(1351),
  [2935] = {.count = 1, .reusable = true}, SHIFT(1351),
  [2937] = {.count = 1, .reusable = true}, SHIFT(1350),
  [2939] = {.count = 1, .reusable = true}, SHIFT(1352),
  [2941] = {.count = 1, .reusable = true}, SHIFT(1353),
  [2943] = {.count = 1, .reusable = false}, SHIFT(1354),
  [2945] = {.count = 1, .reusable = true}, SHIFT(1354),
  [2947] = {.count = 1, .reusable = true}, SHIFT(1355),
  [2949] = {.count = 1, .reusable = true}, SHIFT(1356),
  [2951] = {.count = 1, .reusable = false}, SHIFT(1357),
  [2953] = {.count = 1, .reusable = true}, SHIFT(1357),
  [2955] = {.count = 1, .reusable = false}, SHIFT(1358),
  [2957] = {.count = 1, .reusable = true}, SHIFT(1358),
  [2959] = {.count = 1, .reusable = true}, REDUCE(sym_string, 4),
  [2961] = {.count = 1, .reusable = false}, REDUCE(sym_string, 4),
  [2963] = {.count = 1, .reusable = true}, SHIFT(1359),
  [2965] = {.count = 1, .reusable = true}, SHIFT(1360),
  [2967] = {.count = 1, .reusable = true}, SHIFT(1361),
  [2969] = {.count = 1, .reusable = true}, SHIFT(1362),
  [2971] = {.count = 1, .reusable = true}, SHIFT(1363),
  [2973] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4),
  [2975] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4),
  [2977] = {.count = 1, .reusable = true}, SHIFT(1364),
  [2979] = {.count = 1, .reusable = true}, SHIFT(1365),
  [2981] = {.count = 1, .reusable = false}, SHIFT(1367),
  [2983] = {.count = 1, .reusable = false}, SHIFT(1368),
  [2985] = {.count = 1, .reusable = true}, SHIFT(1370),
  [2987] = {.count = 1, .reusable = true}, SHIFT(1371),
  [2989] = {.count = 1, .reusable = false}, SHIFT(1372),
  [2991] = {.count = 1, .reusable = true}, SHIFT(1372),
  [2993] = {.count = 1, .reusable = true}, SHIFT(1373),
  [2995] = {.count = 1, .reusable = true}, SHIFT(1374),
  [2997] = {.count = 1, .reusable = true}, SHIFT(1375),
  [2999] = {.count = 1, .reusable = true}, SHIFT(1376),
  [3001] = {.count = 1, .reusable = false}, SHIFT(1377),
  [3003] = {.count = 1, .reusable = true}, SHIFT(1377),
  [3005] = {.count = 1, .reusable = false}, SHIFT(1387),
  [3007] = {.count = 1, .reusable = true}, SHIFT(1388),
  [3009] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 5),
  [3011] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 5),
  [3013] = {.count = 1, .reusable = true}, SHIFT(1390),
  [3015] = {.count = 1, .reusable = true}, SHIFT(1391),
  [3017] = {.count = 1, .reusable = false}, SHIFT(1392),
  [3019] = {.count = 1, .reusable = true}, SHIFT(1392),
  [3021] = {.count = 1, .reusable = true}, SHIFT(1393),
  [3023] = {.count = 1, .reusable = false}, SHIFT(1394),
  [3025] = {.count = 1, .reusable = true}, SHIFT(1394),
  [3027] = {.count = 1, .reusable = true}, SHIFT(1395),
  [3029] = {.count = 1, .reusable = false}, SHIFT(1397),
  [3031] = {.count = 1, .reusable = false}, SHIFT(1398),
  [3033] = {.count = 1, .reusable = true}, SHIFT(1399),
  [3035] = {.count = 1, .reusable = true}, SHIFT(1400),
  [3037] = {.count = 1, .reusable = true}, SHIFT(1401),
  [3039] = {.count = 1, .reusable = false}, SHIFT(1402),
  [3041] = {.count = 1, .reusable = true}, SHIFT(1402),
  [3043] = {.count = 1, .reusable = true}, SHIFT(1403),
  [3045] = {.count = 1, .reusable = false}, SHIFT(1405),
  [3047] = {.count = 1, .reusable = true}, SHIFT(1405),
  [3049] = {.count = 1, .reusable = true}, SHIFT(1404),
  [3051] = {.count = 1, .reusable = true}, SHIFT(1406),
  [3053] = {.count = 1, .reusable = false}, SHIFT(1408),
  [3055] = {.count = 1, .reusable = true}, SHIFT(1408),
  [3057] = {.count = 1, .reusable = true}, SHIFT(1407),
  [3059] = {.count = 1, .reusable = true}, SHIFT(1409),
  [3061] = {.count = 1, .reusable = false}, SHIFT(1410),
  [3063] = {.count = 1, .reusable = true}, SHIFT(1410),
  [3065] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 4, .alias_sequence_id = 3),
  [3067] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 4, .alias_sequence_id = 3),
  [3069] = {.count = 1, .reusable = false}, SHIFT(1411),
  [3071] = {.count = 1, .reusable = true}, SHIFT(1412),
  [3073] = {.count = 1, .reusable = true}, SHIFT(1411),
  [3075] = {.count = 1, .reusable = false}, SHIFT(1415),
  [3077] = {.count = 1, .reusable = true}, SHIFT(1415),
  [3079] = {.count = 1, .reusable = false}, SHIFT(1418),
  [3081] = {.count = 1, .reusable = true}, SHIFT(1419),
  [3083] = {.count = 1, .reusable = true}, SHIFT(1418),
  [3085] = {.count = 1, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2),
  [3087] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(960),
  [3090] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(480),
  [3093] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(481),
  [3096] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(482),
  [3099] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(483),
  [3102] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(960),
  [3105] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(484),
  [3108] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(486),
  [3111] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(487),
  [3114] = {.count = 2, .reusable = true}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(488),
  [3117] = {.count = 2, .reusable = false}, REDUCE(aux_sym_expansion_repeat1, 2), SHIFT_REPEAT(483),
  [3120] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 4),
  [3122] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 4),
  [3124] = {.count = 1, .reusable = true}, SHIFT(1422),
  [3126] = {.count = 1, .reusable = true}, SHIFT(1423),
  [3128] = {.count = 1, .reusable = false}, SHIFT(1424),
  [3130] = {.count = 1, .reusable = true}, SHIFT(1424),
  [3132] = {.count = 1, .reusable = true}, SHIFT(1425),
  [3134] = {.count = 1, .reusable = true}, SHIFT(1428),
  [3136] = {.count = 1, .reusable = true}, SHIFT(1429),
  [3138] = {.count = 1, .reusable = false}, SHIFT(1430),
  [3140] = {.count = 1, .reusable = true}, SHIFT(1430),
  [3142] = {.count = 1, .reusable = true}, SHIFT(1432),
  [3144] = {.count = 1, .reusable = true}, SHIFT(1433),
  [3146] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(508),
  [3149] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(509),
  [3152] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(509),
  [3155] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(510),
  [3158] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 4),
  [3160] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 4),
  [3162] = {.count = 1, .reusable = true}, SHIFT(1436),
  [3164] = {.count = 1, .reusable = true}, SHIFT(1438),
  [3166] = {.count = 1, .reusable = true}, SHIFT(1439),
  [3168] = {.count = 1, .reusable = true}, SHIFT(1440),
  [3170] = {.count = 1, .reusable = false}, SHIFT(1441),
  [3172] = {.count = 1, .reusable = true}, SHIFT(1441),
  [3174] = {.count = 1, .reusable = true}, SHIFT(1442),
  [3176] = {.count = 1, .reusable = false}, SHIFT(1444),
  [3178] = {.count = 1, .reusable = true}, SHIFT(1444),
  [3180] = {.count = 1, .reusable = true}, SHIFT(1443),
  [3182] = {.count = 1, .reusable = true}, SHIFT(1445),
  [3184] = {.count = 1, .reusable = false}, SHIFT(1447),
  [3186] = {.count = 1, .reusable = true}, SHIFT(1447),
  [3188] = {.count = 1, .reusable = true}, SHIFT(1446),
  [3190] = {.count = 1, .reusable = true}, REDUCE(sym_heredoc_body, 3),
  [3192] = {.count = 1, .reusable = false}, REDUCE(sym_heredoc_body, 3),
  [3194] = {.count = 2, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(991),
  [3197] = {.count = 1, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2),
  [3199] = {.count = 2, .reusable = false}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(526),
  [3202] = {.count = 2, .reusable = true}, REDUCE(aux_sym_heredoc_body_repeat1, 2), SHIFT_REPEAT(527),
  [3205] = {.count = 1, .reusable = true}, REDUCE(sym_command, 4),
  [3207] = {.count = 1, .reusable = false}, REDUCE(sym_command, 4),
  [3209] = {.count = 1, .reusable = true}, SHIFT(1450),
  [3211] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 5, .alias_sequence_id = 4),
  [3213] = {.count = 1, .reusable = true}, SHIFT(1451),
  [3215] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 5),
  [3217] = {.count = 1, .reusable = true}, SHIFT(1452),
  [3219] = {.count = 1, .reusable = false}, SHIFT(1454),
  [3221] = {.count = 1, .reusable = false}, SHIFT(1455),
  [3223] = {.count = 1, .reusable = true}, SHIFT(1456),
  [3225] = {.count = 1, .reusable = true}, SHIFT(1457),
  [3227] = {.count = 1, .reusable = true}, SHIFT(1458),
  [3229] = {.count = 1, .reusable = false}, SHIFT(1459),
  [3231] = {.count = 1, .reusable = true}, SHIFT(1459),
  [3233] = {.count = 1, .reusable = true}, SHIFT(1460),
  [3235] = {.count = 1, .reusable = false}, SHIFT(1462),
  [3237] = {.count = 1, .reusable = true}, SHIFT(1462),
  [3239] = {.count = 1, .reusable = true}, SHIFT(1461),
  [3241] = {.count = 1, .reusable = true}, SHIFT(1463),
  [3243] = {.count = 1, .reusable = false}, SHIFT(1465),
  [3245] = {.count = 1, .reusable = true}, SHIFT(1465),
  [3247] = {.count = 1, .reusable = true}, SHIFT(1464),
  [3249] = {.count = 1, .reusable = false}, SHIFT(1466),
  [3251] = {.count = 1, .reusable = true}, SHIFT(1467),
  [3253] = {.count = 1, .reusable = true}, SHIFT(1466),
  [3255] = {.count = 1, .reusable = false}, SHIFT(1470),
  [3257] = {.count = 1, .reusable = true}, SHIFT(1470),
  [3259] = {.count = 1, .reusable = false}, SHIFT(1473),
  [3261] = {.count = 1, .reusable = true}, SHIFT(1474),
  [3263] = {.count = 1, .reusable = true}, SHIFT(1473),
  [3265] = {.count = 1, .reusable = true}, REDUCE(sym_array, 3),
  [3267] = {.count = 1, .reusable = false}, REDUCE(sym_array, 3),
  [3269] = {.count = 1, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2),
  [3271] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(555),
  [3274] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(556),
  [3277] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(557),
  [3280] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(558),
  [3283] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(559),
  [3286] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(560),
  [3289] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(561),
  [3292] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(562),
  [3295] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(564),
  [3298] = {.count = 1, .reusable = false}, SHIFT(1477),
  [3300] = {.count = 1, .reusable = true}, SHIFT(1478),
  [3302] = {.count = 1, .reusable = false}, SHIFT(1479),
  [3304] = {.count = 1, .reusable = true}, SHIFT(1480),
  [3306] = {.count = 1, .reusable = true}, SHIFT(1482),
  [3308] = {.count = 1, .reusable = true}, SHIFT(1483),
  [3310] = {.count = 1, .reusable = false}, SHIFT(1485),
  [3312] = {.count = 1, .reusable = true}, SHIFT(1485),
  [3314] = {.count = 1, .reusable = true}, SHIFT(1484),
  [3316] = {.count = 1, .reusable = false}, SHIFT(1487),
  [3318] = {.count = 1, .reusable = true}, SHIFT(1487),
  [3320] = {.count = 1, .reusable = true}, SHIFT(1486),
  [3322] = {.count = 1, .reusable = true}, SHIFT(1488),
  [3324] = {.count = 1, .reusable = true}, SHIFT(1489),
  [3326] = {.count = 1, .reusable = false}, SHIFT(1490),
  [3328] = {.count = 1, .reusable = true}, SHIFT(1490),
  [3330] = {.count = 1, .reusable = true}, SHIFT(1491),
  [3332] = {.count = 1, .reusable = true}, SHIFT(1492),
  [3334] = {.count = 1, .reusable = false}, SHIFT(1493),
  [3336] = {.count = 1, .reusable = true}, SHIFT(1493),
  [3338] = {.count = 1, .reusable = false}, SHIFT(1494),
  [3340] = {.count = 1, .reusable = true}, SHIFT(1494),
  [3342] = {.count = 1, .reusable = true}, SHIFT(1495),
  [3344] = {.count = 1, .reusable = false}, SHIFT(1496),
  [3346] = {.count = 1, .reusable = true}, SHIFT(1496),
  [3348] = {.count = 1, .reusable = true}, SHIFT(1497),
  [3350] = {.count = 1, .reusable = true}, SHIFT(1498),
  [3352] = {.count = 1, .reusable = true}, SHIFT(1500),
  [3354] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(589),
  [3357] = {.count = 1, .reusable = false}, SHIFT(1502),
  [3359] = {.count = 1, .reusable = true}, SHIFT(1503),
  [3361] = {.count = 1, .reusable = false}, SHIFT(1504),
  [3363] = {.count = 1, .reusable = true}, SHIFT(1505),
  [3365] = {.count = 1, .reusable = true}, SHIFT(1507),
  [3367] = {.count = 1, .reusable = true}, SHIFT(1508),
  [3369] = {.count = 1, .reusable = false}, SHIFT(1510),
  [3371] = {.count = 1, .reusable = true}, SHIFT(1510),
  [3373] = {.count = 1, .reusable = true}, SHIFT(1509),
  [3375] = {.count = 1, .reusable = false}, SHIFT(1512),
  [3377] = {.count = 1, .reusable = true}, SHIFT(1512),
  [3379] = {.count = 1, .reusable = true}, SHIFT(1511),
  [3381] = {.count = 1, .reusable = true}, SHIFT(1513),
  [3383] = {.count = 1, .reusable = true}, SHIFT(1514),
  [3385] = {.count = 1, .reusable = false}, SHIFT(1515),
  [3387] = {.count = 1, .reusable = true}, SHIFT(1515),
  [3389] = {.count = 1, .reusable = true}, SHIFT(1516),
  [3391] = {.count = 1, .reusable = true}, SHIFT(1517),
  [3393] = {.count = 1, .reusable = false}, SHIFT(1518),
  [3395] = {.count = 1, .reusable = true}, SHIFT(1518),
  [3397] = {.count = 1, .reusable = false}, SHIFT(1519),
  [3399] = {.count = 1, .reusable = true}, SHIFT(1519),
  [3401] = {.count = 1, .reusable = true}, SHIFT(1520),
  [3403] = {.count = 1, .reusable = false}, SHIFT(1521),
  [3405] = {.count = 1, .reusable = true}, SHIFT(1521),
  [3407] = {.count = 1, .reusable = false}, SHIFT(1522),
  [3409] = {.count = 1, .reusable = true}, SHIFT(1522),
  [3411] = {.count = 1, .reusable = true}, SHIFT(1523),
  [3413] = {.count = 1, .reusable = false}, SHIFT(1525),
  [3415] = {.count = 1, .reusable = false}, SHIFT(1526),
  [3417] = {.count = 1, .reusable = true}, SHIFT(1527),
  [3419] = {.count = 1, .reusable = true}, SHIFT(1528),
  [3421] = {.count = 1, .reusable = true}, SHIFT(1529),
  [3423] = {.count = 1, .reusable = false}, SHIFT(1530),
  [3425] = {.count = 1, .reusable = true}, SHIFT(1530),
  [3427] = {.count = 1, .reusable = true}, SHIFT(1531),
  [3429] = {.count = 1, .reusable = false}, SHIFT(1533),
  [3431] = {.count = 1, .reusable = true}, SHIFT(1533),
  [3433] = {.count = 1, .reusable = true}, SHIFT(1532),
  [3435] = {.count = 1, .reusable = true}, SHIFT(1534),
  [3437] = {.count = 1, .reusable = false}, SHIFT(1536),
  [3439] = {.count = 1, .reusable = true}, SHIFT(1536),
  [3441] = {.count = 1, .reusable = true}, SHIFT(1535),
  [3443] = {.count = 1, .reusable = false}, SHIFT(1537),
  [3445] = {.count = 1, .reusable = true}, SHIFT(1538),
  [3447] = {.count = 1, .reusable = true}, SHIFT(1537),
  [3449] = {.count = 1, .reusable = false}, SHIFT(1541),
  [3451] = {.count = 1, .reusable = true}, SHIFT(1541),
  [3453] = {.count = 1, .reusable = false}, SHIFT(1544),
  [3455] = {.count = 1, .reusable = true}, SHIFT(1545),
  [3457] = {.count = 1, .reusable = true}, SHIFT(1544),
  [3459] = {.count = 1, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2),
  [3461] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(614),
  [3464] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(615),
  [3467] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(616),
  [3470] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(617),
  [3473] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(618),
  [3476] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(619),
  [3479] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(620),
  [3482] = {.count = 2, .reusable = true}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(621),
  [3485] = {.count = 2, .reusable = false}, REDUCE(aux_sym_for_statement_repeat1, 2), SHIFT_REPEAT(617),
  [3488] = {.count = 1, .reusable = false}, SHIFT(1549),
  [3490] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(627),
  [3493] = {.count = 1, .reusable = false}, SHIFT(1550),
  [3495] = {.count = 1, .reusable = true}, SHIFT(1551),
  [3497] = {.count = 1, .reusable = false}, SHIFT(1552),
  [3499] = {.count = 1, .reusable = true}, SHIFT(1553),
  [3501] = {.count = 1, .reusable = true}, SHIFT(1555),
  [3503] = {.count = 1, .reusable = true}, SHIFT(1556),
  [3505] = {.count = 1, .reusable = false}, SHIFT(1558),
  [3507] = {.count = 1, .reusable = true}, SHIFT(1558),
  [3509] = {.count = 1, .reusable = true}, SHIFT(1557),
  [3511] = {.count = 1, .reusable = false}, SHIFT(1560),
  [3513] = {.count = 1, .reusable = true}, SHIFT(1560),
  [3515] = {.count = 1, .reusable = true}, SHIFT(1559),
  [3517] = {.count = 1, .reusable = true}, SHIFT(1561),
  [3519] = {.count = 1, .reusable = true}, SHIFT(1562),
  [3521] = {.count = 1, .reusable = false}, SHIFT(1563),
  [3523] = {.count = 1, .reusable = true}, SHIFT(1563),
  [3525] = {.count = 1, .reusable = true}, SHIFT(1564),
  [3527] = {.count = 1, .reusable = true}, SHIFT(1565),
  [3529] = {.count = 1, .reusable = false}, SHIFT(1566),
  [3531] = {.count = 1, .reusable = true}, SHIFT(1566),
  [3533] = {.count = 1, .reusable = false}, SHIFT(1567),
  [3535] = {.count = 1, .reusable = true}, SHIFT(1567),
  [3537] = {.count = 1, .reusable = true}, SHIFT(1568),
  [3539] = {.count = 1, .reusable = false}, SHIFT(1569),
  [3541] = {.count = 1, .reusable = true}, SHIFT(1569),
  [3543] = {.count = 1, .reusable = true}, SHIFT(1570),
  [3545] = {.count = 1, .reusable = true}, SHIFT(1571),
  [3547] = {.count = 1, .reusable = false}, SHIFT(1572),
  [3549] = {.count = 1, .reusable = true}, SHIFT(1573),
  [3551] = {.count = 1, .reusable = true}, SHIFT(1575),
  [3553] = {.count = 1, .reusable = true}, SHIFT(1576),
  [3555] = {.count = 1, .reusable = false}, SHIFT(1577),
  [3557] = {.count = 1, .reusable = true}, SHIFT(1577),
  [3559] = {.count = 1, .reusable = true}, SHIFT(1578),
  [3561] = {.count = 1, .reusable = false}, SHIFT(1579),
  [3563] = {.count = 1, .reusable = true}, SHIFT(1579),
  [3565] = {.count = 1, .reusable = true}, SHIFT(1580),
  [3567] = {.count = 1, .reusable = false}, SHIFT(1581),
  [3569] = {.count = 1, .reusable = true}, SHIFT(1581),
  [3571] = {.count = 1, .reusable = true}, SHIFT(1582),
  [3573] = {.count = 1, .reusable = true}, SHIFT(1583),
  [3575] = {.count = 1, .reusable = true}, SHIFT(1584),
  [3577] = {.count = 1, .reusable = true}, SHIFT(1585),
  [3579] = {.count = 1, .reusable = true}, SHIFT(1587),
  [3581] = {.count = 1, .reusable = false}, SHIFT(1589),
  [3583] = {.count = 1, .reusable = false}, SHIFT(1590),
  [3585] = {.count = 1, .reusable = true}, SHIFT(1592),
  [3587] = {.count = 1, .reusable = true}, SHIFT(1593),
  [3589] = {.count = 1, .reusable = false}, SHIFT(1594),
  [3591] = {.count = 1, .reusable = true}, SHIFT(1594),
  [3593] = {.count = 1, .reusable = true}, SHIFT(1595),
  [3595] = {.count = 1, .reusable = true}, SHIFT(1596),
  [3597] = {.count = 1, .reusable = true}, SHIFT(1597),
  [3599] = {.count = 1, .reusable = false}, SHIFT(1598),
  [3601] = {.count = 1, .reusable = true}, SHIFT(1598),
  [3603] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(677),
  [3606] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(678),
  [3609] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(678),
  [3612] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(679),
  [3615] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(679),
  [3618] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(680),
  [3621] = {.count = 1, .reusable = false}, SHIFT(1609),
  [3623] = {.count = 1, .reusable = true}, SHIFT(1609),
  [3625] = {.count = 1, .reusable = true}, SHIFT(1610),
  [3627] = {.count = 1, .reusable = true}, SHIFT(1611),
  [3629] = {.count = 1, .reusable = true}, SHIFT(1612),
  [3631] = {.count = 1, .reusable = true}, SHIFT(1613),
  [3633] = {.count = 1, .reusable = false}, SHIFT(1616),
  [3635] = {.count = 1, .reusable = true}, SHIFT(1616),
  [3637] = {.count = 1, .reusable = true}, SHIFT(1617),
  [3639] = {.count = 1, .reusable = true}, SHIFT(1618),
  [3641] = {.count = 1, .reusable = true}, REDUCE(sym_do_group, 3),
  [3643] = {.count = 1, .reusable = false}, REDUCE(sym_do_group, 3),
  [3645] = {.count = 1, .reusable = false}, REDUCE(aux_sym__statements_repeat1, 2),
  [3647] = {.count = 1, .reusable = true}, REDUCE(sym_while_statement, 5),
  [3649] = {.count = 1, .reusable = false}, REDUCE(sym_while_statement, 5),
  [3651] = {.count = 1, .reusable = true}, SHIFT(1620),
  [3653] = {.count = 1, .reusable = false}, REDUCE(sym_else_clause, 2),
  [3655] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 5),
  [3657] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 5),
  [3659] = {.count = 1, .reusable = true}, SHIFT(1622),
  [3661] = {.count = 1, .reusable = true}, REDUCE(aux_sym_if_statement_repeat1, 2),
  [3663] = {.count = 2, .reusable = true}, REDUCE(aux_sym_if_statement_repeat1, 2), SHIFT_REPEAT(715),
  [3666] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 5, .alias_sequence_id = 2),
  [3668] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 5, .alias_sequence_id = 2),
  [3670] = {.count = 1, .reusable = true}, SHIFT(1624),
  [3672] = {.count = 1, .reusable = true}, SHIFT(1625),
  [3674] = {.count = 1, .reusable = true}, SHIFT(1628),
  [3676] = {.count = 1, .reusable = true}, SHIFT(1630),
  [3678] = {.count = 1, .reusable = false}, SHIFT(1630),
  [3680] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 5),
  [3682] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 5),
  [3684] = {.count = 1, .reusable = true}, SHIFT(1634),
  [3686] = {.count = 1, .reusable = false}, SHIFT(1634),
  [3688] = {.count = 1, .reusable = true}, SHIFT(1637),
  [3690] = {.count = 1, .reusable = true}, SHIFT(1638),
  [3692] = {.count = 1, .reusable = false}, SHIFT(1639),
  [3694] = {.count = 1, .reusable = true}, SHIFT(1640),
  [3696] = {.count = 1, .reusable = true}, SHIFT(1642),
  [3698] = {.count = 1, .reusable = true}, SHIFT(1643),
  [3700] = {.count = 1, .reusable = false}, SHIFT(1644),
  [3702] = {.count = 1, .reusable = true}, SHIFT(1644),
  [3704] = {.count = 1, .reusable = true}, SHIFT(1645),
  [3706] = {.count = 1, .reusable = false}, SHIFT(1646),
  [3708] = {.count = 1, .reusable = true}, SHIFT(1646),
  [3710] = {.count = 1, .reusable = true}, SHIFT(1647),
  [3712] = {.count = 1, .reusable = false}, SHIFT(1648),
  [3714] = {.count = 1, .reusable = true}, SHIFT(1648),
  [3716] = {.count = 1, .reusable = true}, SHIFT(1649),
  [3718] = {.count = 1, .reusable = true}, SHIFT(1650),
  [3720] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 5),
  [3722] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 5),
  [3724] = {.count = 1, .reusable = true}, REDUCE(sym_compound_statement, 3),
  [3726] = {.count = 1, .reusable = false}, REDUCE(sym_compound_statement, 3),
  [3728] = {.count = 1, .reusable = true}, REDUCE(aux_sym__statements_repeat1, 2),
  [3730] = {.count = 1, .reusable = true}, SHIFT(1652),
  [3732] = {.count = 1, .reusable = true}, SHIFT(1653),
  [3734] = {.count = 1, .reusable = false}, SHIFT(1657),
  [3736] = {.count = 1, .reusable = true}, SHIFT(1657),
  [3738] = {.count = 1, .reusable = true}, SHIFT(1658),
  [3740] = {.count = 1, .reusable = true}, SHIFT(1659),
  [3742] = {.count = 1, .reusable = true}, SHIFT(1660),
  [3744] = {.count = 1, .reusable = true}, SHIFT(1661),
  [3746] = {.count = 1, .reusable = false}, SHIFT(1664),
  [3748] = {.count = 1, .reusable = true}, SHIFT(1664),
  [3750] = {.count = 1, .reusable = true}, SHIFT(1665),
  [3752] = {.count = 1, .reusable = true}, SHIFT(1666),
  [3754] = {.count = 1, .reusable = true}, REDUCE(sym_subshell, 5),
  [3756] = {.count = 1, .reusable = false}, REDUCE(sym_subshell, 5),
  [3758] = {.count = 1, .reusable = true}, SHIFT(1668),
  [3760] = {.count = 1, .reusable = true}, SHIFT(1669),
  [3762] = {.count = 1, .reusable = true}, SHIFT(1670),
  [3764] = {.count = 1, .reusable = false}, SHIFT(1671),
  [3766] = {.count = 1, .reusable = true}, SHIFT(1672),
  [3768] = {.count = 1, .reusable = true}, SHIFT(1674),
  [3770] = {.count = 1, .reusable = true}, SHIFT(1675),
  [3772] = {.count = 1, .reusable = false}, SHIFT(1676),
  [3774] = {.count = 1, .reusable = true}, SHIFT(1676),
  [3776] = {.count = 1, .reusable = true}, SHIFT(1677),
  [3778] = {.count = 1, .reusable = false}, SHIFT(1678),
  [3780] = {.count = 1, .reusable = true}, SHIFT(1678),
  [3782] = {.count = 1, .reusable = true}, SHIFT(1679),
  [3784] = {.count = 1, .reusable = false}, SHIFT(1680),
  [3786] = {.count = 1, .reusable = true}, SHIFT(1680),
  [3788] = {.count = 1, .reusable = true}, SHIFT(1681),
  [3790] = {.count = 1, .reusable = true}, SHIFT(1682),
  [3792] = {.count = 1, .reusable = true}, SHIFT(1683),
  [3794] = {.count = 1, .reusable = true}, SHIFT(1684),
  [3796] = {.count = 1, .reusable = true}, SHIFT(1685),
  [3798] = {.count = 1, .reusable = false}, SHIFT(1686),
  [3800] = {.count = 1, .reusable = true}, SHIFT(1687),
  [3802] = {.count = 1, .reusable = true}, SHIFT(1689),
  [3804] = {.count = 1, .reusable = true}, SHIFT(1690),
  [3806] = {.count = 1, .reusable = false}, SHIFT(1691),
  [3808] = {.count = 1, .reusable = true}, SHIFT(1691),
  [3810] = {.count = 1, .reusable = true}, SHIFT(1692),
  [3812] = {.count = 1, .reusable = false}, SHIFT(1693),
  [3814] = {.count = 1, .reusable = true}, SHIFT(1693),
  [3816] = {.count = 1, .reusable = true}, SHIFT(1694),
  [3818] = {.count = 1, .reusable = false}, SHIFT(1695),
  [3820] = {.count = 1, .reusable = true}, SHIFT(1695),
  [3822] = {.count = 1, .reusable = true}, SHIFT(1696),
  [3824] = {.count = 1, .reusable = true}, SHIFT(1697),
  [3826] = {.count = 1, .reusable = true}, SHIFT(1698),
  [3828] = {.count = 1, .reusable = true}, SHIFT(1699),
  [3830] = {.count = 1, .reusable = false}, SHIFT(1700),
  [3832] = {.count = 1, .reusable = true}, SHIFT(1701),
  [3834] = {.count = 1, .reusable = true}, SHIFT(1703),
  [3836] = {.count = 1, .reusable = true}, SHIFT(1704),
  [3838] = {.count = 1, .reusable = false}, SHIFT(1705),
  [3840] = {.count = 1, .reusable = true}, SHIFT(1705),
  [3842] = {.count = 1, .reusable = true}, SHIFT(1706),
  [3844] = {.count = 1, .reusable = false}, SHIFT(1707),
  [3846] = {.count = 1, .reusable = true}, SHIFT(1707),
  [3848] = {.count = 1, .reusable = true}, SHIFT(1708),
  [3850] = {.count = 1, .reusable = false}, SHIFT(1709),
  [3852] = {.count = 1, .reusable = true}, SHIFT(1709),
  [3854] = {.count = 1, .reusable = true}, SHIFT(1710),
  [3856] = {.count = 1, .reusable = true}, SHIFT(1711),
  [3858] = {.count = 1, .reusable = true}, SHIFT(1712),
  [3860] = {.count = 1, .reusable = true}, SHIFT(1713),
  [3862] = {.count = 1, .reusable = false}, SHIFT(1714),
  [3864] = {.count = 1, .reusable = true}, SHIFT(1715),
  [3866] = {.count = 1, .reusable = true}, SHIFT(1717),
  [3868] = {.count = 1, .reusable = true}, SHIFT(1718),
  [3870] = {.count = 1, .reusable = false}, SHIFT(1719),
  [3872] = {.count = 1, .reusable = true}, SHIFT(1719),
  [3874] = {.count = 1, .reusable = true}, SHIFT(1720),
  [3876] = {.count = 1, .reusable = false}, SHIFT(1721),
  [3878] = {.count = 1, .reusable = true}, SHIFT(1721),
  [3880] = {.count = 1, .reusable = true}, SHIFT(1722),
  [3882] = {.count = 1, .reusable = false}, SHIFT(1723),
  [3884] = {.count = 1, .reusable = true}, SHIFT(1723),
  [3886] = {.count = 1, .reusable = true}, SHIFT(1724),
  [3888] = {.count = 1, .reusable = true}, SHIFT(1725),
  [3890] = {.count = 1, .reusable = true}, SHIFT(1726),
  [3892] = {.count = 1, .reusable = true}, SHIFT(1727),
  [3894] = {.count = 1, .reusable = false}, SHIFT(1728),
  [3896] = {.count = 1, .reusable = true}, SHIFT(1729),
  [3898] = {.count = 1, .reusable = true}, SHIFT(1731),
  [3900] = {.count = 1, .reusable = true}, SHIFT(1732),
  [3902] = {.count = 1, .reusable = false}, SHIFT(1733),
  [3904] = {.count = 1, .reusable = true}, SHIFT(1733),
  [3906] = {.count = 1, .reusable = true}, SHIFT(1734),
  [3908] = {.count = 1, .reusable = false}, SHIFT(1735),
  [3910] = {.count = 1, .reusable = true}, SHIFT(1735),
  [3912] = {.count = 1, .reusable = true}, SHIFT(1736),
  [3914] = {.count = 1, .reusable = false}, SHIFT(1737),
  [3916] = {.count = 1, .reusable = true}, SHIFT(1737),
  [3918] = {.count = 1, .reusable = true}, SHIFT(1738),
  [3920] = {.count = 1, .reusable = true}, SHIFT(1739),
  [3922] = {.count = 1, .reusable = true}, SHIFT(1740),
  [3924] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 4, .alias_sequence_id = 4),
  [3926] = {.count = 1, .reusable = true}, SHIFT(1741),
  [3928] = {.count = 1, .reusable = true}, SHIFT(1742),
  [3930] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 4),
  [3932] = {.count = 1, .reusable = true}, SHIFT(1743),
  [3934] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 6),
  [3936] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 6),
  [3938] = {.count = 1, .reusable = false}, SHIFT(1745),
  [3940] = {.count = 1, .reusable = false}, SHIFT(1746),
  [3942] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5),
  [3944] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5),
  [3946] = {.count = 1, .reusable = true}, SHIFT(1747),
  [3948] = {.count = 1, .reusable = true}, SHIFT(1748),
  [3950] = {.count = 1, .reusable = true}, SHIFT(1749),
  [3952] = {.count = 1, .reusable = false}, SHIFT(1750),
  [3954] = {.count = 1, .reusable = true}, SHIFT(1750),
  [3956] = {.count = 1, .reusable = true}, SHIFT(1751),
  [3958] = {.count = 1, .reusable = false}, SHIFT(1753),
  [3960] = {.count = 1, .reusable = true}, SHIFT(1753),
  [3962] = {.count = 1, .reusable = true}, SHIFT(1752),
  [3964] = {.count = 1, .reusable = true}, SHIFT(1754),
  [3966] = {.count = 1, .reusable = false}, SHIFT(1756),
  [3968] = {.count = 1, .reusable = true}, SHIFT(1756),
  [3970] = {.count = 1, .reusable = true}, SHIFT(1755),
  [3972] = {.count = 1, .reusable = false}, SHIFT(1757),
  [3974] = {.count = 1, .reusable = true}, SHIFT(1758),
  [3976] = {.count = 1, .reusable = true}, SHIFT(1757),
  [3978] = {.count = 1, .reusable = false}, SHIFT(1761),
  [3980] = {.count = 1, .reusable = true}, SHIFT(1761),
  [3982] = {.count = 1, .reusable = false}, SHIFT(1764),
  [3984] = {.count = 1, .reusable = true}, SHIFT(1765),
  [3986] = {.count = 1, .reusable = true}, SHIFT(1764),
  [3988] = {.count = 1, .reusable = true}, SHIFT(1768),
  [3990] = {.count = 1, .reusable = true}, SHIFT(1769),
  [3992] = {.count = 1, .reusable = true}, SHIFT(1770),
  [3994] = {.count = 1, .reusable = false}, SHIFT(1771),
  [3996] = {.count = 1, .reusable = true}, SHIFT(1771),
  [3998] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 5),
  [4000] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 5),
  [4002] = {.count = 1, .reusable = false}, SHIFT(1772),
  [4004] = {.count = 1, .reusable = true}, SHIFT(1772),
  [4006] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(936),
  [4009] = {.count = 1, .reusable = false}, SHIFT(1773),
  [4011] = {.count = 1, .reusable = true}, SHIFT(1774),
  [4013] = {.count = 1, .reusable = false}, SHIFT(1775),
  [4015] = {.count = 1, .reusable = true}, SHIFT(1776),
  [4017] = {.count = 1, .reusable = true}, SHIFT(1778),
  [4019] = {.count = 1, .reusable = true}, SHIFT(1779),
  [4021] = {.count = 1, .reusable = false}, SHIFT(1781),
  [4023] = {.count = 1, .reusable = true}, SHIFT(1781),
  [4025] = {.count = 1, .reusable = true}, SHIFT(1780),
  [4027] = {.count = 1, .reusable = false}, SHIFT(1783),
  [4029] = {.count = 1, .reusable = true}, SHIFT(1783),
  [4031] = {.count = 1, .reusable = true}, SHIFT(1782),
  [4033] = {.count = 1, .reusable = true}, SHIFT(1784),
  [4035] = {.count = 1, .reusable = true}, SHIFT(1785),
  [4037] = {.count = 1, .reusable = false}, SHIFT(1786),
  [4039] = {.count = 1, .reusable = true}, SHIFT(1786),
  [4041] = {.count = 1, .reusable = true}, SHIFT(1787),
  [4043] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 5, .alias_sequence_id = 3),
  [4045] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 5, .alias_sequence_id = 3),
  [4047] = {.count = 1, .reusable = true}, SHIFT(1788),
  [4049] = {.count = 1, .reusable = true}, SHIFT(1789),
  [4051] = {.count = 1, .reusable = false}, SHIFT(1790),
  [4053] = {.count = 1, .reusable = true}, SHIFT(1790),
  [4055] = {.count = 1, .reusable = false}, SHIFT(1791),
  [4057] = {.count = 1, .reusable = true}, SHIFT(1791),
  [4059] = {.count = 1, .reusable = true}, SHIFT(1792),
  [4061] = {.count = 1, .reusable = false}, SHIFT(1793),
  [4063] = {.count = 1, .reusable = true}, SHIFT(1793),
  [4065] = {.count = 1, .reusable = true}, REDUCE(sym_command_substitution, 5),
  [4067] = {.count = 1, .reusable = false}, REDUCE(sym_command_substitution, 5),
  [4069] = {.count = 1, .reusable = false}, SHIFT(1794),
  [4071] = {.count = 1, .reusable = true}, SHIFT(1794),
  [4073] = {.count = 1, .reusable = true}, SHIFT(1795),
  [4075] = {.count = 1, .reusable = true}, SHIFT(1796),
  [4077] = {.count = 1, .reusable = true}, SHIFT(1797),
  [4079] = {.count = 1, .reusable = true}, SHIFT(1798),
  [4081] = {.count = 1, .reusable = false}, SHIFT(1801),
  [4083] = {.count = 1, .reusable = true}, SHIFT(1801),
  [4085] = {.count = 1, .reusable = true}, SHIFT(1802),
  [4087] = {.count = 1, .reusable = true}, SHIFT(1803),
  [4089] = {.count = 1, .reusable = true}, REDUCE(sym_process_substitution, 5),
  [4091] = {.count = 1, .reusable = false}, REDUCE(sym_process_substitution, 5),
  [4093] = {.count = 1, .reusable = true}, SHIFT(1805),
  [4095] = {.count = 1, .reusable = false}, SHIFT(1806),
  [4097] = {.count = 1, .reusable = true}, SHIFT(1807),
  [4099] = {.count = 1, .reusable = true}, SHIFT(1809),
  [4101] = {.count = 1, .reusable = true}, SHIFT(1810),
  [4103] = {.count = 1, .reusable = false}, SHIFT(1812),
  [4105] = {.count = 1, .reusable = true}, SHIFT(1812),
  [4107] = {.count = 1, .reusable = true}, SHIFT(1811),
  [4109] = {.count = 1, .reusable = false}, SHIFT(1814),
  [4111] = {.count = 1, .reusable = true}, SHIFT(1814),
  [4113] = {.count = 1, .reusable = true}, SHIFT(1813),
  [4115] = {.count = 1, .reusable = true}, SHIFT(1815),
  [4117] = {.count = 1, .reusable = true}, SHIFT(1816),
  [4119] = {.count = 1, .reusable = false}, SHIFT(1817),
  [4121] = {.count = 1, .reusable = true}, SHIFT(1817),
  [4123] = {.count = 1, .reusable = true}, SHIFT(1818),
  [4125] = {.count = 1, .reusable = true}, REDUCE(sym_command, 5),
  [4127] = {.count = 1, .reusable = false}, REDUCE(sym_command, 5),
  [4129] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 6, .alias_sequence_id = 4),
  [4131] = {.count = 1, .reusable = true}, REDUCE(sym_subscript, 6),
  [4133] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1004),
  [4136] = {.count = 1, .reusable = false}, SHIFT(1819),
  [4138] = {.count = 1, .reusable = true}, SHIFT(1820),
  [4140] = {.count = 1, .reusable = false}, SHIFT(1821),
  [4142] = {.count = 1, .reusable = true}, SHIFT(1822),
  [4144] = {.count = 1, .reusable = true}, SHIFT(1824),
  [4146] = {.count = 1, .reusable = true}, SHIFT(1825),
  [4148] = {.count = 1, .reusable = false}, SHIFT(1827),
  [4150] = {.count = 1, .reusable = true}, SHIFT(1827),
  [4152] = {.count = 1, .reusable = true}, SHIFT(1826),
  [4154] = {.count = 1, .reusable = false}, SHIFT(1829),
  [4156] = {.count = 1, .reusable = true}, SHIFT(1829),
  [4158] = {.count = 1, .reusable = true}, SHIFT(1828),
  [4160] = {.count = 1, .reusable = true}, SHIFT(1830),
  [4162] = {.count = 1, .reusable = true}, SHIFT(1831),
  [4164] = {.count = 1, .reusable = false}, SHIFT(1832),
  [4166] = {.count = 1, .reusable = true}, SHIFT(1832),
  [4168] = {.count = 1, .reusable = true}, SHIFT(1833),
  [4170] = {.count = 1, .reusable = true}, SHIFT(1834),
  [4172] = {.count = 1, .reusable = false}, SHIFT(1835),
  [4174] = {.count = 1, .reusable = true}, SHIFT(1835),
  [4176] = {.count = 1, .reusable = false}, SHIFT(1836),
  [4178] = {.count = 1, .reusable = true}, SHIFT(1836),
  [4180] = {.count = 1, .reusable = true}, SHIFT(1837),
  [4182] = {.count = 1, .reusable = false}, SHIFT(1838),
  [4184] = {.count = 1, .reusable = true}, SHIFT(1838),
  [4186] = {.count = 1, .reusable = true}, SHIFT(1839),
  [4188] = {.count = 1, .reusable = true}, SHIFT(1840),
  [4190] = {.count = 1, .reusable = false}, SHIFT(1841),
  [4192] = {.count = 1, .reusable = true}, SHIFT(1842),
  [4194] = {.count = 1, .reusable = true}, SHIFT(1844),
  [4196] = {.count = 1, .reusable = true}, SHIFT(1845),
  [4198] = {.count = 1, .reusable = false}, SHIFT(1846),
  [4200] = {.count = 1, .reusable = true}, SHIFT(1846),
  [4202] = {.count = 1, .reusable = true}, SHIFT(1847),
  [4204] = {.count = 1, .reusable = false}, SHIFT(1848),
  [4206] = {.count = 1, .reusable = true}, SHIFT(1848),
  [4208] = {.count = 1, .reusable = true}, SHIFT(1849),
  [4210] = {.count = 1, .reusable = false}, SHIFT(1850),
  [4212] = {.count = 1, .reusable = true}, SHIFT(1850),
  [4214] = {.count = 1, .reusable = true}, SHIFT(1851),
  [4216] = {.count = 1, .reusable = true}, SHIFT(1852),
  [4218] = {.count = 1, .reusable = true}, SHIFT(1854),
  [4220] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 6),
  [4222] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 6),
  [4224] = {.count = 1, .reusable = true}, SHIFT(1856),
  [4226] = {.count = 1, .reusable = true}, SHIFT(1857),
  [4228] = {.count = 1, .reusable = true}, SHIFT(1858),
  [4230] = {.count = 1, .reusable = true}, SHIFT(1859),
  [4232] = {.count = 1, .reusable = false}, SHIFT(1860),
  [4234] = {.count = 1, .reusable = true}, SHIFT(1861),
  [4236] = {.count = 1, .reusable = true}, SHIFT(1863),
  [4238] = {.count = 1, .reusable = true}, SHIFT(1864),
  [4240] = {.count = 1, .reusable = false}, SHIFT(1865),
  [4242] = {.count = 1, .reusable = true}, SHIFT(1865),
  [4244] = {.count = 1, .reusable = true}, SHIFT(1866),
  [4246] = {.count = 1, .reusable = false}, SHIFT(1867),
  [4248] = {.count = 1, .reusable = true}, SHIFT(1867),
  [4250] = {.count = 1, .reusable = true}, SHIFT(1868),
  [4252] = {.count = 1, .reusable = false}, SHIFT(1869),
  [4254] = {.count = 1, .reusable = true}, SHIFT(1869),
  [4256] = {.count = 1, .reusable = true}, SHIFT(1870),
  [4258] = {.count = 1, .reusable = true}, SHIFT(1871),
  [4260] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1084),
  [4263] = {.count = 1, .reusable = false}, SHIFT(1873),
  [4265] = {.count = 1, .reusable = true}, SHIFT(1874),
  [4267] = {.count = 1, .reusable = false}, SHIFT(1875),
  [4269] = {.count = 1, .reusable = true}, SHIFT(1876),
  [4271] = {.count = 1, .reusable = true}, SHIFT(1878),
  [4273] = {.count = 1, .reusable = true}, SHIFT(1879),
  [4275] = {.count = 1, .reusable = false}, SHIFT(1881),
  [4277] = {.count = 1, .reusable = true}, SHIFT(1881),
  [4279] = {.count = 1, .reusable = true}, SHIFT(1880),
  [4281] = {.count = 1, .reusable = false}, SHIFT(1883),
  [4283] = {.count = 1, .reusable = true}, SHIFT(1883),
  [4285] = {.count = 1, .reusable = true}, SHIFT(1882),
  [4287] = {.count = 1, .reusable = true}, SHIFT(1884),
  [4289] = {.count = 1, .reusable = true}, SHIFT(1885),
  [4291] = {.count = 1, .reusable = false}, SHIFT(1886),
  [4293] = {.count = 1, .reusable = true}, SHIFT(1886),
  [4295] = {.count = 1, .reusable = true}, SHIFT(1887),
  [4297] = {.count = 1, .reusable = true}, SHIFT(1888),
  [4299] = {.count = 1, .reusable = false}, SHIFT(1889),
  [4301] = {.count = 1, .reusable = true}, SHIFT(1889),
  [4303] = {.count = 1, .reusable = false}, SHIFT(1890),
  [4305] = {.count = 1, .reusable = true}, SHIFT(1890),
  [4307] = {.count = 1, .reusable = true}, SHIFT(1891),
  [4309] = {.count = 1, .reusable = false}, SHIFT(1892),
  [4311] = {.count = 1, .reusable = true}, SHIFT(1892),
  [4313] = {.count = 1, .reusable = true}, REDUCE(sym_for_statement, 6),
  [4315] = {.count = 1, .reusable = false}, REDUCE(sym_for_statement, 6),
  [4317] = {.count = 1, .reusable = true}, SHIFT(1893),
  [4319] = {.count = 1, .reusable = true}, SHIFT(1894),
  [4321] = {.count = 1, .reusable = false}, SHIFT(1895),
  [4323] = {.count = 1, .reusable = true}, SHIFT(1896),
  [4325] = {.count = 1, .reusable = true}, SHIFT(1898),
  [4327] = {.count = 1, .reusable = true}, SHIFT(1899),
  [4329] = {.count = 1, .reusable = false}, SHIFT(1900),
  [4331] = {.count = 1, .reusable = true}, SHIFT(1900),
  [4333] = {.count = 1, .reusable = true}, SHIFT(1901),
  [4335] = {.count = 1, .reusable = false}, SHIFT(1902),
  [4337] = {.count = 1, .reusable = true}, SHIFT(1902),
  [4339] = {.count = 1, .reusable = true}, SHIFT(1903),
  [4341] = {.count = 1, .reusable = false}, SHIFT(1904),
  [4343] = {.count = 1, .reusable = true}, SHIFT(1904),
  [4345] = {.count = 1, .reusable = true}, SHIFT(1905),
  [4347] = {.count = 1, .reusable = true}, SHIFT(1906),
  [4349] = {.count = 1, .reusable = true}, SHIFT(1907),
  [4351] = {.count = 1, .reusable = true}, SHIFT(1908),
  [4353] = {.count = 1, .reusable = true}, SHIFT(1909),
  [4355] = {.count = 1, .reusable = false}, SHIFT(1910),
  [4357] = {.count = 1, .reusable = true}, SHIFT(1910),
  [4359] = {.count = 1, .reusable = false}, SHIFT(1911),
  [4361] = {.count = 1, .reusable = true}, SHIFT(1911),
  [4363] = {.count = 1, .reusable = true}, SHIFT(1912),
  [4365] = {.count = 1, .reusable = true}, SHIFT(1913),
  [4367] = {.count = 1, .reusable = false}, SHIFT(1915),
  [4369] = {.count = 1, .reusable = false}, SHIFT(1916),
  [4371] = {.count = 1, .reusable = true}, SHIFT(1917),
  [4373] = {.count = 1, .reusable = true}, SHIFT(1918),
  [4375] = {.count = 1, .reusable = true}, SHIFT(1919),
  [4377] = {.count = 1, .reusable = false}, SHIFT(1920),
  [4379] = {.count = 1, .reusable = true}, SHIFT(1920),
  [4381] = {.count = 1, .reusable = true}, SHIFT(1921),
  [4383] = {.count = 1, .reusable = false}, SHIFT(1923),
  [4385] = {.count = 1, .reusable = true}, SHIFT(1923),
  [4387] = {.count = 1, .reusable = true}, SHIFT(1922),
  [4389] = {.count = 1, .reusable = true}, SHIFT(1924),
  [4391] = {.count = 1, .reusable = false}, SHIFT(1926),
  [4393] = {.count = 1, .reusable = true}, SHIFT(1926),
  [4395] = {.count = 1, .reusable = true}, SHIFT(1925),
  [4397] = {.count = 1, .reusable = false}, SHIFT(1927),
  [4399] = {.count = 1, .reusable = true}, SHIFT(1928),
  [4401] = {.count = 1, .reusable = true}, SHIFT(1927),
  [4403] = {.count = 1, .reusable = false}, SHIFT(1931),
  [4405] = {.count = 1, .reusable = true}, SHIFT(1931),
  [4407] = {.count = 1, .reusable = false}, SHIFT(1934),
  [4409] = {.count = 1, .reusable = true}, SHIFT(1935),
  [4411] = {.count = 1, .reusable = true}, SHIFT(1934),
  [4413] = {.count = 1, .reusable = true}, SHIFT(1938),
  [4415] = {.count = 1, .reusable = true}, SHIFT(1939),
  [4417] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1173),
  [4420] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1174),
  [4423] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1174),
  [4426] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1175),
  [4429] = {.count = 1, .reusable = true}, SHIFT(1941),
  [4431] = {.count = 1, .reusable = true}, SHIFT(1942),
  [4433] = {.count = 1, .reusable = false}, REDUCE(sym_elif_clause, 3),
  [4435] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 6),
  [4437] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 6),
  [4439] = {.count = 1, .reusable = true}, SHIFT(1945),
  [4441] = {.count = 1, .reusable = true}, SHIFT(1946),
  [4443] = {.count = 1, .reusable = true}, SHIFT(1947),
  [4445] = {.count = 1, .reusable = true}, SHIFT(1949),
  [4447] = {.count = 1, .reusable = true}, SHIFT(1950),
  [4449] = {.count = 1, .reusable = false}, SHIFT(1951),
  [4451] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 2, .alias_sequence_id = 1),
  [4453] = {.count = 1, .reusable = true}, SHIFT(1952),
  [4455] = {.count = 1, .reusable = false}, SHIFT(1953),
  [4457] = {.count = 1, .reusable = false}, SHIFT(1954),
  [4459] = {.count = 1, .reusable = false}, SHIFT(1955),
  [4461] = {.count = 1, .reusable = true}, SHIFT(1956),
  [4463] = {.count = 1, .reusable = false}, SHIFT(1957),
  [4465] = {.count = 1, .reusable = false}, SHIFT(1958),
  [4467] = {.count = 1, .reusable = false}, SHIFT(1959),
  [4469] = {.count = 1, .reusable = true}, SHIFT(1960),
  [4471] = {.count = 1, .reusable = false}, SHIFT(1961),
  [4473] = {.count = 1, .reusable = true}, SHIFT(1962),
  [4475] = {.count = 1, .reusable = true}, SHIFT(1963),
  [4477] = {.count = 1, .reusable = true}, SHIFT(1964),
  [4479] = {.count = 1, .reusable = true}, SHIFT(1965),
  [4481] = {.count = 1, .reusable = true}, SHIFT(1966),
  [4483] = {.count = 1, .reusable = false}, SHIFT(1967),
  [4485] = {.count = 1, .reusable = true}, SHIFT(1975),
  [4487] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 2),
  [4489] = {.count = 1, .reusable = true}, SHIFT(1978),
  [4491] = {.count = 1, .reusable = true}, SHIFT(1982),
  [4493] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 2),
  [4495] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6, .alias_sequence_id = 2),
  [4497] = {.count = 1, .reusable = true}, SHIFT(1983),
  [4499] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(1984),
  [4502] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(234),
  [4505] = {.count = 2, .reusable = false}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(235),
  [4508] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(1985),
  [4511] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(237),
  [4514] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(238),
  [4517] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(239),
  [4520] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_statement_repeat1, 2), SHIFT_REPEAT(240),
  [4523] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 6),
  [4525] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 6),
  [4527] = {.count = 1, .reusable = true}, SHIFT(1988),
  [4529] = {.count = 1, .reusable = true}, SHIFT(1990),
  [4531] = {.count = 1, .reusable = true}, SHIFT(1991),
  [4533] = {.count = 1, .reusable = true}, SHIFT(1992),
  [4535] = {.count = 1, .reusable = false}, SHIFT(1993),
  [4537] = {.count = 1, .reusable = true}, SHIFT(1993),
  [4539] = {.count = 1, .reusable = false}, SHIFT(1994),
  [4541] = {.count = 1, .reusable = true}, SHIFT(1994),
  [4543] = {.count = 1, .reusable = true}, SHIFT(1995),
  [4545] = {.count = 1, .reusable = true}, REDUCE(sym_function_definition, 6),
  [4547] = {.count = 1, .reusable = false}, REDUCE(sym_function_definition, 6),
  [4549] = {.count = 1, .reusable = true}, SHIFT(1997),
  [4551] = {.count = 1, .reusable = true}, SHIFT(1998),
  [4553] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1240),
  [4556] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1241),
  [4559] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1241),
  [4562] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1242),
  [4565] = {.count = 1, .reusable = true}, SHIFT(2000),
  [4567] = {.count = 1, .reusable = true}, SHIFT(2001),
  [4569] = {.count = 1, .reusable = true}, SHIFT(2003),
  [4571] = {.count = 1, .reusable = true}, SHIFT(2004),
  [4573] = {.count = 1, .reusable = true}, SHIFT(2005),
  [4575] = {.count = 1, .reusable = false}, SHIFT(2006),
  [4577] = {.count = 1, .reusable = true}, SHIFT(2006),
  [4579] = {.count = 1, .reusable = false}, SHIFT(2007),
  [4581] = {.count = 1, .reusable = true}, SHIFT(2007),
  [4583] = {.count = 1, .reusable = true}, SHIFT(2008),
  [4585] = {.count = 1, .reusable = true}, SHIFT(2009),
  [4587] = {.count = 1, .reusable = true}, SHIFT(2010),
  [4589] = {.count = 1, .reusable = true}, SHIFT(2011),
  [4591] = {.count = 1, .reusable = false}, SHIFT(2012),
  [4593] = {.count = 1, .reusable = true}, SHIFT(2012),
  [4595] = {.count = 1, .reusable = false}, SHIFT(2013),
  [4597] = {.count = 1, .reusable = true}, SHIFT(2013),
  [4599] = {.count = 1, .reusable = true}, SHIFT(2014),
  [4601] = {.count = 1, .reusable = true}, SHIFT(2015),
  [4603] = {.count = 1, .reusable = true}, SHIFT(2016),
  [4605] = {.count = 1, .reusable = true}, SHIFT(2017),
  [4607] = {.count = 1, .reusable = false}, SHIFT(2018),
  [4609] = {.count = 1, .reusable = true}, SHIFT(2018),
  [4611] = {.count = 1, .reusable = false}, SHIFT(2019),
  [4613] = {.count = 1, .reusable = true}, SHIFT(2019),
  [4615] = {.count = 1, .reusable = true}, SHIFT(2020),
  [4617] = {.count = 1, .reusable = true}, SHIFT(2021),
  [4619] = {.count = 1, .reusable = true}, SHIFT(2022),
  [4621] = {.count = 1, .reusable = true}, SHIFT(2023),
  [4623] = {.count = 1, .reusable = false}, SHIFT(2024),
  [4625] = {.count = 1, .reusable = true}, SHIFT(2024),
  [4627] = {.count = 1, .reusable = false}, SHIFT(2025),
  [4629] = {.count = 1, .reusable = true}, SHIFT(2025),
  [4631] = {.count = 1, .reusable = true}, SHIFT(2026),
  [4633] = {.count = 1, .reusable = true}, SHIFT(2027),
  [4635] = {.count = 1, .reusable = true}, SHIFT(2028),
  [4637] = {.count = 1, .reusable = true}, SHIFT(2029),
  [4639] = {.count = 1, .reusable = false}, SHIFT(2030),
  [4641] = {.count = 1, .reusable = true}, SHIFT(2030),
  [4643] = {.count = 1, .reusable = false}, SHIFT(2031),
  [4645] = {.count = 1, .reusable = true}, SHIFT(2031),
  [4647] = {.count = 1, .reusable = true}, SHIFT(2032),
  [4649] = {.count = 1, .reusable = true}, SHIFT(2033),
  [4651] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 5, .alias_sequence_id = 4),
  [4653] = {.count = 1, .reusable = true}, SHIFT(2034),
  [4655] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 5),
  [4657] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1364),
  [4660] = {.count = 1, .reusable = false}, SHIFT(2035),
  [4662] = {.count = 1, .reusable = true}, SHIFT(2036),
  [4664] = {.count = 1, .reusable = false}, SHIFT(2037),
  [4666] = {.count = 1, .reusable = true}, SHIFT(2038),
  [4668] = {.count = 1, .reusable = true}, SHIFT(2040),
  [4670] = {.count = 1, .reusable = true}, SHIFT(2041),
  [4672] = {.count = 1, .reusable = false}, SHIFT(2043),
  [4674] = {.count = 1, .reusable = true}, SHIFT(2043),
  [4676] = {.count = 1, .reusable = true}, SHIFT(2042),
  [4678] = {.count = 1, .reusable = false}, SHIFT(2045),
  [4680] = {.count = 1, .reusable = true}, SHIFT(2045),
  [4682] = {.count = 1, .reusable = true}, SHIFT(2044),
  [4684] = {.count = 1, .reusable = true}, SHIFT(2046),
  [4686] = {.count = 1, .reusable = true}, SHIFT(2047),
  [4688] = {.count = 1, .reusable = false}, SHIFT(2048),
  [4690] = {.count = 1, .reusable = true}, SHIFT(2048),
  [4692] = {.count = 1, .reusable = true}, SHIFT(2049),
  [4694] = {.count = 1, .reusable = true}, SHIFT(2050),
  [4696] = {.count = 1, .reusable = false}, SHIFT(2051),
  [4698] = {.count = 1, .reusable = true}, SHIFT(2051),
  [4700] = {.count = 1, .reusable = false}, SHIFT(2052),
  [4702] = {.count = 1, .reusable = true}, SHIFT(2052),
  [4704] = {.count = 1, .reusable = true}, SHIFT(2053),
  [4706] = {.count = 1, .reusable = false}, SHIFT(2054),
  [4708] = {.count = 1, .reusable = true}, SHIFT(2054),
  [4710] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 7),
  [4712] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 7),
  [4714] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6),
  [4716] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6),
  [4718] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 5),
  [4720] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 5),
  [4722] = {.count = 1, .reusable = true}, SHIFT(2055),
  [4724] = {.count = 1, .reusable = true}, SHIFT(2056),
  [4726] = {.count = 1, .reusable = true}, SHIFT(2057),
  [4728] = {.count = 1, .reusable = true}, SHIFT(2058),
  [4730] = {.count = 1, .reusable = false}, SHIFT(2059),
  [4732] = {.count = 1, .reusable = true}, SHIFT(2060),
  [4734] = {.count = 1, .reusable = true}, SHIFT(2062),
  [4736] = {.count = 1, .reusable = true}, SHIFT(2063),
  [4738] = {.count = 1, .reusable = false}, SHIFT(2064),
  [4740] = {.count = 1, .reusable = true}, SHIFT(2064),
  [4742] = {.count = 1, .reusable = true}, SHIFT(2065),
  [4744] = {.count = 1, .reusable = false}, SHIFT(2066),
  [4746] = {.count = 1, .reusable = true}, SHIFT(2066),
  [4748] = {.count = 1, .reusable = true}, SHIFT(2067),
  [4750] = {.count = 1, .reusable = false}, SHIFT(2068),
  [4752] = {.count = 1, .reusable = true}, SHIFT(2068),
  [4754] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 6, .alias_sequence_id = 3),
  [4756] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 6, .alias_sequence_id = 3),
  [4758] = {.count = 1, .reusable = true}, SHIFT(2069),
  [4760] = {.count = 1, .reusable = true}, SHIFT(2070),
  [4762] = {.count = 1, .reusable = true}, SHIFT(2071),
  [4764] = {.count = 1, .reusable = true}, SHIFT(2072),
  [4766] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1423),
  [4769] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1424),
  [4772] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1424),
  [4775] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(1425),
  [4778] = {.count = 1, .reusable = true}, SHIFT(2074),
  [4780] = {.count = 1, .reusable = true}, SHIFT(2075),
  [4782] = {.count = 1, .reusable = true}, SHIFT(2077),
  [4784] = {.count = 1, .reusable = true}, SHIFT(2078),
  [4786] = {.count = 1, .reusable = false}, SHIFT(2079),
  [4788] = {.count = 1, .reusable = true}, SHIFT(2080),
  [4790] = {.count = 1, .reusable = true}, SHIFT(2082),
  [4792] = {.count = 1, .reusable = true}, SHIFT(2083),
  [4794] = {.count = 1, .reusable = false}, SHIFT(2084),
  [4796] = {.count = 1, .reusable = true}, SHIFT(2084),
  [4798] = {.count = 1, .reusable = true}, SHIFT(2085),
  [4800] = {.count = 1, .reusable = false}, SHIFT(2086),
  [4802] = {.count = 1, .reusable = true}, SHIFT(2086),
  [4804] = {.count = 1, .reusable = true}, SHIFT(2087),
  [4806] = {.count = 1, .reusable = false}, SHIFT(2088),
  [4808] = {.count = 1, .reusable = true}, SHIFT(2088),
  [4810] = {.count = 1, .reusable = true}, SHIFT(2089),
  [4812] = {.count = 1, .reusable = true}, SHIFT(2090),
  [4814] = {.count = 1, .reusable = false}, SHIFT(2091),
  [4816] = {.count = 1, .reusable = true}, SHIFT(2092),
  [4818] = {.count = 1, .reusable = true}, SHIFT(2094),
  [4820] = {.count = 1, .reusable = true}, SHIFT(2095),
  [4822] = {.count = 1, .reusable = false}, SHIFT(2096),
  [4824] = {.count = 1, .reusable = true}, SHIFT(2096),
  [4826] = {.count = 1, .reusable = true}, SHIFT(2097),
  [4828] = {.count = 1, .reusable = false}, SHIFT(2098),
  [4830] = {.count = 1, .reusable = true}, SHIFT(2098),
  [4832] = {.count = 1, .reusable = true}, SHIFT(2099),
  [4834] = {.count = 1, .reusable = false}, SHIFT(2100),
  [4836] = {.count = 1, .reusable = true}, SHIFT(2100),
  [4838] = {.count = 1, .reusable = true}, SHIFT(2101),
  [4840] = {.count = 1, .reusable = true}, SHIFT(2102),
  [4842] = {.count = 1, .reusable = true}, SHIFT(2103),
  [4844] = {.count = 1, .reusable = true}, SHIFT(2104),
  [4846] = {.count = 1, .reusable = true}, SHIFT(2105),
  [4848] = {.count = 1, .reusable = false}, SHIFT(2106),
  [4850] = {.count = 1, .reusable = true}, SHIFT(2106),
  [4852] = {.count = 1, .reusable = false}, SHIFT(2107),
  [4854] = {.count = 1, .reusable = true}, SHIFT(2107),
  [4856] = {.count = 1, .reusable = true}, SHIFT(2108),
  [4858] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 7),
  [4860] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 7),
  [4862] = {.count = 1, .reusable = true}, SHIFT(2109),
  [4864] = {.count = 1, .reusable = true}, SHIFT(2111),
  [4866] = {.count = 1, .reusable = true}, SHIFT(2112),
  [4868] = {.count = 1, .reusable = true}, SHIFT(2113),
  [4870] = {.count = 1, .reusable = true}, SHIFT(2114),
  [4872] = {.count = 1, .reusable = false}, SHIFT(2115),
  [4874] = {.count = 1, .reusable = true}, SHIFT(2115),
  [4876] = {.count = 1, .reusable = false}, SHIFT(2116),
  [4878] = {.count = 1, .reusable = true}, SHIFT(2116),
  [4880] = {.count = 1, .reusable = true}, SHIFT(2117),
  [4882] = {.count = 1, .reusable = true}, SHIFT(2118),
  [4884] = {.count = 1, .reusable = true}, SHIFT(2119),
  [4886] = {.count = 1, .reusable = true}, SHIFT(2120),
  [4888] = {.count = 1, .reusable = false}, SHIFT(2121),
  [4890] = {.count = 1, .reusable = true}, SHIFT(2122),
  [4892] = {.count = 1, .reusable = true}, SHIFT(2124),
  [4894] = {.count = 1, .reusable = true}, SHIFT(2125),
  [4896] = {.count = 1, .reusable = false}, SHIFT(2126),
  [4898] = {.count = 1, .reusable = true}, SHIFT(2126),
  [4900] = {.count = 1, .reusable = true}, SHIFT(2127),
  [4902] = {.count = 1, .reusable = false}, SHIFT(2128),
  [4904] = {.count = 1, .reusable = true}, SHIFT(2128),
  [4906] = {.count = 1, .reusable = true}, SHIFT(2129),
  [4908] = {.count = 1, .reusable = false}, SHIFT(2130),
  [4910] = {.count = 1, .reusable = true}, SHIFT(2130),
  [4912] = {.count = 1, .reusable = true}, SHIFT(2131),
  [4914] = {.count = 1, .reusable = true}, SHIFT(2132),
  [4916] = {.count = 1, .reusable = true}, SHIFT(2133),
  [4918] = {.count = 1, .reusable = true}, SHIFT(2134),
  [4920] = {.count = 1, .reusable = true}, SHIFT(2135),
  [4922] = {.count = 1, .reusable = false}, SHIFT(2136),
  [4924] = {.count = 1, .reusable = true}, SHIFT(2136),
  [4926] = {.count = 1, .reusable = false}, SHIFT(2137),
  [4928] = {.count = 1, .reusable = true}, SHIFT(2137),
  [4930] = {.count = 1, .reusable = true}, SHIFT(2138),
  [4932] = {.count = 1, .reusable = true}, SHIFT(2139),
  [4934] = {.count = 1, .reusable = true}, SHIFT(2140),
  [4936] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(1587),
  [4939] = {.count = 1, .reusable = false}, SHIFT(2141),
  [4941] = {.count = 1, .reusable = true}, SHIFT(2142),
  [4943] = {.count = 1, .reusable = false}, SHIFT(2143),
  [4945] = {.count = 1, .reusable = true}, SHIFT(2144),
  [4947] = {.count = 1, .reusable = true}, SHIFT(2146),
  [4949] = {.count = 1, .reusable = true}, SHIFT(2147),
  [4951] = {.count = 1, .reusable = false}, SHIFT(2149),
  [4953] = {.count = 1, .reusable = true}, SHIFT(2149),
  [4955] = {.count = 1, .reusable = true}, SHIFT(2148),
  [4957] = {.count = 1, .reusable = false}, SHIFT(2151),
  [4959] = {.count = 1, .reusable = true}, SHIFT(2151),
  [4961] = {.count = 1, .reusable = true}, SHIFT(2150),
  [4963] = {.count = 1, .reusable = true}, SHIFT(2152),
  [4965] = {.count = 1, .reusable = true}, SHIFT(2153),
  [4967] = {.count = 1, .reusable = false}, SHIFT(2154),
  [4969] = {.count = 1, .reusable = true}, SHIFT(2154),
  [4971] = {.count = 1, .reusable = true}, SHIFT(2155),
  [4973] = {.count = 1, .reusable = true}, SHIFT(2156),
  [4975] = {.count = 1, .reusable = false}, SHIFT(2157),
  [4977] = {.count = 1, .reusable = true}, SHIFT(2157),
  [4979] = {.count = 1, .reusable = false}, SHIFT(2158),
  [4981] = {.count = 1, .reusable = true}, SHIFT(2158),
  [4983] = {.count = 1, .reusable = true}, SHIFT(2159),
  [4985] = {.count = 1, .reusable = false}, SHIFT(2160),
  [4987] = {.count = 1, .reusable = true}, SHIFT(2160),
  [4989] = {.count = 1, .reusable = false}, REDUCE(sym_elif_clause, 4),
  [4991] = {.count = 1, .reusable = true}, REDUCE(sym_if_statement, 7),
  [4993] = {.count = 1, .reusable = false}, REDUCE(sym_if_statement, 7),
  [4995] = {.count = 1, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2, .alias_sequence_id = 2),
  [4997] = {.count = 1, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2),
  [4999] = {.count = 1, .reusable = true}, SHIFT(2163),
  [5001] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 3, .alias_sequence_id = 1),
  [5003] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 3, .alias_sequence_id = 1),
  [5005] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 3, .alias_sequence_id = 1),
  [5007] = {.count = 1, .reusable = true}, SHIFT(2166),
  [5009] = {.count = 1, .reusable = true}, SHIFT(2169),
  [5011] = {.count = 1, .reusable = true}, SHIFT(2170),
  [5013] = {.count = 1, .reusable = true}, SHIFT(2171),
  [5015] = {.count = 1, .reusable = false}, SHIFT(2172),
  [5017] = {.count = 1, .reusable = true}, SHIFT(2173),
  [5019] = {.count = 1, .reusable = true}, SHIFT(2174),
  [5021] = {.count = 1, .reusable = true}, SHIFT(2175),
  [5023] = {.count = 1, .reusable = true}, SHIFT(2176),
  [5025] = {.count = 1, .reusable = true}, SHIFT(2177),
  [5027] = {.count = 1, .reusable = false}, SHIFT(2179),
  [5029] = {.count = 1, .reusable = false}, SHIFT(2173),
  [5031] = {.count = 1, .reusable = true}, SHIFT(2180),
  [5033] = {.count = 1, .reusable = true}, SHIFT(2181),
  [5035] = {.count = 1, .reusable = false}, SHIFT(2182),
  [5037] = {.count = 1, .reusable = true}, SHIFT(2183),
  [5039] = {.count = 1, .reusable = true}, SHIFT(2184),
  [5041] = {.count = 1, .reusable = true}, SHIFT(2185),
  [5043] = {.count = 1, .reusable = true}, SHIFT(2186),
  [5045] = {.count = 1, .reusable = true}, SHIFT(2187),
  [5047] = {.count = 1, .reusable = false}, SHIFT(2188),
  [5049] = {.count = 1, .reusable = false}, SHIFT(2183),
  [5051] = {.count = 1, .reusable = true}, SHIFT(2189),
  [5053] = {.count = 1, .reusable = false}, SHIFT(2191),
  [5055] = {.count = 1, .reusable = false}, SHIFT(2192),
  [5057] = {.count = 1, .reusable = true}, SHIFT(2194),
  [5059] = {.count = 1, .reusable = true}, SHIFT(2195),
  [5061] = {.count = 1, .reusable = false}, SHIFT(2196),
  [5063] = {.count = 1, .reusable = true}, SHIFT(2196),
  [5065] = {.count = 1, .reusable = true}, SHIFT(2197),
  [5067] = {.count = 1, .reusable = true}, SHIFT(2198),
  [5069] = {.count = 1, .reusable = true}, SHIFT(2199),
  [5071] = {.count = 1, .reusable = false}, SHIFT(2200),
  [5073] = {.count = 1, .reusable = true}, SHIFT(2200),
  [5075] = {.count = 1, .reusable = true}, SHIFT(2210),
  [5077] = {.count = 1, .reusable = false}, SHIFT(2211),
  [5079] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 3, .alias_sequence_id = 1),
  [5081] = {.count = 1, .reusable = false}, SHIFT(2212),
  [5083] = {.count = 1, .reusable = true}, SHIFT(2213),
  [5085] = {.count = 1, .reusable = true}, SHIFT(2212),
  [5087] = {.count = 1, .reusable = true}, SHIFT(2214),
  [5089] = {.count = 1, .reusable = true}, SHIFT(2211),
  [5091] = {.count = 1, .reusable = true}, SHIFT(2215),
  [5093] = {.count = 1, .reusable = false}, SHIFT(2216),
  [5095] = {.count = 1, .reusable = false}, SHIFT(2217),
  [5097] = {.count = 1, .reusable = true}, SHIFT(2217),
  [5099] = {.count = 1, .reusable = true}, SHIFT(2218),
  [5101] = {.count = 1, .reusable = true}, SHIFT(2219),
  [5103] = {.count = 1, .reusable = true}, SHIFT(2220),
  [5105] = {.count = 1, .reusable = false}, SHIFT(2220),
  [5107] = {.count = 1, .reusable = true}, SHIFT(2223),
  [5109] = {.count = 1, .reusable = true}, SHIFT(1959),
  [5111] = {.count = 2, .reusable = true}, REDUCE(aux_sym_case_item_repeat1, 2), SHIFT_REPEAT(1624),
  [5114] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 3),
  [5116] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 3),
  [5118] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 3),
  [5120] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 3),
  [5122] = {.count = 1, .reusable = true}, SHIFT(2229),
  [5124] = {.count = 1, .reusable = true}, SHIFT(2230),
  [5126] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 2),
  [5128] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 7, .alias_sequence_id = 2),
  [5130] = {.count = 1, .reusable = true}, SHIFT(2234),
  [5132] = {.count = 1, .reusable = true}, SHIFT(2236),
  [5134] = {.count = 1, .reusable = true}, SHIFT(2238),
  [5136] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 7),
  [5138] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 7),
  [5140] = {.count = 1, .reusable = true}, SHIFT(2239),
  [5142] = {.count = 1, .reusable = true}, SHIFT(2240),
  [5144] = {.count = 1, .reusable = true}, SHIFT(2241),
  [5146] = {.count = 1, .reusable = true}, SHIFT(2244),
  [5148] = {.count = 1, .reusable = true}, SHIFT(2245),
  [5150] = {.count = 1, .reusable = true}, SHIFT(2246),
  [5152] = {.count = 1, .reusable = true}, SHIFT(2247),
  [5154] = {.count = 1, .reusable = true}, SHIFT(2248),
  [5156] = {.count = 1, .reusable = true}, SHIFT(2249),
  [5158] = {.count = 1, .reusable = true}, SHIFT(2250),
  [5160] = {.count = 1, .reusable = true}, SHIFT(2251),
  [5162] = {.count = 1, .reusable = true}, SHIFT(2252),
  [5164] = {.count = 1, .reusable = true}, SHIFT(2253),
  [5166] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 6, .alias_sequence_id = 4),
  [5168] = {.count = 1, .reusable = false}, REDUCE(sym_subscript, 6),
  [5170] = {.count = 1, .reusable = true}, SHIFT(2254),
  [5172] = {.count = 1, .reusable = true}, SHIFT(2255),
  [5174] = {.count = 1, .reusable = false}, SHIFT(2256),
  [5176] = {.count = 1, .reusable = true}, SHIFT(2257),
  [5178] = {.count = 1, .reusable = true}, SHIFT(2259),
  [5180] = {.count = 1, .reusable = true}, SHIFT(2260),
  [5182] = {.count = 1, .reusable = false}, SHIFT(2261),
  [5184] = {.count = 1, .reusable = true}, SHIFT(2261),
  [5186] = {.count = 1, .reusable = true}, SHIFT(2262),
  [5188] = {.count = 1, .reusable = false}, SHIFT(2263),
  [5190] = {.count = 1, .reusable = true}, SHIFT(2263),
  [5192] = {.count = 1, .reusable = true}, SHIFT(2264),
  [5194] = {.count = 1, .reusable = false}, SHIFT(2265),
  [5196] = {.count = 1, .reusable = true}, SHIFT(2265),
  [5198] = {.count = 1, .reusable = true}, SHIFT(2266),
  [5200] = {.count = 1, .reusable = true}, SHIFT(2267),
  [5202] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 7, .alias_sequence_id = 5),
  [5204] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 7, .alias_sequence_id = 5),
  [5206] = {.count = 1, .reusable = true}, REDUCE(sym_expansion, 7),
  [5208] = {.count = 1, .reusable = false}, REDUCE(sym_expansion, 7),
  [5210] = {.count = 1, .reusable = true}, SHIFT(2268),
  [5212] = {.count = 1, .reusable = true}, SHIFT(2269),
  [5214] = {.count = 1, .reusable = true}, SHIFT(2270),
  [5216] = {.count = 1, .reusable = false}, SHIFT(2271),
  [5218] = {.count = 1, .reusable = true}, SHIFT(2271),
  [5220] = {.count = 1, .reusable = false}, SHIFT(2272),
  [5222] = {.count = 1, .reusable = true}, SHIFT(2272),
  [5224] = {.count = 1, .reusable = true}, SHIFT(2273),
  [5226] = {.count = 1, .reusable = true}, SHIFT(2276),
  [5228] = {.count = 1, .reusable = true}, SHIFT(2277),
  [5230] = {.count = 1, .reusable = true}, SHIFT(2278),
  [5232] = {.count = 1, .reusable = false}, SHIFT(2279),
  [5234] = {.count = 1, .reusable = true}, SHIFT(2279),
  [5236] = {.count = 1, .reusable = false}, SHIFT(2280),
  [5238] = {.count = 1, .reusable = true}, SHIFT(2280),
  [5240] = {.count = 1, .reusable = true}, SHIFT(2281),
  [5242] = {.count = 1, .reusable = true}, SHIFT(2282),
  [5244] = {.count = 1, .reusable = true}, SHIFT(2283),
  [5246] = {.count = 1, .reusable = true}, SHIFT(2284),
  [5248] = {.count = 1, .reusable = false}, SHIFT(2285),
  [5250] = {.count = 1, .reusable = true}, SHIFT(2285),
  [5252] = {.count = 1, .reusable = false}, SHIFT(2286),
  [5254] = {.count = 1, .reusable = true}, SHIFT(2286),
  [5256] = {.count = 1, .reusable = true}, SHIFT(2287),
  [5258] = {.count = 1, .reusable = true}, SHIFT(2288),
  [5260] = {.count = 1, .reusable = true}, SHIFT(2289),
  [5262] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 8),
  [5264] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 8),
  [5266] = {.count = 1, .reusable = true}, SHIFT(2291),
  [5268] = {.count = 1, .reusable = true}, SHIFT(2292),
  [5270] = {.count = 1, .reusable = true}, SHIFT(2293),
  [5272] = {.count = 1, .reusable = true}, SHIFT(2294),
  [5274] = {.count = 1, .reusable = true}, SHIFT(2295),
  [5276] = {.count = 1, .reusable = true}, SHIFT(2296),
  [5278] = {.count = 1, .reusable = false}, SHIFT(2297),
  [5280] = {.count = 1, .reusable = true}, SHIFT(2297),
  [5282] = {.count = 1, .reusable = false}, SHIFT(2298),
  [5284] = {.count = 1, .reusable = true}, SHIFT(2298),
  [5286] = {.count = 1, .reusable = true}, SHIFT(2299),
  [5288] = {.count = 1, .reusable = true}, SHIFT(2300),
  [5290] = {.count = 1, .reusable = true}, SHIFT(2301),
  [5292] = {.count = 1, .reusable = true}, SHIFT(2302),
  [5294] = {.count = 1, .reusable = true}, SHIFT(2303),
  [5296] = {.count = 1, .reusable = false}, SHIFT(2304),
  [5298] = {.count = 1, .reusable = true}, SHIFT(2305),
  [5300] = {.count = 1, .reusable = true}, SHIFT(2307),
  [5302] = {.count = 1, .reusable = true}, SHIFT(2308),
  [5304] = {.count = 1, .reusable = false}, SHIFT(2309),
  [5306] = {.count = 1, .reusable = true}, SHIFT(2309),
  [5308] = {.count = 1, .reusable = true}, SHIFT(2310),
  [5310] = {.count = 1, .reusable = false}, SHIFT(2311),
  [5312] = {.count = 1, .reusable = true}, SHIFT(2311),
  [5314] = {.count = 1, .reusable = true}, SHIFT(2312),
  [5316] = {.count = 1, .reusable = false}, SHIFT(2313),
  [5318] = {.count = 1, .reusable = true}, SHIFT(2313),
  [5320] = {.count = 1, .reusable = true}, SHIFT(2314),
  [5322] = {.count = 1, .reusable = true}, SHIFT(2315),
  [5324] = {.count = 1, .reusable = true}, SHIFT(2316),
  [5326] = {.count = 1, .reusable = true}, SHIFT(2317),
  [5328] = {.count = 1, .reusable = true}, SHIFT(2318),
  [5330] = {.count = 1, .reusable = true}, SHIFT(2319),
  [5332] = {.count = 1, .reusable = false}, SHIFT(2320),
  [5334] = {.count = 1, .reusable = true}, SHIFT(2321),
  [5336] = {.count = 1, .reusable = true}, SHIFT(2322),
  [5338] = {.count = 1, .reusable = true}, SHIFT(2323),
  [5340] = {.count = 1, .reusable = true}, SHIFT(2324),
  [5342] = {.count = 1, .reusable = true}, SHIFT(2325),
  [5344] = {.count = 1, .reusable = true}, SHIFT(2326),
  [5346] = {.count = 1, .reusable = true}, SHIFT(2328),
  [5348] = {.count = 1, .reusable = true}, SHIFT(2330),
  [5350] = {.count = 1, .reusable = true}, SHIFT(2331),
  [5352] = {.count = 1, .reusable = false}, SHIFT(2333),
  [5354] = {.count = 1, .reusable = false}, SHIFT(2334),
  [5356] = {.count = 1, .reusable = true}, SHIFT(2336),
  [5358] = {.count = 1, .reusable = true}, SHIFT(2337),
  [5360] = {.count = 1, .reusable = false}, SHIFT(2338),
  [5362] = {.count = 1, .reusable = true}, SHIFT(2338),
  [5364] = {.count = 1, .reusable = true}, SHIFT(2339),
  [5366] = {.count = 1, .reusable = true}, SHIFT(2340),
  [5368] = {.count = 1, .reusable = true}, SHIFT(2341),
  [5370] = {.count = 1, .reusable = false}, SHIFT(2342),
  [5372] = {.count = 1, .reusable = true}, SHIFT(2342),
  [5374] = {.count = 1, .reusable = false}, SHIFT(2352),
  [5376] = {.count = 1, .reusable = true}, SHIFT(2353),
  [5378] = {.count = 1, .reusable = false}, SHIFT(2355),
  [5380] = {.count = 1, .reusable = false}, SHIFT(2356),
  [5382] = {.count = 1, .reusable = true}, SHIFT(2358),
  [5384] = {.count = 1, .reusable = true}, SHIFT(2359),
  [5386] = {.count = 1, .reusable = false}, SHIFT(2360),
  [5388] = {.count = 1, .reusable = true}, SHIFT(2360),
  [5390] = {.count = 1, .reusable = true}, SHIFT(2361),
  [5392] = {.count = 1, .reusable = true}, SHIFT(2362),
  [5394] = {.count = 1, .reusable = true}, SHIFT(2363),
  [5396] = {.count = 1, .reusable = false}, SHIFT(2364),
  [5398] = {.count = 1, .reusable = true}, SHIFT(2364),
  [5400] = {.count = 1, .reusable = false}, SHIFT(2374),
  [5402] = {.count = 1, .reusable = true}, SHIFT(2375),
  [5404] = {.count = 1, .reusable = false}, SHIFT(2377),
  [5406] = {.count = 1, .reusable = false}, SHIFT(2378),
  [5408] = {.count = 1, .reusable = true}, SHIFT(2379),
  [5410] = {.count = 1, .reusable = true}, SHIFT(2380),
  [5412] = {.count = 1, .reusable = true}, SHIFT(2381),
  [5414] = {.count = 1, .reusable = false}, SHIFT(2382),
  [5416] = {.count = 1, .reusable = true}, SHIFT(2382),
  [5418] = {.count = 1, .reusable = true}, SHIFT(2383),
  [5420] = {.count = 1, .reusable = false}, SHIFT(2385),
  [5422] = {.count = 1, .reusable = true}, SHIFT(2385),
  [5424] = {.count = 1, .reusable = true}, SHIFT(2384),
  [5426] = {.count = 1, .reusable = true}, SHIFT(2386),
  [5428] = {.count = 1, .reusable = false}, SHIFT(2388),
  [5430] = {.count = 1, .reusable = true}, SHIFT(2388),
  [5432] = {.count = 1, .reusable = true}, SHIFT(2387),
  [5434] = {.count = 1, .reusable = false}, SHIFT(2389),
  [5436] = {.count = 1, .reusable = true}, SHIFT(2390),
  [5438] = {.count = 1, .reusable = true}, SHIFT(2389),
  [5440] = {.count = 1, .reusable = false}, SHIFT(2393),
  [5442] = {.count = 1, .reusable = true}, SHIFT(2393),
  [5444] = {.count = 1, .reusable = false}, SHIFT(2396),
  [5446] = {.count = 1, .reusable = true}, SHIFT(2397),
  [5448] = {.count = 1, .reusable = true}, SHIFT(2396),
  [5450] = {.count = 1, .reusable = true}, SHIFT(2400),
  [5452] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 4, .alias_sequence_id = 1),
  [5454] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 4, .alias_sequence_id = 1),
  [5456] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 4, .alias_sequence_id = 1),
  [5458] = {.count = 1, .reusable = false}, SHIFT(2404),
  [5460] = {.count = 1, .reusable = true}, SHIFT(2404),
  [5462] = {.count = 1, .reusable = true}, SHIFT(2405),
  [5464] = {.count = 1, .reusable = true}, SHIFT(2406),
  [5466] = {.count = 1, .reusable = true}, SHIFT(2407),
  [5468] = {.count = 1, .reusable = true}, SHIFT(2408),
  [5470] = {.count = 1, .reusable = true}, SHIFT(2409),
  [5472] = {.count = 1, .reusable = false}, SHIFT(2410),
  [5474] = {.count = 1, .reusable = true}, SHIFT(2411),
  [5476] = {.count = 1, .reusable = true}, SHIFT(2412),
  [5478] = {.count = 1, .reusable = true}, SHIFT(2413),
  [5480] = {.count = 1, .reusable = true}, SHIFT(2414),
  [5482] = {.count = 1, .reusable = true}, SHIFT(2415),
  [5484] = {.count = 1, .reusable = true}, SHIFT(2416),
  [5486] = {.count = 1, .reusable = true}, SHIFT(2417),
  [5488] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 4, .alias_sequence_id = 1),
  [5490] = {.count = 1, .reusable = true}, SHIFT(2421),
  [5492] = {.count = 1, .reusable = true}, SHIFT(2425),
  [5494] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 4),
  [5496] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 4),
  [5498] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 4),
  [5500] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 4),
  [5502] = {.count = 1, .reusable = true}, SHIFT(2428),
  [5504] = {.count = 1, .reusable = true}, SHIFT(2429),
  [5506] = {.count = 1, .reusable = true}, SHIFT(2432),
  [5508] = {.count = 1, .reusable = true}, SHIFT(2436),
  [5510] = {.count = 1, .reusable = true}, SHIFT(2437),
  [5512] = {.count = 1, .reusable = true}, SHIFT(2441),
  [5514] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 2),
  [5516] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 8, .alias_sequence_id = 2),
  [5518] = {.count = 1, .reusable = true}, REDUCE(sym_case_statement, 8),
  [5520] = {.count = 1, .reusable = false}, REDUCE(sym_case_statement, 8),
  [5522] = {.count = 1, .reusable = true}, SHIFT(2442),
  [5524] = {.count = 1, .reusable = true}, SHIFT(2443),
  [5526] = {.count = 1, .reusable = true}, SHIFT(2444),
  [5528] = {.count = 1, .reusable = false}, SHIFT(2445),
  [5530] = {.count = 1, .reusable = true}, SHIFT(2445),
  [5532] = {.count = 1, .reusable = false}, SHIFT(2446),
  [5534] = {.count = 1, .reusable = true}, SHIFT(2446),
  [5536] = {.count = 1, .reusable = true}, SHIFT(2447),
  [5538] = {.count = 1, .reusable = true}, SHIFT(2448),
  [5540] = {.count = 1, .reusable = true}, SHIFT(2449),
  [5542] = {.count = 1, .reusable = true}, SHIFT(2450),
  [5544] = {.count = 1, .reusable = true}, SHIFT(2451),
  [5546] = {.count = 1, .reusable = true}, SHIFT(2452),
  [5548] = {.count = 1, .reusable = true}, SHIFT(2453),
  [5550] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 9),
  [5552] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 9),
  [5554] = {.count = 1, .reusable = true}, SHIFT(2455),
  [5556] = {.count = 1, .reusable = true}, SHIFT(2456),
  [5558] = {.count = 1, .reusable = true}, SHIFT(2457),
  [5560] = {.count = 1, .reusable = true}, SHIFT(2458),
  [5562] = {.count = 1, .reusable = true}, SHIFT(2459),
  [5564] = {.count = 1, .reusable = false}, SHIFT(2460),
  [5566] = {.count = 1, .reusable = true}, SHIFT(2460),
  [5568] = {.count = 1, .reusable = false}, SHIFT(2461),
  [5570] = {.count = 1, .reusable = true}, SHIFT(2461),
  [5572] = {.count = 1, .reusable = true}, SHIFT(2462),
  [5574] = {.count = 1, .reusable = true}, SHIFT(2463),
  [5576] = {.count = 1, .reusable = true}, SHIFT(2465),
  [5578] = {.count = 1, .reusable = false}, SHIFT(2467),
  [5580] = {.count = 1, .reusable = false}, SHIFT(2468),
  [5582] = {.count = 1, .reusable = true}, SHIFT(2470),
  [5584] = {.count = 1, .reusable = true}, SHIFT(2471),
  [5586] = {.count = 1, .reusable = false}, SHIFT(2472),
  [5588] = {.count = 1, .reusable = true}, SHIFT(2472),
  [5590] = {.count = 1, .reusable = true}, SHIFT(2473),
  [5592] = {.count = 1, .reusable = true}, SHIFT(2474),
  [5594] = {.count = 1, .reusable = true}, SHIFT(2475),
  [5596] = {.count = 1, .reusable = false}, SHIFT(2476),
  [5598] = {.count = 1, .reusable = true}, SHIFT(2476),
  [5600] = {.count = 1, .reusable = true}, SHIFT(2486),
  [5602] = {.count = 1, .reusable = false}, SHIFT(2487),
  [5604] = {.count = 1, .reusable = true}, SHIFT(2487),
  [5606] = {.count = 1, .reusable = true}, SHIFT(2488),
  [5608] = {.count = 1, .reusable = true}, SHIFT(2491),
  [5610] = {.count = 1, .reusable = true}, SHIFT(2492),
  [5612] = {.count = 1, .reusable = false}, SHIFT(2493),
  [5614] = {.count = 1, .reusable = true}, SHIFT(2493),
  [5616] = {.count = 1, .reusable = true}, SHIFT(2494),
  [5618] = {.count = 1, .reusable = true}, SHIFT(2495),
  [5620] = {.count = 1, .reusable = true}, SHIFT(2496),
  [5622] = {.count = 1, .reusable = true}, SHIFT(2497),
  [5624] = {.count = 1, .reusable = true}, SHIFT(2498),
  [5626] = {.count = 1, .reusable = false}, SHIFT(2500),
  [5628] = {.count = 1, .reusable = false}, SHIFT(2501),
  [5630] = {.count = 1, .reusable = true}, SHIFT(2502),
  [5632] = {.count = 1, .reusable = true}, SHIFT(2503),
  [5634] = {.count = 1, .reusable = true}, SHIFT(2504),
  [5636] = {.count = 1, .reusable = false}, SHIFT(2505),
  [5638] = {.count = 1, .reusable = true}, SHIFT(2505),
  [5640] = {.count = 1, .reusable = true}, SHIFT(2506),
  [5642] = {.count = 1, .reusable = false}, SHIFT(2508),
  [5644] = {.count = 1, .reusable = true}, SHIFT(2508),
  [5646] = {.count = 1, .reusable = true}, SHIFT(2507),
  [5648] = {.count = 1, .reusable = true}, SHIFT(2509),
  [5650] = {.count = 1, .reusable = false}, SHIFT(2511),
  [5652] = {.count = 1, .reusable = true}, SHIFT(2511),
  [5654] = {.count = 1, .reusable = true}, SHIFT(2510),
  [5656] = {.count = 1, .reusable = false}, SHIFT(2512),
  [5658] = {.count = 1, .reusable = true}, SHIFT(2513),
  [5660] = {.count = 1, .reusable = true}, SHIFT(2512),
  [5662] = {.count = 1, .reusable = false}, SHIFT(2516),
  [5664] = {.count = 1, .reusable = true}, SHIFT(2516),
  [5666] = {.count = 1, .reusable = false}, SHIFT(2519),
  [5668] = {.count = 1, .reusable = true}, SHIFT(2520),
  [5670] = {.count = 1, .reusable = true}, SHIFT(2519),
  [5672] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2169),
  [5675] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2170),
  [5678] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2171),
  [5681] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2172),
  [5684] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2173),
  [5687] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2174),
  [5690] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2175),
  [5693] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2176),
  [5696] = {.count = 2, .reusable = true}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2177),
  [5699] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2352),
  [5702] = {.count = 2, .reusable = false}, REDUCE(aux_sym_declaration_command_repeat1, 2), SHIFT_REPEAT(2173),
  [5705] = {.count = 1, .reusable = true}, SHIFT(2523),
  [5707] = {.count = 1, .reusable = false}, SHIFT(2525),
  [5709] = {.count = 1, .reusable = false}, SHIFT(2526),
  [5711] = {.count = 1, .reusable = true}, SHIFT(2527),
  [5713] = {.count = 1, .reusable = true}, SHIFT(2528),
  [5715] = {.count = 1, .reusable = true}, SHIFT(2529),
  [5717] = {.count = 1, .reusable = false}, SHIFT(2530),
  [5719] = {.count = 1, .reusable = true}, SHIFT(2530),
  [5721] = {.count = 1, .reusable = true}, SHIFT(2531),
  [5723] = {.count = 1, .reusable = false}, SHIFT(2533),
  [5725] = {.count = 1, .reusable = true}, SHIFT(2533),
  [5727] = {.count = 1, .reusable = true}, SHIFT(2532),
  [5729] = {.count = 1, .reusable = true}, SHIFT(2534),
  [5731] = {.count = 1, .reusable = false}, SHIFT(2536),
  [5733] = {.count = 1, .reusable = true}, SHIFT(2536),
  [5735] = {.count = 1, .reusable = true}, SHIFT(2535),
  [5737] = {.count = 1, .reusable = false}, SHIFT(2537),
  [5739] = {.count = 1, .reusable = true}, SHIFT(2538),
  [5741] = {.count = 1, .reusable = true}, SHIFT(2537),
  [5743] = {.count = 1, .reusable = false}, SHIFT(2541),
  [5745] = {.count = 1, .reusable = true}, SHIFT(2541),
  [5747] = {.count = 1, .reusable = false}, SHIFT(2544),
  [5749] = {.count = 1, .reusable = true}, SHIFT(2545),
  [5751] = {.count = 1, .reusable = true}, SHIFT(2544),
  [5753] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2180),
  [5756] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2181),
  [5759] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2182),
  [5762] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2183),
  [5765] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2184),
  [5768] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2185),
  [5771] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2186),
  [5774] = {.count = 2, .reusable = true}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2187),
  [5777] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2374),
  [5780] = {.count = 2, .reusable = false}, REDUCE(aux_sym_unset_command_repeat1, 2), SHIFT_REPEAT(2183),
  [5783] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2189),
  [5786] = {.count = 1, .reusable = false}, SHIFT(2548),
  [5788] = {.count = 1, .reusable = true}, SHIFT(2549),
  [5790] = {.count = 1, .reusable = false}, SHIFT(2550),
  [5792] = {.count = 1, .reusable = true}, SHIFT(2551),
  [5794] = {.count = 1, .reusable = true}, SHIFT(2553),
  [5796] = {.count = 1, .reusable = true}, SHIFT(2554),
  [5798] = {.count = 1, .reusable = false}, SHIFT(2556),
  [5800] = {.count = 1, .reusable = true}, SHIFT(2556),
  [5802] = {.count = 1, .reusable = true}, SHIFT(2555),
  [5804] = {.count = 1, .reusable = false}, SHIFT(2558),
  [5806] = {.count = 1, .reusable = true}, SHIFT(2558),
  [5808] = {.count = 1, .reusable = true}, SHIFT(2557),
  [5810] = {.count = 1, .reusable = true}, SHIFT(2559),
  [5812] = {.count = 1, .reusable = true}, SHIFT(2560),
  [5814] = {.count = 1, .reusable = false}, SHIFT(2561),
  [5816] = {.count = 1, .reusable = true}, SHIFT(2561),
  [5818] = {.count = 1, .reusable = true}, SHIFT(2562),
  [5820] = {.count = 1, .reusable = true}, SHIFT(2563),
  [5822] = {.count = 1, .reusable = false}, SHIFT(2564),
  [5824] = {.count = 1, .reusable = true}, SHIFT(2564),
  [5826] = {.count = 1, .reusable = false}, SHIFT(2565),
  [5828] = {.count = 1, .reusable = true}, SHIFT(2565),
  [5830] = {.count = 1, .reusable = true}, SHIFT(2566),
  [5832] = {.count = 1, .reusable = false}, SHIFT(2567),
  [5834] = {.count = 1, .reusable = true}, SHIFT(2567),
  [5836] = {.count = 1, .reusable = true}, SHIFT(2569),
  [5838] = {.count = 1, .reusable = true}, SHIFT(2570),
  [5840] = {.count = 1, .reusable = true}, SHIFT(2571),
  [5842] = {.count = 1, .reusable = false}, SHIFT(2573),
  [5844] = {.count = 1, .reusable = false}, SHIFT(2574),
  [5846] = {.count = 1, .reusable = true}, SHIFT(2576),
  [5848] = {.count = 1, .reusable = true}, SHIFT(2577),
  [5850] = {.count = 1, .reusable = false}, SHIFT(2578),
  [5852] = {.count = 1, .reusable = true}, SHIFT(2578),
  [5854] = {.count = 1, .reusable = true}, SHIFT(2579),
  [5856] = {.count = 1, .reusable = true}, SHIFT(2580),
  [5858] = {.count = 1, .reusable = true}, SHIFT(2581),
  [5860] = {.count = 1, .reusable = false}, SHIFT(2582),
  [5862] = {.count = 1, .reusable = true}, SHIFT(2582),
  [5864] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2215),
  [5867] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2217),
  [5870] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2217),
  [5873] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2218),
  [5876] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2216),
  [5879] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2219),
  [5882] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1960),
  [5885] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1961),
  [5888] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2220),
  [5891] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1963),
  [5894] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1964),
  [5897] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1965),
  [5900] = {.count = 2, .reusable = true}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(1966),
  [5903] = {.count = 2, .reusable = false}, REDUCE(aux_sym_command_repeat2, 2), SHIFT_REPEAT(2220),
  [5906] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 5, .alias_sequence_id = 1),
  [5908] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 5, .alias_sequence_id = 1),
  [5910] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 5, .alias_sequence_id = 1),
  [5912] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 5, .alias_sequence_id = 1),
  [5914] = {.count = 1, .reusable = true}, SHIFT(2593),
  [5916] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 5),
  [5918] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 5),
  [5920] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 5),
  [5922] = {.count = 1, .reusable = true}, REDUCE(sym_last_case_item, 5),
  [5924] = {.count = 1, .reusable = true}, SHIFT(2594),
  [5926] = {.count = 1, .reusable = true}, SHIFT(2595),
  [5928] = {.count = 1, .reusable = true}, SHIFT(2596),
  [5930] = {.count = 1, .reusable = true}, SHIFT(2601),
  [5932] = {.count = 1, .reusable = true}, SHIFT(2602),
  [5934] = {.count = 1, .reusable = true}, SHIFT(2606),
  [5936] = {.count = 1, .reusable = true}, SHIFT(2607),
  [5938] = {.count = 1, .reusable = true}, REDUCE(sym_c_style_for_statement, 10),
  [5940] = {.count = 1, .reusable = false}, REDUCE(sym_c_style_for_statement, 10),
  [5942] = {.count = 1, .reusable = true}, SHIFT(2608),
  [5944] = {.count = 1, .reusable = true}, SHIFT(2609),
  [5946] = {.count = 1, .reusable = true}, SHIFT(2610),
  [5948] = {.count = 1, .reusable = true}, SHIFT(2611),
  [5950] = {.count = 1, .reusable = false}, SHIFT(2613),
  [5952] = {.count = 1, .reusable = false}, SHIFT(2614),
  [5954] = {.count = 1, .reusable = true}, SHIFT(2615),
  [5956] = {.count = 1, .reusable = true}, SHIFT(2616),
  [5958] = {.count = 1, .reusable = true}, SHIFT(2617),
  [5960] = {.count = 1, .reusable = false}, SHIFT(2618),
  [5962] = {.count = 1, .reusable = true}, SHIFT(2618),
  [5964] = {.count = 1, .reusable = true}, SHIFT(2619),
  [5966] = {.count = 1, .reusable = false}, SHIFT(2621),
  [5968] = {.count = 1, .reusable = true}, SHIFT(2621),
  [5970] = {.count = 1, .reusable = true}, SHIFT(2620),
  [5972] = {.count = 1, .reusable = true}, SHIFT(2622),
  [5974] = {.count = 1, .reusable = false}, SHIFT(2624),
  [5976] = {.count = 1, .reusable = true}, SHIFT(2624),
  [5978] = {.count = 1, .reusable = true}, SHIFT(2623),
  [5980] = {.count = 1, .reusable = false}, SHIFT(2625),
  [5982] = {.count = 1, .reusable = true}, SHIFT(2626),
  [5984] = {.count = 1, .reusable = true}, SHIFT(2625),
  [5986] = {.count = 1, .reusable = false}, SHIFT(2629),
  [5988] = {.count = 1, .reusable = true}, SHIFT(2629),
  [5990] = {.count = 1, .reusable = false}, SHIFT(2632),
  [5992] = {.count = 1, .reusable = true}, SHIFT(2633),
  [5994] = {.count = 1, .reusable = true}, SHIFT(2632),
  [5996] = {.count = 1, .reusable = false}, SHIFT(2636),
  [5998] = {.count = 1, .reusable = true}, SHIFT(2636),
  [6000] = {.count = 1, .reusable = true}, SHIFT(2637),
  [6002] = {.count = 1, .reusable = true}, SHIFT(2638),
  [6004] = {.count = 1, .reusable = true}, SHIFT(2639),
  [6006] = {.count = 1, .reusable = true}, SHIFT(2640),
  [6008] = {.count = 1, .reusable = false}, SHIFT(2643),
  [6010] = {.count = 1, .reusable = true}, SHIFT(2643),
  [6012] = {.count = 1, .reusable = true}, SHIFT(2644),
  [6014] = {.count = 1, .reusable = true}, SHIFT(2645),
  [6016] = {.count = 1, .reusable = true}, SHIFT(2646),
  [6018] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2331),
  [6021] = {.count = 1, .reusable = false}, SHIFT(2648),
  [6023] = {.count = 1, .reusable = true}, SHIFT(2649),
  [6025] = {.count = 1, .reusable = false}, SHIFT(2650),
  [6027] = {.count = 1, .reusable = true}, SHIFT(2651),
  [6029] = {.count = 1, .reusable = true}, SHIFT(2653),
  [6031] = {.count = 1, .reusable = true}, SHIFT(2654),
  [6033] = {.count = 1, .reusable = false}, SHIFT(2656),
  [6035] = {.count = 1, .reusable = true}, SHIFT(2656),
  [6037] = {.count = 1, .reusable = true}, SHIFT(2655),
  [6039] = {.count = 1, .reusable = false}, SHIFT(2658),
  [6041] = {.count = 1, .reusable = true}, SHIFT(2658),
  [6043] = {.count = 1, .reusable = true}, SHIFT(2657),
  [6045] = {.count = 1, .reusable = true}, SHIFT(2659),
  [6047] = {.count = 1, .reusable = true}, SHIFT(2660),
  [6049] = {.count = 1, .reusable = false}, SHIFT(2661),
  [6051] = {.count = 1, .reusable = true}, SHIFT(2661),
  [6053] = {.count = 1, .reusable = true}, SHIFT(2662),
  [6055] = {.count = 1, .reusable = true}, SHIFT(2663),
  [6057] = {.count = 1, .reusable = false}, SHIFT(2664),
  [6059] = {.count = 1, .reusable = true}, SHIFT(2664),
  [6061] = {.count = 1, .reusable = false}, SHIFT(2665),
  [6063] = {.count = 1, .reusable = true}, SHIFT(2665),
  [6065] = {.count = 1, .reusable = true}, SHIFT(2666),
  [6067] = {.count = 1, .reusable = false}, SHIFT(2667),
  [6069] = {.count = 1, .reusable = true}, SHIFT(2667),
  [6071] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2353),
  [6074] = {.count = 1, .reusable = false}, SHIFT(2668),
  [6076] = {.count = 1, .reusable = true}, SHIFT(2669),
  [6078] = {.count = 1, .reusable = false}, SHIFT(2670),
  [6080] = {.count = 1, .reusable = true}, SHIFT(2671),
  [6082] = {.count = 1, .reusable = true}, SHIFT(2673),
  [6084] = {.count = 1, .reusable = true}, SHIFT(2674),
  [6086] = {.count = 1, .reusable = false}, SHIFT(2676),
  [6088] = {.count = 1, .reusable = true}, SHIFT(2676),
  [6090] = {.count = 1, .reusable = true}, SHIFT(2675),
  [6092] = {.count = 1, .reusable = false}, SHIFT(2678),
  [6094] = {.count = 1, .reusable = true}, SHIFT(2678),
  [6096] = {.count = 1, .reusable = true}, SHIFT(2677),
  [6098] = {.count = 1, .reusable = true}, SHIFT(2679),
  [6100] = {.count = 1, .reusable = true}, SHIFT(2680),
  [6102] = {.count = 1, .reusable = false}, SHIFT(2681),
  [6104] = {.count = 1, .reusable = true}, SHIFT(2681),
  [6106] = {.count = 1, .reusable = true}, SHIFT(2682),
  [6108] = {.count = 1, .reusable = true}, SHIFT(2683),
  [6110] = {.count = 1, .reusable = false}, SHIFT(2684),
  [6112] = {.count = 1, .reusable = true}, SHIFT(2684),
  [6114] = {.count = 1, .reusable = false}, SHIFT(2685),
  [6116] = {.count = 1, .reusable = true}, SHIFT(2685),
  [6118] = {.count = 1, .reusable = true}, SHIFT(2686),
  [6120] = {.count = 1, .reusable = false}, SHIFT(2687),
  [6122] = {.count = 1, .reusable = true}, SHIFT(2687),
  [6124] = {.count = 1, .reusable = true}, SHIFT(2688),
  [6126] = {.count = 1, .reusable = true}, SHIFT(2689),
  [6128] = {.count = 1, .reusable = false}, SHIFT(2690),
  [6130] = {.count = 1, .reusable = true}, SHIFT(2691),
  [6132] = {.count = 1, .reusable = true}, SHIFT(2693),
  [6134] = {.count = 1, .reusable = true}, SHIFT(2694),
  [6136] = {.count = 1, .reusable = false}, SHIFT(2695),
  [6138] = {.count = 1, .reusable = true}, SHIFT(2695),
  [6140] = {.count = 1, .reusable = true}, SHIFT(2696),
  [6142] = {.count = 1, .reusable = false}, SHIFT(2697),
  [6144] = {.count = 1, .reusable = true}, SHIFT(2697),
  [6146] = {.count = 1, .reusable = true}, SHIFT(2698),
  [6148] = {.count = 1, .reusable = false}, SHIFT(2699),
  [6150] = {.count = 1, .reusable = true}, SHIFT(2699),
  [6152] = {.count = 1, .reusable = true}, SHIFT(2700),
  [6154] = {.count = 1, .reusable = true}, SHIFT(2701),
  [6156] = {.count = 1, .reusable = true}, SHIFT(2702),
  [6158] = {.count = 1, .reusable = false}, SHIFT(2704),
  [6160] = {.count = 1, .reusable = false}, SHIFT(2705),
  [6162] = {.count = 1, .reusable = true}, SHIFT(2706),
  [6164] = {.count = 1, .reusable = true}, SHIFT(2707),
  [6166] = {.count = 1, .reusable = true}, SHIFT(2708),
  [6168] = {.count = 1, .reusable = false}, SHIFT(2709),
  [6170] = {.count = 1, .reusable = true}, SHIFT(2709),
  [6172] = {.count = 1, .reusable = true}, SHIFT(2710),
  [6174] = {.count = 1, .reusable = false}, SHIFT(2712),
  [6176] = {.count = 1, .reusable = true}, SHIFT(2712),
  [6178] = {.count = 1, .reusable = true}, SHIFT(2711),
  [6180] = {.count = 1, .reusable = true}, SHIFT(2713),
  [6182] = {.count = 1, .reusable = false}, SHIFT(2715),
  [6184] = {.count = 1, .reusable = true}, SHIFT(2715),
  [6186] = {.count = 1, .reusable = true}, SHIFT(2714),
  [6188] = {.count = 1, .reusable = false}, SHIFT(2716),
  [6190] = {.count = 1, .reusable = true}, SHIFT(2717),
  [6192] = {.count = 1, .reusable = true}, SHIFT(2716),
  [6194] = {.count = 1, .reusable = false}, SHIFT(2720),
  [6196] = {.count = 1, .reusable = true}, SHIFT(2720),
  [6198] = {.count = 1, .reusable = false}, SHIFT(2723),
  [6200] = {.count = 1, .reusable = true}, SHIFT(2724),
  [6202] = {.count = 1, .reusable = true}, SHIFT(2723),
  [6204] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 6, .alias_sequence_id = 1),
  [6206] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 6, .alias_sequence_id = 1),
  [6208] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 6, .alias_sequence_id = 1),
  [6210] = {.count = 1, .reusable = false}, REDUCE(sym_last_case_item, 6),
  [6212] = {.count = 1, .reusable = false}, REDUCE(sym_case_item, 6),
  [6214] = {.count = 1, .reusable = true}, REDUCE(sym_case_item, 6),
  [6216] = {.count = 1, .reusable = true}, SHIFT(2727),
  [6218] = {.count = 1, .reusable = true}, SHIFT(2728),
  [6220] = {.count = 1, .reusable = true}, SHIFT(2731),
  [6222] = {.count = 1, .reusable = true}, SHIFT(2732),
  [6224] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2465),
  [6227] = {.count = 1, .reusable = false}, SHIFT(2735),
  [6229] = {.count = 1, .reusable = true}, SHIFT(2736),
  [6231] = {.count = 1, .reusable = false}, SHIFT(2737),
  [6233] = {.count = 1, .reusable = true}, SHIFT(2738),
  [6235] = {.count = 1, .reusable = true}, SHIFT(2740),
  [6237] = {.count = 1, .reusable = true}, SHIFT(2741),
  [6239] = {.count = 1, .reusable = false}, SHIFT(2743),
  [6241] = {.count = 1, .reusable = true}, SHIFT(2743),
  [6243] = {.count = 1, .reusable = true}, SHIFT(2742),
  [6245] = {.count = 1, .reusable = false}, SHIFT(2745),
  [6247] = {.count = 1, .reusable = true}, SHIFT(2745),
  [6249] = {.count = 1, .reusable = true}, SHIFT(2744),
  [6251] = {.count = 1, .reusable = true}, SHIFT(2746),
  [6253] = {.count = 1, .reusable = true}, SHIFT(2747),
  [6255] = {.count = 1, .reusable = false}, SHIFT(2748),
  [6257] = {.count = 1, .reusable = true}, SHIFT(2748),
  [6259] = {.count = 1, .reusable = true}, SHIFT(2749),
  [6261] = {.count = 1, .reusable = true}, SHIFT(2750),
  [6263] = {.count = 1, .reusable = false}, SHIFT(2751),
  [6265] = {.count = 1, .reusable = true}, SHIFT(2751),
  [6267] = {.count = 1, .reusable = false}, SHIFT(2752),
  [6269] = {.count = 1, .reusable = true}, SHIFT(2752),
  [6271] = {.count = 1, .reusable = true}, SHIFT(2753),
  [6273] = {.count = 1, .reusable = false}, SHIFT(2754),
  [6275] = {.count = 1, .reusable = true}, SHIFT(2754),
  [6277] = {.count = 1, .reusable = true}, SHIFT(2755),
  [6279] = {.count = 1, .reusable = true}, SHIFT(2756),
  [6281] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2486),
  [6284] = {.count = 2, .reusable = false}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2487),
  [6287] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2487),
  [6290] = {.count = 2, .reusable = true}, REDUCE(aux_sym_while_statement_repeat1, 2), SHIFT_REPEAT(2488),
  [6293] = {.count = 1, .reusable = true}, SHIFT(2758),
  [6295] = {.count = 1, .reusable = true}, SHIFT(2759),
  [6297] = {.count = 1, .reusable = true}, SHIFT(2761),
  [6299] = {.count = 1, .reusable = true}, SHIFT(2762),
  [6301] = {.count = 1, .reusable = true}, SHIFT(2763),
  [6303] = {.count = 1, .reusable = false}, SHIFT(2764),
  [6305] = {.count = 1, .reusable = true}, SHIFT(2765),
  [6307] = {.count = 1, .reusable = true}, SHIFT(2767),
  [6309] = {.count = 1, .reusable = true}, SHIFT(2768),
  [6311] = {.count = 1, .reusable = false}, SHIFT(2769),
  [6313] = {.count = 1, .reusable = true}, SHIFT(2769),
  [6315] = {.count = 1, .reusable = true}, SHIFT(2770),
  [6317] = {.count = 1, .reusable = false}, SHIFT(2771),
  [6319] = {.count = 1, .reusable = true}, SHIFT(2771),
  [6321] = {.count = 1, .reusable = true}, SHIFT(2772),
  [6323] = {.count = 1, .reusable = false}, SHIFT(2773),
  [6325] = {.count = 1, .reusable = true}, SHIFT(2773),
  [6327] = {.count = 1, .reusable = true}, SHIFT(2774),
  [6329] = {.count = 1, .reusable = true}, SHIFT(2775),
  [6331] = {.count = 1, .reusable = true}, SHIFT(2776),
  [6333] = {.count = 1, .reusable = true}, SHIFT(2777),
  [6335] = {.count = 1, .reusable = false}, SHIFT(2778),
  [6337] = {.count = 1, .reusable = true}, SHIFT(2779),
  [6339] = {.count = 1, .reusable = true}, SHIFT(2781),
  [6341] = {.count = 1, .reusable = true}, SHIFT(2782),
  [6343] = {.count = 1, .reusable = false}, SHIFT(2783),
  [6345] = {.count = 1, .reusable = true}, SHIFT(2783),
  [6347] = {.count = 1, .reusable = true}, SHIFT(2784),
  [6349] = {.count = 1, .reusable = false}, SHIFT(2785),
  [6351] = {.count = 1, .reusable = true}, SHIFT(2785),
  [6353] = {.count = 1, .reusable = true}, SHIFT(2786),
  [6355] = {.count = 1, .reusable = false}, SHIFT(2787),
  [6357] = {.count = 1, .reusable = true}, SHIFT(2787),
  [6359] = {.count = 1, .reusable = true}, SHIFT(2788),
  [6361] = {.count = 1, .reusable = true}, SHIFT(2789),
  [6363] = {.count = 1, .reusable = true}, SHIFT(2790),
  [6365] = {.count = 1, .reusable = true}, SHIFT(2791),
  [6367] = {.count = 1, .reusable = true}, SHIFT(2792),
  [6369] = {.count = 1, .reusable = false}, SHIFT(2793),
  [6371] = {.count = 1, .reusable = true}, SHIFT(2793),
  [6373] = {.count = 1, .reusable = false}, SHIFT(2794),
  [6375] = {.count = 1, .reusable = true}, SHIFT(2794),
  [6377] = {.count = 1, .reusable = true}, SHIFT(2795),
  [6379] = {.count = 2, .reusable = true}, REDUCE(aux_sym_concatenation_repeat1, 2), SHIFT_REPEAT(2571),
  [6382] = {.count = 1, .reusable = false}, SHIFT(2796),
  [6384] = {.count = 1, .reusable = true}, SHIFT(2797),
  [6386] = {.count = 1, .reusable = false}, SHIFT(2798),
  [6388] = {.count = 1, .reusable = true}, SHIFT(2799),
  [6390] = {.count = 1, .reusable = true}, SHIFT(2801),
  [6392] = {.count = 1, .reusable = true}, SHIFT(2802),
  [6394] = {.count = 1, .reusable = false}, SHIFT(2804),
  [6396] = {.count = 1, .reusable = true}, SHIFT(2804),
  [6398] = {.count = 1, .reusable = true}, SHIFT(2803),
  [6400] = {.count = 1, .reusable = false}, SHIFT(2806),
  [6402] = {.count = 1, .reusable = true}, SHIFT(2806),
  [6404] = {.count = 1, .reusable = true}, SHIFT(2805),
  [6406] = {.count = 1, .reusable = true}, SHIFT(2807),
  [6408] = {.count = 1, .reusable = true}, SHIFT(2808),
  [6410] = {.count = 1, .reusable = false}, SHIFT(2809),
  [6412] = {.count = 1, .reusable = true}, SHIFT(2809),
  [6414] = {.count = 1, .reusable = true}, SHIFT(2810),
  [6416] = {.count = 1, .reusable = true}, SHIFT(2811),
  [6418] = {.count = 1, .reusable = false}, SHIFT(2812),
  [6420] = {.count = 1, .reusable = true}, SHIFT(2812),
  [6422] = {.count = 1, .reusable = false}, SHIFT(2813),
  [6424] = {.count = 1, .reusable = true}, SHIFT(2813),
  [6426] = {.count = 1, .reusable = true}, SHIFT(2814),
  [6428] = {.count = 1, .reusable = false}, SHIFT(2815),
  [6430] = {.count = 1, .reusable = true}, SHIFT(2815),
  [6432] = {.count = 1, .reusable = true}, SHIFT(2816),
  [6434] = {.count = 1, .reusable = true}, SHIFT(2817),
  [6436] = {.count = 1, .reusable = true}, SHIFT(2818),
  [6438] = {.count = 1, .reusable = true}, SHIFT(2819),
  [6440] = {.count = 1, .reusable = false}, SHIFT(2820),
  [6442] = {.count = 1, .reusable = true}, SHIFT(2821),
  [6444] = {.count = 1, .reusable = true}, SHIFT(2823),
  [6446] = {.count = 1, .reusable = true}, SHIFT(2824),
  [6448] = {.count = 1, .reusable = false}, SHIFT(2825),
  [6450] = {.count = 1, .reusable = true}, SHIFT(2825),
  [6452] = {.count = 1, .reusable = true}, SHIFT(2826),
  [6454] = {.count = 1, .reusable = false}, SHIFT(2827),
  [6456] = {.count = 1, .reusable = true}, SHIFT(2827),
  [6458] = {.count = 1, .reusable = true}, SHIFT(2828),
  [6460] = {.count = 1, .reusable = false}, SHIFT(2829),
  [6462] = {.count = 1, .reusable = true}, SHIFT(2829),
  [6464] = {.count = 1, .reusable = true}, SHIFT(2830),
  [6466] = {.count = 1, .reusable = true}, SHIFT(2831),
  [6468] = {.count = 1, .reusable = true}, SHIFT(2834),
  [6470] = {.count = 1, .reusable = true}, SHIFT(2835),
  [6472] = {.count = 1, .reusable = true}, SHIFT(2836),
  [6474] = {.count = 1, .reusable = false}, SHIFT(2837),
  [6476] = {.count = 1, .reusable = true}, SHIFT(2837),
  [6478] = {.count = 1, .reusable = false}, SHIFT(2838),
  [6480] = {.count = 1, .reusable = true}, SHIFT(2838),
  [6482] = {.count = 1, .reusable = true}, SHIFT(2839),
  [6484] = {.count = 1, .reusable = true}, SHIFT(2840),
  [6486] = {.count = 1, .reusable = true}, SHIFT(2841),
  [6488] = {.count = 1, .reusable = true}, SHIFT(2842),
  [6490] = {.count = 1, .reusable = false}, SHIFT(2843),
  [6492] = {.count = 1, .reusable = true}, SHIFT(2843),
  [6494] = {.count = 1, .reusable = false}, SHIFT(2844),
  [6496] = {.count = 1, .reusable = true}, SHIFT(2844),
  [6498] = {.count = 1, .reusable = true}, SHIFT(2845),
  [6500] = {.count = 1, .reusable = true}, SHIFT(2846),
  [6502] = {.count = 1, .reusable = true}, SHIFT(2847),
  [6504] = {.count = 1, .reusable = true}, SHIFT(2848),
  [6506] = {.count = 1, .reusable = true}, SHIFT(2849),
  [6508] = {.count = 1, .reusable = false}, SHIFT(2850),
  [6510] = {.count = 1, .reusable = true}, SHIFT(2851),
  [6512] = {.count = 1, .reusable = true}, SHIFT(2853),
  [6514] = {.count = 1, .reusable = true}, SHIFT(2854),
  [6516] = {.count = 1, .reusable = false}, SHIFT(2855),
  [6518] = {.count = 1, .reusable = true}, SHIFT(2855),
  [6520] = {.count = 1, .reusable = true}, SHIFT(2856),
  [6522] = {.count = 1, .reusable = false}, SHIFT(2857),
  [6524] = {.count = 1, .reusable = true}, SHIFT(2857),
  [6526] = {.count = 1, .reusable = true}, SHIFT(2858),
  [6528] = {.count = 1, .reusable = false}, SHIFT(2859),
  [6530] = {.count = 1, .reusable = true}, SHIFT(2859),
  [6532] = {.count = 1, .reusable = true}, SHIFT(2860),
  [6534] = {.count = 1, .reusable = true}, SHIFT(2861),
  [6536] = {.count = 1, .reusable = true}, SHIFT(2862),
  [6538] = {.count = 1, .reusable = true}, SHIFT(2863),
  [6540] = {.count = 1, .reusable = true}, SHIFT(2864),
  [6542] = {.count = 1, .reusable = false}, SHIFT(2865),
  [6544] = {.count = 1, .reusable = true}, SHIFT(2865),
  [6546] = {.count = 1, .reusable = false}, SHIFT(2866),
  [6548] = {.count = 1, .reusable = true}, SHIFT(2866),
  [6550] = {.count = 1, .reusable = true}, SHIFT(2867),
  [6552] = {.count = 1, .reusable = true}, SHIFT(2868),
  [6554] = {.count = 1, .reusable = true}, SHIFT(2869),
  [6556] = {.count = 1, .reusable = true}, SHIFT(2870),
  [6558] = {.count = 1, .reusable = true}, SHIFT(2871),
  [6560] = {.count = 1, .reusable = true}, SHIFT(2872),
  [6562] = {.count = 1, .reusable = true}, SHIFT(2873),
  [6564] = {.count = 1, .reusable = true}, SHIFT(2874),
  [6566] = {.count = 1, .reusable = false}, SHIFT(2875),
  [6568] = {.count = 1, .reusable = true}, SHIFT(2875),
  [6570] = {.count = 1, .reusable = false}, SHIFT(2876),
  [6572] = {.count = 1, .reusable = true}, SHIFT(2876),
  [6574] = {.count = 1, .reusable = true}, SHIFT(2877),
  [6576] = {.count = 1, .reusable = true}, SHIFT(2878),
  [6578] = {.count = 1, .reusable = true}, SHIFT(2879),
  [6580] = {.count = 1, .reusable = true}, SHIFT(2880),
  [6582] = {.count = 1, .reusable = true}, SHIFT(2881),
};

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;
}
