/* Automatically @generated by tree-sitter v0.25.4 (be292b9913ed0cbde2188a48ac8ee95e8122385b) */ #include "tree_sitter/parser.h" #if defined(__GNUC__) || defined(__clang__) #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #endif #define LANGUAGE_VERSION 14 #define STATE_COUNT 119 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 70 #define ALIAS_COUNT 4 #define TOKEN_COUNT 45 #define EXTERNAL_TOKEN_COUNT 0 #define FIELD_COUNT 3 #define MAX_ALIAS_SEQUENCE_LENGTH 7 #define MAX_RESERVED_WORD_SET_SIZE 0 #define PRODUCTION_ID_COUNT 30 #define SUPERTYPE_COUNT 0 enum ts_symbol_identifiers { sym_attr_name = 1, anon_sym_BANG = 2, anon_sym_BSLASH = 3, anon_sym_DQUOTE = 4, aux_sym__quoted_pattern_token1 = 5, sym__pattern_char = 6, sym_escaped_char = 7, sym__special_char = 8, sym__octal_code = 9, sym__hex_code = 10, aux_sym__unicode_code_token1 = 11, aux_sym__unicode_code_token2 = 12, sym__control_code = 13, anon_sym_LBRACK = 14, aux_sym_range_notation_token1 = 15, anon_sym_DASH = 16, anon_sym_RBRACK = 17, sym__class_char = 18, sym_character_class = 19, sym_wildcard = 20, sym_dir_sep = 21, anon_sym_EQ = 22, aux_sym__attr_value_token1 = 23, aux_sym__attr_value_token2 = 24, anon_sym_text = 25, anon_sym_eol = 26, anon_sym_crlf = 27, anon_sym_working_DASHtree_DASHencoding = 28, anon_sym_ident = 29, anon_sym_filter = 30, anon_sym_diff = 31, anon_sym_merge = 32, anon_sym_whitespace = 33, anon_sym_export_DASHignore = 34, anon_sym_export_DASHsubst = 35, anon_sym_delta = 36, anon_sym_encoding = 37, anon_sym_binary = 38, anon_sym_LBRACKattr_RBRACK = 39, anon_sym_POUND = 40, aux_sym_comment_token1 = 41, aux_sym__space_token1 = 42, sym__eol = 43, anon_sym_NULL = 44, sym_file = 45, sym__line = 46, sym__attr_list = 47, sym_pattern = 48, aux_sym__pattern = 49, sym_quoted_pattern = 50, aux_sym__quoted_pattern = 51, sym_ansi_c_escape = 52, sym__char_code = 53, sym__unicode_code = 54, sym_range_notation = 55, sym_class_range = 56, sym_attribute = 57, sym__prefixed_attr = 58, sym__attr_value = 59, sym_builtin_attr = 60, sym_macro_def = 61, sym_comment = 62, sym__space = 63, sym__eof = 64, aux_sym_file_repeat1 = 65, aux_sym__attr_list_repeat1 = 66, aux_sym_pattern_repeat1 = 67, aux_sym_range_notation_repeat1 = 68, aux_sym_comment_repeat1 = 69, alias_sym_attr_reset = 70, alias_sym_attr_unset = 71, alias_sym_ignored_value = 72, alias_sym_trailing_slash = 73, }; static const char * const ts_symbol_names[] = { [ts_builtin_sym_end] = "end", [sym_attr_name] = "attr_name", [anon_sym_BANG] = "pattern_negation", [anon_sym_BSLASH] = "redundant_escape", [anon_sym_DQUOTE] = "\"", [aux_sym__quoted_pattern_token1] = "_quoted_pattern_token1", [sym__pattern_char] = "_pattern_char", [sym_escaped_char] = "escaped_char", [sym__special_char] = "_special_char", [sym__octal_code] = "_octal_code", [sym__hex_code] = "_hex_code", [aux_sym__unicode_code_token1] = "_unicode_code_token1", [aux_sym__unicode_code_token2] = "_unicode_code_token2", [sym__control_code] = "_control_code", [anon_sym_LBRACK] = "[", [aux_sym_range_notation_token1] = "range_negation", [anon_sym_DASH] = "-", [anon_sym_RBRACK] = "]", [sym__class_char] = "_class_char", [sym_character_class] = "character_class", [sym_wildcard] = "wildcard", [sym_dir_sep] = "dir_sep", [anon_sym_EQ] = "attr_set", [aux_sym__attr_value_token1] = "boolean_value", [aux_sym__attr_value_token2] = "string_value", [anon_sym_text] = "text", [anon_sym_eol] = "eol", [anon_sym_crlf] = "crlf", [anon_sym_working_DASHtree_DASHencoding] = "working-tree-encoding", [anon_sym_ident] = "ident", [anon_sym_filter] = "filter", [anon_sym_diff] = "diff", [anon_sym_merge] = "merge", [anon_sym_whitespace] = "whitespace", [anon_sym_export_DASHignore] = "export-ignore", [anon_sym_export_DASHsubst] = "export-subst", [anon_sym_delta] = "delta", [anon_sym_encoding] = "encoding", [anon_sym_binary] = "binary", [anon_sym_LBRACKattr_RBRACK] = "macro_tag", [anon_sym_POUND] = "#", [aux_sym_comment_token1] = "comment_token1", [aux_sym__space_token1] = "_space_token1", [sym__eol] = "_eol", [anon_sym_NULL] = "\0", [sym_file] = "file", [sym__line] = "_line", [sym__attr_list] = "_attr_list", [sym_pattern] = "pattern", [aux_sym__pattern] = "_pattern", [sym_quoted_pattern] = "quoted_pattern", [aux_sym__quoted_pattern] = "_quoted_pattern", [sym_ansi_c_escape] = "ansi_c_escape", [sym__char_code] = "_char_code", [sym__unicode_code] = "_unicode_code", [sym_range_notation] = "range_notation", [sym_class_range] = "class_range", [sym_attribute] = "attribute", [sym__prefixed_attr] = "_prefixed_attr", [sym__attr_value] = "_attr_value", [sym_builtin_attr] = "builtin_attr", [sym_macro_def] = "macro_def", [sym_comment] = "comment", [sym__space] = "_space", [sym__eof] = "_eof", [aux_sym_file_repeat1] = "file_repeat1", [aux_sym__attr_list_repeat1] = "_attr_list_repeat1", [aux_sym_pattern_repeat1] = "pattern_repeat1", [aux_sym_range_notation_repeat1] = "range_notation_repeat1", [aux_sym_comment_repeat1] = "comment_repeat1", [alias_sym_attr_reset] = "attr_reset", [alias_sym_attr_unset] = "attr_unset", [alias_sym_ignored_value] = "ignored_value", [alias_sym_trailing_slash] = "trailing_slash", }; static const TSSymbol ts_symbol_map[] = { [ts_builtin_sym_end] = ts_builtin_sym_end, [sym_attr_name] = sym_attr_name, [anon_sym_BANG] = anon_sym_BANG, [anon_sym_BSLASH] = anon_sym_BSLASH, [anon_sym_DQUOTE] = anon_sym_DQUOTE, [aux_sym__quoted_pattern_token1] = aux_sym__quoted_pattern_token1, [sym__pattern_char] = sym__pattern_char, [sym_escaped_char] = sym_escaped_char, [sym__special_char] = sym__special_char, [sym__octal_code] = sym__octal_code, [sym__hex_code] = sym__hex_code, [aux_sym__unicode_code_token1] = aux_sym__unicode_code_token1, [aux_sym__unicode_code_token2] = aux_sym__unicode_code_token2, [sym__control_code] = sym__control_code, [anon_sym_LBRACK] = anon_sym_LBRACK, [aux_sym_range_notation_token1] = aux_sym_range_notation_token1, [anon_sym_DASH] = anon_sym_DASH, [anon_sym_RBRACK] = anon_sym_RBRACK, [sym__class_char] = sym__class_char, [sym_character_class] = sym_character_class, [sym_wildcard] = sym_wildcard, [sym_dir_sep] = sym_dir_sep, [anon_sym_EQ] = anon_sym_EQ, [aux_sym__attr_value_token1] = aux_sym__attr_value_token1, [aux_sym__attr_value_token2] = aux_sym__attr_value_token2, [anon_sym_text] = anon_sym_text, [anon_sym_eol] = anon_sym_eol, [anon_sym_crlf] = anon_sym_crlf, [anon_sym_working_DASHtree_DASHencoding] = anon_sym_working_DASHtree_DASHencoding, [anon_sym_ident] = anon_sym_ident, [anon_sym_filter] = anon_sym_filter, [anon_sym_diff] = anon_sym_diff, [anon_sym_merge] = anon_sym_merge, [anon_sym_whitespace] = anon_sym_whitespace, [anon_sym_export_DASHignore] = anon_sym_export_DASHignore, [anon_sym_export_DASHsubst] = anon_sym_export_DASHsubst, [anon_sym_delta] = anon_sym_delta, [anon_sym_encoding] = anon_sym_encoding, [anon_sym_binary] = anon_sym_binary, [anon_sym_LBRACKattr_RBRACK] = anon_sym_LBRACKattr_RBRACK, [anon_sym_POUND] = anon_sym_POUND, [aux_sym_comment_token1] = aux_sym_comment_token1, [aux_sym__space_token1] = aux_sym__space_token1, [sym__eol] = sym__eol, [anon_sym_NULL] = anon_sym_NULL, [sym_file] = sym_file, [sym__line] = sym__line, [sym__attr_list] = sym__attr_list, [sym_pattern] = sym_pattern, [aux_sym__pattern] = aux_sym__pattern, [sym_quoted_pattern] = sym_quoted_pattern, [aux_sym__quoted_pattern] = aux_sym__quoted_pattern, [sym_ansi_c_escape] = sym_ansi_c_escape, [sym__char_code] = sym__char_code, [sym__unicode_code] = sym__unicode_code, [sym_range_notation] = sym_range_notation, [sym_class_range] = sym_class_range, [sym_attribute] = sym_attribute, [sym__prefixed_attr] = sym__prefixed_attr, [sym__attr_value] = sym__attr_value, [sym_builtin_attr] = sym_builtin_attr, [sym_macro_def] = sym_macro_def, [sym_comment] = sym_comment, [sym__space] = sym__space, [sym__eof] = sym__eof, [aux_sym_file_repeat1] = aux_sym_file_repeat1, [aux_sym__attr_list_repeat1] = aux_sym__attr_list_repeat1, [aux_sym_pattern_repeat1] = aux_sym_pattern_repeat1, [aux_sym_range_notation_repeat1] = aux_sym_range_notation_repeat1, [aux_sym_comment_repeat1] = aux_sym_comment_repeat1, [alias_sym_attr_reset] = alias_sym_attr_reset, [alias_sym_attr_unset] = alias_sym_attr_unset, [alias_sym_ignored_value] = alias_sym_ignored_value, [alias_sym_trailing_slash] = alias_sym_trailing_slash, }; static const TSSymbolMetadata ts_symbol_metadata[] = { [ts_builtin_sym_end] = { .visible = false, .named = true, }, [sym_attr_name] = { .visible = true, .named = true, }, [anon_sym_BANG] = { .visible = true, .named = true, }, [anon_sym_BSLASH] = { .visible = true, .named = true, }, [anon_sym_DQUOTE] = { .visible = true, .named = false, }, [aux_sym__quoted_pattern_token1] = { .visible = false, .named = false, }, [sym__pattern_char] = { .visible = false, .named = true, }, [sym_escaped_char] = { .visible = true, .named = true, }, [sym__special_char] = { .visible = false, .named = true, }, [sym__octal_code] = { .visible = false, .named = true, }, [sym__hex_code] = { .visible = false, .named = true, }, [aux_sym__unicode_code_token1] = { .visible = false, .named = false, }, [aux_sym__unicode_code_token2] = { .visible = false, .named = false, }, [sym__control_code] = { .visible = false, .named = true, }, [anon_sym_LBRACK] = { .visible = true, .named = false, }, [aux_sym_range_notation_token1] = { .visible = true, .named = true, }, [anon_sym_DASH] = { .visible = true, .named = false, }, [anon_sym_RBRACK] = { .visible = true, .named = false, }, [sym__class_char] = { .visible = false, .named = true, }, [sym_character_class] = { .visible = true, .named = true, }, [sym_wildcard] = { .visible = true, .named = true, }, [sym_dir_sep] = { .visible = true, .named = true, }, [anon_sym_EQ] = { .visible = true, .named = true, }, [aux_sym__attr_value_token1] = { .visible = true, .named = true, }, [aux_sym__attr_value_token2] = { .visible = true, .named = true, }, [anon_sym_text] = { .visible = true, .named = false, }, [anon_sym_eol] = { .visible = true, .named = false, }, [anon_sym_crlf] = { .visible = true, .named = false, }, [anon_sym_working_DASHtree_DASHencoding] = { .visible = true, .named = false, }, [anon_sym_ident] = { .visible = true, .named = false, }, [anon_sym_filter] = { .visible = true, .named = false, }, [anon_sym_diff] = { .visible = true, .named = false, }, [anon_sym_merge] = { .visible = true, .named = false, }, [anon_sym_whitespace] = { .visible = true, .named = false, }, [anon_sym_export_DASHignore] = { .visible = true, .named = false, }, [anon_sym_export_DASHsubst] = { .visible = true, .named = false, }, [anon_sym_delta] = { .visible = true, .named = false, }, [anon_sym_encoding] = { .visible = true, .named = false, }, [anon_sym_binary] = { .visible = true, .named = false, }, [anon_sym_LBRACKattr_RBRACK] = { .visible = true, .named = true, }, [anon_sym_POUND] = { .visible = true, .named = false, }, [aux_sym_comment_token1] = { .visible = false, .named = false, }, [aux_sym__space_token1] = { .visible = false, .named = false, }, [sym__eol] = { .visible = false, .named = true, }, [anon_sym_NULL] = { .visible = true, .named = false, }, [sym_file] = { .visible = true, .named = true, }, [sym__line] = { .visible = false, .named = true, }, [sym__attr_list] = { .visible = false, .named = true, }, [sym_pattern] = { .visible = true, .named = true, }, [aux_sym__pattern] = { .visible = false, .named = false, }, [sym_quoted_pattern] = { .visible = true, .named = true, }, [aux_sym__quoted_pattern] = { .visible = false, .named = false, }, [sym_ansi_c_escape] = { .visible = true, .named = true, }, [sym__char_code] = { .visible = false, .named = true, }, [sym__unicode_code] = { .visible = false, .named = true, }, [sym_range_notation] = { .visible = true, .named = true, }, [sym_class_range] = { .visible = true, .named = true, }, [sym_attribute] = { .visible = true, .named = true, }, [sym__prefixed_attr] = { .visible = false, .named = true, }, [sym__attr_value] = { .visible = false, .named = true, }, [sym_builtin_attr] = { .visible = true, .named = true, }, [sym_macro_def] = { .visible = true, .named = true, }, [sym_comment] = { .visible = true, .named = true, }, [sym__space] = { .visible = false, .named = true, }, [sym__eof] = { .visible = false, .named = true, }, [aux_sym_file_repeat1] = { .visible = false, .named = false, }, [aux_sym__attr_list_repeat1] = { .visible = false, .named = false, }, [aux_sym_pattern_repeat1] = { .visible = false, .named = false, }, [aux_sym_range_notation_repeat1] = { .visible = false, .named = false, }, [aux_sym_comment_repeat1] = { .visible = false, .named = false, }, [alias_sym_attr_reset] = { .visible = true, .named = true, }, [alias_sym_attr_unset] = { .visible = true, .named = true, }, [alias_sym_ignored_value] = { .visible = true, .named = true, }, [alias_sym_trailing_slash] = { .visible = true, .named = true, }, }; enum ts_field_identifiers { field_absolute = 1, field_macro_name = 2, field_relative = 3, }; static const char * const ts_field_names[] = { [0] = NULL, [field_absolute] = "absolute", [field_macro_name] = "macro_name", [field_relative] = "relative", }; static const TSMapSlice ts_field_map_slices[PRODUCTION_ID_COUNT] = { [1] = {.index = 0, .length = 1}, [3] = {.index = 1, .length = 1}, [4] = {.index = 2, .length = 1}, [6] = {.index = 3, .length = 1}, [7] = {.index = 0, .length = 1}, [8] = {.index = 4, .length = 2}, [9] = {.index = 6, .length = 1}, [10] = {.index = 7, .length = 1}, [11] = {.index = 1, .length = 1}, [12] = {.index = 8, .length = 2}, [13] = {.index = 2, .length = 1}, [14] = {.index = 10, .length = 2}, [15] = {.index = 3, .length = 1}, [16] = {.index = 4, .length = 2}, [20] = {.index = 10, .length = 2}, [21] = {.index = 12, .length = 1}, [23] = {.index = 13, .length = 1}, [26] = {.index = 12, .length = 1}, [27] = {.index = 14, .length = 2}, [28] = {.index = 13, .length = 1}, [29] = {.index = 14, .length = 2}, }; static const TSFieldMapEntry ts_field_map_entries[] = { [0] = {field_absolute, 0}, [1] = {field_relative, 1, .inherited = true}, [2] = {field_absolute, 1}, [3] = {field_relative, 2, .inherited = true}, [4] = {field_absolute, 0}, {field_relative, 2, .inherited = true}, [6] = {field_macro_name, 1}, [7] = {field_relative, 0}, [8] = {field_relative, 0, .inherited = true}, {field_relative, 1, .inherited = true}, [10] = {field_absolute, 1}, {field_relative, 3, .inherited = true}, [12] = {field_absolute, 2}, [13] = {field_relative, 3, .inherited = true}, [14] = {field_absolute, 2}, {field_relative, 4, .inherited = true}, }; static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, [2] = { [1] = alias_sym_trailing_slash, }, [5] = { [2] = alias_sym_trailing_slash, }, [7] = { [2] = alias_sym_trailing_slash, }, [11] = { [2] = alias_sym_trailing_slash, }, [13] = { [3] = alias_sym_trailing_slash, }, [15] = { [3] = alias_sym_trailing_slash, }, [16] = { [3] = alias_sym_trailing_slash, }, [17] = { [0] = alias_sym_attr_reset, }, [18] = { [0] = alias_sym_attr_unset, }, [19] = { [1] = alias_sym_ignored_value, }, [20] = { [4] = alias_sym_trailing_slash, }, [22] = { [3] = alias_sym_trailing_slash, }, [24] = { [0] = alias_sym_attr_reset, [2] = alias_sym_ignored_value, }, [25] = { [0] = alias_sym_attr_unset, [2] = alias_sym_ignored_value, }, [26] = { [4] = alias_sym_trailing_slash, }, [28] = { [4] = alias_sym_trailing_slash, }, [29] = { [5] = alias_sym_trailing_slash, }, }; static const uint16_t ts_non_terminal_alias_map[] = { sym__attr_value, 2, sym__attr_value, alias_sym_ignored_value, 0, }; static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [0] = 0, [1] = 1, [2] = 2, [3] = 3, [4] = 4, [5] = 5, [6] = 6, [7] = 7, [8] = 8, [9] = 9, [10] = 10, [11] = 11, [12] = 12, [13] = 13, [14] = 14, [15] = 15, [16] = 16, [17] = 17, [18] = 18, [19] = 15, [20] = 20, [21] = 14, [22] = 18, [23] = 23, [24] = 24, [25] = 25, [26] = 26, [27] = 25, [28] = 28, [29] = 29, [30] = 30, [31] = 31, [32] = 32, [33] = 33, [34] = 34, [35] = 30, [36] = 36, [37] = 37, [38] = 38, [39] = 39, [40] = 40, [41] = 40, [42] = 39, [43] = 43, [44] = 44, [45] = 45, [46] = 46, [47] = 47, [48] = 48, [49] = 49, [50] = 50, [51] = 51, [52] = 52, [53] = 53, [54] = 54, [55] = 55, [56] = 56, [57] = 57, [58] = 58, [59] = 59, [60] = 60, [61] = 61, [62] = 62, [63] = 61, [64] = 64, [65] = 65, [66] = 66, [67] = 65, [68] = 64, [69] = 69, [70] = 70, [71] = 71, [72] = 72, [73] = 73, [74] = 74, [75] = 75, [76] = 76, [77] = 77, [78] = 78, [79] = 79, [80] = 80, [81] = 81, [82] = 82, [83] = 83, [84] = 84, [85] = 85, [86] = 86, [87] = 87, [88] = 88, [89] = 89, [90] = 90, [91] = 91, [92] = 92, [93] = 93, [94] = 94, [95] = 95, [96] = 96, [97] = 97, [98] = 88, [99] = 99, [100] = 100, [101] = 101, [102] = 102, [103] = 103, [104] = 104, [105] = 105, [106] = 106, [107] = 107, [108] = 108, [109] = 109, [110] = 110, [111] = 111, [112] = 112, [113] = 113, [114] = 114, [115] = 115, [116] = 116, [117] = 117, [118] = 118, }; static const TSCharacterRange sym__special_char_character_set_1[] = { {'"', '"'}, {'\'', '\''}, {'?', '?'}, {'E', 'E'}, {'\\', '\\'}, {'a', 'b'}, {'e', 'f'}, {'n', 'n'}, {'r', 'r'}, {'t', 't'}, {'v', 'v'}, }; static bool ts_lex(TSLexer *lexer, TSStateId state) { START_LEXER(); eof = lexer->eof(lexer); switch (state) { case 0: if (eof) ADVANCE(77); ADVANCE_MAP( 0, 123, '\n', 122, '\r', 84, '!', 78, '"', 82, '#', 118, '-', 99, '/', 106, '=', 107, '[', 96, '\\', 79, ']', 100, '^', 83, '\t', 83, 0x0b, 83, '\f', 83, ' ', 83, '*', 83, '?', 83, ); if (('.' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= '_') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(85); if (lookahead != 0) ADVANCE(83); END_STATE(); case 1: ADVANCE_MAP( 0, 123, '\n', 122, '\r', 3, '!', 78, '-', 99, '=', 107, '\t', 121, ' ', 121, ); if (lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(116); END_STATE(); case 2: if ((!eof && lookahead == 00)) ADVANCE(123); if (lookahead == '\n') ADVANCE(122); if (lookahead == '\r') ADVANCE(120); if (lookahead != 0) ADVANCE(119); END_STATE(); case 3: if (lookahead == '\n') ADVANCE(122); END_STATE(); case 4: if (lookahead == '!') ADVANCE(78); if (lookahead == '/') ADVANCE(106); if (lookahead == '\\') ADVANCE(80); if (lookahead != 0 && lookahead != '\n') ADVANCE(83); END_STATE(); case 5: if (lookahead == '"') ADVANCE(82); if (lookahead == '*') ADVANCE(105); if (lookahead == '/') ADVANCE(106); if (lookahead == '?') ADVANCE(104); if (lookahead == '[') ADVANCE(96); if (lookahead == '\\') ADVANCE(81); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(86); END_STATE(); case 6: if (lookahead == '"') ADVANCE(82); if (lookahead == '/') ADVANCE(106); if (lookahead == '\\') ADVANCE(80); if (lookahead != 0 && lookahead != '\n') ADVANCE(83); END_STATE(); case 7: if (lookahead == '*') ADVANCE(105); if (lookahead == '/') ADVANCE(106); if (lookahead == '?') ADVANCE(104); if (lookahead == '[') ADVANCE(96); if (lookahead == '\\') ADVANCE(81); if (lookahead == '\t' || lookahead == ' ') ADVANCE(121); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead)) ADVANCE(86); END_STATE(); case 8: if (lookahead == '-') ADVANCE(99); if (lookahead == '[') ADVANCE(102); if (lookahead == '\\') ADVANCE(12); if (lookahead == ']') ADVANCE(100); if (lookahead != 0 && lookahead != '\n') ADVANCE(101); END_STATE(); case 9: if (lookahead == '-') ADVANCE(99); if (lookahead == '[') ADVANCE(102); if (lookahead == '\\') ADVANCE(12); if (lookahead == '!' || lookahead == '^') ADVANCE(98); if (lookahead != 0 && lookahead != '\n' && (lookahead < '[' || '^' < lookahead)) ADVANCE(101); END_STATE(); case 10: if (lookahead == '/') ADVANCE(106); if (lookahead == '\\') ADVANCE(80); if (lookahead != 0 && lookahead != '\n') ADVANCE(83); END_STATE(); case 11: if (lookahead == ':') ADVANCE(18); END_STATE(); case 12: ADVANCE_MAP( 'U', 75, '\\', 88, 'c', 14, 'u', 70, 'x', 65, '!', 101, '-', 101, '[', 101, ']', 101, '^', 101, ); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); if (set_contains(sym__special_char_character_set_1, 11, lookahead)) ADVANCE(88); END_STATE(); case 13: if (lookahead == 'U') ADVANCE(75); if (lookahead == 'c') ADVANCE(14); if (lookahead == 'u') ADVANCE(70); if (lookahead == 'x') ADVANCE(65); if (lookahead == '!' || lookahead == '-' || ('[' <= lookahead && lookahead <= '^')) ADVANCE(101); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); END_STATE(); case 14: if (lookahead == '\\') ADVANCE(15); if ((!eof && lookahead <= 0x7f)) ADVANCE(95); END_STATE(); case 15: if (lookahead == '\\') ADVANCE(95); END_STATE(); case 16: if (lookahead == '\\') ADVANCE(13); if (lookahead != 0 && lookahead != '\n' && lookahead != '-' && lookahead != '\\' && lookahead != ']') ADVANCE(101); END_STATE(); case 17: if (lookahead == ']') ADVANCE(117); END_STATE(); case 18: if (lookahead == ']') ADVANCE(103); END_STATE(); case 19: ADVANCE_MAP( 'a', 37, 'b', 38, 'c', 44, 'd', 33, 'g', 54, 'l', 46, 'p', 53, 's', 50, 'u', 49, 'x', 26, ); END_STATE(); case 20: if (lookahead == 'a') ADVANCE(11); END_STATE(); case 21: if (lookahead == 'a') ADVANCE(24); END_STATE(); case 22: if (lookahead == 'a') ADVANCE(43); END_STATE(); case 23: if (lookahead == 'a') ADVANCE(48); END_STATE(); case 24: if (lookahead == 'c') ADVANCE(27); END_STATE(); case 25: if (lookahead == 'c') ADVANCE(57); END_STATE(); case 26: if (lookahead == 'd') ADVANCE(33); END_STATE(); case 27: if (lookahead == 'e') ADVANCE(11); END_STATE(); case 28: if (lookahead == 'e') ADVANCE(52); END_STATE(); case 29: if (lookahead == 'f') ADVANCE(109); if (lookahead == 't') ADVANCE(112); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 30: if (lookahead == 'g') ADVANCE(34); END_STATE(); case 31: if (lookahead == 'h') ADVANCE(11); END_STATE(); case 32: if (lookahead == 'h') ADVANCE(20); END_STATE(); case 33: if (lookahead == 'i') ADVANCE(30); END_STATE(); case 34: if (lookahead == 'i') ADVANCE(57); END_STATE(); case 35: if (lookahead == 'i') ADVANCE(45); END_STATE(); case 36: if (lookahead == 'k') ADVANCE(11); END_STATE(); case 37: if (lookahead == 'l') ADVANCE(41); END_STATE(); case 38: if (lookahead == 'l') ADVANCE(22); END_STATE(); case 39: if (lookahead == 'l') ADVANCE(11); END_STATE(); case 40: if (lookahead == 'm') ADVANCE(11); END_STATE(); case 41: if (lookahead == 'n') ADVANCE(60); if (lookahead == 'p') ADVANCE(32); END_STATE(); case 42: if (lookahead == 'n') ADVANCE(25); END_STATE(); case 43: if (lookahead == 'n') ADVANCE(36); END_STATE(); case 44: if (lookahead == 'n') ADVANCE(59); END_STATE(); case 45: if (lookahead == 'n') ADVANCE(57); END_STATE(); case 46: if (lookahead == 'o') ADVANCE(61); END_STATE(); case 47: if (lookahead == 'p') ADVANCE(28); END_STATE(); case 48: if (lookahead == 'p') ADVANCE(31); END_STATE(); case 49: if (lookahead == 'p') ADVANCE(47); END_STATE(); case 50: if (lookahead == 'p') ADVANCE(21); END_STATE(); case 51: if (lookahead == 'r') ADVANCE(17); END_STATE(); case 52: if (lookahead == 'r') ADVANCE(11); END_STATE(); case 53: if (lookahead == 'r') ADVANCE(35); if (lookahead == 'u') ADVANCE(42); END_STATE(); case 54: if (lookahead == 'r') ADVANCE(23); END_STATE(); case 55: if (lookahead == 'r') ADVANCE(39); END_STATE(); case 56: if (lookahead == 't') ADVANCE(51); END_STATE(); case 57: if (lookahead == 't') ADVANCE(11); END_STATE(); case 58: if (lookahead == 't') ADVANCE(56); END_STATE(); case 59: if (lookahead == 't') ADVANCE(55); END_STATE(); case 60: if (lookahead == 'u') ADVANCE(40); END_STATE(); case 61: if (lookahead == 'w') ADVANCE(28); END_STATE(); case 62: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(92); END_STATE(); case 63: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(93); END_STATE(); case 64: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(94); END_STATE(); case 65: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(62); END_STATE(); case 66: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(63); END_STATE(); case 67: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(64); END_STATE(); case 68: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(66); END_STATE(); case 69: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(67); END_STATE(); case 70: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(68); END_STATE(); case 71: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(69); END_STATE(); case 72: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(71); END_STATE(); case 73: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(72); END_STATE(); case 74: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(73); END_STATE(); case 75: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || ('a' <= lookahead && lookahead <= 'f')) ADVANCE(74); END_STATE(); case 76: if (eof) ADVANCE(77); ADVANCE_MAP( 0, 123, '\n', 122, '\r', 3, '!', 78, '"', 82, '#', 118, '*', 105, '/', 106, '?', 104, '[', 97, '\\', 81, '\t', 121, ' ', 121, ); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead)) ADVANCE(86); END_STATE(); case 77: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); case 78: ACCEPT_TOKEN(anon_sym_BANG); END_STATE(); case 79: ACCEPT_TOKEN(anon_sym_BSLASH); END_STATE(); case 80: ACCEPT_TOKEN(anon_sym_BSLASH); ADVANCE_MAP( 'U', 75, 'c', 14, 'u', 70, 'x', 65, '?', 87, '\\', 87, '!', 87, '*', 87, '[', 87, ']', 87, ); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(91); if (set_contains(sym__special_char_character_set_1, 11, lookahead)) ADVANCE(88); END_STATE(); case 81: ACCEPT_TOKEN(anon_sym_BSLASH); if (lookahead == '!' || lookahead == '*' || lookahead == '?' || ('[' <= lookahead && lookahead <= ']')) ADVANCE(87); END_STATE(); case 82: ACCEPT_TOKEN(anon_sym_DQUOTE); END_STATE(); case 83: ACCEPT_TOKEN(aux_sym__quoted_pattern_token1); END_STATE(); case 84: ACCEPT_TOKEN(aux_sym__quoted_pattern_token1); if (lookahead == '\n') ADVANCE(122); END_STATE(); case 85: ACCEPT_TOKEN(aux_sym__quoted_pattern_token1); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(116); END_STATE(); case 86: ACCEPT_TOKEN(sym__pattern_char); END_STATE(); case 87: ACCEPT_TOKEN(sym_escaped_char); END_STATE(); case 88: ACCEPT_TOKEN(sym__special_char); END_STATE(); case 89: ACCEPT_TOKEN(sym__octal_code); END_STATE(); case 90: ACCEPT_TOKEN(sym__octal_code); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(89); END_STATE(); case 91: ACCEPT_TOKEN(sym__octal_code); if (('0' <= lookahead && lookahead <= '9')) ADVANCE(90); END_STATE(); case 92: ACCEPT_TOKEN(sym__hex_code); END_STATE(); case 93: ACCEPT_TOKEN(aux_sym__unicode_code_token1); END_STATE(); case 94: ACCEPT_TOKEN(aux_sym__unicode_code_token2); END_STATE(); case 95: ACCEPT_TOKEN(sym__control_code); END_STATE(); case 96: ACCEPT_TOKEN(anon_sym_LBRACK); END_STATE(); case 97: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == 'a') ADVANCE(58); END_STATE(); case 98: ACCEPT_TOKEN(aux_sym_range_notation_token1); END_STATE(); case 99: ACCEPT_TOKEN(anon_sym_DASH); END_STATE(); case 100: ACCEPT_TOKEN(anon_sym_RBRACK); END_STATE(); case 101: ACCEPT_TOKEN(sym__class_char); END_STATE(); case 102: ACCEPT_TOKEN(sym__class_char); if (lookahead == ':') ADVANCE(19); END_STATE(); case 103: ACCEPT_TOKEN(sym_character_class); END_STATE(); case 104: ACCEPT_TOKEN(sym_wildcard); END_STATE(); case 105: ACCEPT_TOKEN(sym_wildcard); if (lookahead == '*') ADVANCE(104); END_STATE(); case 106: ACCEPT_TOKEN(sym_dir_sep); END_STATE(); case 107: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); case 108: ACCEPT_TOKEN(aux_sym__attr_value_token1); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 109: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 'a') ADVANCE(111); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 110: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 'e') ADVANCE(108); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 111: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 'l') ADVANCE(113); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 112: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 'r') ADVANCE(114); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 113: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 's') ADVANCE(110); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 114: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead == 'u') ADVANCE(110); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 115: ACCEPT_TOKEN(aux_sym__attr_value_token2); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ') ADVANCE(115); END_STATE(); case 116: ACCEPT_TOKEN(sym_attr_name); if (lookahead == '-' || lookahead == '.' || ('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(116); END_STATE(); case 117: ACCEPT_TOKEN(anon_sym_LBRACKattr_RBRACK); END_STATE(); case 118: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); case 119: ACCEPT_TOKEN(aux_sym_comment_token1); END_STATE(); case 120: ACCEPT_TOKEN(aux_sym_comment_token1); if (lookahead == '\n') ADVANCE(122); END_STATE(); case 121: ACCEPT_TOKEN(aux_sym__space_token1); if (lookahead == '\t' || lookahead == ' ') ADVANCE(121); END_STATE(); case 122: ACCEPT_TOKEN(sym__eol); END_STATE(); case 123: ACCEPT_TOKEN(anon_sym_NULL); END_STATE(); default: return false; } } static bool ts_lex_keywords(TSLexer *lexer, TSStateId state) { START_LEXER(); eof = lexer->eof(lexer); switch (state) { case 0: ADVANCE_MAP( 'b', 1, 'c', 2, 'd', 3, 'e', 4, 'f', 5, 'i', 6, 'm', 7, 't', 8, 'w', 9, ); END_STATE(); case 1: if (lookahead == 'i') ADVANCE(10); END_STATE(); case 2: if (lookahead == 'r') ADVANCE(11); END_STATE(); case 3: if (lookahead == 'e') ADVANCE(12); if (lookahead == 'i') ADVANCE(13); END_STATE(); case 4: if (lookahead == 'n') ADVANCE(14); if (lookahead == 'o') ADVANCE(15); if (lookahead == 'x') ADVANCE(16); END_STATE(); case 5: if (lookahead == 'i') ADVANCE(17); END_STATE(); case 6: if (lookahead == 'd') ADVANCE(18); END_STATE(); case 7: if (lookahead == 'e') ADVANCE(19); END_STATE(); case 8: if (lookahead == 'e') ADVANCE(20); END_STATE(); case 9: if (lookahead == 'h') ADVANCE(21); if (lookahead == 'o') ADVANCE(22); END_STATE(); case 10: if (lookahead == 'n') ADVANCE(23); END_STATE(); case 11: if (lookahead == 'l') ADVANCE(24); END_STATE(); case 12: if (lookahead == 'l') ADVANCE(25); END_STATE(); case 13: if (lookahead == 'f') ADVANCE(26); END_STATE(); case 14: if (lookahead == 'c') ADVANCE(27); END_STATE(); case 15: if (lookahead == 'l') ADVANCE(28); END_STATE(); case 16: if (lookahead == 'p') ADVANCE(29); END_STATE(); case 17: if (lookahead == 'l') ADVANCE(30); END_STATE(); case 18: if (lookahead == 'e') ADVANCE(31); END_STATE(); case 19: if (lookahead == 'r') ADVANCE(32); END_STATE(); case 20: if (lookahead == 'x') ADVANCE(33); END_STATE(); case 21: if (lookahead == 'i') ADVANCE(34); END_STATE(); case 22: if (lookahead == 'r') ADVANCE(35); END_STATE(); case 23: if (lookahead == 'a') ADVANCE(36); END_STATE(); case 24: if (lookahead == 'f') ADVANCE(37); END_STATE(); case 25: if (lookahead == 't') ADVANCE(38); END_STATE(); case 26: if (lookahead == 'f') ADVANCE(39); END_STATE(); case 27: if (lookahead == 'o') ADVANCE(40); END_STATE(); case 28: ACCEPT_TOKEN(anon_sym_eol); END_STATE(); case 29: if (lookahead == 'o') ADVANCE(41); END_STATE(); case 30: if (lookahead == 't') ADVANCE(42); END_STATE(); case 31: if (lookahead == 'n') ADVANCE(43); END_STATE(); case 32: if (lookahead == 'g') ADVANCE(44); END_STATE(); case 33: if (lookahead == 't') ADVANCE(45); END_STATE(); case 34: if (lookahead == 't') ADVANCE(46); END_STATE(); case 35: if (lookahead == 'k') ADVANCE(47); END_STATE(); case 36: if (lookahead == 'r') ADVANCE(48); END_STATE(); case 37: ACCEPT_TOKEN(anon_sym_crlf); END_STATE(); case 38: if (lookahead == 'a') ADVANCE(49); END_STATE(); case 39: ACCEPT_TOKEN(anon_sym_diff); END_STATE(); case 40: if (lookahead == 'd') ADVANCE(50); END_STATE(); case 41: if (lookahead == 'r') ADVANCE(51); END_STATE(); case 42: if (lookahead == 'e') ADVANCE(52); END_STATE(); case 43: if (lookahead == 't') ADVANCE(53); END_STATE(); case 44: if (lookahead == 'e') ADVANCE(54); END_STATE(); case 45: ACCEPT_TOKEN(anon_sym_text); END_STATE(); case 46: if (lookahead == 'e') ADVANCE(55); END_STATE(); case 47: if (lookahead == 'i') ADVANCE(56); END_STATE(); case 48: if (lookahead == 'y') ADVANCE(57); END_STATE(); case 49: ACCEPT_TOKEN(anon_sym_delta); END_STATE(); case 50: if (lookahead == 'i') ADVANCE(58); END_STATE(); case 51: if (lookahead == 't') ADVANCE(59); END_STATE(); case 52: if (lookahead == 'r') ADVANCE(60); END_STATE(); case 53: ACCEPT_TOKEN(anon_sym_ident); END_STATE(); case 54: ACCEPT_TOKEN(anon_sym_merge); END_STATE(); case 55: if (lookahead == 's') ADVANCE(61); END_STATE(); case 56: if (lookahead == 'n') ADVANCE(62); END_STATE(); case 57: ACCEPT_TOKEN(anon_sym_binary); END_STATE(); case 58: if (lookahead == 'n') ADVANCE(63); END_STATE(); case 59: if (lookahead == '-') ADVANCE(64); END_STATE(); case 60: ACCEPT_TOKEN(anon_sym_filter); END_STATE(); case 61: if (lookahead == 'p') ADVANCE(65); END_STATE(); case 62: if (lookahead == 'g') ADVANCE(66); END_STATE(); case 63: if (lookahead == 'g') ADVANCE(67); END_STATE(); case 64: if (lookahead == 'i') ADVANCE(68); if (lookahead == 's') ADVANCE(69); END_STATE(); case 65: if (lookahead == 'a') ADVANCE(70); END_STATE(); case 66: if (lookahead == '-') ADVANCE(71); END_STATE(); case 67: ACCEPT_TOKEN(anon_sym_encoding); END_STATE(); case 68: if (lookahead == 'g') ADVANCE(72); END_STATE(); case 69: if (lookahead == 'u') ADVANCE(73); END_STATE(); case 70: if (lookahead == 'c') ADVANCE(74); END_STATE(); case 71: if (lookahead == 't') ADVANCE(75); END_STATE(); case 72: if (lookahead == 'n') ADVANCE(76); END_STATE(); case 73: if (lookahead == 'b') ADVANCE(77); END_STATE(); case 74: if (lookahead == 'e') ADVANCE(78); END_STATE(); case 75: if (lookahead == 'r') ADVANCE(79); END_STATE(); case 76: if (lookahead == 'o') ADVANCE(80); END_STATE(); case 77: if (lookahead == 's') ADVANCE(81); END_STATE(); case 78: ACCEPT_TOKEN(anon_sym_whitespace); END_STATE(); case 79: if (lookahead == 'e') ADVANCE(82); END_STATE(); case 80: if (lookahead == 'r') ADVANCE(83); END_STATE(); case 81: if (lookahead == 't') ADVANCE(84); END_STATE(); case 82: if (lookahead == 'e') ADVANCE(85); END_STATE(); case 83: if (lookahead == 'e') ADVANCE(86); END_STATE(); case 84: ACCEPT_TOKEN(anon_sym_export_DASHsubst); END_STATE(); case 85: if (lookahead == '-') ADVANCE(87); END_STATE(); case 86: ACCEPT_TOKEN(anon_sym_export_DASHignore); END_STATE(); case 87: if (lookahead == 'e') ADVANCE(88); END_STATE(); case 88: if (lookahead == 'n') ADVANCE(89); END_STATE(); case 89: if (lookahead == 'c') ADVANCE(90); END_STATE(); case 90: if (lookahead == 'o') ADVANCE(91); END_STATE(); case 91: if (lookahead == 'd') ADVANCE(92); END_STATE(); case 92: if (lookahead == 'i') ADVANCE(93); END_STATE(); case 93: if (lookahead == 'n') ADVANCE(94); END_STATE(); case 94: if (lookahead == 'g') ADVANCE(95); END_STATE(); case 95: ACCEPT_TOKEN(anon_sym_working_DASHtree_DASHencoding); END_STATE(); default: return false; } } static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, [1] = {.lex_state = 76}, [2] = {.lex_state = 76}, [3] = {.lex_state = 76}, [4] = {.lex_state = 1}, [5] = {.lex_state = 1}, [6] = {.lex_state = 1}, [7] = {.lex_state = 76}, [8] = {.lex_state = 6}, [9] = {.lex_state = 6}, [10] = {.lex_state = 6}, [11] = {.lex_state = 1}, [12] = {.lex_state = 6}, [13] = {.lex_state = 1}, [14] = {.lex_state = 9}, [15] = {.lex_state = 8}, [16] = {.lex_state = 4}, [17] = {.lex_state = 6}, [18] = {.lex_state = 8}, [19] = {.lex_state = 8}, [20] = {.lex_state = 8}, [21] = {.lex_state = 9}, [22] = {.lex_state = 8}, [23] = {.lex_state = 76}, [24] = {.lex_state = 10}, [25] = {.lex_state = 8}, [26] = {.lex_state = 76}, [27] = {.lex_state = 8}, [28] = {.lex_state = 10}, [29] = {.lex_state = 10}, [30] = {.lex_state = 6}, [31] = {.lex_state = 7}, [32] = {.lex_state = 8}, [33] = {.lex_state = 8}, [34] = {.lex_state = 7}, [35] = {.lex_state = 8}, [36] = {.lex_state = 8}, [37] = {.lex_state = 7}, [38] = {.lex_state = 7}, [39] = {.lex_state = 5}, [40] = {.lex_state = 7}, [41] = {.lex_state = 5}, [42] = {.lex_state = 7}, [43] = {.lex_state = 5}, [44] = {.lex_state = 5}, [45] = {.lex_state = 16}, [46] = {.lex_state = 7}, [47] = {.lex_state = 5}, [48] = {.lex_state = 7}, [49] = {.lex_state = 7}, [50] = {.lex_state = 5}, [51] = {.lex_state = 5}, [52] = {.lex_state = 5}, [53] = {.lex_state = 7}, [54] = {.lex_state = 7}, [55] = {.lex_state = 7}, [56] = {.lex_state = 7}, [57] = {.lex_state = 7}, [58] = {.lex_state = 7}, [59] = {.lex_state = 5}, [60] = {.lex_state = 5}, [61] = {.lex_state = 7}, [62] = {.lex_state = 7}, [63] = {.lex_state = 7}, [64] = {.lex_state = 7}, [65] = {.lex_state = 7}, [66] = {.lex_state = 7}, [67] = {.lex_state = 5}, [68] = {.lex_state = 5}, [69] = {.lex_state = 76}, [70] = {.lex_state = 1}, [71] = {.lex_state = 1}, [72] = {.lex_state = 76}, [73] = {.lex_state = 1}, [74] = {.lex_state = 76}, [75] = {.lex_state = 1}, [76] = {.lex_state = 2}, [77] = {.lex_state = 2}, [78] = {.lex_state = 2}, [79] = {.lex_state = 76}, [80] = {.lex_state = 76}, [81] = {.lex_state = 76}, [82] = {.lex_state = 76}, [83] = {.lex_state = 76}, [84] = {.lex_state = 76}, [85] = {.lex_state = 76}, [86] = {.lex_state = 76}, [87] = {.lex_state = 76}, [88] = {.lex_state = 76}, [89] = {.lex_state = 76}, [90] = {.lex_state = 76}, [91] = {.lex_state = 76}, [92] = {.lex_state = 76}, [93] = {.lex_state = 76}, [94] = {.lex_state = 76}, [95] = {.lex_state = 76}, [96] = {.lex_state = 76}, [97] = {.lex_state = 76}, [98] = {.lex_state = 76}, [99] = {.lex_state = 76}, [100] = {.lex_state = 29}, [101] = {.lex_state = 76}, [102] = {.lex_state = 76}, [103] = {.lex_state = 76}, [104] = {.lex_state = 76}, [105] = {.lex_state = 76}, [106] = {.lex_state = 76}, [107] = {.lex_state = 76}, [108] = {.lex_state = 76}, [109] = {.lex_state = 0}, [110] = {.lex_state = 76}, [111] = {.lex_state = 76}, [112] = {.lex_state = 1}, [113] = {.lex_state = 76}, [114] = {.lex_state = 76}, [115] = {.lex_state = 76}, [116] = {.lex_state = 76}, [117] = {.lex_state = 76}, [118] = {.lex_state = 76}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [STATE(0)] = { [ts_builtin_sym_end] = ACTIONS(1), [sym_attr_name] = ACTIONS(1), [anon_sym_BANG] = ACTIONS(1), [anon_sym_BSLASH] = ACTIONS(1), [anon_sym_DQUOTE] = ACTIONS(1), [aux_sym__quoted_pattern_token1] = ACTIONS(1), [sym__pattern_char] = ACTIONS(1), [anon_sym_LBRACK] = ACTIONS(1), [aux_sym_range_notation_token1] = ACTIONS(1), [anon_sym_DASH] = ACTIONS(1), [anon_sym_RBRACK] = ACTIONS(1), [sym_dir_sep] = ACTIONS(1), [anon_sym_EQ] = ACTIONS(1), [anon_sym_text] = ACTIONS(1), [anon_sym_eol] = ACTIONS(1), [anon_sym_crlf] = ACTIONS(1), [anon_sym_working_DASHtree_DASHencoding] = ACTIONS(1), [anon_sym_ident] = ACTIONS(1), [anon_sym_filter] = ACTIONS(1), [anon_sym_diff] = ACTIONS(1), [anon_sym_merge] = ACTIONS(1), [anon_sym_whitespace] = ACTIONS(1), [anon_sym_export_DASHignore] = ACTIONS(1), [anon_sym_export_DASHsubst] = ACTIONS(1), [anon_sym_delta] = ACTIONS(1), [anon_sym_encoding] = ACTIONS(1), [anon_sym_binary] = ACTIONS(1), [anon_sym_POUND] = ACTIONS(1), [aux_sym_comment_token1] = ACTIONS(1), [sym__eol] = ACTIONS(1), [anon_sym_NULL] = ACTIONS(1), }, [STATE(1)] = { [sym_file] = STATE(109), [sym__line] = STATE(2), [sym__attr_list] = STATE(79), [sym_pattern] = STATE(92), [aux_sym__pattern] = STATE(37), [sym_quoted_pattern] = STATE(92), [sym_range_notation] = STATE(37), [sym_macro_def] = STATE(79), [sym_comment] = STATE(79), [sym__space] = STATE(7), [sym__eof] = STATE(2), [aux_sym_file_repeat1] = STATE(2), [ts_builtin_sym_end] = ACTIONS(3), [anon_sym_BANG] = ACTIONS(5), [anon_sym_BSLASH] = ACTIONS(7), [anon_sym_DQUOTE] = ACTIONS(9), [sym__pattern_char] = ACTIONS(7), [sym_escaped_char] = ACTIONS(11), [anon_sym_LBRACK] = ACTIONS(13), [sym_wildcard] = ACTIONS(11), [sym_dir_sep] = ACTIONS(15), [anon_sym_LBRACKattr_RBRACK] = ACTIONS(17), [anon_sym_POUND] = ACTIONS(19), [aux_sym__space_token1] = ACTIONS(21), [sym__eol] = ACTIONS(23), [anon_sym_NULL] = ACTIONS(23), }, }; static const uint16_t ts_small_parse_table[] = { [0] = 16, ACTIONS(5), 1, anon_sym_BANG, ACTIONS(9), 1, anon_sym_DQUOTE, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(15), 1, sym_dir_sep, ACTIONS(17), 1, anon_sym_LBRACKattr_RBRACK, ACTIONS(19), 1, anon_sym_POUND, ACTIONS(21), 1, aux_sym__space_token1, ACTIONS(25), 1, ts_builtin_sym_end, STATE(7), 1, sym__space, ACTIONS(7), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(11), 2, sym_escaped_char, sym_wildcard, ACTIONS(27), 2, sym__eol, anon_sym_NULL, STATE(37), 2, aux_sym__pattern, sym_range_notation, STATE(92), 2, sym_pattern, sym_quoted_pattern, STATE(3), 3, sym__line, sym__eof, aux_sym_file_repeat1, STATE(79), 3, sym__attr_list, sym_macro_def, sym_comment, [58] = 16, ACTIONS(29), 1, ts_builtin_sym_end, ACTIONS(31), 1, anon_sym_BANG, ACTIONS(37), 1, anon_sym_DQUOTE, ACTIONS(43), 1, anon_sym_LBRACK, ACTIONS(46), 1, sym_dir_sep, ACTIONS(49), 1, anon_sym_LBRACKattr_RBRACK, ACTIONS(52), 1, anon_sym_POUND, ACTIONS(55), 1, aux_sym__space_token1, STATE(7), 1, sym__space, ACTIONS(34), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(40), 2, sym_escaped_char, sym_wildcard, ACTIONS(58), 2, sym__eol, anon_sym_NULL, STATE(37), 2, aux_sym__pattern, sym_range_notation, STATE(92), 2, sym_pattern, sym_quoted_pattern, STATE(3), 3, sym__line, sym__eof, aux_sym_file_repeat1, STATE(79), 3, sym__attr_list, sym_macro_def, sym_comment, [116] = 8, ACTIONS(61), 1, sym_attr_name, ACTIONS(63), 1, anon_sym_BANG, ACTIONS(65), 1, anon_sym_DASH, STATE(73), 1, sym_builtin_attr, STATE(80), 1, sym_attribute, STATE(81), 1, sym__prefixed_attr, ACTIONS(69), 2, sym__eol, anon_sym_NULL, ACTIONS(67), 14, anon_sym_text, anon_sym_eol, anon_sym_crlf, anon_sym_working_DASHtree_DASHencoding, anon_sym_ident, anon_sym_filter, anon_sym_diff, anon_sym_merge, anon_sym_whitespace, anon_sym_export_DASHignore, anon_sym_export_DASHsubst, anon_sym_delta, anon_sym_encoding, anon_sym_binary, [155] = 8, ACTIONS(61), 1, sym_attr_name, ACTIONS(63), 1, anon_sym_BANG, ACTIONS(65), 1, anon_sym_DASH, STATE(73), 1, sym_builtin_attr, STATE(80), 1, sym_attribute, STATE(81), 1, sym__prefixed_attr, ACTIONS(71), 2, sym__eol, anon_sym_NULL, ACTIONS(67), 14, anon_sym_text, anon_sym_eol, anon_sym_crlf, anon_sym_working_DASHtree_DASHencoding, anon_sym_ident, anon_sym_filter, anon_sym_diff, anon_sym_merge, anon_sym_whitespace, anon_sym_export_DASHignore, anon_sym_export_DASHsubst, anon_sym_delta, anon_sym_encoding, anon_sym_binary, [194] = 7, ACTIONS(61), 1, sym_attr_name, ACTIONS(63), 1, anon_sym_BANG, ACTIONS(65), 1, anon_sym_DASH, STATE(73), 1, sym_builtin_attr, STATE(80), 1, sym_attribute, STATE(81), 1, sym__prefixed_attr, ACTIONS(67), 14, anon_sym_text, anon_sym_eol, anon_sym_crlf, anon_sym_working_DASHtree_DASHencoding, anon_sym_ident, anon_sym_filter, anon_sym_diff, anon_sym_merge, anon_sym_whitespace, anon_sym_export_DASHignore, anon_sym_export_DASHsubst, anon_sym_delta, anon_sym_encoding, anon_sym_binary, [229] = 13, ACTIONS(5), 1, anon_sym_BANG, ACTIONS(9), 1, anon_sym_DQUOTE, ACTIONS(13), 1, anon_sym_LBRACK, ACTIONS(15), 1, sym_dir_sep, ACTIONS(17), 1, anon_sym_LBRACKattr_RBRACK, ACTIONS(19), 1, anon_sym_POUND, STATE(23), 1, sym__eof, ACTIONS(7), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(11), 2, sym_escaped_char, sym_wildcard, ACTIONS(73), 2, sym__eol, anon_sym_NULL, STATE(37), 2, aux_sym__pattern, sym_range_notation, STATE(92), 2, sym_pattern, sym_quoted_pattern, STATE(84), 3, sym__attr_list, sym_macro_def, sym_comment, [276] = 9, ACTIONS(77), 1, anon_sym_DQUOTE, ACTIONS(79), 1, sym_escaped_char, ACTIONS(81), 1, sym__special_char, ACTIONS(85), 1, sym_dir_sep, STATE(99), 1, aux_sym_pattern_repeat1, ACTIONS(75), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(17), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [311] = 9, ACTIONS(79), 1, sym_escaped_char, ACTIONS(81), 1, sym__special_char, ACTIONS(87), 1, anon_sym_DQUOTE, ACTIONS(89), 1, sym_dir_sep, STATE(96), 1, aux_sym_pattern_repeat1, ACTIONS(75), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(17), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [346] = 9, ACTIONS(79), 1, sym_escaped_char, ACTIONS(81), 1, sym__special_char, ACTIONS(91), 1, anon_sym_DQUOTE, ACTIONS(93), 1, sym_dir_sep, STATE(85), 1, aux_sym_pattern_repeat1, ACTIONS(75), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(17), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [381] = 3, ACTIONS(95), 1, sym_attr_name, STATE(71), 1, sym_builtin_attr, ACTIONS(67), 14, anon_sym_text, anon_sym_eol, anon_sym_crlf, anon_sym_working_DASHtree_DASHencoding, anon_sym_ident, anon_sym_filter, anon_sym_diff, anon_sym_merge, anon_sym_whitespace, anon_sym_export_DASHignore, anon_sym_export_DASHsubst, anon_sym_delta, anon_sym_encoding, anon_sym_binary, [404] = 9, ACTIONS(79), 1, sym_escaped_char, ACTIONS(81), 1, sym__special_char, ACTIONS(97), 1, anon_sym_DQUOTE, ACTIONS(99), 1, sym_dir_sep, STATE(87), 1, aux_sym_pattern_repeat1, ACTIONS(75), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(17), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [439] = 3, ACTIONS(101), 1, sym_attr_name, STATE(70), 1, sym_builtin_attr, ACTIONS(67), 14, anon_sym_text, anon_sym_eol, anon_sym_crlf, anon_sym_working_DASHtree_DASHencoding, anon_sym_ident, anon_sym_filter, anon_sym_diff, anon_sym_merge, anon_sym_whitespace, anon_sym_export_DASHignore, anon_sym_export_DASHsubst, anon_sym_delta, anon_sym_encoding, anon_sym_binary, [462] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(107), 1, aux_sym_range_notation_token1, ACTIONS(111), 1, sym__class_char, ACTIONS(109), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(15), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [492] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(115), 1, anon_sym_RBRACK, ACTIONS(113), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(20), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [522] = 8, ACTIONS(81), 1, sym__special_char, ACTIONS(117), 1, anon_sym_BANG, ACTIONS(121), 1, sym_escaped_char, ACTIONS(123), 1, sym_dir_sep, ACTIONS(119), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(10), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [554] = 7, ACTIONS(130), 1, sym_escaped_char, ACTIONS(133), 1, sym__special_char, ACTIONS(125), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, ACTIONS(128), 2, anon_sym_DQUOTE, sym_dir_sep, STATE(17), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(136), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [584] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(139), 1, anon_sym_RBRACK, ACTIONS(113), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(20), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [614] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(141), 1, anon_sym_RBRACK, ACTIONS(113), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(20), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [644] = 7, ACTIONS(143), 1, sym__special_char, ACTIONS(152), 1, anon_sym_RBRACK, ACTIONS(154), 1, sym__class_char, ACTIONS(149), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(20), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(146), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [674] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(157), 1, aux_sym_range_notation_token1, ACTIONS(159), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(19), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [704] = 7, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(161), 1, anon_sym_RBRACK, ACTIONS(113), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(20), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [734] = 2, ACTIONS(165), 3, anon_sym_BSLASH, sym__pattern_char, anon_sym_LBRACK, ACTIONS(163), 11, ts_builtin_sym_end, anon_sym_BANG, anon_sym_DQUOTE, sym_escaped_char, sym_wildcard, sym_dir_sep, anon_sym_LBRACKattr_RBRACK, anon_sym_POUND, aux_sym__space_token1, sym__eol, anon_sym_NULL, [753] = 7, ACTIONS(81), 1, sym__special_char, ACTIONS(169), 1, sym_escaped_char, ACTIONS(171), 1, sym_dir_sep, ACTIONS(167), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(9), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [782] = 6, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(173), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(18), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [809] = 2, ACTIONS(177), 3, anon_sym_BSLASH, sym__pattern_char, anon_sym_LBRACK, ACTIONS(175), 11, ts_builtin_sym_end, anon_sym_BANG, anon_sym_DQUOTE, sym_escaped_char, sym_wildcard, sym_dir_sep, anon_sym_LBRACKattr_RBRACK, anon_sym_POUND, aux_sym__space_token1, sym__eol, anon_sym_NULL, [828] = 6, ACTIONS(103), 1, sym__special_char, ACTIONS(111), 1, sym__class_char, ACTIONS(179), 2, anon_sym_DASH, sym_character_class, STATE(36), 2, sym__char_code, sym__unicode_code, STATE(22), 3, sym_ansi_c_escape, sym_class_range, aux_sym_range_notation_repeat1, ACTIONS(105), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [855] = 6, ACTIONS(81), 1, sym__special_char, ACTIONS(183), 1, sym_escaped_char, ACTIONS(181), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(12), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [881] = 6, ACTIONS(81), 1, sym__special_char, ACTIONS(187), 1, sym_escaped_char, ACTIONS(185), 2, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, STATE(8), 2, aux_sym__quoted_pattern, sym_ansi_c_escape, STATE(30), 2, sym__char_code, sym__unicode_code, ACTIONS(83), 5, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, [907] = 2, ACTIONS(189), 3, anon_sym_BSLASH, aux_sym__quoted_pattern_token1, sym__special_char, ACTIONS(191), 8, anon_sym_DQUOTE, sym_escaped_char, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, sym_dir_sep, [923] = 7, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(199), 1, sym_dir_sep, ACTIONS(201), 1, aux_sym__space_token1, STATE(94), 1, aux_sym_pattern_repeat1, ACTIONS(193), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(195), 2, sym_escaped_char, sym_wildcard, STATE(42), 2, aux_sym__pattern, sym_range_notation, [948] = 3, ACTIONS(205), 1, anon_sym_DASH, ACTIONS(207), 1, sym__class_char, ACTIONS(203), 8, sym__special_char, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, anon_sym_RBRACK, sym_character_class, [965] = 2, ACTIONS(211), 1, sym__class_char, ACTIONS(209), 9, sym__special_char, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, anon_sym_DASH, anon_sym_RBRACK, sym_character_class, [980] = 7, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(213), 1, sym_dir_sep, ACTIONS(215), 1, aux_sym__space_token1, STATE(95), 1, aux_sym_pattern_repeat1, ACTIONS(193), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(195), 2, sym_escaped_char, sym_wildcard, STATE(42), 2, aux_sym__pattern, sym_range_notation, [1005] = 2, ACTIONS(189), 1, sym__class_char, ACTIONS(191), 9, sym__special_char, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, anon_sym_DASH, anon_sym_RBRACK, sym_character_class, [1020] = 3, ACTIONS(189), 1, sym__class_char, ACTIONS(205), 1, anon_sym_DASH, ACTIONS(191), 8, sym__special_char, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, anon_sym_RBRACK, sym_character_class, [1037] = 7, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(217), 1, sym_dir_sep, ACTIONS(219), 1, aux_sym__space_token1, STATE(82), 1, aux_sym_pattern_repeat1, ACTIONS(193), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(195), 2, sym_escaped_char, sym_wildcard, STATE(42), 2, aux_sym__pattern, sym_range_notation, [1062] = 7, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(221), 1, sym_dir_sep, ACTIONS(223), 1, aux_sym__space_token1, STATE(93), 1, aux_sym_pattern_repeat1, ACTIONS(193), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(195), 2, sym_escaped_char, sym_wildcard, STATE(42), 2, aux_sym__pattern, sym_range_notation, [1087] = 5, ACTIONS(233), 1, anon_sym_LBRACK, ACTIONS(225), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(228), 2, anon_sym_DQUOTE, sym_dir_sep, ACTIONS(230), 2, sym_escaped_char, sym_wildcard, STATE(39), 2, aux_sym__pattern, sym_range_notation, [1107] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(193), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(195), 2, sym_escaped_char, sym_wildcard, ACTIONS(236), 2, sym_dir_sep, aux_sym__space_token1, STATE(42), 2, aux_sym__pattern, sym_range_notation, [1127] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(236), 2, anon_sym_DQUOTE, sym_dir_sep, ACTIONS(238), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(240), 2, sym_escaped_char, sym_wildcard, STATE(39), 2, aux_sym__pattern, sym_range_notation, [1147] = 5, ACTIONS(250), 1, anon_sym_LBRACK, ACTIONS(228), 2, sym_dir_sep, aux_sym__space_token1, ACTIONS(244), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(247), 2, sym_escaped_char, sym_wildcard, STATE(42), 2, aux_sym__pattern, sym_range_notation, [1167] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(255), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1186] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(259), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1205] = 2, STATE(33), 2, sym__char_code, sym__unicode_code, ACTIONS(261), 6, sym__octal_code, sym__hex_code, aux_sym__unicode_code_token1, aux_sym__unicode_code_token2, sym__control_code, sym__class_char, [1218] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(267), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1237] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(269), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1256] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(271), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1275] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(277), 1, sym_dir_sep, ACTIONS(273), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(275), 2, sym_escaped_char, sym_wildcard, STATE(31), 2, aux_sym__pattern, sym_range_notation, [1294] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(279), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1313] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(281), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1332] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(283), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1351] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(285), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1370] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(287), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1389] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(289), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1408] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(291), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1427] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(293), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1446] = 5, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(295), 1, aux_sym__space_token1, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1465] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(297), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1484] = 5, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(299), 1, anon_sym_DQUOTE, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1503] = 4, ACTIONS(242), 1, anon_sym_LBRACK, ACTIONS(253), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(257), 2, sym_escaped_char, sym_wildcard, STATE(41), 2, aux_sym__pattern, sym_range_notation, [1519] = 4, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(301), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(303), 2, sym_escaped_char, sym_wildcard, STATE(38), 2, aux_sym__pattern, sym_range_notation, [1535] = 4, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(263), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(265), 2, sym_escaped_char, sym_wildcard, STATE(40), 2, aux_sym__pattern, sym_range_notation, [1551] = 2, ACTIONS(305), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(307), 5, sym_escaped_char, anon_sym_LBRACK, sym_wildcard, sym_dir_sep, aux_sym__space_token1, [1563] = 2, ACTIONS(309), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(311), 5, sym_escaped_char, anon_sym_LBRACK, sym_wildcard, sym_dir_sep, aux_sym__space_token1, [1575] = 4, ACTIONS(197), 1, anon_sym_LBRACK, ACTIONS(313), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(315), 2, sym_escaped_char, sym_wildcard, STATE(34), 2, aux_sym__pattern, sym_range_notation, [1591] = 2, ACTIONS(309), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(311), 5, anon_sym_DQUOTE, sym_escaped_char, anon_sym_LBRACK, sym_wildcard, sym_dir_sep, [1603] = 2, ACTIONS(305), 2, anon_sym_BSLASH, sym__pattern_char, ACTIONS(307), 5, anon_sym_DQUOTE, sym_escaped_char, anon_sym_LBRACK, sym_wildcard, sym_dir_sep, [1615] = 4, ACTIONS(317), 1, aux_sym__space_token1, STATE(4), 1, sym__space, STATE(74), 1, aux_sym__attr_list_repeat1, ACTIONS(319), 2, sym__eol, anon_sym_NULL, [1629] = 3, ACTIONS(321), 1, anon_sym_EQ, STATE(97), 1, sym__attr_value, ACTIONS(323), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1641] = 3, ACTIONS(321), 1, anon_sym_EQ, STATE(89), 1, sym__attr_value, ACTIONS(325), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1653] = 4, ACTIONS(327), 1, aux_sym__space_token1, STATE(5), 1, sym__space, STATE(74), 1, aux_sym__attr_list_repeat1, ACTIONS(329), 2, sym__eol, anon_sym_NULL, [1667] = 3, ACTIONS(321), 1, anon_sym_EQ, STATE(83), 1, sym__attr_value, ACTIONS(331), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1679] = 4, ACTIONS(333), 1, aux_sym__space_token1, STATE(6), 1, sym__space, STATE(74), 1, aux_sym__attr_list_repeat1, ACTIONS(336), 2, sym__eol, anon_sym_NULL, [1693] = 1, ACTIONS(338), 4, anon_sym_EQ, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1700] = 3, ACTIONS(340), 1, aux_sym_comment_token1, STATE(77), 1, aux_sym_comment_repeat1, ACTIONS(342), 2, sym__eol, anon_sym_NULL, [1711] = 3, ACTIONS(344), 1, aux_sym_comment_token1, STATE(78), 1, aux_sym_comment_repeat1, ACTIONS(346), 2, sym__eol, anon_sym_NULL, [1722] = 3, ACTIONS(348), 1, aux_sym_comment_token1, STATE(78), 1, aux_sym_comment_repeat1, ACTIONS(351), 2, sym__eol, anon_sym_NULL, [1733] = 2, STATE(23), 1, sym__eof, ACTIONS(73), 2, sym__eol, anon_sym_NULL, [1741] = 1, ACTIONS(336), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1747] = 1, ACTIONS(353), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1753] = 3, ACTIONS(355), 1, sym_dir_sep, ACTIONS(357), 1, aux_sym__space_token1, STATE(88), 1, aux_sym_pattern_repeat1, [1763] = 1, ACTIONS(359), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1769] = 2, STATE(26), 1, sym__eof, ACTIONS(361), 2, sym__eol, anon_sym_NULL, [1777] = 3, ACTIONS(363), 1, anon_sym_DQUOTE, ACTIONS(365), 1, sym_dir_sep, STATE(98), 1, aux_sym_pattern_repeat1, [1787] = 3, ACTIONS(367), 1, aux_sym__space_token1, STATE(6), 1, sym__space, STATE(69), 1, aux_sym__attr_list_repeat1, [1797] = 3, ACTIONS(369), 1, anon_sym_DQUOTE, ACTIONS(371), 1, sym_dir_sep, STATE(98), 1, aux_sym_pattern_repeat1, [1807] = 3, ACTIONS(373), 1, sym_dir_sep, ACTIONS(376), 1, aux_sym__space_token1, STATE(88), 1, aux_sym_pattern_repeat1, [1817] = 1, ACTIONS(378), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1823] = 1, ACTIONS(380), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1829] = 1, ACTIONS(380), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1835] = 3, ACTIONS(367), 1, aux_sym__space_token1, STATE(6), 1, sym__space, STATE(72), 1, aux_sym__attr_list_repeat1, [1845] = 3, ACTIONS(382), 1, sym_dir_sep, ACTIONS(384), 1, aux_sym__space_token1, STATE(88), 1, aux_sym_pattern_repeat1, [1855] = 3, ACTIONS(386), 1, sym_dir_sep, ACTIONS(388), 1, aux_sym__space_token1, STATE(88), 1, aux_sym_pattern_repeat1, [1865] = 3, ACTIONS(390), 1, sym_dir_sep, ACTIONS(392), 1, aux_sym__space_token1, STATE(88), 1, aux_sym_pattern_repeat1, [1875] = 3, ACTIONS(394), 1, anon_sym_DQUOTE, ACTIONS(396), 1, sym_dir_sep, STATE(98), 1, aux_sym_pattern_repeat1, [1885] = 1, ACTIONS(398), 3, aux_sym__space_token1, sym__eol, anon_sym_NULL, [1891] = 3, ACTIONS(376), 1, anon_sym_DQUOTE, ACTIONS(400), 1, sym_dir_sep, STATE(98), 1, aux_sym_pattern_repeat1, [1901] = 3, ACTIONS(403), 1, anon_sym_DQUOTE, ACTIONS(405), 1, sym_dir_sep, STATE(98), 1, aux_sym_pattern_repeat1, [1911] = 2, ACTIONS(407), 1, aux_sym__attr_value_token1, ACTIONS(409), 1, aux_sym__attr_value_token2, [1918] = 1, ACTIONS(411), 1, aux_sym__space_token1, [1922] = 1, ACTIONS(413), 1, aux_sym__space_token1, [1926] = 1, ACTIONS(415), 1, aux_sym__space_token1, [1930] = 1, ACTIONS(417), 1, aux_sym__space_token1, [1934] = 1, ACTIONS(419), 1, aux_sym__space_token1, [1938] = 1, ACTIONS(421), 1, aux_sym__space_token1, [1942] = 1, ACTIONS(423), 1, aux_sym__space_token1, [1946] = 1, ACTIONS(425), 1, aux_sym__space_token1, [1950] = 1, ACTIONS(427), 1, ts_builtin_sym_end, [1954] = 1, ACTIONS(429), 1, aux_sym__space_token1, [1958] = 1, ACTIONS(431), 1, aux_sym__space_token1, [1962] = 1, ACTIONS(433), 1, sym_attr_name, [1966] = 1, ACTIONS(435), 1, aux_sym__space_token1, [1970] = 1, ACTIONS(437), 1, aux_sym__space_token1, [1974] = 1, ACTIONS(439), 1, aux_sym__space_token1, [1978] = 1, ACTIONS(441), 1, aux_sym__space_token1, [1982] = 1, ACTIONS(443), 1, aux_sym__space_token1, [1986] = 1, ACTIONS(445), 1, aux_sym__space_token1, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, [SMALL_STATE(3)] = 58, [SMALL_STATE(4)] = 116, [SMALL_STATE(5)] = 155, [SMALL_STATE(6)] = 194, [SMALL_STATE(7)] = 229, [SMALL_STATE(8)] = 276, [SMALL_STATE(9)] = 311, [SMALL_STATE(10)] = 346, [SMALL_STATE(11)] = 381, [SMALL_STATE(12)] = 404, [SMALL_STATE(13)] = 439, [SMALL_STATE(14)] = 462, [SMALL_STATE(15)] = 492, [SMALL_STATE(16)] = 522, [SMALL_STATE(17)] = 554, [SMALL_STATE(18)] = 584, [SMALL_STATE(19)] = 614, [SMALL_STATE(20)] = 644, [SMALL_STATE(21)] = 674, [SMALL_STATE(22)] = 704, [SMALL_STATE(23)] = 734, [SMALL_STATE(24)] = 753, [SMALL_STATE(25)] = 782, [SMALL_STATE(26)] = 809, [SMALL_STATE(27)] = 828, [SMALL_STATE(28)] = 855, [SMALL_STATE(29)] = 881, [SMALL_STATE(30)] = 907, [SMALL_STATE(31)] = 923, [SMALL_STATE(32)] = 948, [SMALL_STATE(33)] = 965, [SMALL_STATE(34)] = 980, [SMALL_STATE(35)] = 1005, [SMALL_STATE(36)] = 1020, [SMALL_STATE(37)] = 1037, [SMALL_STATE(38)] = 1062, [SMALL_STATE(39)] = 1087, [SMALL_STATE(40)] = 1107, [SMALL_STATE(41)] = 1127, [SMALL_STATE(42)] = 1147, [SMALL_STATE(43)] = 1167, [SMALL_STATE(44)] = 1186, [SMALL_STATE(45)] = 1205, [SMALL_STATE(46)] = 1218, [SMALL_STATE(47)] = 1237, [SMALL_STATE(48)] = 1256, [SMALL_STATE(49)] = 1275, [SMALL_STATE(50)] = 1294, [SMALL_STATE(51)] = 1313, [SMALL_STATE(52)] = 1332, [SMALL_STATE(53)] = 1351, [SMALL_STATE(54)] = 1370, [SMALL_STATE(55)] = 1389, [SMALL_STATE(56)] = 1408, [SMALL_STATE(57)] = 1427, [SMALL_STATE(58)] = 1446, [SMALL_STATE(59)] = 1465, [SMALL_STATE(60)] = 1484, [SMALL_STATE(61)] = 1503, [SMALL_STATE(62)] = 1519, [SMALL_STATE(63)] = 1535, [SMALL_STATE(64)] = 1551, [SMALL_STATE(65)] = 1563, [SMALL_STATE(66)] = 1575, [SMALL_STATE(67)] = 1591, [SMALL_STATE(68)] = 1603, [SMALL_STATE(69)] = 1615, [SMALL_STATE(70)] = 1629, [SMALL_STATE(71)] = 1641, [SMALL_STATE(72)] = 1653, [SMALL_STATE(73)] = 1667, [SMALL_STATE(74)] = 1679, [SMALL_STATE(75)] = 1693, [SMALL_STATE(76)] = 1700, [SMALL_STATE(77)] = 1711, [SMALL_STATE(78)] = 1722, [SMALL_STATE(79)] = 1733, [SMALL_STATE(80)] = 1741, [SMALL_STATE(81)] = 1747, [SMALL_STATE(82)] = 1753, [SMALL_STATE(83)] = 1763, [SMALL_STATE(84)] = 1769, [SMALL_STATE(85)] = 1777, [SMALL_STATE(86)] = 1787, [SMALL_STATE(87)] = 1797, [SMALL_STATE(88)] = 1807, [SMALL_STATE(89)] = 1817, [SMALL_STATE(90)] = 1823, [SMALL_STATE(91)] = 1829, [SMALL_STATE(92)] = 1835, [SMALL_STATE(93)] = 1845, [SMALL_STATE(94)] = 1855, [SMALL_STATE(95)] = 1865, [SMALL_STATE(96)] = 1875, [SMALL_STATE(97)] = 1885, [SMALL_STATE(98)] = 1891, [SMALL_STATE(99)] = 1901, [SMALL_STATE(100)] = 1911, [SMALL_STATE(101)] = 1918, [SMALL_STATE(102)] = 1922, [SMALL_STATE(103)] = 1926, [SMALL_STATE(104)] = 1930, [SMALL_STATE(105)] = 1934, [SMALL_STATE(106)] = 1938, [SMALL_STATE(107)] = 1942, [SMALL_STATE(108)] = 1946, [SMALL_STATE(109)] = 1950, [SMALL_STATE(110)] = 1954, [SMALL_STATE(111)] = 1958, [SMALL_STATE(112)] = 1962, [SMALL_STATE(113)] = 1966, [SMALL_STATE(114)] = 1970, [SMALL_STATE(115)] = 1974, [SMALL_STATE(116)] = 1978, [SMALL_STATE(117)] = 1982, [SMALL_STATE(118)] = 1986, }; static const TSParseActionEntry ts_parse_actions[] = { [0] = {.entry = {.count = 0, .reusable = false}}, [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file, 0, 0, 0), [5] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(37), [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), [13] = {.entry = {.count = 1, .reusable = false}}, SHIFT(14), [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), [25] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_file, 1, 0, 0), [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), [29] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), [31] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(49), [34] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(37), [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(16), [40] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(37), [43] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(14), [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(66), [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(112), [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(76), [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(7), [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_file_repeat1, 2, 0, 0), SHIFT_REPEAT(3), [61] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), [63] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), [65] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), [67] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_def, 4, 0, 9), [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__attr_list, 3, 0, 0), [73] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), [75] = {.entry = {.count = 1, .reusable = false}}, SHIFT(17), [77] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), [79] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), [81] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), [83] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), [85] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), [87] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), [89] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), [91] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), [93] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), [95] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), [97] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), [99] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), [101] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), [103] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), [105] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), [107] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), [109] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), [111] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), [113] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), [115] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), [117] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), [119] = {.entry = {.count = 1, .reusable = false}}, SHIFT(10), [121] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), [123] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), [125] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__quoted_pattern, 2, 0, 0), SHIFT_REPEAT(17), [128] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__quoted_pattern, 2, 0, 0), [130] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__quoted_pattern, 2, 0, 0), SHIFT_REPEAT(17), [133] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__quoted_pattern, 2, 0, 0), SHIFT_REPEAT(30), [136] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__quoted_pattern, 2, 0, 0), SHIFT_REPEAT(30), [139] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), [141] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), [143] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_range_notation_repeat1, 2, 0, 0), SHIFT_REPEAT(35), [146] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_range_notation_repeat1, 2, 0, 0), SHIFT_REPEAT(36), [149] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_range_notation_repeat1, 2, 0, 0), SHIFT_REPEAT(20), [152] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_range_notation_repeat1, 2, 0, 0), [154] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_range_notation_repeat1, 2, 0, 0), SHIFT_REPEAT(32), [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), [163] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__line, 2, 0, 0), [165] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__line, 2, 0, 0), [167] = {.entry = {.count = 1, .reusable = false}}, SHIFT(9), [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__line, 3, 0, 0), [177] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__line, 3, 0, 0), [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), [181] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), [185] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), [189] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ansi_c_escape, 1, 0, 0), [191] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_ansi_c_escape, 1, 0, 0), [193] = {.entry = {.count = 1, .reusable = false}}, SHIFT(42), [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 2, 0, 0), [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_range_notation_repeat1, 1, 0, 0), [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), [207] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_range_notation_repeat1, 1, 0, 0), [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_class_range, 3, 0, 0), [211] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_class_range, 3, 0, 0), [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), [215] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 2, 0, 1), [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), [219] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 1, 0, 0), [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 4), [225] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(39), [228] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__pattern, 2, 0, 0), [230] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(39), [233] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(21), [236] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_pattern_repeat1, 2, 0, 10), [238] = {.entry = {.count = 1, .reusable = false}}, SHIFT(39), [240] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), [242] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), [244] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(42), [247] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(42), [250] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__pattern, 2, 0, 0), SHIFT_REPEAT(14), [253] = {.entry = {.count = 1, .reusable = false}}, SHIFT(41), [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(102), [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), [263] = {.entry = {.count = 1, .reusable = false}}, SHIFT(40), [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), [267] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 4, 0, 16), [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), [271] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 5, 0, 20), [273] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 7), [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 11), [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 5), [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 4, 0, 13), [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 4, 0, 15), [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 2, 0, 2), [297] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), [299] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), [301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(38), [303] = {.entry = {.count = 1, .reusable = true}}, SHIFT(38), [305] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_notation, 4, 0, 0), [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_notation, 4, 0, 0), [309] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_range_notation, 3, 0, 0), [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_range_notation, 3, 0, 0), [313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(34), [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), [319] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_macro_def, 3, 0, 9), [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), [323] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefixed_attr, 2, 0, 17), [325] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefixed_attr, 2, 0, 18), [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), [329] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__attr_list, 2, 0, 0), [331] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefixed_attr, 1, 0, 0), [333] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym__attr_list_repeat1, 2, 0, 0), SHIFT_REPEAT(6), [336] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym__attr_list_repeat1, 2, 0, 0), [338] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_builtin_attr, 1, 0, 0), [340] = {.entry = {.count = 1, .reusable = false}}, SHIFT(77), [342] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1, 0, 0), [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), [346] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 2, 0, 0), [348] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_comment_repeat1, 2, 0, 0), SHIFT_REPEAT(78), [351] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_comment_repeat1, 2, 0, 0), [353] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 0), [355] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), [357] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 2, 0, 3), [359] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 2, 0, 0), [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(111), [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), [369] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), [373] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pattern_repeat1, 2, 0, 12), SHIFT_REPEAT(63), [376] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_pattern_repeat1, 2, 0, 12), [378] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefixed_attr, 3, 0, 25), [380] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__attr_value, 2, 0, 0), [382] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), [384] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 4, 0, 14), [386] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), [388] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 6), [390] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), [392] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_pattern, 3, 0, 8), [394] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), [396] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), [398] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__prefixed_attr, 3, 0, 24), [400] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_pattern_repeat1, 2, 0, 12), SHIFT_REPEAT(61), [403] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), [405] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), [407] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), [409] = {.entry = {.count = 1, .reusable = false}}, SHIFT(91), [411] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 4, 0, 0), [413] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 6, 0, 26), [415] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 6, 0, 27), [417] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 13), [419] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 6, 0, 28), [421] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 6, 0, 20), [423] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 7, 0, 29), [425] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 14), [427] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), [429] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 15), [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 4, 0, 6), [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), [435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 3, 0, 0), [437] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 4, 0, 4), [439] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 22), [441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 23), [443] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 5, 0, 21), [445] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_pattern, 4, 0, 5), }; #ifdef __cplusplus extern "C" { #endif #ifdef TREE_SITTER_HIDE_SYMBOLS #define TS_PUBLIC #elif defined(_WIN32) #define TS_PUBLIC __declspec(dllexport) #else #define TS_PUBLIC __attribute__((visibility("default"))) #endif TS_PUBLIC const TSLanguage *tree_sitter_gitattributes(void) { static const TSLanguage language = { .abi_version = LANGUAGE_VERSION, .symbol_count = SYMBOL_COUNT, .alias_count = ALIAS_COUNT, .token_count = TOKEN_COUNT, .external_token_count = EXTERNAL_TOKEN_COUNT, .state_count = STATE_COUNT, .large_state_count = LARGE_STATE_COUNT, .production_id_count = PRODUCTION_ID_COUNT, .field_count = FIELD_COUNT, .max_alias_sequence_length = MAX_ALIAS_SEQUENCE_LENGTH, .parse_table = &ts_parse_table[0][0], .small_parse_table = ts_small_parse_table, .small_parse_table_map = ts_small_parse_table_map, .parse_actions = ts_parse_actions, .symbol_names = ts_symbol_names, .field_names = ts_field_names, .field_map_slices = ts_field_map_slices, .field_map_entries = ts_field_map_entries, .symbol_metadata = ts_symbol_metadata, .public_symbol_map = ts_symbol_map, .alias_map = ts_non_terminal_alias_map, .alias_sequences = &ts_alias_sequences[0][0], .lex_modes = (const void*)ts_lex_modes, .lex_fn = ts_lex, .keyword_lex_fn = ts_lex_keywords, .keyword_capture_token = sym_attr_name, .primary_state_ids = ts_primary_state_ids, }; return &language; } #ifdef __cplusplus } #endif