diff --git a/_automation/grammars.json b/_automation/grammars.json index 13b2ac5..9b81df4 100644 --- a/_automation/grammars.json +++ b/_automation/grammars.json @@ -97,15 +97,15 @@ }, { "language": "html", - "url": "https://github.com/tree-sitter/tree-sitter-html", + "url": "https://github.com/codepen/tree-sitter-html", "files": [ "parser.c", "scanner.c", "tag.h" ], - "reference": "v0.23.2", - "revision": "5a5ca8551a179998360b4a4ca2c0f366a35acc03", - "updateBasedOn": "tag" + "reference": "master", + "revision": "faa97de74cbfe8290afda18accc09a382b192502", + "updateBasedOn": "commit" }, { "language": "java", diff --git a/html/parser.c b/html/parser.c index 63f091a..7909de1 100644 --- a/html/parser.c +++ b/html/parser.c @@ -5,11 +5,11 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 94 +#define STATE_COUNT 100 #define LARGE_STATE_COUNT 2 -#define SYMBOL_COUNT 41 +#define SYMBOL_COUNT 45 #define ALIAS_COUNT 0 -#define TOKEN_COUNT 25 +#define TOKEN_COUNT 28 #define EXTERNAL_TOKEN_COUNT 9 #define FIELD_COUNT 0 #define MAX_ALIAS_SEQUENCE_LENGTH 4 @@ -20,42 +20,46 @@ enum ts_symbol_identifiers { aux_sym_doctype_token1 = 2, anon_sym_GT = 3, sym__doctype = 4, - anon_sym_LT = 5, - anon_sym_SLASH_GT = 6, - anon_sym_LT_SLASH = 7, - anon_sym_EQ = 8, - sym_attribute_name = 9, - sym_attribute_value = 10, - sym_entity = 11, - anon_sym_SQUOTE = 12, - aux_sym_quoted_attribute_value_token1 = 13, - anon_sym_DQUOTE = 14, - aux_sym_quoted_attribute_value_token2 = 15, - sym_text = 16, - sym__start_tag_name = 17, - sym__script_start_tag_name = 18, - sym__style_start_tag_name = 19, - sym__end_tag_name = 20, - sym_erroneous_end_tag_name = 21, - sym__implicit_end_tag = 22, - sym_raw_text = 23, - sym_comment = 24, - sym_document = 25, - sym_doctype = 26, - sym__node = 27, - sym_element = 28, - sym_script_element = 29, - sym_style_element = 30, - sym_start_tag = 31, - sym_script_start_tag = 32, - sym_style_start_tag = 33, - sym_self_closing_tag = 34, - sym_end_tag = 35, - sym_erroneous_end_tag = 36, - sym_attribute = 37, - sym_quoted_attribute_value = 38, - aux_sym_document_repeat1 = 39, - aux_sym_start_tag_repeat1 = 40, + anon_sym_LBRACE_LBRACE_LBRACE = 5, + anon_sym_RBRACE_RBRACE_RBRACE = 6, + sym_tribracket_content = 7, + anon_sym_LT = 8, + anon_sym_SLASH_GT = 9, + anon_sym_LT_SLASH = 10, + anon_sym_EQ = 11, + sym_attribute_name = 12, + sym_attribute_value = 13, + sym_entity = 14, + anon_sym_SQUOTE = 15, + aux_sym_quoted_attribute_value_token1 = 16, + anon_sym_DQUOTE = 17, + aux_sym_quoted_attribute_value_token2 = 18, + sym_text = 19, + sym__start_tag_name = 20, + sym__script_start_tag_name = 21, + sym__style_start_tag_name = 22, + sym__end_tag_name = 23, + sym_erroneous_end_tag_name = 24, + sym__implicit_end_tag = 25, + sym_raw_text = 26, + sym_comment = 27, + sym_document = 28, + sym_doctype = 29, + sym__node = 30, + sym_tribracket = 31, + sym_element = 32, + sym_script_element = 33, + sym_style_element = 34, + sym_start_tag = 35, + sym_script_start_tag = 36, + sym_style_start_tag = 37, + sym_self_closing_tag = 38, + sym_end_tag = 39, + sym_erroneous_end_tag = 40, + sym_attribute = 41, + sym_quoted_attribute_value = 42, + aux_sym_document_repeat1 = 43, + aux_sym_start_tag_repeat1 = 44, }; static const char * const ts_symbol_names[] = { @@ -64,6 +68,9 @@ static const char * const ts_symbol_names[] = { [aux_sym_doctype_token1] = "doctype_token1", [anon_sym_GT] = ">", [sym__doctype] = "doctype", + [anon_sym_LBRACE_LBRACE_LBRACE] = "{{{", + [anon_sym_RBRACE_RBRACE_RBRACE] = "}}}", + [sym_tribracket_content] = "tribracket_content", [anon_sym_LT] = "<", [anon_sym_SLASH_GT] = "/>", [anon_sym_LT_SLASH] = "eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(18); + if (eof) ADVANCE(22); ADVANCE_MAP( - '"', 73, + '"', 81, '&', 3, - '\'', 70, + '\'', 78, '/', 6, - '<', 24, - '=', 27, - '>', 22, - 'D', 9, - 'd', 9, + '<', 32, + '=', 35, + '>', 26, + '{', 8, + '}', 10, + 'D', 13, + 'd', 13, ); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(0); END_STATE(); case 1: - if (lookahead == '"') ADVANCE(73); - if (lookahead == '\'') ADVANCE(70); + if (lookahead == '"') ADVANCE(81); + if (lookahead == '\'') ADVANCE(78); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(1); if (lookahead != 0 && - (lookahead < '<' || '>' < lookahead)) ADVANCE(29); + (lookahead < '<' || '>' < lookahead)) ADVANCE(37); END_STATE(); case 2: - if (lookahead == '"') ADVANCE(73); + if (lookahead == '"') ADVANCE(81); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(74); - if (lookahead != 0) ADVANCE(75); + lookahead == ' ') ADVANCE(82); + if (lookahead != 0) ADVANCE(83); END_STATE(); case 3: - if (lookahead == '#') ADVANCE(12); + if (lookahead == '#') ADVANCE(16); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(69); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(77); END_STATE(); case 4: - if (lookahead == '\'') ADVANCE(70); + if (lookahead == '\'') ADVANCE(78); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(71); - if (lookahead != 0) ADVANCE(72); + lookahead == ' ') ADVANCE(79); + if (lookahead != 0) ADVANCE(80); END_STATE(); case 5: if (lookahead == '/') ADVANCE(6); - if (lookahead == '=') ADVANCE(27); - if (lookahead == '>') ADVANCE(22); + if (lookahead == '=') ADVANCE(35); + if (lookahead == '>') ADVANCE(26); if (('\t' <= lookahead && lookahead <= '\r') || lookahead == ' ') SKIP(5); if (lookahead != 0 && lookahead != '"' && lookahead != '\'' && - (lookahead < '<' || '>' < lookahead)) ADVANCE(28); + (lookahead < '<' || '>' < lookahead)) ADVANCE(36); END_STATE(); case 6: - if (lookahead == '>') ADVANCE(25); + if (lookahead == '>') ADVANCE(33); END_STATE(); case 7: - if (lookahead == 'C' || - lookahead == 'c') ADVANCE(11); + if (lookahead == '{') ADVANCE(28); END_STATE(); case 8: - if (lookahead == 'E' || - lookahead == 'e') ADVANCE(23); + if (lookahead == '{') ADVANCE(7); END_STATE(); case 9: - if (lookahead == 'O' || - lookahead == 'o') ADVANCE(7); + if (lookahead == '}') ADVANCE(29); END_STATE(); case 10: - if (lookahead == 'P' || - lookahead == 'p') ADVANCE(8); + if (lookahead == '}') ADVANCE(9); END_STATE(); case 11: - if (lookahead == 'T' || - lookahead == 't') ADVANCE(13); + if (lookahead == 'C' || + lookahead == 'c') ADVANCE(15); END_STATE(); case 12: - if (lookahead == 'X' || - lookahead == 'x') ADVANCE(16); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(35); + if (lookahead == 'E' || + lookahead == 'e') ADVANCE(27); END_STATE(); case 13: - if (lookahead == 'Y' || - lookahead == 'y') ADVANCE(10); + if (lookahead == 'O' || + lookahead == 'o') ADVANCE(11); END_STATE(); case 14: + if (lookahead == 'P' || + lookahead == 'p') ADVANCE(12); + END_STATE(); + case 15: + if (lookahead == 'T' || + lookahead == 't') ADVANCE(17); + END_STATE(); + case 16: + if (lookahead == 'X' || + lookahead == 'x') ADVANCE(20); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(43); + END_STATE(); + case 17: + if (lookahead == 'Y' || + lookahead == 'y') ADVANCE(14); + END_STATE(); + case 18: if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(14); + lookahead == ' ') ADVANCE(18); if (lookahead != 0 && lookahead != '&' && lookahead != '<' && - lookahead != '>') ADVANCE(76); + lookahead != '>') ADVANCE(86); END_STATE(); - case 15: + case 19: if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(20); + lookahead == ' ') ADVANCE(24); if (lookahead != 0 && - lookahead != '>') ADVANCE(21); + lookahead != '>') ADVANCE(25); END_STATE(); - case 16: + case 20: if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(40); + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(48); END_STATE(); - case 17: - if (eof) ADVANCE(18); + case 21: + if (eof) ADVANCE(22); if (lookahead == '&') ADVANCE(3); - if (lookahead == '<') ADVANCE(24); + if (lookahead == '<') ADVANCE(32); + if (lookahead == '{') ADVANCE(85); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') SKIP(17); + lookahead == ' ') SKIP(21); if (lookahead != 0 && - lookahead != '>') ADVANCE(76); + lookahead != '>') ADVANCE(86); END_STATE(); - case 18: + case 22: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 19: + case 23: ACCEPT_TOKEN(anon_sym_LT_BANG); END_STATE(); - case 20: + case 24: ACCEPT_TOKEN(aux_sym_doctype_token1); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(20); + lookahead == ' ') ADVANCE(24); if (lookahead != 0 && - lookahead != '>') ADVANCE(21); + lookahead != '>') ADVANCE(25); END_STATE(); - case 21: + case 25: ACCEPT_TOKEN(aux_sym_doctype_token1); if (lookahead != 0 && - lookahead != '>') ADVANCE(21); + lookahead != '>') ADVANCE(25); END_STATE(); - case 22: + case 26: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); - case 23: + case 27: ACCEPT_TOKEN(sym__doctype); END_STATE(); - case 24: + case 28: + ACCEPT_TOKEN(anon_sym_LBRACE_LBRACE_LBRACE); + END_STATE(); + case 29: + ACCEPT_TOKEN(anon_sym_RBRACE_RBRACE_RBRACE); + END_STATE(); + case 30: + ACCEPT_TOKEN(sym_tribracket_content); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(30); + if (lookahead != 0 && + lookahead != '}') ADVANCE(31); + END_STATE(); + case 31: + ACCEPT_TOKEN(sym_tribracket_content); + if (lookahead != 0 && + lookahead != '}') ADVANCE(31); + END_STATE(); + case 32: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '!') ADVANCE(19); - if (lookahead == '/') ADVANCE(26); + if (lookahead == '!') ADVANCE(23); + if (lookahead == '/') ADVANCE(34); END_STATE(); - case 25: + case 33: ACCEPT_TOKEN(anon_sym_SLASH_GT); END_STATE(); - case 26: + case 34: ACCEPT_TOKEN(anon_sym_LT_SLASH); END_STATE(); - case 27: + case 35: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); - case 28: + case 36: ACCEPT_TOKEN(sym_attribute_name); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && @@ -580,291 +647,311 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '"' && lookahead != '\'' && lookahead != '/' && - (lookahead < '<' || '>' < lookahead)) ADVANCE(28); + (lookahead < '<' || '>' < lookahead)) ADVANCE(36); END_STATE(); - case 29: + case 37: ACCEPT_TOKEN(sym_attribute_value); if (lookahead != 0 && (lookahead < '\t' || '\r' < lookahead) && lookahead != ' ' && lookahead != '"' && lookahead != '\'' && - (lookahead < '<' || '>' < lookahead)) ADVANCE(29); - END_STATE(); - case 30: - ACCEPT_TOKEN(sym_entity); - END_STATE(); - case 31: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - END_STATE(); - case 32: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(31); - END_STATE(); - case 33: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(32); - END_STATE(); - case 34: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(33); - END_STATE(); - case 35: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9')) ADVANCE(34); - END_STATE(); - case 36: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(31); - END_STATE(); - case 37: - ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(36); + (lookahead < '<' || '>' < lookahead)) ADVANCE(37); END_STATE(); case 38: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(37); END_STATE(); case 39: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(38); + if (lookahead == ';') ADVANCE(38); END_STATE(); case 40: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'F') || - ('a' <= lookahead && lookahead <= 'f')) ADVANCE(39); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(39); END_STATE(); case 41: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(31); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(40); END_STATE(); case 42: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(41); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(41); END_STATE(); case 43: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(42); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9')) ADVANCE(42); END_STATE(); case 44: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(43); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(39); END_STATE(); case 45: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(44); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(44); END_STATE(); case 46: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(45); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(45); END_STATE(); case 47: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(46); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(46); END_STATE(); case 48: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); - if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(47); + if (lookahead == ';') ADVANCE(38); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'F') || + ('a' <= lookahead && lookahead <= 'f')) ADVANCE(47); END_STATE(); case 49: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) ADVANCE(48); + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(39); END_STATE(); case 50: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(49); END_STATE(); case 51: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(50); END_STATE(); case 52: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(51); END_STATE(); case 53: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(52); END_STATE(); case 54: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(53); END_STATE(); case 55: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(54); END_STATE(); case 56: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(55); END_STATE(); case 57: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(56); END_STATE(); case 58: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(57); END_STATE(); case 59: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(58); END_STATE(); case 60: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(59); END_STATE(); case 61: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(60); END_STATE(); case 62: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(61); END_STATE(); case 63: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(62); END_STATE(); case 64: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(63); END_STATE(); case 65: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(64); END_STATE(); case 66: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(65); END_STATE(); case 67: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(66); END_STATE(); case 68: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(67); END_STATE(); case 69: ACCEPT_TOKEN(sym_entity); - if (lookahead == ';') ADVANCE(30); + if (lookahead == ';') ADVANCE(38); if (('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) ADVANCE(68); END_STATE(); case 70: - ACCEPT_TOKEN(anon_sym_SQUOTE); + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(69); END_STATE(); case 71: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(70); + END_STATE(); + case 72: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(71); + END_STATE(); + case 73: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(72); + END_STATE(); + case 74: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(73); + END_STATE(); + case 75: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(74); + END_STATE(); + case 76: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(75); + END_STATE(); + case 77: + ACCEPT_TOKEN(sym_entity); + if (lookahead == ';') ADVANCE(38); + if (('A' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) ADVANCE(76); + END_STATE(); + case 78: + ACCEPT_TOKEN(anon_sym_SQUOTE); + END_STATE(); + case 79: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token1); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(71); + lookahead == ' ') ADVANCE(79); if (lookahead != 0 && - lookahead != '\'') ADVANCE(72); + lookahead != '\'') ADVANCE(80); END_STATE(); - case 72: + case 80: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token1); if (lookahead != 0 && - lookahead != '\'') ADVANCE(72); + lookahead != '\'') ADVANCE(80); END_STATE(); - case 73: + case 81: ACCEPT_TOKEN(anon_sym_DQUOTE); END_STATE(); - case 74: + case 82: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token2); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(74); + lookahead == ' ') ADVANCE(82); if (lookahead != 0 && - lookahead != '"') ADVANCE(75); + lookahead != '"') ADVANCE(83); END_STATE(); - case 75: + case 83: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token2); if (lookahead != 0 && - lookahead != '"') ADVANCE(75); + lookahead != '"') ADVANCE(83); END_STATE(); - case 76: + case 84: + ACCEPT_TOKEN(sym_text); + if (lookahead == '{') ADVANCE(28); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(18); + if (lookahead != 0 && + lookahead != '&' && + lookahead != '<' && + lookahead != '>') ADVANCE(86); + END_STATE(); + case 85: + ACCEPT_TOKEN(sym_text); + if (lookahead == '{') ADVANCE(84); + if (('\t' <= lookahead && lookahead <= '\r') || + lookahead == ' ') ADVANCE(18); + if (lookahead != 0 && + lookahead != '&' && + lookahead != '<' && + lookahead != '>') ADVANCE(86); + END_STATE(); + case 86: ACCEPT_TOKEN(sym_text); if (('\t' <= lookahead && lookahead <= '\r') || - lookahead == ' ') ADVANCE(14); + lookahead == ' ') ADVANCE(18); if (lookahead != 0 && lookahead != '&' && lookahead != '<' && - lookahead != '>') ADVANCE(76); + lookahead != '>') ADVANCE(86); END_STATE(); default: return false; @@ -873,99 +960,105 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0, .external_lex_state = 1}, - [1] = {.lex_state = 17, .external_lex_state = 2}, - [2] = {.lex_state = 17, .external_lex_state = 3}, - [3] = {.lex_state = 17, .external_lex_state = 3}, - [4] = {.lex_state = 17, .external_lex_state = 3}, - [5] = {.lex_state = 17, .external_lex_state = 3}, - [6] = {.lex_state = 17, .external_lex_state = 3}, - [7] = {.lex_state = 17, .external_lex_state = 2}, - [8] = {.lex_state = 17, .external_lex_state = 2}, - [9] = {.lex_state = 17, .external_lex_state = 3}, - [10] = {.lex_state = 17, .external_lex_state = 2}, - [11] = {.lex_state = 17, .external_lex_state = 3}, - [12] = {.lex_state = 17, .external_lex_state = 2}, - [13] = {.lex_state = 17, .external_lex_state = 2}, - [14] = {.lex_state = 17, .external_lex_state = 2}, - [15] = {.lex_state = 17, .external_lex_state = 2}, - [16] = {.lex_state = 17, .external_lex_state = 2}, - [17] = {.lex_state = 17, .external_lex_state = 2}, - [18] = {.lex_state = 17, .external_lex_state = 3}, - [19] = {.lex_state = 17, .external_lex_state = 2}, - [20] = {.lex_state = 17, .external_lex_state = 2}, - [21] = {.lex_state = 17, .external_lex_state = 3}, - [22] = {.lex_state = 17, .external_lex_state = 3}, - [23] = {.lex_state = 17, .external_lex_state = 3}, - [24] = {.lex_state = 17, .external_lex_state = 3}, - [25] = {.lex_state = 17, .external_lex_state = 3}, - [26] = {.lex_state = 17, .external_lex_state = 3}, - [27] = {.lex_state = 17, .external_lex_state = 3}, - [28] = {.lex_state = 17, .external_lex_state = 3}, - [29] = {.lex_state = 17, .external_lex_state = 3}, - [30] = {.lex_state = 17, .external_lex_state = 3}, - [31] = {.lex_state = 17, .external_lex_state = 3}, - [32] = {.lex_state = 17, .external_lex_state = 2}, - [33] = {.lex_state = 17, .external_lex_state = 2}, - [34] = {.lex_state = 17, .external_lex_state = 2}, - [35] = {.lex_state = 5, .external_lex_state = 4}, - [36] = {.lex_state = 5, .external_lex_state = 4}, + [1] = {.lex_state = 21, .external_lex_state = 2}, + [2] = {.lex_state = 21, .external_lex_state = 3}, + [3] = {.lex_state = 21, .external_lex_state = 3}, + [4] = {.lex_state = 21, .external_lex_state = 3}, + [5] = {.lex_state = 21, .external_lex_state = 3}, + [6] = {.lex_state = 21, .external_lex_state = 3}, + [7] = {.lex_state = 21, .external_lex_state = 2}, + [8] = {.lex_state = 21, .external_lex_state = 2}, + [9] = {.lex_state = 21, .external_lex_state = 3}, + [10] = {.lex_state = 21, .external_lex_state = 2}, + [11] = {.lex_state = 21, .external_lex_state = 2}, + [12] = {.lex_state = 21, .external_lex_state = 2}, + [13] = {.lex_state = 21, .external_lex_state = 2}, + [14] = {.lex_state = 21, .external_lex_state = 3}, + [15] = {.lex_state = 21, .external_lex_state = 2}, + [16] = {.lex_state = 21, .external_lex_state = 2}, + [17] = {.lex_state = 21, .external_lex_state = 2}, + [18] = {.lex_state = 21, .external_lex_state = 2}, + [19] = {.lex_state = 21, .external_lex_state = 2}, + [20] = {.lex_state = 21, .external_lex_state = 2}, + [21] = {.lex_state = 21, .external_lex_state = 2}, + [22] = {.lex_state = 21, .external_lex_state = 2}, + [23] = {.lex_state = 21, .external_lex_state = 3}, + [24] = {.lex_state = 21, .external_lex_state = 3}, + [25] = {.lex_state = 21, .external_lex_state = 3}, + [26] = {.lex_state = 21, .external_lex_state = 3}, + [27] = {.lex_state = 21, .external_lex_state = 3}, + [28] = {.lex_state = 21, .external_lex_state = 3}, + [29] = {.lex_state = 21, .external_lex_state = 3}, + [30] = {.lex_state = 21, .external_lex_state = 3}, + [31] = {.lex_state = 21, .external_lex_state = 3}, + [32] = {.lex_state = 21, .external_lex_state = 3}, + [33] = {.lex_state = 21, .external_lex_state = 3}, + [34] = {.lex_state = 21, .external_lex_state = 3}, + [35] = {.lex_state = 21, .external_lex_state = 3}, + [36] = {.lex_state = 21, .external_lex_state = 2}, [37] = {.lex_state = 5, .external_lex_state = 4}, [38] = {.lex_state = 5, .external_lex_state = 4}, [39] = {.lex_state = 5, .external_lex_state = 4}, - [40] = {.lex_state = 5, .external_lex_state = 2}, - [41] = {.lex_state = 5, .external_lex_state = 2}, + [40] = {.lex_state = 5, .external_lex_state = 4}, + [41] = {.lex_state = 5, .external_lex_state = 4}, [42] = {.lex_state = 5, .external_lex_state = 2}, [43] = {.lex_state = 5, .external_lex_state = 2}, [44] = {.lex_state = 5, .external_lex_state = 2}, - [45] = {.lex_state = 5, .external_lex_state = 4}, - [46] = {.lex_state = 1, .external_lex_state = 2}, - [47] = {.lex_state = 1, .external_lex_state = 2}, - [48] = {.lex_state = 0, .external_lex_state = 5}, - [49] = {.lex_state = 5, .external_lex_state = 4}, + [45] = {.lex_state = 1, .external_lex_state = 2}, + [46] = {.lex_state = 5, .external_lex_state = 4}, + [47] = {.lex_state = 5, .external_lex_state = 2}, + [48] = {.lex_state = 5, .external_lex_state = 2}, + [49] = {.lex_state = 1, .external_lex_state = 2}, [50] = {.lex_state = 5, .external_lex_state = 4}, - [51] = {.lex_state = 5, .external_lex_state = 2}, - [52] = {.lex_state = 0, .external_lex_state = 6}, + [51] = {.lex_state = 0, .external_lex_state = 5}, + [52] = {.lex_state = 0, .external_lex_state = 5}, [53] = {.lex_state = 0, .external_lex_state = 5}, - [54] = {.lex_state = 0, .external_lex_state = 5}, - [55] = {.lex_state = 0, .external_lex_state = 5}, - [56] = {.lex_state = 5, .external_lex_state = 4}, - [57] = {.lex_state = 0, .external_lex_state = 6}, - [58] = {.lex_state = 5, .external_lex_state = 2}, - [59] = {.lex_state = 0, .external_lex_state = 7}, + [54] = {.lex_state = 5, .external_lex_state = 2}, + [55] = {.lex_state = 0, .external_lex_state = 6}, + [56] = {.lex_state = 0, .external_lex_state = 5}, + [57] = {.lex_state = 5, .external_lex_state = 4}, + [58] = {.lex_state = 5, .external_lex_state = 4}, + [59] = {.lex_state = 0, .external_lex_state = 6}, [60] = {.lex_state = 0, .external_lex_state = 2}, - [61] = {.lex_state = 0, .external_lex_state = 5}, - [62] = {.lex_state = 2, .external_lex_state = 2}, - [63] = {.lex_state = 5, .external_lex_state = 2}, - [64] = {.lex_state = 5, .external_lex_state = 2}, + [61] = {.lex_state = 0, .external_lex_state = 7}, + [62] = {.lex_state = 0, .external_lex_state = 7}, + [63] = {.lex_state = 0, .external_lex_state = 5}, + [64] = {.lex_state = 0, .external_lex_state = 5}, [65] = {.lex_state = 0, .external_lex_state = 5}, - [66] = {.lex_state = 0, .external_lex_state = 5}, - [67] = {.lex_state = 0, .external_lex_state = 5}, - [68] = {.lex_state = 0, .external_lex_state = 7}, - [69] = {.lex_state = 0, .external_lex_state = 2}, - [70] = {.lex_state = 0, .external_lex_state = 2}, - [71] = {.lex_state = 0, .external_lex_state = 2}, - [72] = {.lex_state = 4, .external_lex_state = 2}, + [66] = {.lex_state = 4, .external_lex_state = 2}, + [67] = {.lex_state = 5, .external_lex_state = 2}, + [68] = {.lex_state = 5, .external_lex_state = 2}, + [69] = {.lex_state = 5, .external_lex_state = 2}, + [70] = {.lex_state = 2, .external_lex_state = 2}, + [71] = {.lex_state = 0, .external_lex_state = 5}, + [72] = {.lex_state = 0, .external_lex_state = 2}, [73] = {.lex_state = 4, .external_lex_state = 2}, [74] = {.lex_state = 2, .external_lex_state = 2}, [75] = {.lex_state = 0, .external_lex_state = 2}, [76] = {.lex_state = 0, .external_lex_state = 2}, - [77] = {.lex_state = 0, .external_lex_state = 2}, + [77] = {.lex_state = 0, .external_lex_state = 8}, [78] = {.lex_state = 0, .external_lex_state = 2}, [79] = {.lex_state = 0, .external_lex_state = 2}, [80] = {.lex_state = 0, .external_lex_state = 2}, - [81] = {.lex_state = 15, .external_lex_state = 2}, + [81] = {.lex_state = 0, .external_lex_state = 2}, [82] = {.lex_state = 0, .external_lex_state = 2}, [83] = {.lex_state = 0, .external_lex_state = 2}, - [84] = {.lex_state = 0, .external_lex_state = 2}, - [85] = {.lex_state = 0, .external_lex_state = 8}, + [84] = {.lex_state = 0, .external_lex_state = 9}, + [85] = {.lex_state = 0, .external_lex_state = 2}, [86] = {.lex_state = 0, .external_lex_state = 2}, [87] = {.lex_state = 0, .external_lex_state = 2}, - [88] = {.lex_state = 0, .external_lex_state = 9}, - [89] = {.lex_state = 0, .external_lex_state = 8}, - [90] = {.lex_state = 15, .external_lex_state = 2}, + [88] = {.lex_state = 0, .external_lex_state = 2}, + [89] = {.lex_state = 0, .external_lex_state = 2}, + [90] = {.lex_state = 19, .external_lex_state = 2}, [91] = {.lex_state = 0, .external_lex_state = 2}, - [92] = {.lex_state = 0, .external_lex_state = 9}, - [93] = {.lex_state = 0, .external_lex_state = 2}, + [92] = {.lex_state = 0, .external_lex_state = 2}, + [93] = {.lex_state = 30, .external_lex_state = 2}, + [94] = {.lex_state = 30, .external_lex_state = 2}, + [95] = {.lex_state = 0, .external_lex_state = 8}, + [96] = {.lex_state = 19, .external_lex_state = 2}, + [97] = {.lex_state = 0, .external_lex_state = 2}, + [98] = {.lex_state = 0, .external_lex_state = 9}, + [99] = {.lex_state = 0, .external_lex_state = 2}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -974,6 +1067,8 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_BANG] = ACTIONS(1), [anon_sym_GT] = ACTIONS(1), [sym__doctype] = ACTIONS(1), + [anon_sym_LBRACE_LBRACE_LBRACE] = ACTIONS(1), + [anon_sym_RBRACE_RBRACE_RBRACE] = ACTIONS(1), [anon_sym_LT] = ACTIONS(1), [anon_sym_SLASH_GT] = ACTIONS(1), [anon_sym_LT_SLASH] = ACTIONS(1), @@ -994,1055 +1089,1161 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_document] = STATE(83), [sym_doctype] = STATE(7), [sym__node] = STATE(7), + [sym_tribracket] = STATE(7), [sym_element] = STATE(7), [sym_script_element] = STATE(7), [sym_style_element] = STATE(7), [sym_start_tag] = STATE(2), - [sym_script_start_tag] = STATE(48), - [sym_style_start_tag] = STATE(53), - [sym_self_closing_tag] = STATE(33), + [sym_script_start_tag] = STATE(56), + [sym_style_start_tag] = STATE(51), + [sym_self_closing_tag] = STATE(12), [sym_erroneous_end_tag] = STATE(7), [aux_sym_document_repeat1] = STATE(7), [ts_builtin_sym_end] = ACTIONS(5), [anon_sym_LT_BANG] = ACTIONS(7), - [anon_sym_LT] = ACTIONS(9), - [anon_sym_LT_SLASH] = ACTIONS(11), - [sym_entity] = ACTIONS(13), - [sym_text] = ACTIONS(13), + [anon_sym_LBRACE_LBRACE_LBRACE] = ACTIONS(9), + [anon_sym_LT] = ACTIONS(11), + [anon_sym_LT_SLASH] = ACTIONS(13), + [sym_entity] = ACTIONS(15), + [sym_text] = ACTIONS(17), [sym_comment] = ACTIONS(3), }, }; static const uint16_t ts_small_parse_table[] = { - [0] = 12, + [0] = 14, ACTIONS(3), 1, sym_comment, - ACTIONS(15), 1, + ACTIONS(19), 1, anon_sym_LT_BANG, - ACTIONS(17), 1, + ACTIONS(21), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(23), 1, anon_sym_LT, - ACTIONS(19), 1, + ACTIONS(25), 1, anon_sym_LT_SLASH, - ACTIONS(23), 1, + ACTIONS(27), 1, + sym_entity, + ACTIONS(29), 1, + sym_text, + ACTIONS(31), 1, sym__implicit_end_tag, STATE(5), 1, sym_start_tag, - STATE(21), 1, + STATE(23), 1, sym_self_closing_tag, - STATE(32), 1, + STATE(36), 1, sym_end_tag, - STATE(54), 1, + STATE(52), 1, sym_script_start_tag, - STATE(55), 1, + STATE(53), 1, sym_style_start_tag, - ACTIONS(21), 2, - sym_entity, - sym_text, - STATE(3), 7, + STATE(3), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [44] = 12, + [50] = 14, ACTIONS(3), 1, sym_comment, - ACTIONS(15), 1, + ACTIONS(19), 1, anon_sym_LT_BANG, - ACTIONS(17), 1, + ACTIONS(21), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(23), 1, anon_sym_LT, - ACTIONS(19), 1, + ACTIONS(25), 1, anon_sym_LT_SLASH, - ACTIONS(27), 1, + ACTIONS(33), 1, + sym_entity, + ACTIONS(35), 1, + sym_text, + ACTIONS(37), 1, sym__implicit_end_tag, STATE(5), 1, sym_start_tag, - STATE(14), 1, + STATE(16), 1, sym_end_tag, - STATE(21), 1, + STATE(23), 1, sym_self_closing_tag, - STATE(54), 1, + STATE(52), 1, sym_script_start_tag, - STATE(55), 1, + STATE(53), 1, sym_style_start_tag, - ACTIONS(25), 2, - sym_entity, - sym_text, - STATE(6), 7, + STATE(6), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [88] = 12, + [100] = 14, ACTIONS(3), 1, sym_comment, - ACTIONS(15), 1, + ACTIONS(19), 1, anon_sym_LT_BANG, - ACTIONS(17), 1, + ACTIONS(21), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(23), 1, anon_sym_LT, - ACTIONS(29), 1, + ACTIONS(33), 1, + sym_entity, + ACTIONS(35), 1, + sym_text, + ACTIONS(39), 1, anon_sym_LT_SLASH, - ACTIONS(31), 1, + ACTIONS(41), 1, sym__implicit_end_tag, STATE(5), 1, sym_start_tag, - STATE(21), 1, + STATE(23), 1, sym_self_closing_tag, STATE(27), 1, sym_end_tag, - STATE(54), 1, + STATE(52), 1, sym_script_start_tag, - STATE(55), 1, + STATE(53), 1, sym_style_start_tag, - ACTIONS(25), 2, - sym_entity, - sym_text, - STATE(6), 7, + STATE(6), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [132] = 12, + [150] = 14, ACTIONS(3), 1, sym_comment, - ACTIONS(15), 1, + ACTIONS(19), 1, anon_sym_LT_BANG, - ACTIONS(17), 1, + ACTIONS(21), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(23), 1, anon_sym_LT, - ACTIONS(29), 1, + ACTIONS(39), 1, anon_sym_LT_SLASH, - ACTIONS(35), 1, + ACTIONS(43), 1, + sym_entity, + ACTIONS(45), 1, + sym_text, + ACTIONS(47), 1, sym__implicit_end_tag, STATE(5), 1, sym_start_tag, - STATE(21), 1, + STATE(23), 1, sym_self_closing_tag, - STATE(22), 1, + STATE(24), 1, sym_end_tag, - STATE(54), 1, + STATE(52), 1, sym_script_start_tag, - STATE(55), 1, + STATE(53), 1, sym_style_start_tag, - ACTIONS(33), 2, - sym_entity, - sym_text, - STATE(4), 7, + STATE(4), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [176] = 11, + [200] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(37), 1, + ACTIONS(49), 1, anon_sym_LT_BANG, - ACTIONS(40), 1, + ACTIONS(52), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(55), 1, anon_sym_LT, - ACTIONS(43), 1, + ACTIONS(58), 1, anon_sym_LT_SLASH, - ACTIONS(49), 1, + ACTIONS(61), 1, + sym_entity, + ACTIONS(64), 1, + sym_text, + ACTIONS(67), 1, sym__implicit_end_tag, STATE(5), 1, sym_start_tag, - STATE(21), 1, + STATE(23), 1, sym_self_closing_tag, - STATE(54), 1, + STATE(52), 1, sym_script_start_tag, - STATE(55), 1, + STATE(53), 1, sym_style_start_tag, - ACTIONS(46), 2, - sym_entity, - sym_text, - STATE(6), 7, + STATE(6), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [217] = 11, + [247] = 13, ACTIONS(3), 1, sym_comment, ACTIONS(7), 1, anon_sym_LT_BANG, ACTIONS(9), 1, - anon_sym_LT, + anon_sym_LBRACE_LBRACE_LBRACE, ACTIONS(11), 1, + anon_sym_LT, + ACTIONS(13), 1, anon_sym_LT_SLASH, - ACTIONS(51), 1, + ACTIONS(69), 1, ts_builtin_sym_end, + ACTIONS(71), 1, + sym_entity, + ACTIONS(73), 1, + sym_text, STATE(2), 1, sym_start_tag, - STATE(33), 1, + STATE(12), 1, sym_self_closing_tag, - STATE(48), 1, - sym_script_start_tag, - STATE(53), 1, + STATE(51), 1, sym_style_start_tag, - ACTIONS(53), 2, - sym_entity, - sym_text, - STATE(8), 7, + STATE(56), 1, + sym_script_start_tag, + STATE(8), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [258] = 11, + [294] = 13, ACTIONS(3), 1, sym_comment, - ACTIONS(49), 1, + ACTIONS(67), 1, ts_builtin_sym_end, - ACTIONS(55), 1, + ACTIONS(75), 1, anon_sym_LT_BANG, - ACTIONS(58), 1, + ACTIONS(78), 1, + anon_sym_LBRACE_LBRACE_LBRACE, + ACTIONS(81), 1, anon_sym_LT, - ACTIONS(61), 1, + ACTIONS(84), 1, anon_sym_LT_SLASH, + ACTIONS(87), 1, + sym_entity, + ACTIONS(90), 1, + sym_text, STATE(2), 1, sym_start_tag, - STATE(33), 1, + STATE(12), 1, sym_self_closing_tag, - STATE(48), 1, - sym_script_start_tag, - STATE(53), 1, + STATE(51), 1, sym_style_start_tag, - ACTIONS(64), 2, - sym_entity, - sym_text, - STATE(8), 7, + STATE(56), 1, + sym_script_start_tag, + STATE(8), 8, sym_doctype, sym__node, + sym_tribracket, sym_element, sym_script_element, sym_style_element, sym_erroneous_end_tag, aux_sym_document_repeat1, - [299] = 3, + [341] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(69), 1, + ACTIONS(95), 2, anon_sym_LT, - ACTIONS(67), 5, + sym_text, + ACTIONS(93), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [313] = 3, + [356] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 1, + ACTIONS(99), 2, anon_sym_LT, - ACTIONS(71), 5, + sym_text, + ACTIONS(97), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [327] = 3, + [371] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(77), 1, + ACTIONS(103), 2, anon_sym_LT, - ACTIONS(75), 5, - sym__implicit_end_tag, + sym_text, + ACTIONS(101), 5, + ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [341] = 3, + [386] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(81), 1, + ACTIONS(107), 2, anon_sym_LT, - ACTIONS(79), 5, + sym_text, + ACTIONS(105), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [355] = 3, + [401] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(85), 1, + ACTIONS(111), 2, anon_sym_LT, - ACTIONS(83), 5, + sym_text, + ACTIONS(109), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, + [416] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(115), 2, + anon_sym_LT, sym_text, - [369] = 3, + ACTIONS(113), 5, + sym__implicit_end_tag, + anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, + anon_sym_LT_SLASH, + sym_entity, + [431] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(89), 1, + ACTIONS(119), 2, anon_sym_LT, - ACTIONS(87), 5, + sym_text, + ACTIONS(117), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [383] = 3, + [446] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(93), 1, + ACTIONS(123), 2, anon_sym_LT, - ACTIONS(91), 5, + sym_text, + ACTIONS(121), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [397] = 3, + [461] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(97), 1, + ACTIONS(127), 2, anon_sym_LT, - ACTIONS(95), 5, + sym_text, + ACTIONS(125), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [411] = 3, + [476] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(101), 1, + ACTIONS(131), 2, anon_sym_LT, - ACTIONS(99), 5, + sym_text, + ACTIONS(129), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [425] = 3, + [491] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(105), 1, + ACTIONS(135), 2, anon_sym_LT, - ACTIONS(103), 5, - sym__implicit_end_tag, + sym_text, + ACTIONS(133), 5, + ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [439] = 3, + [506] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(109), 1, + ACTIONS(139), 2, anon_sym_LT, - ACTIONS(107), 5, + sym_text, + ACTIONS(137), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [453] = 3, + [521] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(69), 1, + ACTIONS(143), 2, anon_sym_LT, - ACTIONS(67), 5, + sym_text, + ACTIONS(141), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, + [536] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(147), 2, + anon_sym_LT, sym_text, - [467] = 3, + ACTIONS(145), 5, + ts_builtin_sym_end, + anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, + anon_sym_LT_SLASH, + sym_entity, + [551] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(113), 1, + ACTIONS(107), 2, anon_sym_LT, - ACTIONS(111), 5, + sym_text, + ACTIONS(105), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [481] = 3, + [566] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(117), 1, + ACTIONS(151), 2, anon_sym_LT, - ACTIONS(115), 5, + sym_text, + ACTIONS(149), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [495] = 3, + [581] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(109), 1, + ACTIONS(99), 2, anon_sym_LT, - ACTIONS(107), 5, + sym_text, + ACTIONS(97), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [509] = 3, + [596] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(73), 1, + ACTIONS(103), 2, anon_sym_LT, - ACTIONS(71), 5, + sym_text, + ACTIONS(101), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [523] = 3, + [611] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(81), 1, + ACTIONS(123), 2, anon_sym_LT, - ACTIONS(79), 5, + sym_text, + ACTIONS(121), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [537] = 3, + [626] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(85), 1, + ACTIONS(111), 2, anon_sym_LT, - ACTIONS(83), 5, + sym_text, + ACTIONS(109), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [551] = 3, + [641] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(89), 1, + ACTIONS(119), 2, anon_sym_LT, - ACTIONS(87), 5, + sym_text, + ACTIONS(117), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [565] = 3, + [656] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(93), 1, + ACTIONS(127), 2, anon_sym_LT, - ACTIONS(91), 5, + sym_text, + ACTIONS(125), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [579] = 3, + [671] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(97), 1, + ACTIONS(131), 2, anon_sym_LT, - ACTIONS(95), 5, + sym_text, + ACTIONS(129), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [593] = 3, + [686] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(101), 1, + ACTIONS(135), 2, anon_sym_LT, - ACTIONS(99), 5, + sym_text, + ACTIONS(133), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [607] = 3, + [701] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(121), 1, + ACTIONS(143), 2, anon_sym_LT, - ACTIONS(119), 5, + sym_text, + ACTIONS(141), 5, sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [621] = 3, + [716] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(117), 1, + ACTIONS(147), 2, anon_sym_LT, - ACTIONS(115), 5, - ts_builtin_sym_end, + sym_text, + ACTIONS(145), 5, + sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [635] = 3, + [731] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(113), 1, + ACTIONS(139), 2, anon_sym_LT, - ACTIONS(111), 5, - ts_builtin_sym_end, + sym_text, + ACTIONS(137), 5, + sym__implicit_end_tag, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [649] = 3, + [746] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(121), 1, + ACTIONS(151), 2, anon_sym_LT, - ACTIONS(119), 5, + sym_text, + ACTIONS(149), 5, ts_builtin_sym_end, anon_sym_LT_BANG, + anon_sym_LBRACE_LBRACE_LBRACE, anon_sym_LT_SLASH, sym_entity, - sym_text, - [663] = 4, + [761] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(125), 1, - sym_attribute_name, - ACTIONS(123), 2, + ACTIONS(153), 1, anon_sym_GT, + ACTIONS(155), 1, anon_sym_SLASH_GT, - STATE(35), 2, + ACTIONS(157), 1, + sym_attribute_name, + STATE(38), 2, sym_attribute, aux_sym_start_tag_repeat1, - [678] = 5, + [778] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(128), 1, + ACTIONS(161), 1, + sym_attribute_name, + ACTIONS(159), 2, anon_sym_GT, - ACTIONS(130), 1, anon_sym_SLASH_GT, - ACTIONS(132), 1, - sym_attribute_name, - STATE(35), 2, + STATE(38), 2, sym_attribute, aux_sym_start_tag_repeat1, - [695] = 5, + [793] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(132), 1, + ACTIONS(157), 1, sym_attribute_name, - ACTIONS(134), 1, + ACTIONS(164), 1, anon_sym_GT, - ACTIONS(136), 1, + ACTIONS(166), 1, anon_sym_SLASH_GT, - STATE(38), 2, + STATE(37), 2, sym_attribute, aux_sym_start_tag_repeat1, - [712] = 5, + [810] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(128), 1, - anon_sym_GT, - ACTIONS(132), 1, + ACTIONS(157), 1, sym_attribute_name, - ACTIONS(138), 1, + ACTIONS(164), 1, + anon_sym_GT, + ACTIONS(168), 1, anon_sym_SLASH_GT, - STATE(35), 2, + STATE(41), 2, sym_attribute, aux_sym_start_tag_repeat1, - [729] = 5, + [827] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(132), 1, - sym_attribute_name, - ACTIONS(134), 1, + ACTIONS(153), 1, anon_sym_GT, - ACTIONS(140), 1, + ACTIONS(157), 1, + sym_attribute_name, + ACTIONS(170), 1, anon_sym_SLASH_GT, - STATE(36), 2, + STATE(38), 2, sym_attribute, aux_sym_start_tag_repeat1, - [746] = 4, + [844] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(142), 1, + ACTIONS(172), 1, anon_sym_GT, - ACTIONS(144), 1, + ACTIONS(174), 1, sym_attribute_name, - STATE(41), 2, + STATE(48), 2, sym_attribute, aux_sym_start_tag_repeat1, - [760] = 4, + [858] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(123), 1, + ACTIONS(159), 1, anon_sym_GT, - ACTIONS(146), 1, + ACTIONS(176), 1, sym_attribute_name, - STATE(41), 2, + STATE(43), 2, sym_attribute, aux_sym_start_tag_repeat1, - [774] = 4, + [872] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(144), 1, + ACTIONS(174), 1, sym_attribute_name, - ACTIONS(149), 1, + ACTIONS(179), 1, anon_sym_GT, - STATE(40), 2, + STATE(43), 2, sym_attribute, aux_sym_start_tag_repeat1, - [788] = 4, + [886] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(144), 1, + ACTIONS(181), 1, + sym_attribute_value, + ACTIONS(183), 1, + anon_sym_SQUOTE, + ACTIONS(185), 1, + anon_sym_DQUOTE, + STATE(67), 1, + sym_quoted_attribute_value, + [902] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(189), 1, + anon_sym_EQ, + ACTIONS(187), 3, + anon_sym_GT, + anon_sym_SLASH_GT, sym_attribute_name, - ACTIONS(151), 1, + [914] = 4, + ACTIONS(3), 1, + sym_comment, + ACTIONS(174), 1, + sym_attribute_name, + ACTIONS(191), 1, anon_sym_GT, STATE(44), 2, sym_attribute, aux_sym_start_tag_repeat1, - [802] = 4, + [928] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(144), 1, + ACTIONS(174), 1, sym_attribute_name, - ACTIONS(153), 1, + ACTIONS(193), 1, anon_sym_GT, - STATE(41), 2, + STATE(43), 2, sym_attribute, aux_sym_start_tag_repeat1, - [816] = 3, - ACTIONS(3), 1, - sym_comment, - ACTIONS(157), 1, - anon_sym_EQ, - ACTIONS(155), 3, - anon_sym_GT, - anon_sym_SLASH_GT, - sym_attribute_name, - [828] = 5, + [942] = 5, ACTIONS(3), 1, sym_comment, - ACTIONS(159), 1, + ACTIONS(195), 1, sym_attribute_value, - ACTIONS(161), 1, + ACTIONS(197), 1, anon_sym_SQUOTE, - ACTIONS(163), 1, + ACTIONS(199), 1, anon_sym_DQUOTE, - STATE(56), 1, + STATE(57), 1, sym_quoted_attribute_value, - [844] = 5, + [958] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(165), 1, - sym_attribute_value, - ACTIONS(167), 1, - anon_sym_SQUOTE, - ACTIONS(169), 1, - anon_sym_DQUOTE, - STATE(58), 1, - sym_quoted_attribute_value, - [860] = 4, + ACTIONS(201), 3, + anon_sym_GT, + anon_sym_SLASH_GT, + sym_attribute_name, + [967] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(203), 1, anon_sym_LT_SLASH, - ACTIONS(173), 1, + ACTIONS(205), 1, sym_raw_text, - STATE(19), 1, + STATE(11), 1, sym_end_tag, - [873] = 2, + [980] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(175), 3, - anon_sym_GT, - anon_sym_SLASH_GT, - sym_attribute_name, - [882] = 2, + ACTIONS(207), 1, + anon_sym_LT_SLASH, + ACTIONS(209), 1, + sym_raw_text, + STATE(25), 1, + sym_end_tag, + [993] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(177), 3, - anon_sym_GT, - anon_sym_SLASH_GT, - sym_attribute_name, - [891] = 3, + ACTIONS(207), 1, + anon_sym_LT_SLASH, + ACTIONS(211), 1, + sym_raw_text, + STATE(26), 1, + sym_end_tag, + [1006] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(179), 1, + ACTIONS(213), 1, anon_sym_EQ, - ACTIONS(155), 2, + ACTIONS(187), 2, anon_sym_GT, sym_attribute_name, - [902] = 4, + [1017] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(181), 1, + ACTIONS(215), 1, sym__start_tag_name, - ACTIONS(183), 1, + ACTIONS(217), 1, sym__script_start_tag_name, - ACTIONS(185), 1, + ACTIONS(219), 1, sym__style_start_tag_name, - [915] = 4, + [1030] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(203), 1, anon_sym_LT_SLASH, - ACTIONS(187), 1, + ACTIONS(221), 1, sym_raw_text, STATE(10), 1, sym_end_tag, - [928] = 4, - ACTIONS(3), 1, - sym_comment, - ACTIONS(189), 1, - anon_sym_LT_SLASH, - ACTIONS(191), 1, - sym_raw_text, - STATE(23), 1, - sym_end_tag, - [941] = 4, + [1043] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(189), 1, - anon_sym_LT_SLASH, - ACTIONS(193), 1, - sym_raw_text, - STATE(24), 1, - sym_end_tag, - [954] = 2, + ACTIONS(223), 3, + anon_sym_GT, + anon_sym_SLASH_GT, + sym_attribute_name, + [1052] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(195), 3, + ACTIONS(225), 3, anon_sym_GT, anon_sym_SLASH_GT, sym_attribute_name, - [963] = 4, + [1061] = 4, ACTIONS(3), 1, sym_comment, - ACTIONS(183), 1, + ACTIONS(217), 1, sym__script_start_tag_name, - ACTIONS(185), 1, + ACTIONS(219), 1, sym__style_start_tag_name, - ACTIONS(197), 1, + ACTIONS(227), 1, sym__start_tag_name, - [976] = 2, + [1074] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(195), 2, - anon_sym_GT, - sym_attribute_name, - [984] = 3, + ACTIONS(207), 1, + anon_sym_LT_SLASH, + STATE(31), 1, + sym_end_tag, + [1084] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(199), 1, + ACTIONS(229), 1, sym__end_tag_name, - ACTIONS(201), 1, + ACTIONS(231), 1, + sym_erroneous_end_tag_name, + [1094] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(231), 1, sym_erroneous_end_tag_name, - [994] = 3, + ACTIONS(233), 1, + sym__end_tag_name, + [1104] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(235), 2, + sym_raw_text, + anon_sym_LT_SLASH, + [1112] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(237), 2, + sym_raw_text, anon_sym_LT_SLASH, - STATE(16), 1, - sym_end_tag, - [1004] = 2, + [1120] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(203), 2, + ACTIONS(239), 2, sym_raw_text, anon_sym_LT_SLASH, - [1012] = 3, + [1128] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(205), 1, - anon_sym_DQUOTE, - ACTIONS(207), 1, - aux_sym_quoted_attribute_value_token2, - [1022] = 2, + ACTIONS(241), 1, + anon_sym_SQUOTE, + ACTIONS(243), 1, + aux_sym_quoted_attribute_value_token1, + [1138] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(175), 2, + ACTIONS(223), 2, anon_sym_GT, sym_attribute_name, - [1030] = 2, + [1146] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(177), 2, + ACTIONS(225), 2, anon_sym_GT, sym_attribute_name, - [1038] = 2, + [1154] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(209), 2, - sym_raw_text, - anon_sym_LT_SLASH, - [1046] = 2, + ACTIONS(201), 2, + anon_sym_GT, + sym_attribute_name, + [1162] = 3, + ACTIONS(3), 1, + sym_comment, + ACTIONS(241), 1, + anon_sym_DQUOTE, + ACTIONS(245), 1, + aux_sym_quoted_attribute_value_token2, + [1172] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(211), 2, + ACTIONS(247), 2, sym_raw_text, anon_sym_LT_SLASH, - [1054] = 2, + [1180] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(213), 2, - sym_raw_text, + ACTIONS(207), 1, anon_sym_LT_SLASH, - [1062] = 3, + STATE(32), 1, + sym_end_tag, + [1190] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(201), 1, - sym_erroneous_end_tag_name, - ACTIONS(215), 1, - sym__end_tag_name, - [1072] = 3, + ACTIONS(249), 1, + anon_sym_SQUOTE, + ACTIONS(251), 1, + aux_sym_quoted_attribute_value_token1, + [1200] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(189), 1, - anon_sym_LT_SLASH, - STATE(28), 1, - sym_end_tag, - [1082] = 3, + ACTIONS(249), 1, + anon_sym_DQUOTE, + ACTIONS(253), 1, + aux_sym_quoted_attribute_value_token2, + [1210] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(189), 1, + ACTIONS(203), 1, anon_sym_LT_SLASH, - STATE(29), 1, + STATE(18), 1, sym_end_tag, - [1092] = 3, + [1220] = 3, ACTIONS(3), 1, sym_comment, - ACTIONS(171), 1, + ACTIONS(203), 1, anon_sym_LT_SLASH, - STATE(15), 1, + STATE(19), 1, sym_end_tag, - [1102] = 3, + [1230] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(205), 1, - anon_sym_SQUOTE, - ACTIONS(217), 1, - aux_sym_quoted_attribute_value_token1, - [1112] = 3, + ACTIONS(255), 1, + sym_erroneous_end_tag_name, + [1237] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(219), 1, + ACTIONS(257), 1, anon_sym_SQUOTE, - ACTIONS(221), 1, - aux_sym_quoted_attribute_value_token1, - [1122] = 3, + [1244] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(219), 1, - anon_sym_DQUOTE, - ACTIONS(223), 1, - aux_sym_quoted_attribute_value_token2, - [1132] = 2, + ACTIONS(259), 1, + anon_sym_RBRACE_RBRACE_RBRACE, + [1251] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(225), 1, + ACTIONS(257), 1, anon_sym_DQUOTE, - [1139] = 2, + [1258] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(227), 1, - anon_sym_DQUOTE, - [1146] = 2, + ACTIONS(261), 1, + anon_sym_GT, + [1265] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(229), 1, - sym__doctype, - [1153] = 2, + ACTIONS(263), 1, + anon_sym_GT, + [1272] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(227), 1, - anon_sym_SQUOTE, - [1160] = 2, + ACTIONS(265), 1, + ts_builtin_sym_end, + [1279] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(231), 1, - anon_sym_GT, - [1167] = 2, + ACTIONS(233), 1, + sym__end_tag_name, + [1286] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(233), 1, + ACTIONS(267), 1, anon_sym_GT, - [1174] = 2, + [1293] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(235), 1, - aux_sym_doctype_token1, - [1181] = 2, + ACTIONS(269), 1, + anon_sym_RBRACE_RBRACE_RBRACE, + [1300] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(237), 1, + ACTIONS(271), 1, anon_sym_GT, - [1188] = 2, + [1307] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(239), 1, - ts_builtin_sym_end, - [1195] = 2, + ACTIONS(273), 1, + anon_sym_GT, + [1314] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(241), 1, + ACTIONS(275), 1, anon_sym_GT, - [1202] = 2, + [1321] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(243), 1, - sym_erroneous_end_tag_name, - [1209] = 2, + ACTIONS(277), 1, + aux_sym_doctype_token1, + [1328] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(225), 1, + ACTIONS(279), 1, anon_sym_SQUOTE, - [1216] = 2, + [1335] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(245), 1, - anon_sym_GT, - [1223] = 2, + ACTIONS(279), 1, + anon_sym_DQUOTE, + [1342] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(215), 1, - sym__end_tag_name, - [1230] = 2, + ACTIONS(281), 1, + sym_tribracket_content, + [1349] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(201), 1, + ACTIONS(283), 1, + sym_tribracket_content, + [1356] = 2, + ACTIONS(3), 1, + sym_comment, + ACTIONS(231), 1, sym_erroneous_end_tag_name, - [1237] = 2, + [1363] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(247), 1, + ACTIONS(285), 1, aux_sym_doctype_token1, - [1244] = 2, + [1370] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(249), 1, - anon_sym_GT, - [1251] = 2, + ACTIONS(287), 1, + sym__doctype, + [1377] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(199), 1, + ACTIONS(229), 1, sym__end_tag_name, - [1258] = 2, + [1384] = 2, ACTIONS(3), 1, sym_comment, - ACTIONS(251), 1, + ACTIONS(289), 1, sym__doctype, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 44, - [SMALL_STATE(4)] = 88, - [SMALL_STATE(5)] = 132, - [SMALL_STATE(6)] = 176, - [SMALL_STATE(7)] = 217, - [SMALL_STATE(8)] = 258, - [SMALL_STATE(9)] = 299, - [SMALL_STATE(10)] = 313, - [SMALL_STATE(11)] = 327, - [SMALL_STATE(12)] = 341, - [SMALL_STATE(13)] = 355, - [SMALL_STATE(14)] = 369, - [SMALL_STATE(15)] = 383, - [SMALL_STATE(16)] = 397, - [SMALL_STATE(17)] = 411, - [SMALL_STATE(18)] = 425, - [SMALL_STATE(19)] = 439, - [SMALL_STATE(20)] = 453, - [SMALL_STATE(21)] = 467, - [SMALL_STATE(22)] = 481, - [SMALL_STATE(23)] = 495, - [SMALL_STATE(24)] = 509, - [SMALL_STATE(25)] = 523, - [SMALL_STATE(26)] = 537, - [SMALL_STATE(27)] = 551, - [SMALL_STATE(28)] = 565, - [SMALL_STATE(29)] = 579, - [SMALL_STATE(30)] = 593, - [SMALL_STATE(31)] = 607, - [SMALL_STATE(32)] = 621, - [SMALL_STATE(33)] = 635, - [SMALL_STATE(34)] = 649, - [SMALL_STATE(35)] = 663, - [SMALL_STATE(36)] = 678, - [SMALL_STATE(37)] = 695, - [SMALL_STATE(38)] = 712, - [SMALL_STATE(39)] = 729, - [SMALL_STATE(40)] = 746, - [SMALL_STATE(41)] = 760, - [SMALL_STATE(42)] = 774, - [SMALL_STATE(43)] = 788, - [SMALL_STATE(44)] = 802, - [SMALL_STATE(45)] = 816, - [SMALL_STATE(46)] = 828, - [SMALL_STATE(47)] = 844, - [SMALL_STATE(48)] = 860, - [SMALL_STATE(49)] = 873, - [SMALL_STATE(50)] = 882, - [SMALL_STATE(51)] = 891, - [SMALL_STATE(52)] = 902, - [SMALL_STATE(53)] = 915, - [SMALL_STATE(54)] = 928, - [SMALL_STATE(55)] = 941, - [SMALL_STATE(56)] = 954, - [SMALL_STATE(57)] = 963, - [SMALL_STATE(58)] = 976, - [SMALL_STATE(59)] = 984, - [SMALL_STATE(60)] = 994, - [SMALL_STATE(61)] = 1004, - [SMALL_STATE(62)] = 1012, - [SMALL_STATE(63)] = 1022, - [SMALL_STATE(64)] = 1030, - [SMALL_STATE(65)] = 1038, - [SMALL_STATE(66)] = 1046, - [SMALL_STATE(67)] = 1054, - [SMALL_STATE(68)] = 1062, - [SMALL_STATE(69)] = 1072, - [SMALL_STATE(70)] = 1082, - [SMALL_STATE(71)] = 1092, - [SMALL_STATE(72)] = 1102, - [SMALL_STATE(73)] = 1112, - [SMALL_STATE(74)] = 1122, - [SMALL_STATE(75)] = 1132, - [SMALL_STATE(76)] = 1139, - [SMALL_STATE(77)] = 1146, - [SMALL_STATE(78)] = 1153, - [SMALL_STATE(79)] = 1160, - [SMALL_STATE(80)] = 1167, - [SMALL_STATE(81)] = 1174, - [SMALL_STATE(82)] = 1181, - [SMALL_STATE(83)] = 1188, - [SMALL_STATE(84)] = 1195, - [SMALL_STATE(85)] = 1202, - [SMALL_STATE(86)] = 1209, - [SMALL_STATE(87)] = 1216, - [SMALL_STATE(88)] = 1223, - [SMALL_STATE(89)] = 1230, - [SMALL_STATE(90)] = 1237, - [SMALL_STATE(91)] = 1244, - [SMALL_STATE(92)] = 1251, - [SMALL_STATE(93)] = 1258, + [SMALL_STATE(3)] = 50, + [SMALL_STATE(4)] = 100, + [SMALL_STATE(5)] = 150, + [SMALL_STATE(6)] = 200, + [SMALL_STATE(7)] = 247, + [SMALL_STATE(8)] = 294, + [SMALL_STATE(9)] = 341, + [SMALL_STATE(10)] = 356, + [SMALL_STATE(11)] = 371, + [SMALL_STATE(12)] = 386, + [SMALL_STATE(13)] = 401, + [SMALL_STATE(14)] = 416, + [SMALL_STATE(15)] = 431, + [SMALL_STATE(16)] = 446, + [SMALL_STATE(17)] = 461, + [SMALL_STATE(18)] = 476, + [SMALL_STATE(19)] = 491, + [SMALL_STATE(20)] = 506, + [SMALL_STATE(21)] = 521, + [SMALL_STATE(22)] = 536, + [SMALL_STATE(23)] = 551, + [SMALL_STATE(24)] = 566, + [SMALL_STATE(25)] = 581, + [SMALL_STATE(26)] = 596, + [SMALL_STATE(27)] = 611, + [SMALL_STATE(28)] = 626, + [SMALL_STATE(29)] = 641, + [SMALL_STATE(30)] = 656, + [SMALL_STATE(31)] = 671, + [SMALL_STATE(32)] = 686, + [SMALL_STATE(33)] = 701, + [SMALL_STATE(34)] = 716, + [SMALL_STATE(35)] = 731, + [SMALL_STATE(36)] = 746, + [SMALL_STATE(37)] = 761, + [SMALL_STATE(38)] = 778, + [SMALL_STATE(39)] = 793, + [SMALL_STATE(40)] = 810, + [SMALL_STATE(41)] = 827, + [SMALL_STATE(42)] = 844, + [SMALL_STATE(43)] = 858, + [SMALL_STATE(44)] = 872, + [SMALL_STATE(45)] = 886, + [SMALL_STATE(46)] = 902, + [SMALL_STATE(47)] = 914, + [SMALL_STATE(48)] = 928, + [SMALL_STATE(49)] = 942, + [SMALL_STATE(50)] = 958, + [SMALL_STATE(51)] = 967, + [SMALL_STATE(52)] = 980, + [SMALL_STATE(53)] = 993, + [SMALL_STATE(54)] = 1006, + [SMALL_STATE(55)] = 1017, + [SMALL_STATE(56)] = 1030, + [SMALL_STATE(57)] = 1043, + [SMALL_STATE(58)] = 1052, + [SMALL_STATE(59)] = 1061, + [SMALL_STATE(60)] = 1074, + [SMALL_STATE(61)] = 1084, + [SMALL_STATE(62)] = 1094, + [SMALL_STATE(63)] = 1104, + [SMALL_STATE(64)] = 1112, + [SMALL_STATE(65)] = 1120, + [SMALL_STATE(66)] = 1128, + [SMALL_STATE(67)] = 1138, + [SMALL_STATE(68)] = 1146, + [SMALL_STATE(69)] = 1154, + [SMALL_STATE(70)] = 1162, + [SMALL_STATE(71)] = 1172, + [SMALL_STATE(72)] = 1180, + [SMALL_STATE(73)] = 1190, + [SMALL_STATE(74)] = 1200, + [SMALL_STATE(75)] = 1210, + [SMALL_STATE(76)] = 1220, + [SMALL_STATE(77)] = 1230, + [SMALL_STATE(78)] = 1237, + [SMALL_STATE(79)] = 1244, + [SMALL_STATE(80)] = 1251, + [SMALL_STATE(81)] = 1258, + [SMALL_STATE(82)] = 1265, + [SMALL_STATE(83)] = 1272, + [SMALL_STATE(84)] = 1279, + [SMALL_STATE(85)] = 1286, + [SMALL_STATE(86)] = 1293, + [SMALL_STATE(87)] = 1300, + [SMALL_STATE(88)] = 1307, + [SMALL_STATE(89)] = 1314, + [SMALL_STATE(90)] = 1321, + [SMALL_STATE(91)] = 1328, + [SMALL_STATE(92)] = 1335, + [SMALL_STATE(93)] = 1342, + [SMALL_STATE(94)] = 1349, + [SMALL_STATE(95)] = 1356, + [SMALL_STATE(96)] = 1363, + [SMALL_STATE(97)] = 1370, + [SMALL_STATE(98)] = 1377, + [SMALL_STATE(99)] = 1384, }; static const TSParseActionEntry ts_parse_actions[] = { @@ -2050,124 +2251,141 @@ static const TSParseActionEntry ts_parse_actions[] = { [1] = {.entry = {.count = 1, .reusable = false}}, RECOVER(), [3] = {.entry = {.count = 1, .reusable = true}}, SHIFT_EXTRA(), [5] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 0, 0, 0), - [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [9] = {.entry = {.count = 1, .reusable = false}}, SHIFT(52), - [11] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), - [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), - [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), - [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), - [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(59), - [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), - [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), - [35] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [37] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(93), - [40] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(57), - [43] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(89), - [46] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(6), - [49] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), - [51] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), - [53] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), - [55] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(77), - [58] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(52), - [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(85), - [64] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(8), - [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3, 0, 0), - [69] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3, 0, 0), - [71] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 2, 0, 0), - [73] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 2, 0, 0), - [75] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3, 0, 0), - [77] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3, 0, 0), - [79] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3, 0, 0), - [81] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3, 0, 0), - [83] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), - [85] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), - [87] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 3, 0, 0), - [89] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 3, 0, 0), - [91] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 3, 0, 0), - [93] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 3, 0, 0), - [95] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 3, 0, 0), - [97] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 3, 0, 0), - [99] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4, 0, 0), - [101] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4, 0, 0), - [103] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4, 0, 0), - [105] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4, 0, 0), - [107] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 2, 0, 0), - [109] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 2, 0, 0), - [111] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 1, 0, 0), - [113] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 1, 0, 0), - [115] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 2, 0, 0), - [117] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 2, 0, 0), - [119] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4, 0, 0), - [121] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4, 0, 0), - [123] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), - [125] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(45), - [128] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [130] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), - [132] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), - [134] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), - [136] = {.entry = {.count = 1, .reusable = true}}, SHIFT(25), - [138] = {.entry = {.count = 1, .reusable = true}}, SHIFT(31), - [140] = {.entry = {.count = 1, .reusable = true}}, SHIFT(12), - [142] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), - [144] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [146] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(51), - [149] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), - [151] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), - [155] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 0), + [7] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), + [17] = {.entry = {.count = 1, .reusable = false}}, SHIFT(7), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [23] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), + [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(3), + [29] = {.entry = {.count = 1, .reusable = false}}, SHIFT(3), + [31] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [33] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [35] = {.entry = {.count = 1, .reusable = false}}, SHIFT(6), + [37] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [39] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [41] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [43] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), + [45] = {.entry = {.count = 1, .reusable = false}}, SHIFT(4), + [47] = {.entry = {.count = 1, .reusable = true}}, SHIFT(24), + [49] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(99), + [52] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(93), + [55] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(59), + [58] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(95), + [61] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(6), + [64] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(6), + [67] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), + [69] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_document, 1, 0, 0), + [71] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), + [73] = {.entry = {.count = 1, .reusable = false}}, SHIFT(8), + [75] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(97), + [78] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(94), + [81] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(55), + [84] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(77), + [87] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(8), + [90] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_document_repeat1, 2, 0, 0), SHIFT_REPEAT(8), + [93] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4, 0, 0), + [95] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4, 0, 0), + [97] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 2, 0, 0), + [99] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 2, 0, 0), + [101] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 2, 0, 0), + [103] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 2, 0, 0), + [105] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 1, 0, 0), + [107] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 1, 0, 0), + [109] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tribracket, 3, 0, 0), + [111] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tribracket, 3, 0, 0), + [113] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3, 0, 0), + [115] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3, 0, 0), + [117] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3, 0, 0), + [119] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3, 0, 0), + [121] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 3, 0, 0), + [123] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 3, 0, 0), + [125] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), + [127] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_erroneous_end_tag, 3, 0, 0), + [129] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_element, 3, 0, 0), + [131] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_style_element, 3, 0, 0), + [133] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_element, 3, 0, 0), + [135] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_script_element, 3, 0, 0), + [137] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4, 0, 0), + [139] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4, 0, 0), + [141] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4, 0, 0), + [143] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4, 0, 0), + [145] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3, 0, 0), + [147] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3, 0, 0), + [149] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_element, 2, 0, 0), + [151] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_element, 2, 0, 0), + [153] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), + [155] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), [157] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [159] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [161] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), - [163] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [165] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [167] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), - [169] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), - [171] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), - [173] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), - [175] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 2, 0, 0), - [177] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 3, 0, 0), - [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(43), - [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), - [187] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), - [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), - [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), - [195] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 0), - [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [201] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [203] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 3, 0, 0), - [205] = {.entry = {.count = 1, .reusable = false}}, SHIFT(49), - [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [209] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 4, 0, 0), - [211] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 3, 0, 0), - [213] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 4, 0, 0), - [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), - [219] = {.entry = {.count = 1, .reusable = false}}, SHIFT(63), - [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), - [223] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), - [225] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), - [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), - [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), - [235] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), - [237] = {.entry = {.count = 1, .reusable = true}}, SHIFT(9), - [239] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [241] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), - [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), - [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [159] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), + [161] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(46), + [164] = {.entry = {.count = 1, .reusable = true}}, SHIFT(14), + [166] = {.entry = {.count = 1, .reusable = true}}, SHIFT(15), + [168] = {.entry = {.count = 1, .reusable = true}}, SHIFT(29), + [170] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [172] = {.entry = {.count = 1, .reusable = true}}, SHIFT(65), + [174] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [176] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2, 0, 0), SHIFT_REPEAT(54), + [179] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [181] = {.entry = {.count = 1, .reusable = true}}, SHIFT(67), + [183] = {.entry = {.count = 1, .reusable = true}}, SHIFT(73), + [185] = {.entry = {.count = 1, .reusable = true}}, SHIFT(74), + [187] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1, 0, 0), + [189] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [191] = {.entry = {.count = 1, .reusable = true}}, SHIFT(71), + [193] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [195] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [197] = {.entry = {.count = 1, .reusable = true}}, SHIFT(66), + [199] = {.entry = {.count = 1, .reusable = true}}, SHIFT(70), + [201] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 3, 0, 0), + [203] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [205] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [207] = {.entry = {.count = 1, .reusable = true}}, SHIFT(98), + [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(72), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(45), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(42), + [219] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [221] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), + [223] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3, 0, 0), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 2, 0, 0), + [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(40), + [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), + [231] = {.entry = {.count = 1, .reusable = true}}, SHIFT(81), + [233] = {.entry = {.count = 1, .reusable = true}}, SHIFT(88), + [235] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 4, 0, 0), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 4, 0, 0), + [239] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_script_start_tag, 3, 0, 0), + [241] = {.entry = {.count = 1, .reusable = false}}, SHIFT(58), + [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(78), + [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(80), + [247] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_style_start_tag, 3, 0, 0), + [249] = {.entry = {.count = 1, .reusable = false}}, SHIFT(68), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [259] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [261] = {.entry = {.count = 1, .reusable = true}}, SHIFT(30), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), + [265] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(13), + [271] = {.entry = {.count = 1, .reusable = true}}, SHIFT(34), + [273] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), + [275] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [277] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), + [279] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(79), + [283] = {.entry = {.count = 1, .reusable = true}}, SHIFT(86), + [285] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(90), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), }; enum ts_external_scanner_symbol_identifiers {