diff --git a/grammar.js b/grammar.js index a4d9101..192ecbc 100644 --- a/grammar.js +++ b/grammar.js @@ -5,7 +5,15 @@ module.exports = grammar({ fragment: ($) => repeat($._node), _node: ($) => - choice($.doctype, $.tag, $.component, $.text, $.comment, $.directive), + choice( + $.doctype, + $.tag, + $.component, + $.text, + $.comment, + $.directive, + $.expression + ), doctype: ($) => seq(""), @@ -117,21 +125,18 @@ module.exports = grammar({ ), directive: ($) => - choice( - seq( - choice("<%", "<%=", "<%%", "<%%="), - prec.left( - seq( - choice( - $.partial_expression_value, - $.ending_expression_value, - $.expression_value - ), - choice("%>") - ) + seq( + choice("<%", "<%=", "<%%", "<%%="), + prec.left( + seq( + choice( + $.partial_expression_value, + $.ending_expression_value, + $.expression_value + ), + choice("%>") ) - ), - alias($.expression, "expression") + ) ), comment: ($) => choice($._html_comment, $._bang_comment, $._hash_comment), diff --git a/src/grammar.json b/src/grammar.json index 8ddd177..778c6d8 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -34,6 +34,10 @@ { "type": "SYMBOL", "name": "directive" + }, + { + "type": "SYMBOL", + "name": "expression" } ] }, @@ -661,117 +665,63 @@ ] }, "directive": { - "type": "CHOICE", + "type": "SEQ", "members": [ { - "type": "SEQ", + "type": "CHOICE", "members": [ { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "<%" - }, - { - "type": "STRING", - "value": "<%=" - }, - { - "type": "STRING", - "value": "<%%" - }, - { - "type": "STRING", - "value": "<%%=" - } - ] + "type": "STRING", + "value": "<%" }, { - "type": "PREC_LEFT", - "value": 0, - "content": { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "partial_expression_value" - }, - { - "type": "SYMBOL", - "name": "ending_expression_value" - }, - { - "type": "SYMBOL", - "name": "expression_value" - } - ] - }, - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "%>" - } - ] - } - ] - } + "type": "STRING", + "value": "<%=" + }, + { + "type": "STRING", + "value": "<%%" + }, + { + "type": "STRING", + "value": "<%%=" } ] }, { - "type": "SEQ", - "members": [ - { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "{" - } - ] - }, - { - "type": "PREC_LEFT", - "value": 0, - "content": { - "type": "SEQ", + "type": "PREC_LEFT", + "value": 0, + "content": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", "members": [ { - "type": "CHOICE", - "members": [ - { - "type": "SYMBOL", - "name": "partial_expression_value" - }, - { - "type": "SYMBOL", - "name": "ending_expression_value" - }, - { - "type": "SYMBOL", - "name": "expression_value" - } - ] + "type": "SYMBOL", + "name": "partial_expression_value" }, { - "type": "CHOICE", - "members": [ - { - "type": "STRING", - "value": "}" - } - ] + "type": "SYMBOL", + "name": "ending_expression_value" + }, + { + "type": "SYMBOL", + "name": "expression_value" + } + ] + }, + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "%>" } ] } - } - ] + ] + } } ] }, diff --git a/src/node-types.json b/src/node-types.json index d5d3b41..f9344d7 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -59,6 +59,10 @@ "type": "end_component", "named": true }, + { + "type": "expression", + "named": true + }, { "type": "self_closing_component", "named": true @@ -223,6 +227,10 @@ "type": "doctype", "named": true }, + { + "type": "expression", + "named": true + }, { "type": "tag", "named": true @@ -363,6 +371,10 @@ "type": "end_slot", "named": true }, + { + "type": "expression", + "named": true + }, { "type": "self_closing_slot", "named": true @@ -515,6 +527,10 @@ "type": "end_tag", "named": true }, + { + "type": "expression", + "named": true + }, { "type": "self_closing_tag", "named": true diff --git a/src/parser.c b/src/parser.c index cfc2a9e..1b234ca 100644 --- a/src/parser.c +++ b/src/parser.c @@ -6,7 +6,7 @@ #endif #define LANGUAGE_VERSION 14 -#define STATE_COUNT 129 +#define STATE_COUNT 120 #define LARGE_STATE_COUNT 2 #define SYMBOL_COUNT 81 #define ALIAS_COUNT 1 @@ -604,10 +604,10 @@ static const TSSymbolMetadata ts_symbol_metadata[] = { static const TSSymbol ts_alias_sequences[PRODUCTION_ID_COUNT][MAX_ALIAS_SEQUENCE_LENGTH] = { [0] = {0}, [1] = { - [1] = alias_sym_slot_name, + [1] = sym_expression_value, }, [2] = { - [1] = sym_expression_value, + [1] = alias_sym_slot_name, }, }; @@ -678,76 +678,67 @@ static const TSStateId ts_primary_state_ids[STATE_COUNT] = { [56] = 56, [57] = 57, [58] = 58, - [59] = 59, + [59] = 12, [60] = 60, [61] = 61, - [62] = 62, + [62] = 32, [63] = 63, [64] = 64, [65] = 65, [66] = 66, [67] = 67, [68] = 68, - [69] = 65, - [70] = 66, + [69] = 68, + [70] = 67, [71] = 71, [72] = 72, - [73] = 71, - [74] = 74, + [73] = 73, + [74] = 72, [75] = 75, [76] = 76, [77] = 77, - [78] = 66, - [79] = 66, - [80] = 75, + [78] = 78, + [79] = 79, + [80] = 66, [81] = 81, [82] = 82, [83] = 83, [84] = 84, [85] = 85, - [86] = 85, - [87] = 82, - [88] = 81, + [86] = 86, + [87] = 87, + [88] = 88, [89] = 89, - [90] = 83, - [91] = 84, - [92] = 92, + [90] = 90, + [91] = 91, + [92] = 79, [93] = 93, [94] = 94, [95] = 95, [96] = 96, [97] = 97, [98] = 98, - [99] = 94, + [99] = 99, [100] = 100, [101] = 101, - [102] = 101, + [102] = 102, [103] = 103, [104] = 104, - [105] = 103, + [105] = 105, [106] = 106, [107] = 107, [108] = 108, [109] = 109, [110] = 110, - [111] = 111, + [111] = 81, [112] = 112, [113] = 113, [114] = 114, - [115] = 115, + [115] = 89, [116] = 116, [117] = 117, [118] = 118, - [119] = 119, - [120] = 95, - [121] = 121, - [122] = 96, - [123] = 123, - [124] = 124, - [125] = 125, - [126] = 126, - [127] = 127, - [128] = 112, + [119] = 99, }; static inline bool sym_attribute_value_character_set_1(int32_t c) { @@ -813,785 +804,733 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { eof = lexer->eof(lexer); switch (state) { case 0: - if (eof) ADVANCE(51); - if (lookahead == '"') ADVANCE(78); - if (lookahead == '#') ADVANCE(99); - if (lookahead == '\'') ADVANCE(75); - if (lookahead == '.') ADVANCE(103); - if (lookahead == '/') ADVANCE(20); - if (lookahead == ':') ADVANCE(34); - if (lookahead == '<') ADVANCE(56); - if (lookahead == '=') ADVANCE(69); - if (lookahead == '>') ADVANCE(55); - if (lookahead == 'D') ADVANCE(122); - if (lookahead == 'd') ADVANCE(130); - if (lookahead == 'e') ADVANCE(129); - if (lookahead == 'h') ADVANCE(131); - if (lookahead == '{') ADVANCE(64); - if (lookahead == '}') ADVANCE(65); + if (eof) ADVANCE(49); + if (lookahead == '"') ADVANCE(75); + if (lookahead == '#') ADVANCE(96); + if (lookahead == '\'') ADVANCE(72); + if (lookahead == '.') ADVANCE(100); + if (lookahead == '/') ADVANCE(18); + if (lookahead == ':') ADVANCE(32); + if (lookahead == '<') ADVANCE(54); + if (lookahead == '=') ADVANCE(66); + if (lookahead == '>') ADVANCE(53); + if (lookahead == 'D') ADVANCE(117); + if (lookahead == 'd') ADVANCE(125); + if (lookahead == 'e') ADVANCE(124); + if (lookahead == 'h') ADVANCE(126); + if (lookahead == '{') ADVANCE(62); + if (lookahead == '}') ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(0) - if (lookahead != 0) ADVANCE(132); + if (lookahead != 0) ADVANCE(127); END_STATE(); case 1: - if (lookahead == '"') ADVANCE(78); - if (lookahead == '\'') ADVANCE(75); - if (lookahead == '{') ADVANCE(64); + if (lookahead == '"') ADVANCE(75); + if (lookahead == '\'') ADVANCE(72); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(1) if (lookahead != 0 && (lookahead < '<' || '>' < lookahead) && - lookahead != '}') ADVANCE(74); + lookahead != '}') ADVANCE(71); END_STATE(); case 2: - if (lookahead == '"') ADVANCE(78); + if (lookahead == '"') ADVANCE(75); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(79); - if (lookahead != 0) ADVANCE(80); + lookahead == ' ') ADVANCE(76); + if (lookahead != 0) ADVANCE(77); END_STATE(); case 3: - if (lookahead == '#') ADVANCE(99); - if (lookahead == '%') ADVANCE(21); - if (lookahead == '.') ADVANCE(103); - if (lookahead == '}') ADVANCE(65); + if (lookahead == '#') ADVANCE(96); + if (lookahead == '%') ADVANCE(19); + if (lookahead == '.') ADVANCE(100); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(3) - if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(104); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(118); + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(101); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(113); END_STATE(); case 4: - if (lookahead == '%') ADVANCE(106); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); - if (lookahead == 'e') ADVANCE(115); + if (lookahead == '%') ADVANCE(103); + if (lookahead == '-') ADVANCE(107); + if (lookahead == 'd') ADVANCE(111); + if (lookahead == 'e') ADVANCE(110); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(107); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(104); + if (lookahead != 0) ADVANCE(112); END_STATE(); case 5: - if (lookahead == '%') ADVANCE(106); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); - if (lookahead == '}') ADVANCE(66); + if (lookahead == '%') ADVANCE(108); + if (lookahead == '-') ADVANCE(107); + if (lookahead == 'd') ADVANCE(111); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(108); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(105); + if (lookahead != 0) ADVANCE(112); END_STATE(); case 6: - if (lookahead == '%') ADVANCE(106); - if (lookahead == '}') ADVANCE(66); + if (lookahead == '%') ADVANCE(108); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(109); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(106); + if (lookahead != 0) ADVANCE(112); END_STATE(); case 7: - if (lookahead == '%') ADVANCE(113); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(110); - if (lookahead != 0) ADVANCE(117); + if (lookahead == '%') ADVANCE(20); END_STATE(); case 8: - if (lookahead == '%') ADVANCE(113); + if (lookahead == '\'') ADVANCE(72); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(111); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(73); + if (lookahead != 0) ADVANCE(74); END_STATE(); case 9: - if (lookahead == '%') ADVANCE(23); + if (lookahead == '-') ADVANCE(83); END_STATE(); case 10: - if (lookahead == '\'') ADVANCE(75); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(76); - if (lookahead != 0) ADVANCE(77); + if (lookahead == '-') ADVANCE(90); END_STATE(); case 11: - if (lookahead == '-') ADVANCE(86); - END_STATE(); - case 12: - if (lookahead == '-') ADVANCE(93); - END_STATE(); - case 13: - if (lookahead == '-') ADVANCE(90); + if (lookahead == '-') ADVANCE(85); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(87); - if (lookahead != 0) ADVANCE(91); + lookahead == ' ') ADVANCE(84); + if (lookahead != 0) ADVANCE(88); END_STATE(); - case 14: - if (lookahead == '-') ADVANCE(88); + case 12: + if (lookahead == '-') ADVANCE(87); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(89); - if (lookahead != 0) ADVANCE(91); + lookahead == ' ') ADVANCE(86); + if (lookahead != 0) ADVANCE(88); END_STATE(); - case 15: - if (lookahead == '-') ADVANCE(12); + case 13: + if (lookahead == '-') ADVANCE(10); END_STATE(); - case 16: - if (lookahead == '.') ADVANCE(103); - if (lookahead == '/') ADVANCE(20); - if (lookahead == ':') ADVANCE(34); - if (lookahead == '>') ADVANCE(55); - if (lookahead == '{') ADVANCE(64); + case 14: + if (lookahead == '.') ADVANCE(100); + if (lookahead == '/') ADVANCE(18); + if (lookahead == ':') ADVANCE(32); + if (lookahead == '>') ADVANCE(53); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(16) + lookahead == ' ') SKIP(14) if (lookahead != 0 && lookahead != '"' && lookahead != '\'' && lookahead != '<' && lookahead != '=' && - lookahead != '}') ADVANCE(132); + lookahead != '}') ADVANCE(127); END_STATE(); - case 17: - if (lookahead == '/') ADVANCE(20); - if (lookahead == ':') ADVANCE(34); - if (lookahead == '=') ADVANCE(69); - if (lookahead == '>') ADVANCE(55); - if (lookahead == '{') ADVANCE(64); + case 15: + if (lookahead == '/') ADVANCE(18); + if (lookahead == ':') ADVANCE(32); + if (lookahead == '=') ADVANCE(66); + if (lookahead == '>') ADVANCE(53); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(17) + lookahead == ' ') SKIP(15) if (lookahead != 0 && lookahead != '"' && lookahead != '\'' && lookahead != '<' && - lookahead != '}') ADVANCE(132); + lookahead != '}') ADVANCE(127); END_STATE(); - case 18: - if (lookahead == ':') ADVANCE(63); + case 16: + if (lookahead == ':') ADVANCE(61); END_STATE(); - case 19: - if (lookahead == '<') ADVANCE(58); - if (lookahead == '{') ADVANCE(64); + case 17: + if (lookahead == '<') ADVANCE(56); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(19) + lookahead == ' ') SKIP(17) if (lookahead != 0 && lookahead != '>' && - lookahead != '}') ADVANCE(133); + lookahead != '}') ADVANCE(128); + END_STATE(); + case 18: + if (lookahead == '>') ADVANCE(59); + END_STATE(); + case 19: + if (lookahead == '>') ADVANCE(82); END_STATE(); case 20: - if (lookahead == '>') ADVANCE(61); + if (lookahead == '>') ADVANCE(91); END_STATE(); case 21: - if (lookahead == '>') ADVANCE(85); + if (lookahead == '>') ADVANCE(89); END_STATE(); case 22: - if (lookahead == '>') ADVANCE(92); + if (lookahead == 'C') ADVANCE(27); END_STATE(); case 23: - if (lookahead == '>') ADVANCE(94); + if (lookahead == 'D') ADVANCE(25); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(23) + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(102); END_STATE(); case 24: - if (lookahead == 'C') ADVANCE(29); + if (lookahead == 'E') ADVANCE(51); END_STATE(); case 25: - if (lookahead == 'D') ADVANCE(27); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(25) - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(105); + if (lookahead == 'O') ADVANCE(22); END_STATE(); case 26: - if (lookahead == 'E') ADVANCE(53); + if (lookahead == 'P') ADVANCE(24); END_STATE(); case 27: - if (lookahead == 'O') ADVANCE(24); + if (lookahead == 'T') ADVANCE(28); END_STATE(); case 28: - if (lookahead == 'P') ADVANCE(26); + if (lookahead == 'Y') ADVANCE(26); END_STATE(); case 29: - if (lookahead == 'T') ADVANCE(30); + if (lookahead == 'a') ADVANCE(36); END_STATE(); case 30: - if (lookahead == 'Y') ADVANCE(28); + if (lookahead == 'e') ADVANCE(29); END_STATE(); case 31: - if (lookahead == 'a') ADVANCE(38); + if (lookahead == 'e') ADVANCE(41); END_STATE(); case 32: - if (lookahead == 'e') ADVANCE(31); + if (lookahead == 'f') ADVANCE(38); + if (lookahead == 'i') ADVANCE(33); + if (lookahead == 'l') ADVANCE(31); + if (lookahead == 's') ADVANCE(42); END_STATE(); case 33: - if (lookahead == 'e') ADVANCE(43); + if (lookahead == 'f') ADVANCE(70); END_STATE(); case 34: - if (lookahead == 'f') ADVANCE(40); - if (lookahead == 'i') ADVANCE(35); - if (lookahead == 'l') ADVANCE(33); - if (lookahead == 's') ADVANCE(44); + if (lookahead == 'h') ADVANCE(43); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') SKIP(34) END_STATE(); case 35: - if (lookahead == 'f') ADVANCE(73); + if (lookahead == 'l') ADVANCE(52); END_STATE(); case 36: - if (lookahead == 'h') ADVANCE(45); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') SKIP(36) + if (lookahead == 'm') ADVANCE(69); END_STATE(); case 37: - if (lookahead == 'l') ADVANCE(54); + if (lookahead == 'm') ADVANCE(35); END_STATE(); case 38: - if (lookahead == 'm') ADVANCE(72); + if (lookahead == 'o') ADVANCE(39); END_STATE(); case 39: - if (lookahead == 'm') ADVANCE(37); + if (lookahead == 'r') ADVANCE(68); END_STATE(); case 40: - if (lookahead == 'o') ADVANCE(41); + if (lookahead == 'r') ADVANCE(30); END_STATE(); case 41: - if (lookahead == 'r') ADVANCE(71); + if (lookahead == 't') ADVANCE(67); END_STATE(); case 42: - if (lookahead == 'r') ADVANCE(32); + if (lookahead == 't') ADVANCE(40); END_STATE(); case 43: - if (lookahead == 't') ADVANCE(70); + if (lookahead == 't') ADVANCE(37); END_STATE(); case 44: - if (lookahead == 't') ADVANCE(42); - END_STATE(); - case 45: - if (lookahead == 't') ADVANCE(39); - END_STATE(); - case 46: - if (lookahead == '{') ADVANCE(64); - if (lookahead == '}') ADVANCE(65); + if (lookahead == '{') ADVANCE(62); + if (lookahead == '}') ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(67); - if (lookahead != 0) ADVANCE(68); + lookahead == ' ') ADVANCE(64); + if (lookahead != 0) ADVANCE(65); END_STATE(); - case 47: + case 45: if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(47); + lookahead == ' ') ADVANCE(45); if (lookahead != 0 && lookahead != '<' && lookahead != '>' && lookahead != '{' && - lookahead != '}') ADVANCE(133); + lookahead != '}') ADVANCE(128); END_STATE(); - case 48: - if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(104); + case 46: + if (('A' <= lookahead && lookahead <= 'Z')) ADVANCE(101); END_STATE(); - case 49: - if (eof) ADVANCE(51); - if (lookahead == '<') ADVANCE(56); - if (lookahead == '{') ADVANCE(64); + case 47: + if (eof) ADVANCE(49); + if (lookahead == '<') ADVANCE(54); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(49) + lookahead == ' ') SKIP(47) if (lookahead != 0 && lookahead != '>' && - lookahead != '}') ADVANCE(133); + lookahead != '}') ADVANCE(128); END_STATE(); - case 50: - if (eof) ADVANCE(51); - if (lookahead == '<') ADVANCE(57); - if (lookahead == '{') ADVANCE(64); + case 48: + if (eof) ADVANCE(49); + if (lookahead == '<') ADVANCE(55); + if (lookahead == '{') ADVANCE(62); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') SKIP(50) + lookahead == ' ') SKIP(48) if (lookahead != 0 && lookahead != '>' && - lookahead != '}') ADVANCE(133); + lookahead != '}') ADVANCE(128); END_STATE(); - case 51: + case 49: ACCEPT_TOKEN(ts_builtin_sym_end); END_STATE(); - case 52: + case 50: ACCEPT_TOKEN(anon_sym_LT_BANG); - if (lookahead == '-') ADVANCE(11); + if (lookahead == '-') ADVANCE(9); END_STATE(); - case 53: + case 51: ACCEPT_TOKEN(anon_sym_DOCTYPE); END_STATE(); - case 54: + case 52: ACCEPT_TOKEN(anon_sym_html); END_STATE(); - case 55: + case 53: ACCEPT_TOKEN(anon_sym_GT); END_STATE(); - case 56: + case 54: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '!') ADVANCE(52); - if (lookahead == '%') ADVANCE(81); - if (lookahead == '/') ADVANCE(60); - if (lookahead == ':') ADVANCE(62); + if (lookahead == '!') ADVANCE(50); + if (lookahead == '%') ADVANCE(78); + if (lookahead == '/') ADVANCE(58); + if (lookahead == ':') ADVANCE(60); END_STATE(); - case 57: + case 55: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '!') ADVANCE(52); - if (lookahead == '%') ADVANCE(81); - if (lookahead == '/') ADVANCE(59); - if (lookahead == ':') ADVANCE(62); + if (lookahead == '!') ADVANCE(50); + if (lookahead == '%') ADVANCE(78); + if (lookahead == '/') ADVANCE(57); + if (lookahead == ':') ADVANCE(60); END_STATE(); - case 58: + case 56: ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '!') ADVANCE(52); - if (lookahead == '%') ADVANCE(81); - if (lookahead == '/') ADVANCE(18); + if (lookahead == '!') ADVANCE(50); + if (lookahead == '%') ADVANCE(78); + if (lookahead == '/') ADVANCE(16); END_STATE(); - case 59: + case 57: ACCEPT_TOKEN(anon_sym_LT_SLASH); END_STATE(); - case 60: + case 58: ACCEPT_TOKEN(anon_sym_LT_SLASH); - if (lookahead == ':') ADVANCE(63); + if (lookahead == ':') ADVANCE(61); END_STATE(); - case 61: + case 59: ACCEPT_TOKEN(anon_sym_SLASH_GT); END_STATE(); - case 62: + case 60: ACCEPT_TOKEN(anon_sym_LT_COLON); END_STATE(); - case 63: + case 61: ACCEPT_TOKEN(anon_sym_LT_SLASH_COLON); END_STATE(); - case 64: + case 62: ACCEPT_TOKEN(anon_sym_LBRACE); END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_RBRACE); - END_STATE(); - case 66: + case 63: ACCEPT_TOKEN(anon_sym_RBRACE); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '%') ADVANCE(117); END_STATE(); - case 67: + case 64: ACCEPT_TOKEN(aux_sym__expression_value_token1); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(67); + lookahead == ' ') ADVANCE(64); if (lookahead != 0 && lookahead != '{' && - lookahead != '}') ADVANCE(68); + lookahead != '}') ADVANCE(65); END_STATE(); - case 68: + case 65: ACCEPT_TOKEN(aux_sym__expression_value_token1); if (lookahead != 0 && lookahead != '{' && - lookahead != '}') ADVANCE(68); + lookahead != '}') ADVANCE(65); END_STATE(); - case 69: + case 66: ACCEPT_TOKEN(anon_sym_EQ); END_STATE(); - case 70: + case 67: ACCEPT_TOKEN(anon_sym_COLONlet); END_STATE(); - case 71: + case 68: ACCEPT_TOKEN(anon_sym_COLONfor); END_STATE(); - case 72: + case 69: ACCEPT_TOKEN(anon_sym_COLONstream); END_STATE(); - case 73: + case 70: ACCEPT_TOKEN(anon_sym_COLONif); END_STATE(); - case 74: + case 71: ACCEPT_TOKEN(sym_attribute_value); - if (!sym_attribute_value_character_set_1(lookahead)) ADVANCE(74); + if (!sym_attribute_value_character_set_1(lookahead)) ADVANCE(71); END_STATE(); - case 75: + case 72: ACCEPT_TOKEN(anon_sym_SQUOTE); END_STATE(); - case 76: + case 73: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token1); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(76); + lookahead == ' ') ADVANCE(73); if (lookahead != 0 && - lookahead != '\'') ADVANCE(77); + lookahead != '\'') ADVANCE(74); END_STATE(); - case 77: + case 74: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token1); if (lookahead != 0 && - lookahead != '\'') ADVANCE(77); + lookahead != '\'') ADVANCE(74); END_STATE(); - case 78: + case 75: ACCEPT_TOKEN(anon_sym_DQUOTE); END_STATE(); - case 79: + case 76: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token2); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(79); + lookahead == ' ') ADVANCE(76); if (lookahead != 0 && - lookahead != '"') ADVANCE(80); + lookahead != '"') ADVANCE(77); END_STATE(); - case 80: + case 77: ACCEPT_TOKEN(aux_sym_quoted_attribute_value_token2); if (lookahead != 0 && - lookahead != '"') ADVANCE(80); + lookahead != '"') ADVANCE(77); END_STATE(); - case 81: + case 78: ACCEPT_TOKEN(anon_sym_LT_PERCENT); - if (lookahead == '!') ADVANCE(15); - if (lookahead == '#') ADVANCE(95); - if (lookahead == '%') ADVANCE(83); - if (lookahead == '=') ADVANCE(82); + if (lookahead == '!') ADVANCE(13); + if (lookahead == '#') ADVANCE(92); + if (lookahead == '%') ADVANCE(80); + if (lookahead == '=') ADVANCE(79); END_STATE(); - case 82: + case 79: ACCEPT_TOKEN(anon_sym_LT_PERCENT_EQ); END_STATE(); - case 83: + case 80: ACCEPT_TOKEN(anon_sym_LT_PERCENT_PERCENT); - if (lookahead == '=') ADVANCE(84); + if (lookahead == '=') ADVANCE(81); END_STATE(); - case 84: + case 81: ACCEPT_TOKEN(anon_sym_LT_PERCENT_PERCENT_EQ); END_STATE(); - case 85: + case 82: ACCEPT_TOKEN(anon_sym_PERCENT_GT); END_STATE(); - case 86: + case 83: ACCEPT_TOKEN(anon_sym_LT_BANG_DASH_DASH); END_STATE(); - case 87: + case 84: ACCEPT_TOKEN(aux_sym__html_comment_token1); - if (lookahead == '-') ADVANCE(90); + if (lookahead == '-') ADVANCE(85); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(87); - if (lookahead != 0) ADVANCE(91); + lookahead == ' ') ADVANCE(84); + if (lookahead != 0) ADVANCE(88); END_STATE(); - case 88: + case 85: ACCEPT_TOKEN(aux_sym__html_comment_token1); - if (lookahead == '-') ADVANCE(9); + if (lookahead == '-') ADVANCE(7); END_STATE(); - case 89: + case 86: ACCEPT_TOKEN(aux_sym__html_comment_token1); - if (lookahead == '-') ADVANCE(88); + if (lookahead == '-') ADVANCE(87); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(89); - if (lookahead != 0) ADVANCE(91); + lookahead == ' ') ADVANCE(86); + if (lookahead != 0) ADVANCE(88); END_STATE(); - case 90: + case 87: ACCEPT_TOKEN(aux_sym__html_comment_token1); - if (lookahead == '-') ADVANCE(22); + if (lookahead == '-') ADVANCE(21); END_STATE(); - case 91: + case 88: ACCEPT_TOKEN(aux_sym__html_comment_token1); if (lookahead != 0 && - lookahead != '-') ADVANCE(91); + lookahead != '-') ADVANCE(88); END_STATE(); - case 92: + case 89: ACCEPT_TOKEN(anon_sym_DASH_DASH_GT); END_STATE(); - case 93: + case 90: ACCEPT_TOKEN(anon_sym_LT_PERCENT_BANG_DASH_DASH); END_STATE(); - case 94: + case 91: ACCEPT_TOKEN(anon_sym_DASH_DASH_PERCENT_GT); END_STATE(); - case 95: + case 92: ACCEPT_TOKEN(anon_sym_LT_PERCENT_POUND); END_STATE(); - case 96: + case 93: ACCEPT_TOKEN(anon_sym_do); END_STATE(); - case 97: + case 94: ACCEPT_TOKEN(anon_sym_do); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 98: + case 95: ACCEPT_TOKEN(anon_sym_DASH_GT); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 99: + case 96: ACCEPT_TOKEN(anon_sym_POUND); END_STATE(); - case 100: + case 97: ACCEPT_TOKEN(aux_sym_ending_expression_value_token1); - if (lookahead == '}') ADVANCE(101); + if (lookahead == '}') ADVANCE(98); if (lookahead == ')' || - lookahead == ']') ADVANCE(100); + lookahead == ']') ADVANCE(97); END_STATE(); - case 101: + case 98: ACCEPT_TOKEN(aux_sym_ending_expression_value_token1); if (lookahead == ')' || lookahead == ']' || - lookahead == '}') ADVANCE(101); + lookahead == '}') ADVANCE(98); END_STATE(); - case 102: + case 99: ACCEPT_TOKEN(aux_sym_ending_expression_value_token1); if (lookahead == ')' || lookahead == ']' || - lookahead == '}') ADVANCE(102); + lookahead == '}') ADVANCE(99); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 103: + case 100: ACCEPT_TOKEN(anon_sym_DOT); END_STATE(); - case 104: + case 101: ACCEPT_TOKEN(sym_module); - if (lookahead == '.') ADVANCE(48); - if (!sym_module_character_set_1(lookahead)) ADVANCE(104); + if (lookahead == '.') ADVANCE(46); + if (!sym_module_character_set_1(lookahead)) ADVANCE(101); END_STATE(); - case 105: + case 102: ACCEPT_TOKEN(sym_function); - if (!sym_module_character_set_1(lookahead)) ADVANCE(105); - END_STATE(); - case 106: - ACCEPT_TOKEN(sym__code); - END_STATE(); - case 107: - ACCEPT_TOKEN(sym__code); - if (lookahead == '%') ADVANCE(106); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); - if (lookahead == 'e') ADVANCE(115); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(107); - if (lookahead != 0) ADVANCE(117); + if (!sym_module_character_set_1(lookahead)) ADVANCE(102); END_STATE(); - case 108: + case 103: ACCEPT_TOKEN(sym__code); - if (lookahead == '%') ADVANCE(106); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); - if (lookahead == '}') ADVANCE(66); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') ADVANCE(108); - if (lookahead != 0) ADVANCE(117); END_STATE(); - case 109: + case 104: ACCEPT_TOKEN(sym__code); - if (lookahead == '%') ADVANCE(106); - if (lookahead == '}') ADVANCE(66); + if (lookahead == '%') ADVANCE(103); + if (lookahead == '-') ADVANCE(107); + if (lookahead == 'd') ADVANCE(111); + if (lookahead == 'e') ADVANCE(110); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(109); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(104); + if (lookahead != 0) ADVANCE(112); END_STATE(); - case 110: + case 105: ACCEPT_TOKEN(sym__code); - if (lookahead == '%') ADVANCE(113); - if (lookahead == '-') ADVANCE(112); - if (lookahead == 'd') ADVANCE(116); + if (lookahead == '%') ADVANCE(108); + if (lookahead == '-') ADVANCE(107); + if (lookahead == 'd') ADVANCE(111); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(110); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(105); + if (lookahead != 0) ADVANCE(112); END_STATE(); - case 111: + case 106: ACCEPT_TOKEN(sym__code); - if (lookahead == '%') ADVANCE(113); + if (lookahead == '%') ADVANCE(108); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(111); - if (lookahead != 0) ADVANCE(117); + lookahead == ' ') ADVANCE(106); + if (lookahead != 0) ADVANCE(112); END_STATE(); - case 112: + case 107: ACCEPT_TOKEN(sym__code); - if (lookahead == '>') ADVANCE(98); + if (lookahead == '>') ADVANCE(95); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 113: + case 108: ACCEPT_TOKEN(sym__code); - if (lookahead == '>') ADVANCE(85); + if (lookahead == '>') ADVANCE(82); END_STATE(); - case 114: + case 109: ACCEPT_TOKEN(sym__code); - if (lookahead == 'd') ADVANCE(102); + if (lookahead == 'd') ADVANCE(99); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 115: + case 110: ACCEPT_TOKEN(sym__code); - if (lookahead == 'n') ADVANCE(114); + if (lookahead == 'n') ADVANCE(109); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 116: + case 111: ACCEPT_TOKEN(sym__code); - if (lookahead == 'o') ADVANCE(97); + if (lookahead == 'o') ADVANCE(94); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 117: + case 112: ACCEPT_TOKEN(sym__code); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '%') ADVANCE(117); + lookahead != '%') ADVANCE(112); END_STATE(); - case 118: + case 113: ACCEPT_TOKEN(sym_tag_name); - if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(118); - if (!sym_tag_name_character_set_1(lookahead)) ADVANCE(119); + if (('a' <= lookahead && lookahead <= 'z')) ADVANCE(113); + if (!sym_tag_name_character_set_1(lookahead)) ADVANCE(114); END_STATE(); - case 119: + case 114: ACCEPT_TOKEN(sym_tag_name); - if (!sym_tag_name_character_set_1(lookahead)) ADVANCE(119); + if (!sym_tag_name_character_set_1(lookahead)) ADVANCE(114); END_STATE(); - case 120: + case 115: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'C') ADVANCE(124); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'C') ADVANCE(119); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 121: + case 116: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'E') ADVANCE(53); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'E') ADVANCE(51); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 122: + case 117: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'O') ADVANCE(120); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'O') ADVANCE(115); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 123: + case 118: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'P') ADVANCE(121); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'P') ADVANCE(116); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 124: + case 119: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'T') ADVANCE(125); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'T') ADVANCE(120); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 125: + case 120: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'Y') ADVANCE(123); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'Y') ADVANCE(118); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 126: + case 121: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'd') ADVANCE(100); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'd') ADVANCE(97); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 127: + case 122: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'l') ADVANCE(54); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'l') ADVANCE(52); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 128: + case 123: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'm') ADVANCE(127); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'm') ADVANCE(122); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 129: + case 124: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'n') ADVANCE(126); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'n') ADVANCE(121); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 130: + case 125: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 'o') ADVANCE(96); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 'o') ADVANCE(93); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 131: + case 126: ACCEPT_TOKEN(sym_attribute_name); - if (lookahead == 't') ADVANCE(128); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (lookahead == 't') ADVANCE(123); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 132: + case 127: ACCEPT_TOKEN(sym_attribute_name); - if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(132); + if (!sym_attribute_name_character_set_1(lookahead)) ADVANCE(127); END_STATE(); - case 133: + case 128: ACCEPT_TOKEN(sym_text); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || - lookahead == ' ') ADVANCE(47); + lookahead == ' ') ADVANCE(45); if (lookahead != 0 && lookahead != '<' && lookahead != '>' && lookahead != '{' && - lookahead != '}') ADVANCE(133); + lookahead != '}') ADVANCE(128); END_STATE(); default: return false; @@ -1600,134 +1539,125 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static const TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0}, - [1] = {.lex_state = 50}, - [2] = {.lex_state = 50}, - [3] = {.lex_state = 50}, - [4] = {.lex_state = 50}, - [5] = {.lex_state = 49}, - [6] = {.lex_state = 19}, - [7] = {.lex_state = 19}, - [8] = {.lex_state = 50}, - [9] = {.lex_state = 50}, - [10] = {.lex_state = 50}, - [11] = {.lex_state = 49}, - [12] = {.lex_state = 49}, - [13] = {.lex_state = 49}, - [14] = {.lex_state = 49}, - [15] = {.lex_state = 49}, - [16] = {.lex_state = 49}, - [17] = {.lex_state = 49}, - [18] = {.lex_state = 49}, - [19] = {.lex_state = 49}, - [20] = {.lex_state = 49}, - [21] = {.lex_state = 49}, - [22] = {.lex_state = 49}, - [23] = {.lex_state = 49}, - [24] = {.lex_state = 49}, - [25] = {.lex_state = 49}, - [26] = {.lex_state = 49}, - [27] = {.lex_state = 49}, - [28] = {.lex_state = 49}, - [29] = {.lex_state = 49}, - [30] = {.lex_state = 49}, - [31] = {.lex_state = 49}, - [32] = {.lex_state = 50}, - [33] = {.lex_state = 17}, - [34] = {.lex_state = 17}, - [35] = {.lex_state = 50}, - [36] = {.lex_state = 17}, - [37] = {.lex_state = 50}, - [38] = {.lex_state = 50}, - [39] = {.lex_state = 50}, - [40] = {.lex_state = 50}, - [41] = {.lex_state = 17}, - [42] = {.lex_state = 17}, - [43] = {.lex_state = 17}, - [44] = {.lex_state = 50}, - [45] = {.lex_state = 17}, - [46] = {.lex_state = 50}, - [47] = {.lex_state = 19}, - [48] = {.lex_state = 50}, - [49] = {.lex_state = 50}, - [50] = {.lex_state = 19}, - [51] = {.lex_state = 16}, + [1] = {.lex_state = 48}, + [2] = {.lex_state = 48}, + [3] = {.lex_state = 48}, + [4] = {.lex_state = 48}, + [5] = {.lex_state = 47}, + [6] = {.lex_state = 17}, + [7] = {.lex_state = 17}, + [8] = {.lex_state = 48}, + [9] = {.lex_state = 48}, + [10] = {.lex_state = 48}, + [11] = {.lex_state = 47}, + [12] = {.lex_state = 47}, + [13] = {.lex_state = 47}, + [14] = {.lex_state = 47}, + [15] = {.lex_state = 47}, + [16] = {.lex_state = 47}, + [17] = {.lex_state = 47}, + [18] = {.lex_state = 47}, + [19] = {.lex_state = 47}, + [20] = {.lex_state = 47}, + [21] = {.lex_state = 47}, + [22] = {.lex_state = 47}, + [23] = {.lex_state = 47}, + [24] = {.lex_state = 47}, + [25] = {.lex_state = 47}, + [26] = {.lex_state = 47}, + [27] = {.lex_state = 47}, + [28] = {.lex_state = 47}, + [29] = {.lex_state = 47}, + [30] = {.lex_state = 47}, + [31] = {.lex_state = 47}, + [32] = {.lex_state = 47}, + [33] = {.lex_state = 47}, + [34] = {.lex_state = 15}, + [35] = {.lex_state = 15}, + [36] = {.lex_state = 48}, + [37] = {.lex_state = 48}, + [38] = {.lex_state = 15}, + [39] = {.lex_state = 48}, + [40] = {.lex_state = 48}, + [41] = {.lex_state = 48}, + [42] = {.lex_state = 48}, + [43] = {.lex_state = 48}, + [44] = {.lex_state = 15}, + [45] = {.lex_state = 15}, + [46] = {.lex_state = 48}, + [47] = {.lex_state = 15}, + [48] = {.lex_state = 15}, + [49] = {.lex_state = 48}, + [50] = {.lex_state = 17}, + [51] = {.lex_state = 48}, [52] = {.lex_state = 17}, - [53] = {.lex_state = 17}, - [54] = {.lex_state = 17}, - [55] = {.lex_state = 17}, - [56] = {.lex_state = 17}, - [57] = {.lex_state = 17}, - [58] = {.lex_state = 17}, - [59] = {.lex_state = 17}, - [60] = {.lex_state = 4}, - [61] = {.lex_state = 4}, - [62] = {.lex_state = 17}, - [63] = {.lex_state = 1}, - [64] = {.lex_state = 46}, - [65] = {.lex_state = 5}, + [53] = {.lex_state = 15}, + [54] = {.lex_state = 14}, + [55] = {.lex_state = 4}, + [56] = {.lex_state = 15}, + [57] = {.lex_state = 15}, + [58] = {.lex_state = 15}, + [59] = {.lex_state = 15}, + [60] = {.lex_state = 15}, + [61] = {.lex_state = 15}, + [62] = {.lex_state = 15}, + [63] = {.lex_state = 15}, + [64] = {.lex_state = 1}, + [65] = {.lex_state = 44}, [66] = {.lex_state = 5}, - [67] = {.lex_state = 46}, - [68] = {.lex_state = 46}, - [69] = {.lex_state = 7}, - [70] = {.lex_state = 7}, - [71] = {.lex_state = 46}, - [72] = {.lex_state = 3}, - [73] = {.lex_state = 46}, - [74] = {.lex_state = 8}, - [75] = {.lex_state = 6}, - [76] = {.lex_state = 13}, - [77] = {.lex_state = 46}, + [67] = {.lex_state = 44}, + [68] = {.lex_state = 44}, + [69] = {.lex_state = 44}, + [70] = {.lex_state = 44}, + [71] = {.lex_state = 5}, + [72] = {.lex_state = 44}, + [73] = {.lex_state = 3}, + [74] = {.lex_state = 44}, + [75] = {.lex_state = 11}, + [76] = {.lex_state = 12}, + [77] = {.lex_state = 6}, [78] = {.lex_state = 6}, - [79] = {.lex_state = 8}, - [80] = {.lex_state = 8}, - [81] = {.lex_state = 13}, - [82] = {.lex_state = 8}, + [79] = {.lex_state = 11}, + [80] = {.lex_state = 6}, + [81] = {.lex_state = 44}, + [82] = {.lex_state = 6}, [83] = {.lex_state = 6}, - [84] = {.lex_state = 6}, - [85] = {.lex_state = 8}, + [84] = {.lex_state = 3}, + [85] = {.lex_state = 44}, [86] = {.lex_state = 6}, - [87] = {.lex_state = 6}, - [88] = {.lex_state = 14}, - [89] = {.lex_state = 14}, - [90] = {.lex_state = 8}, - [91] = {.lex_state = 8}, - [92] = {.lex_state = 3}, - [93] = {.lex_state = 8}, + [87] = {.lex_state = 11}, + [88] = {.lex_state = 12}, + [89] = {.lex_state = 44}, + [90] = {.lex_state = 6}, + [91] = {.lex_state = 6}, + [92] = {.lex_state = 12}, + [93] = {.lex_state = 6}, [94] = {.lex_state = 8}, - [95] = {.lex_state = 46}, - [96] = {.lex_state = 46}, - [97] = {.lex_state = 14}, - [98] = {.lex_state = 13}, - [99] = {.lex_state = 6}, - [100] = {.lex_state = 2}, - [101] = {.lex_state = 3}, + [95] = {.lex_state = 3}, + [96] = {.lex_state = 0}, + [97] = {.lex_state = 2}, + [98] = {.lex_state = 3}, + [99] = {.lex_state = 0}, + [100] = {.lex_state = 3}, + [101] = {.lex_state = 23}, [102] = {.lex_state = 3}, - [103] = {.lex_state = 3}, - [104] = {.lex_state = 10}, + [103] = {.lex_state = 34}, + [104] = {.lex_state = 0}, [105] = {.lex_state = 3}, [106] = {.lex_state = 0}, - [107] = {.lex_state = 3}, + [107] = {.lex_state = 0}, [108] = {.lex_state = 0}, - [109] = {.lex_state = 0}, + [109] = {.lex_state = 3}, [110] = {.lex_state = 0}, [111] = {.lex_state = 0}, [112] = {.lex_state = 0}, - [113] = {.lex_state = 3}, + [113] = {.lex_state = 23}, [114] = {.lex_state = 0}, [115] = {.lex_state = 0}, [116] = {.lex_state = 0}, - [117] = {.lex_state = 25}, - [118] = {.lex_state = 36}, + [117] = {.lex_state = 0}, + [118] = {.lex_state = 23}, [119] = {.lex_state = 0}, - [120] = {.lex_state = 0}, - [121] = {.lex_state = 0}, - [122] = {.lex_state = 0}, - [123] = {.lex_state = 3}, - [124] = {.lex_state = 0}, - [125] = {.lex_state = 25}, - [126] = {.lex_state = 3}, - [127] = {.lex_state = 25}, - [128] = {.lex_state = 0}, }; static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { @@ -1765,7 +1695,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_attribute_name] = ACTIONS(1), }, [1] = { - [sym_fragment] = STATE(111), + [sym_fragment] = STATE(104), [sym__node] = STATE(10), [sym_doctype] = STATE(10), [sym_tag] = STATE(10), @@ -1774,6 +1704,7 @@ static const uint16_t ts_parse_table[LARGE_STATE_COUNT][SYMBOL_COUNT] = { [sym_self_closing_tag] = STATE(13), [sym_start_component] = STATE(3), [sym_self_closing_component] = STATE(14), + [sym_expression] = STATE(10), [sym_directive] = STATE(10), [sym_comment] = STATE(10), [sym__html_comment] = STATE(15), @@ -1817,7 +1748,7 @@ static const uint16_t ts_small_parse_table[] = { sym_text, STATE(3), 1, sym_start_component, - STATE(6), 1, + STATE(7), 1, sym_start_slot, STATE(9), 1, sym_start_tag, @@ -1825,9 +1756,9 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(31), 1, + STATE(19), 1, sym_end_component, - STATE(38), 1, + STATE(40), 1, sym_self_closing_slot, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -1839,16 +1770,17 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(4), 8, + STATE(4), 9, sym__node, sym_doctype, sym_tag, sym_component, sym_slot, + sym_expression, sym_directive, sym_comment, aux_sym_component_repeat1, - [72] = 20, + [73] = 20, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -1869,7 +1801,7 @@ static const uint16_t ts_small_parse_table[] = { sym_text, STATE(3), 1, sym_start_component, - STATE(6), 1, + STATE(7), 1, sym_start_slot, STATE(9), 1, sym_start_tag, @@ -1877,9 +1809,9 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(27), 1, + STATE(21), 1, sym_end_component, - STATE(38), 1, + STATE(40), 1, sym_self_closing_slot, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -1891,16 +1823,17 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(2), 8, + STATE(2), 9, sym__node, sym_doctype, sym_tag, sym_component, sym_slot, + sym_expression, sym_directive, sym_comment, aux_sym_component_repeat1, - [144] = 19, + [146] = 19, ACTIONS(31), 1, anon_sym_LT_BANG, ACTIONS(34), 1, @@ -1921,7 +1854,7 @@ static const uint16_t ts_small_parse_table[] = { sym_text, STATE(3), 1, sym_start_component, - STATE(6), 1, + STATE(7), 1, sym_start_slot, STATE(9), 1, sym_start_tag, @@ -1929,7 +1862,7 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(38), 1, + STATE(40), 1, sym_self_closing_slot, ACTIONS(45), 2, anon_sym_LT_PERCENT, @@ -1941,16 +1874,17 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(4), 8, + STATE(4), 9, sym__node, sym_doctype, sym_tag, sym_component, sym_slot, + sym_expression, sym_directive, sym_comment, aux_sym_component_repeat1, - [213] = 17, + [216] = 17, ACTIONS(65), 1, anon_sym_LT_BANG, ACTIONS(68), 1, @@ -1988,15 +1922,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(5), 7, + STATE(5), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [276] = 17, + [280] = 17, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -2021,7 +1956,7 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(35), 1, + STATE(42), 1, sym_end_slot, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -2033,15 +1968,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(7), 7, + STATE(5), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [338] = 17, + [343] = 17, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -2066,7 +2002,7 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(40), 1, + STATE(43), 1, sym_end_slot, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -2078,15 +2014,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(5), 7, + STATE(6), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [400] = 17, + [406] = 17, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -2099,7 +2036,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, ACTIONS(19), 1, anon_sym_LT_PERCENT_POUND, - ACTIONS(98), 1, + ACTIONS(96), 1, sym_text, ACTIONS(100), 1, anon_sym_LT_SLASH, @@ -2111,7 +2048,7 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(25), 1, + STATE(17), 1, sym_end_tag, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -2123,15 +2060,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(5), 7, + STATE(5), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [462] = 17, + [469] = 17, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -2156,7 +2094,7 @@ static const uint16_t ts_small_parse_table[] = { sym_self_closing_tag, STATE(14), 1, sym_self_closing_component, - STATE(29), 1, + STATE(30), 1, sym_end_tag, ACTIONS(11), 2, anon_sym_LT_PERCENT, @@ -2168,15 +2106,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(8), 7, + STATE(8), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [524] = 16, + [532] = 16, ACTIONS(5), 1, anon_sym_LT_BANG, ACTIONS(7), 1, @@ -2189,7 +2128,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, ACTIONS(19), 1, anon_sym_LT_PERCENT_POUND, - ACTIONS(98), 1, + ACTIONS(96), 1, sym_text, ACTIONS(104), 1, ts_builtin_sym_end, @@ -2211,15 +2150,16 @@ static const uint16_t ts_small_parse_table[] = { sym__html_comment, sym__bang_comment, sym__hash_comment, - STATE(5), 7, + STATE(5), 8, sym__node, sym_doctype, sym_tag, sym_component, + sym_expression, sym_directive, sym_comment, aux_sym_fragment_repeat1, - [583] = 2, + [592] = 2, ACTIONS(108), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2237,7 +2177,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [603] = 2, + [612] = 2, ACTIONS(112), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2255,7 +2195,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [623] = 2, + [632] = 2, ACTIONS(116), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2273,7 +2213,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [643] = 2, + [652] = 2, ACTIONS(120), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2291,7 +2231,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [663] = 2, + [672] = 2, ACTIONS(124), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2309,7 +2249,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [683] = 2, + [692] = 2, ACTIONS(128), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2327,7 +2267,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [703] = 2, + [712] = 2, ACTIONS(132), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2345,7 +2285,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [723] = 2, + [732] = 2, ACTIONS(136), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2363,7 +2303,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [743] = 2, + [752] = 2, ACTIONS(140), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2381,7 +2321,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [763] = 2, + [772] = 2, ACTIONS(144), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2399,7 +2339,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [783] = 2, + [792] = 2, ACTIONS(148), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2417,7 +2357,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [803] = 2, + [812] = 2, ACTIONS(152), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2435,7 +2375,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [823] = 2, + [832] = 2, ACTIONS(156), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2453,7 +2393,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [843] = 2, + [852] = 2, ACTIONS(160), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2471,7 +2411,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [863] = 2, + [872] = 2, ACTIONS(164), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2489,7 +2429,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [883] = 2, + [892] = 2, ACTIONS(168), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2507,7 +2447,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [903] = 2, + [912] = 2, ACTIONS(172), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2525,7 +2465,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [923] = 2, + [932] = 2, ACTIONS(176), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2543,7 +2483,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [943] = 2, + [952] = 2, ACTIONS(180), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2561,7 +2501,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [963] = 2, + [972] = 2, ACTIONS(184), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2579,7 +2519,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [983] = 2, + [992] = 2, ACTIONS(188), 5, anon_sym_LT_BANG, anon_sym_LT, @@ -2597,15 +2537,35 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1003] = 2, - ACTIONS(190), 4, + [1012] = 2, + ACTIONS(192), 5, anon_sym_LT_BANG, anon_sym_LT, + anon_sym_LT_SLASH, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(192), 9, + ACTIONS(190), 10, + ts_builtin_sym_end, + anon_sym_LT_COLON, + anon_sym_LT_SLASH_COLON, + anon_sym_LBRACE, + anon_sym_LT_PERCENT_EQ, + anon_sym_LT_PERCENT_PERCENT_EQ, + anon_sym_LT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_POUND, + sym_text, + [1032] = 2, + ACTIONS(196), 5, + anon_sym_LT_BANG, + anon_sym_LT, anon_sym_LT_SLASH, + anon_sym_LT_PERCENT, + anon_sym_LT_PERCENT_PERCENT, + ACTIONS(194), 10, + ts_builtin_sym_end, anon_sym_LT_COLON, + anon_sym_LT_SLASH_COLON, anon_sym_LBRACE, anon_sym_LT_PERCENT_EQ, anon_sym_LT_PERCENT_PERCENT_EQ, @@ -2613,55 +2573,54 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1021] = 7, - ACTIONS(194), 1, - anon_sym_GT, - ACTIONS(196), 1, - anon_sym_SLASH_GT, - ACTIONS(198), 1, + [1052] = 6, + ACTIONS(200), 1, anon_sym_LBRACE, - ACTIONS(202), 1, + ACTIONS(206), 1, sym_attribute_name, - STATE(119), 1, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(198), 2, + anon_sym_GT, + anon_sym_SLASH_GT, + ACTIONS(203), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - STATE(45), 4, + STATE(34), 4, sym_expression, sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1049] = 7, - ACTIONS(198), 1, - anon_sym_LBRACE, - ACTIONS(202), 1, - sym_attribute_name, - ACTIONS(204), 1, + [1078] = 7, + ACTIONS(209), 1, anon_sym_GT, - ACTIONS(206), 1, + ACTIONS(211), 1, anon_sym_SLASH_GT, - STATE(119), 1, + ACTIONS(213), 1, + anon_sym_LBRACE, + ACTIONS(217), 1, + sym_attribute_name, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(215), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - STATE(41), 4, + STATE(38), 4, sym_expression, sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1077] = 2, - ACTIONS(208), 4, + [1106] = 2, + ACTIONS(219), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(210), 9, + ACTIONS(221), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2671,18 +2630,34 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1095] = 7, - ACTIONS(198), 1, + [1124] = 2, + ACTIONS(223), 4, + anon_sym_LT_BANG, + anon_sym_LT, + anon_sym_LT_PERCENT, + anon_sym_LT_PERCENT_PERCENT, + ACTIONS(225), 9, + anon_sym_LT_SLASH, + anon_sym_LT_COLON, anon_sym_LBRACE, - ACTIONS(202), 1, + anon_sym_LT_PERCENT_EQ, + anon_sym_LT_PERCENT_PERCENT_EQ, + anon_sym_LT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_POUND, + sym_text, + [1142] = 7, + ACTIONS(213), 1, + anon_sym_LBRACE, + ACTIONS(217), 1, sym_attribute_name, - ACTIONS(212), 1, + ACTIONS(227), 1, anon_sym_GT, - ACTIONS(214), 1, + ACTIONS(229), 1, anon_sym_SLASH_GT, - STATE(119), 1, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(215), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, @@ -2692,13 +2667,13 @@ static const uint16_t ts_small_parse_table[] = { sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1123] = 2, - ACTIONS(216), 4, + [1170] = 2, + ACTIONS(231), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(218), 9, + ACTIONS(233), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2708,13 +2683,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1141] = 2, - ACTIONS(220), 4, + [1188] = 2, + ACTIONS(235), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(222), 9, + ACTIONS(237), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2724,13 +2699,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1159] = 2, - ACTIONS(224), 4, + [1206] = 2, + ACTIONS(239), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(226), 9, + ACTIONS(241), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2740,13 +2715,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1177] = 2, - ACTIONS(228), 4, + [1224] = 2, + ACTIONS(243), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(230), 9, + ACTIONS(245), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2756,75 +2731,71 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1195] = 6, - ACTIONS(234), 1, + [1242] = 2, + ACTIONS(247), 4, + anon_sym_LT_BANG, + anon_sym_LT, + anon_sym_LT_PERCENT, + anon_sym_LT_PERCENT_PERCENT, + ACTIONS(249), 9, + anon_sym_LT_SLASH, + anon_sym_LT_COLON, anon_sym_LBRACE, - ACTIONS(240), 1, - sym_attribute_name, - STATE(119), 1, - sym_special_attribute_name, - ACTIONS(232), 2, - anon_sym_GT, - anon_sym_SLASH_GT, - ACTIONS(237), 4, - anon_sym_COLONlet, - anon_sym_COLONfor, - anon_sym_COLONstream, - anon_sym_COLONif, - STATE(41), 4, - sym_expression, - sym_special_attribute, - sym_attribute, - aux_sym_start_tag_repeat1, - [1221] = 7, - ACTIONS(198), 1, + anon_sym_LT_PERCENT_EQ, + anon_sym_LT_PERCENT_PERCENT_EQ, + anon_sym_LT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_BANG_DASH_DASH, + anon_sym_LT_PERCENT_POUND, + sym_text, + [1260] = 7, + ACTIONS(213), 1, anon_sym_LBRACE, - ACTIONS(202), 1, + ACTIONS(217), 1, sym_attribute_name, - ACTIONS(243), 1, + ACTIONS(251), 1, anon_sym_GT, - ACTIONS(245), 1, + ACTIONS(253), 1, anon_sym_SLASH_GT, - STATE(119), 1, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(215), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - STATE(41), 4, + STATE(48), 4, sym_expression, sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1249] = 7, - ACTIONS(198), 1, + [1288] = 7, + ACTIONS(213), 1, anon_sym_LBRACE, - ACTIONS(202), 1, + ACTIONS(217), 1, sym_attribute_name, - ACTIONS(247), 1, + ACTIONS(255), 1, anon_sym_GT, - ACTIONS(249), 1, + ACTIONS(257), 1, anon_sym_SLASH_GT, - STATE(119), 1, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(215), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - STATE(42), 4, + STATE(34), 4, sym_expression, sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1277] = 2, - ACTIONS(251), 4, + [1316] = 2, + ACTIONS(259), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(253), 9, + ACTIONS(261), 9, anon_sym_LT_SLASH, anon_sym_LT_COLON, anon_sym_LBRACE, @@ -2834,36 +2805,56 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1295] = 7, - ACTIONS(198), 1, + [1334] = 7, + ACTIONS(213), 1, anon_sym_LBRACE, - ACTIONS(202), 1, + ACTIONS(217), 1, sym_attribute_name, - ACTIONS(255), 1, + ACTIONS(263), 1, anon_sym_GT, - ACTIONS(257), 1, + ACTIONS(265), 1, anon_sym_SLASH_GT, - STATE(119), 1, + STATE(117), 1, sym_special_attribute_name, - ACTIONS(200), 4, + ACTIONS(215), 4, anon_sym_COLONlet, anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - STATE(41), 4, + STATE(45), 4, sym_expression, sym_special_attribute, sym_attribute, aux_sym_start_tag_repeat1, - [1323] = 2, - ACTIONS(259), 4, + [1362] = 7, + ACTIONS(213), 1, + anon_sym_LBRACE, + ACTIONS(217), 1, + sym_attribute_name, + ACTIONS(267), 1, + anon_sym_GT, + ACTIONS(269), 1, + anon_sym_SLASH_GT, + STATE(117), 1, + sym_special_attribute_name, + ACTIONS(215), 4, + anon_sym_COLONlet, + anon_sym_COLONfor, + anon_sym_COLONstream, + anon_sym_COLONif, + STATE(34), 4, + sym_expression, + sym_special_attribute, + sym_attribute, + aux_sym_start_tag_repeat1, + [1390] = 2, + ACTIONS(271), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(261), 9, + ACTIONS(273), 8, anon_sym_LT_SLASH, - anon_sym_LT_COLON, anon_sym_LBRACE, anon_sym_LT_PERCENT_EQ, anon_sym_LT_PERCENT_PERCENT_EQ, @@ -2871,13 +2862,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1341] = 2, - ACTIONS(263), 4, + [1407] = 2, + ACTIONS(275), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(265), 8, + ACTIONS(277), 8, anon_sym_LT_SLASH_COLON, anon_sym_LBRACE, anon_sym_LT_PERCENT_EQ, @@ -2886,28 +2877,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1358] = 2, - ACTIONS(267), 4, - anon_sym_LT_BANG, - anon_sym_LT, - anon_sym_LT_PERCENT, - anon_sym_LT_PERCENT_PERCENT, - ACTIONS(269), 8, - anon_sym_LT_SLASH, - anon_sym_LBRACE, - anon_sym_LT_PERCENT_EQ, - anon_sym_LT_PERCENT_PERCENT_EQ, - anon_sym_LT_BANG_DASH_DASH, - anon_sym_LT_PERCENT_BANG_DASH_DASH, - anon_sym_LT_PERCENT_POUND, - sym_text, - [1375] = 2, - ACTIONS(271), 4, + [1424] = 2, + ACTIONS(279), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(273), 8, + ACTIONS(281), 8, anon_sym_LT_SLASH, anon_sym_LBRACE, anon_sym_LT_PERCENT_EQ, @@ -2916,13 +2892,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1392] = 2, - ACTIONS(275), 4, + [1441] = 2, + ACTIONS(283), 4, anon_sym_LT_BANG, anon_sym_LT, anon_sym_LT_PERCENT, anon_sym_LT_PERCENT_PERCENT, - ACTIONS(277), 8, + ACTIONS(285), 8, anon_sym_LT_SLASH_COLON, anon_sym_LBRACE, anon_sym_LT_PERCENT_EQ, @@ -2931,12 +2907,10 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_LT_PERCENT_BANG_DASH_DASH, anon_sym_LT_PERCENT_POUND, sym_text, - [1409] = 3, - ACTIONS(281), 1, - anon_sym_DOT, - ACTIONS(283), 1, - sym_attribute_name, - ACTIONS(279), 7, + [1458] = 2, + ACTIONS(289), 1, + anon_sym_EQ, + ACTIONS(287), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2944,10 +2918,13 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - [1425] = 2, - ACTIONS(287), 1, - anon_sym_EQ, - ACTIONS(285), 8, + sym_attribute_name, + [1472] = 3, + ACTIONS(293), 1, + anon_sym_DOT, + ACTIONS(295), 1, + sym_attribute_name, + ACTIONS(291), 7, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2955,9 +2932,22 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONfor, anon_sym_COLONstream, anon_sym_COLONif, - sym_attribute_name, - [1439] = 1, - ACTIONS(289), 8, + [1488] = 5, + ACTIONS(299), 1, + aux_sym_ending_expression_value_token1, + ACTIONS(301), 1, + sym__code, + STATE(71), 1, + aux_sym__hash_comment_repeat1, + ACTIONS(297), 2, + anon_sym_do, + anon_sym_DASH_GT, + STATE(102), 3, + sym_expression_value, + sym_partial_expression_value, + sym_ending_expression_value, + [1507] = 1, + ACTIONS(303), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2966,8 +2956,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1450] = 1, - ACTIONS(291), 8, + [1518] = 1, + ACTIONS(305), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2976,8 +2966,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1461] = 1, - ACTIONS(293), 8, + [1529] = 1, + ACTIONS(307), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2986,8 +2976,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1472] = 1, - ACTIONS(295), 8, + [1540] = 1, + ACTIONS(110), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -2996,8 +2986,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1483] = 1, - ACTIONS(297), 8, + [1551] = 1, + ACTIONS(309), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -3006,8 +2996,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1494] = 1, - ACTIONS(299), 8, + [1562] = 1, + ACTIONS(311), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -3016,8 +3006,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1505] = 1, - ACTIONS(301), 8, + [1573] = 1, + ACTIONS(190), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -3026,36 +3016,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1516] = 5, - ACTIONS(305), 1, - aux_sym_ending_expression_value_token1, - ACTIONS(307), 1, - sym__code, - STATE(69), 1, - aux_sym__hash_comment_repeat1, - ACTIONS(303), 2, - anon_sym_do, - anon_sym_DASH_GT, - STATE(123), 3, - sym_expression_value, - sym_partial_expression_value, - sym_ending_expression_value, - [1535] = 5, - ACTIONS(311), 1, - aux_sym_ending_expression_value_token1, - ACTIONS(313), 1, - sym__code, - STATE(65), 1, - aux_sym__hash_comment_repeat1, - ACTIONS(309), 2, - anon_sym_do, - anon_sym_DASH_GT, - STATE(121), 3, - sym_expression_value, - sym_partial_expression_value, - sym_ending_expression_value, - [1554] = 1, - ACTIONS(315), 8, + [1584] = 1, + ACTIONS(313), 8, anon_sym_GT, anon_sym_SLASH_GT, anon_sym_LBRACE, @@ -3064,765 +3026,688 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_COLONstream, anon_sym_COLONif, sym_attribute_name, - [1565] = 5, - ACTIONS(198), 1, + [1595] = 5, + ACTIONS(213), 1, anon_sym_LBRACE, - ACTIONS(317), 1, + ACTIONS(315), 1, sym_attribute_value, - ACTIONS(319), 1, + ACTIONS(317), 1, anon_sym_SQUOTE, - ACTIONS(321), 1, + ACTIONS(319), 1, anon_sym_DQUOTE, - STATE(56), 2, + STATE(63), 2, sym_expression, sym_quoted_attribute_value, - [1582] = 5, - ACTIONS(323), 1, + [1612] = 5, + ACTIONS(321), 1, anon_sym_LBRACE, - ACTIONS(325), 1, + ACTIONS(324), 1, anon_sym_RBRACE, - ACTIONS(327), 1, + ACTIONS(326), 1, aux_sym__expression_value_token1, - STATE(68), 1, + STATE(65), 1, aux_sym_expression_repeat1, - STATE(77), 1, + STATE(85), 1, sym__expression_value, - [1598] = 4, - ACTIONS(329), 1, - anon_sym_RBRACE, - ACTIONS(333), 1, + [1628] = 3, + ACTIONS(331), 1, sym__code, STATE(66), 1, aux_sym__hash_comment_repeat1, - ACTIONS(331), 2, - anon_sym_do, - anon_sym_DASH_GT, - [1612] = 3, - ACTIONS(337), 1, - sym__code, - STATE(66), 1, - aux_sym__hash_comment_repeat1, - ACTIONS(335), 3, - anon_sym_RBRACE, + ACTIONS(329), 3, + anon_sym_PERCENT_GT, anon_sym_do, anon_sym_DASH_GT, - [1624] = 5, - ACTIONS(340), 1, + [1640] = 5, + ACTIONS(334), 1, anon_sym_LBRACE, - ACTIONS(343), 1, + ACTIONS(336), 1, anon_sym_RBRACE, - ACTIONS(345), 1, + ACTIONS(338), 1, aux_sym__expression_value_token1, - STATE(67), 1, + STATE(65), 1, aux_sym_expression_repeat1, - STATE(77), 1, + STATE(85), 1, sym__expression_value, - [1640] = 5, - ACTIONS(323), 1, + [1656] = 5, + ACTIONS(334), 1, anon_sym_LBRACE, - ACTIONS(327), 1, + ACTIONS(338), 1, aux_sym__expression_value_token1, - ACTIONS(348), 1, + ACTIONS(340), 1, anon_sym_RBRACE, STATE(67), 1, aux_sym_expression_repeat1, - STATE(77), 1, + STATE(85), 1, sym__expression_value, - [1656] = 4, - ACTIONS(329), 1, - anon_sym_PERCENT_GT, - ACTIONS(352), 1, - sym__code, + [1672] = 5, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + aux_sym__expression_value_token1, + ACTIONS(342), 1, + anon_sym_RBRACE, STATE(70), 1, - aux_sym__hash_comment_repeat1, - ACTIONS(350), 2, - anon_sym_do, - anon_sym_DASH_GT, - [1670] = 3, - ACTIONS(354), 1, + aux_sym_expression_repeat1, + STATE(85), 1, + sym__expression_value, + [1688] = 5, + ACTIONS(334), 1, + anon_sym_LBRACE, + ACTIONS(338), 1, + aux_sym__expression_value_token1, + ACTIONS(344), 1, + anon_sym_RBRACE, + STATE(65), 1, + aux_sym_expression_repeat1, + STATE(85), 1, + sym__expression_value, + [1704] = 4, + ACTIONS(346), 1, + anon_sym_PERCENT_GT, + ACTIONS(350), 1, sym__code, - STATE(70), 1, + STATE(66), 1, aux_sym__hash_comment_repeat1, - ACTIONS(335), 3, - anon_sym_PERCENT_GT, + ACTIONS(348), 2, anon_sym_do, anon_sym_DASH_GT, - [1682] = 4, - ACTIONS(357), 1, + [1718] = 4, + ACTIONS(352), 1, anon_sym_LBRACE, - ACTIONS(359), 1, + ACTIONS(354), 1, anon_sym_RBRACE, - ACTIONS(361), 1, + ACTIONS(356), 1, aux_sym__expression_value_token1, - STATE(128), 1, + STATE(119), 1, sym__expression_value, - [1695] = 4, - ACTIONS(363), 1, + [1731] = 4, + ACTIONS(358), 1, anon_sym_DOT, - ACTIONS(365), 1, + ACTIONS(360), 1, sym_module, - ACTIONS(367), 1, + ACTIONS(362), 1, sym_tag_name, - STATE(43), 1, + STATE(44), 1, sym_component_name, - [1708] = 4, - ACTIONS(357), 1, + [1744] = 4, + ACTIONS(352), 1, anon_sym_LBRACE, - ACTIONS(369), 1, + ACTIONS(364), 1, anon_sym_RBRACE, - ACTIONS(371), 1, + ACTIONS(366), 1, aux_sym__expression_value_token1, - STATE(112), 1, + STATE(99), 1, sym__expression_value, - [1721] = 3, - ACTIONS(373), 1, - anon_sym_PERCENT_GT, - ACTIONS(375), 1, - sym__code, - STATE(79), 1, - aux_sym__hash_comment_repeat1, - [1731] = 3, - ACTIONS(377), 1, - anon_sym_RBRACE, - ACTIONS(379), 1, - sym__code, - STATE(78), 1, - aux_sym__hash_comment_repeat1, - [1741] = 3, - ACTIONS(381), 1, + [1757] = 3, + ACTIONS(368), 1, + aux_sym__html_comment_token1, + ACTIONS(370), 1, + anon_sym_DASH_DASH_PERCENT_GT, + STATE(87), 1, + aux_sym__html_comment_repeat1, + [1767] = 3, + ACTIONS(372), 1, aux_sym__html_comment_token1, - ACTIONS(383), 1, + ACTIONS(374), 1, anon_sym_DASH_DASH_GT, - STATE(98), 1, + STATE(88), 1, aux_sym__html_comment_repeat1, - [1751] = 2, - ACTIONS(387), 1, - aux_sym__expression_value_token1, - ACTIONS(385), 2, - anon_sym_LBRACE, - anon_sym_RBRACE, - [1759] = 3, - ACTIONS(335), 1, - anon_sym_RBRACE, - ACTIONS(389), 1, - sym__code, - STATE(78), 1, - aux_sym__hash_comment_repeat1, - [1769] = 3, - ACTIONS(335), 1, + [1777] = 3, + ACTIONS(376), 1, anon_sym_PERCENT_GT, - ACTIONS(392), 1, + ACTIONS(378), 1, sym__code, - STATE(79), 1, + STATE(90), 1, aux_sym__hash_comment_repeat1, - [1779] = 3, - ACTIONS(375), 1, - sym__code, - ACTIONS(377), 1, + [1787] = 3, + ACTIONS(380), 1, anon_sym_PERCENT_GT, - STATE(79), 1, + ACTIONS(382), 1, + sym__code, + STATE(80), 1, aux_sym__hash_comment_repeat1, - [1789] = 3, - ACTIONS(395), 1, + [1797] = 3, + ACTIONS(384), 1, aux_sym__html_comment_token1, - ACTIONS(398), 1, - anon_sym_DASH_DASH_GT, - STATE(81), 1, + ACTIONS(387), 1, + anon_sym_DASH_DASH_PERCENT_GT, + STATE(79), 1, aux_sym__html_comment_repeat1, - [1799] = 3, - ACTIONS(400), 1, + [1807] = 3, + ACTIONS(329), 1, anon_sym_PERCENT_GT, - ACTIONS(402), 1, + ACTIONS(389), 1, sym__code, STATE(80), 1, aux_sym__hash_comment_repeat1, - [1809] = 3, - ACTIONS(379), 1, - sym__code, - ACTIONS(404), 1, - anon_sym_RBRACE, - STATE(78), 1, - aux_sym__hash_comment_repeat1, - [1819] = 3, - ACTIONS(406), 1, + [1817] = 2, + ACTIONS(394), 1, + aux_sym__expression_value_token1, + ACTIONS(392), 2, + anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(408), 1, + [1825] = 3, + ACTIONS(396), 1, + anon_sym_PERCENT_GT, + ACTIONS(398), 1, sym__code, STATE(86), 1, aux_sym__hash_comment_repeat1, - [1829] = 3, - ACTIONS(375), 1, + [1835] = 3, + ACTIONS(382), 1, sym__code, ACTIONS(400), 1, anon_sym_PERCENT_GT, - STATE(79), 1, - aux_sym__hash_comment_repeat1, - [1839] = 3, - ACTIONS(379), 1, - sym__code, - ACTIONS(400), 1, - anon_sym_RBRACE, - STATE(78), 1, + STATE(80), 1, aux_sym__hash_comment_repeat1, - [1849] = 3, - ACTIONS(400), 1, + [1845] = 3, + ACTIONS(358), 1, + anon_sym_DOT, + ACTIONS(360), 1, + sym_module, + STATE(110), 1, + sym_component_name, + [1855] = 2, + ACTIONS(404), 1, + aux_sym__expression_value_token1, + ACTIONS(402), 2, + anon_sym_LBRACE, anon_sym_RBRACE, - ACTIONS(410), 1, + [1863] = 3, + ACTIONS(382), 1, sym__code, - STATE(75), 1, + ACTIONS(406), 1, + anon_sym_PERCENT_GT, + STATE(80), 1, aux_sym__hash_comment_repeat1, - [1859] = 3, - ACTIONS(398), 1, - anon_sym_DASH_DASH_PERCENT_GT, - ACTIONS(412), 1, + [1873] = 3, + ACTIONS(408), 1, aux_sym__html_comment_token1, - STATE(88), 1, + ACTIONS(410), 1, + anon_sym_DASH_DASH_PERCENT_GT, + STATE(79), 1, aux_sym__html_comment_repeat1, - [1869] = 3, - ACTIONS(415), 1, + [1883] = 3, + ACTIONS(412), 1, aux_sym__html_comment_token1, - ACTIONS(417), 1, - anon_sym_DASH_DASH_PERCENT_GT, - STATE(97), 1, + ACTIONS(414), 1, + anon_sym_DASH_DASH_GT, + STATE(92), 1, aux_sym__html_comment_repeat1, - [1879] = 3, - ACTIONS(375), 1, + [1893] = 2, + ACTIONS(418), 1, + aux_sym__expression_value_token1, + ACTIONS(416), 2, + anon_sym_LBRACE, + anon_sym_RBRACE, + [1901] = 3, + ACTIONS(382), 1, sym__code, - ACTIONS(404), 1, - anon_sym_PERCENT_GT, - STATE(79), 1, - aux_sym__hash_comment_repeat1, - [1889] = 3, - ACTIONS(406), 1, + ACTIONS(420), 1, anon_sym_PERCENT_GT, - ACTIONS(419), 1, - sym__code, - STATE(85), 1, + STATE(80), 1, aux_sym__hash_comment_repeat1, - [1899] = 3, - ACTIONS(363), 1, - anon_sym_DOT, - ACTIONS(365), 1, - sym_module, - STATE(115), 1, - sym_component_name, - [1909] = 3, - ACTIONS(421), 1, + [1911] = 3, + ACTIONS(420), 1, anon_sym_PERCENT_GT, - ACTIONS(423), 1, + ACTIONS(422), 1, sym__code, - STATE(74), 1, + STATE(83), 1, aux_sym__hash_comment_repeat1, - [1919] = 3, - ACTIONS(425), 1, - anon_sym_PERCENT_GT, + [1921] = 3, + ACTIONS(387), 1, + anon_sym_DASH_DASH_GT, + ACTIONS(424), 1, + aux_sym__html_comment_token1, + STATE(92), 1, + aux_sym__html_comment_repeat1, + [1931] = 3, ACTIONS(427), 1, + anon_sym_PERCENT_GT, + ACTIONS(429), 1, sym__code, - STATE(90), 1, + STATE(78), 1, aux_sym__hash_comment_repeat1, - [1929] = 2, + [1941] = 2, ACTIONS(431), 1, - aux_sym__expression_value_token1, - ACTIONS(429), 2, - anon_sym_LBRACE, - anon_sym_RBRACE, - [1937] = 2, + anon_sym_SQUOTE, + ACTIONS(433), 1, + aux_sym_quoted_attribute_value_token1, + [1948] = 2, ACTIONS(435), 1, - aux_sym__expression_value_token1, - ACTIONS(433), 2, - anon_sym_LBRACE, - anon_sym_RBRACE, - [1945] = 3, + anon_sym_PERCENT_GT, ACTIONS(437), 1, - aux_sym__html_comment_token1, + anon_sym_POUND, + [1955] = 2, + ACTIONS(213), 1, + anon_sym_LBRACE, + STATE(60), 1, + sym_expression, + [1962] = 2, + ACTIONS(431), 1, + anon_sym_DQUOTE, ACTIONS(439), 1, - anon_sym_DASH_DASH_PERCENT_GT, - STATE(88), 1, - aux_sym__html_comment_repeat1, - [1955] = 3, + aux_sym_quoted_attribute_value_token2, + [1969] = 2, ACTIONS(441), 1, - aux_sym__html_comment_token1, + anon_sym_PERCENT_GT, ACTIONS(443), 1, - anon_sym_DASH_DASH_GT, - STATE(81), 1, - aux_sym__html_comment_repeat1, - [1965] = 3, - ACTIONS(425), 1, - anon_sym_RBRACE, + anon_sym_POUND, + [1976] = 1, ACTIONS(445), 1, - sym__code, - STATE(83), 1, - aux_sym__hash_comment_repeat1, - [1975] = 2, + anon_sym_RBRACE, + [1980] = 1, ACTIONS(447), 1, - anon_sym_DQUOTE, + sym_tag_name, + [1984] = 1, ACTIONS(449), 1, - aux_sym_quoted_attribute_value_token2, - [1982] = 2, - ACTIONS(451), 1, - anon_sym_RBRACE, - ACTIONS(453), 1, - anon_sym_POUND, - [1989] = 2, + sym_function, + [1988] = 1, ACTIONS(451), 1, anon_sym_PERCENT_GT, + [1992] = 1, + ACTIONS(453), 1, + anon_sym_html, + [1996] = 1, ACTIONS(455), 1, - anon_sym_POUND, - [1996] = 2, + ts_builtin_sym_end, + [2000] = 1, ACTIONS(457), 1, - anon_sym_PERCENT_GT, + sym_tag_name, + [2004] = 1, ACTIONS(459), 1, - anon_sym_POUND, - [2003] = 2, - ACTIONS(447), 1, + anon_sym_GT, + [2008] = 1, + ACTIONS(461), 1, anon_sym_SQUOTE, + [2012] = 1, ACTIONS(461), 1, - aux_sym_quoted_attribute_value_token1, - [2010] = 2, - ACTIONS(457), 1, - anon_sym_RBRACE, + anon_sym_DQUOTE, + [2016] = 1, ACTIONS(463), 1, - anon_sym_POUND, - [2017] = 2, - ACTIONS(198), 1, - anon_sym_LBRACE, - STATE(55), 1, - sym_expression, - [2024] = 1, - ACTIONS(465), 1, sym_tag_name, + [2020] = 1, + ACTIONS(465), 1, + anon_sym_GT, + [2024] = 1, + ACTIONS(394), 1, + anon_sym_RBRACE, [2028] = 1, ACTIONS(467), 1, - anon_sym_EQ, + anon_sym_GT, [2032] = 1, ACTIONS(469), 1, - anon_sym_SQUOTE, + sym_function, [2036] = 1, - ACTIONS(469), 1, - anon_sym_DQUOTE, - [2040] = 1, ACTIONS(471), 1, - ts_builtin_sym_end, + anon_sym_EQ, + [2040] = 1, + ACTIONS(418), 1, + anon_sym_RBRACE, [2044] = 1, ACTIONS(473), 1, - anon_sym_RBRACE, + anon_sym_GT, [2048] = 1, ACTIONS(475), 1, - sym_tag_name, + anon_sym_EQ, [2052] = 1, ACTIONS(477), 1, - anon_sym_GT, + anon_sym_DOCTYPE, [2056] = 1, ACTIONS(479), 1, - anon_sym_GT, - [2060] = 1, - ACTIONS(481), 1, - anon_sym_GT, - [2064] = 1, - ACTIONS(483), 1, - sym_function, - [2068] = 1, - ACTIONS(485), 1, - anon_sym_html, - [2072] = 1, - ACTIONS(487), 1, - anon_sym_EQ, - [2076] = 1, - ACTIONS(431), 1, - anon_sym_RBRACE, - [2080] = 1, - ACTIONS(489), 1, - anon_sym_RBRACE, - [2084] = 1, - ACTIONS(435), 1, - anon_sym_RBRACE, - [2088] = 1, - ACTIONS(489), 1, - anon_sym_PERCENT_GT, - [2092] = 1, - ACTIONS(491), 1, - anon_sym_GT, - [2096] = 1, - ACTIONS(493), 1, - sym_function, - [2100] = 1, - ACTIONS(495), 1, - sym_tag_name, - [2104] = 1, - ACTIONS(497), 1, - anon_sym_DOCTYPE, - [2108] = 1, - ACTIONS(499), 1, anon_sym_RBRACE, }; static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(2)] = 0, - [SMALL_STATE(3)] = 72, - [SMALL_STATE(4)] = 144, - [SMALL_STATE(5)] = 213, - [SMALL_STATE(6)] = 276, - [SMALL_STATE(7)] = 338, - [SMALL_STATE(8)] = 400, - [SMALL_STATE(9)] = 462, - [SMALL_STATE(10)] = 524, - [SMALL_STATE(11)] = 583, - [SMALL_STATE(12)] = 603, - [SMALL_STATE(13)] = 623, - [SMALL_STATE(14)] = 643, - [SMALL_STATE(15)] = 663, - [SMALL_STATE(16)] = 683, - [SMALL_STATE(17)] = 703, - [SMALL_STATE(18)] = 723, - [SMALL_STATE(19)] = 743, - [SMALL_STATE(20)] = 763, - [SMALL_STATE(21)] = 783, - [SMALL_STATE(22)] = 803, - [SMALL_STATE(23)] = 823, - [SMALL_STATE(24)] = 843, - [SMALL_STATE(25)] = 863, - [SMALL_STATE(26)] = 883, - [SMALL_STATE(27)] = 903, - [SMALL_STATE(28)] = 923, - [SMALL_STATE(29)] = 943, - [SMALL_STATE(30)] = 963, - [SMALL_STATE(31)] = 983, - [SMALL_STATE(32)] = 1003, - [SMALL_STATE(33)] = 1021, - [SMALL_STATE(34)] = 1049, - [SMALL_STATE(35)] = 1077, - [SMALL_STATE(36)] = 1095, - [SMALL_STATE(37)] = 1123, - [SMALL_STATE(38)] = 1141, - [SMALL_STATE(39)] = 1159, - [SMALL_STATE(40)] = 1177, - [SMALL_STATE(41)] = 1195, - [SMALL_STATE(42)] = 1221, - [SMALL_STATE(43)] = 1249, - [SMALL_STATE(44)] = 1277, - [SMALL_STATE(45)] = 1295, - [SMALL_STATE(46)] = 1323, - [SMALL_STATE(47)] = 1341, - [SMALL_STATE(48)] = 1358, - [SMALL_STATE(49)] = 1375, - [SMALL_STATE(50)] = 1392, - [SMALL_STATE(51)] = 1409, - [SMALL_STATE(52)] = 1425, - [SMALL_STATE(53)] = 1439, - [SMALL_STATE(54)] = 1450, - [SMALL_STATE(55)] = 1461, - [SMALL_STATE(56)] = 1472, - [SMALL_STATE(57)] = 1483, - [SMALL_STATE(58)] = 1494, - [SMALL_STATE(59)] = 1505, - [SMALL_STATE(60)] = 1516, - [SMALL_STATE(61)] = 1535, - [SMALL_STATE(62)] = 1554, - [SMALL_STATE(63)] = 1565, - [SMALL_STATE(64)] = 1582, - [SMALL_STATE(65)] = 1598, - [SMALL_STATE(66)] = 1612, - [SMALL_STATE(67)] = 1624, - [SMALL_STATE(68)] = 1640, - [SMALL_STATE(69)] = 1656, - [SMALL_STATE(70)] = 1670, - [SMALL_STATE(71)] = 1682, - [SMALL_STATE(72)] = 1695, - [SMALL_STATE(73)] = 1708, - [SMALL_STATE(74)] = 1721, - [SMALL_STATE(75)] = 1731, - [SMALL_STATE(76)] = 1741, - [SMALL_STATE(77)] = 1751, - [SMALL_STATE(78)] = 1759, - [SMALL_STATE(79)] = 1769, - [SMALL_STATE(80)] = 1779, - [SMALL_STATE(81)] = 1789, - [SMALL_STATE(82)] = 1799, - [SMALL_STATE(83)] = 1809, - [SMALL_STATE(84)] = 1819, - [SMALL_STATE(85)] = 1829, - [SMALL_STATE(86)] = 1839, - [SMALL_STATE(87)] = 1849, - [SMALL_STATE(88)] = 1859, - [SMALL_STATE(89)] = 1869, - [SMALL_STATE(90)] = 1879, - [SMALL_STATE(91)] = 1889, - [SMALL_STATE(92)] = 1899, - [SMALL_STATE(93)] = 1909, - [SMALL_STATE(94)] = 1919, - [SMALL_STATE(95)] = 1929, - [SMALL_STATE(96)] = 1937, - [SMALL_STATE(97)] = 1945, - [SMALL_STATE(98)] = 1955, - [SMALL_STATE(99)] = 1965, - [SMALL_STATE(100)] = 1975, - [SMALL_STATE(101)] = 1982, - [SMALL_STATE(102)] = 1989, - [SMALL_STATE(103)] = 1996, - [SMALL_STATE(104)] = 2003, - [SMALL_STATE(105)] = 2010, - [SMALL_STATE(106)] = 2017, - [SMALL_STATE(107)] = 2024, - [SMALL_STATE(108)] = 2028, - [SMALL_STATE(109)] = 2032, - [SMALL_STATE(110)] = 2036, - [SMALL_STATE(111)] = 2040, - [SMALL_STATE(112)] = 2044, - [SMALL_STATE(113)] = 2048, - [SMALL_STATE(114)] = 2052, - [SMALL_STATE(115)] = 2056, - [SMALL_STATE(116)] = 2060, - [SMALL_STATE(117)] = 2064, - [SMALL_STATE(118)] = 2068, - [SMALL_STATE(119)] = 2072, - [SMALL_STATE(120)] = 2076, - [SMALL_STATE(121)] = 2080, - [SMALL_STATE(122)] = 2084, - [SMALL_STATE(123)] = 2088, - [SMALL_STATE(124)] = 2092, - [SMALL_STATE(125)] = 2096, - [SMALL_STATE(126)] = 2100, - [SMALL_STATE(127)] = 2104, - [SMALL_STATE(128)] = 2108, + [SMALL_STATE(3)] = 73, + [SMALL_STATE(4)] = 146, + [SMALL_STATE(5)] = 216, + [SMALL_STATE(6)] = 280, + [SMALL_STATE(7)] = 343, + [SMALL_STATE(8)] = 406, + [SMALL_STATE(9)] = 469, + [SMALL_STATE(10)] = 532, + [SMALL_STATE(11)] = 592, + [SMALL_STATE(12)] = 612, + [SMALL_STATE(13)] = 632, + [SMALL_STATE(14)] = 652, + [SMALL_STATE(15)] = 672, + [SMALL_STATE(16)] = 692, + [SMALL_STATE(17)] = 712, + [SMALL_STATE(18)] = 732, + [SMALL_STATE(19)] = 752, + [SMALL_STATE(20)] = 772, + [SMALL_STATE(21)] = 792, + [SMALL_STATE(22)] = 812, + [SMALL_STATE(23)] = 832, + [SMALL_STATE(24)] = 852, + [SMALL_STATE(25)] = 872, + [SMALL_STATE(26)] = 892, + [SMALL_STATE(27)] = 912, + [SMALL_STATE(28)] = 932, + [SMALL_STATE(29)] = 952, + [SMALL_STATE(30)] = 972, + [SMALL_STATE(31)] = 992, + [SMALL_STATE(32)] = 1012, + [SMALL_STATE(33)] = 1032, + [SMALL_STATE(34)] = 1052, + [SMALL_STATE(35)] = 1078, + [SMALL_STATE(36)] = 1106, + [SMALL_STATE(37)] = 1124, + [SMALL_STATE(38)] = 1142, + [SMALL_STATE(39)] = 1170, + [SMALL_STATE(40)] = 1188, + [SMALL_STATE(41)] = 1206, + [SMALL_STATE(42)] = 1224, + [SMALL_STATE(43)] = 1242, + [SMALL_STATE(44)] = 1260, + [SMALL_STATE(45)] = 1288, + [SMALL_STATE(46)] = 1316, + [SMALL_STATE(47)] = 1334, + [SMALL_STATE(48)] = 1362, + [SMALL_STATE(49)] = 1390, + [SMALL_STATE(50)] = 1407, + [SMALL_STATE(51)] = 1424, + [SMALL_STATE(52)] = 1441, + [SMALL_STATE(53)] = 1458, + [SMALL_STATE(54)] = 1472, + [SMALL_STATE(55)] = 1488, + [SMALL_STATE(56)] = 1507, + [SMALL_STATE(57)] = 1518, + [SMALL_STATE(58)] = 1529, + [SMALL_STATE(59)] = 1540, + [SMALL_STATE(60)] = 1551, + [SMALL_STATE(61)] = 1562, + [SMALL_STATE(62)] = 1573, + [SMALL_STATE(63)] = 1584, + [SMALL_STATE(64)] = 1595, + [SMALL_STATE(65)] = 1612, + [SMALL_STATE(66)] = 1628, + [SMALL_STATE(67)] = 1640, + [SMALL_STATE(68)] = 1656, + [SMALL_STATE(69)] = 1672, + [SMALL_STATE(70)] = 1688, + [SMALL_STATE(71)] = 1704, + [SMALL_STATE(72)] = 1718, + [SMALL_STATE(73)] = 1731, + [SMALL_STATE(74)] = 1744, + [SMALL_STATE(75)] = 1757, + [SMALL_STATE(76)] = 1767, + [SMALL_STATE(77)] = 1777, + [SMALL_STATE(78)] = 1787, + [SMALL_STATE(79)] = 1797, + [SMALL_STATE(80)] = 1807, + [SMALL_STATE(81)] = 1817, + [SMALL_STATE(82)] = 1825, + [SMALL_STATE(83)] = 1835, + [SMALL_STATE(84)] = 1845, + [SMALL_STATE(85)] = 1855, + [SMALL_STATE(86)] = 1863, + [SMALL_STATE(87)] = 1873, + [SMALL_STATE(88)] = 1883, + [SMALL_STATE(89)] = 1893, + [SMALL_STATE(90)] = 1901, + [SMALL_STATE(91)] = 1911, + [SMALL_STATE(92)] = 1921, + [SMALL_STATE(93)] = 1931, + [SMALL_STATE(94)] = 1941, + [SMALL_STATE(95)] = 1948, + [SMALL_STATE(96)] = 1955, + [SMALL_STATE(97)] = 1962, + [SMALL_STATE(98)] = 1969, + [SMALL_STATE(99)] = 1976, + [SMALL_STATE(100)] = 1980, + [SMALL_STATE(101)] = 1984, + [SMALL_STATE(102)] = 1988, + [SMALL_STATE(103)] = 1992, + [SMALL_STATE(104)] = 1996, + [SMALL_STATE(105)] = 2000, + [SMALL_STATE(106)] = 2004, + [SMALL_STATE(107)] = 2008, + [SMALL_STATE(108)] = 2012, + [SMALL_STATE(109)] = 2016, + [SMALL_STATE(110)] = 2020, + [SMALL_STATE(111)] = 2024, + [SMALL_STATE(112)] = 2028, + [SMALL_STATE(113)] = 2032, + [SMALL_STATE(114)] = 2036, + [SMALL_STATE(115)] = 2040, + [SMALL_STATE(116)] = 2044, + [SMALL_STATE(117)] = 2048, + [SMALL_STATE(118)] = 2052, + [SMALL_STATE(119)] = 2056, }; 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_fragment, 0), - [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(127), - [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), - [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), - [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(60), - [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(60), + [5] = {.entry = {.count = 1, .reusable = false}}, SHIFT(118), + [7] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), + [9] = {.entry = {.count = 1, .reusable = true}}, SHIFT(69), + [11] = {.entry = {.count = 1, .reusable = false}}, SHIFT(55), + [13] = {.entry = {.count = 1, .reusable = true}}, SHIFT(55), [15] = {.entry = {.count = 1, .reusable = true}}, SHIFT(76), - [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), - [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(93), + [17] = {.entry = {.count = 1, .reusable = true}}, SHIFT(75), + [19] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), [21] = {.entry = {.count = 1, .reusable = true}}, SHIFT(10), - [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(92), - [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [23] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), + [25] = {.entry = {.count = 1, .reusable = true}}, SHIFT(105), [27] = {.entry = {.count = 1, .reusable = true}}, SHIFT(4), [29] = {.entry = {.count = 1, .reusable = true}}, SHIFT(2), - [31] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(127), - [34] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(72), + [31] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(118), + [34] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(73), [37] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), - [39] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(107), - [42] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(61), - [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(60), - [48] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(60), + [39] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(105), + [42] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(69), + [45] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(55), + [48] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(55), [51] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(76), - [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(89), - [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(93), + [54] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(75), + [57] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(82), [60] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_component_repeat1, 2), SHIFT_REPEAT(4), [63] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), - [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(127), - [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(72), + [65] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(118), + [68] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(73), [71] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), - [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(61), - [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(60), - [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(60), + [73] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(69), + [76] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(55), + [79] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(55), [82] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(76), - [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(89), - [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(93), + [85] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(75), + [88] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(82), [91] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_fragment_repeat1, 2), SHIFT_REPEAT(5), - [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(126), - [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(7), - [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), - [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [94] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), + [96] = {.entry = {.count = 1, .reusable = true}}, SHIFT(5), + [98] = {.entry = {.count = 1, .reusable = true}}, SHIFT(6), + [100] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), [102] = {.entry = {.count = 1, .reusable = true}}, SHIFT(8), [104] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_fragment, 1), - [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bang_comment, 3), - [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bang_comment, 3), - [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__html_comment, 3), - [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__html_comment, 3), + [106] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3), + [108] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3), + [110] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 2), + [112] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 2), [114] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tag, 1), [116] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tag, 1), [118] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component, 1), [120] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component, 1), [122] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_comment, 1), [124] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_comment, 1), - [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_directive, 3), - [128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_directive, 3), - [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4), - [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4), - [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_component, 3), - [136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_component, 3), - [138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_component, 4), - [140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_component, 4), - [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 3), - [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 3), - [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3), - [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3), - [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_component, 3), - [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_component, 3), - [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4), - [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4), - [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hash_comment, 3), - [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__hash_comment, 3), - [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tag, 3), - [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tag, 3), - [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__html_comment, 2), - [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__html_comment, 2), - [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component, 2), - [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component, 2), - [174] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bang_comment, 2), - [176] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bang_comment, 2), - [178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tag, 2), - [180] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tag, 2), - [182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hash_comment, 2), - [184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__hash_comment, 2), - [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component, 3), - [188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component, 3), - [190] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_slot, 3, .production_id = 1), - [192] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_slot, 3, .production_id = 1), - [194] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), - [196] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), - [198] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), - [200] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), - [202] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), - [204] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), - [206] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), - [208] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 2), - [210] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 2), - [212] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), - [214] = {.entry = {.count = 1, .reusable = true}}, SHIFT(32), - [216] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_slot, 3, .production_id = 1), - [218] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_slot, 3, .production_id = 1), - [220] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 1), - [222] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 1), - [224] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_slot, 4, .production_id = 1), - [226] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_slot, 4, .production_id = 1), - [228] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 3), - [230] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 3), - [232] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), - [234] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(64), - [237] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(108), - [240] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(52), - [243] = {.entry = {.count = 1, .reusable = true}}, SHIFT(44), - [245] = {.entry = {.count = 1, .reusable = true}}, SHIFT(19), - [247] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), - [249] = {.entry = {.count = 1, .reusable = true}}, SHIFT(18), - [251] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_component, 4), - [253] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_component, 4), - [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(48), - [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(17), + [126] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_component, 3), + [128] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_component, 3), + [130] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tag, 3), + [132] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tag, 3), + [134] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hash_comment, 3), + [136] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__hash_comment, 3), + [138] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component, 3), + [140] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component, 3), + [142] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_doctype, 4), + [144] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_doctype, 4), + [146] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component, 2), + [148] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component, 2), + [150] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_tag, 4), + [152] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_tag, 4), + [154] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_directive, 3), + [156] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_directive, 3), + [158] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__html_comment, 3), + [160] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__html_comment, 3), + [162] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bang_comment, 3), + [164] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bang_comment, 3), + [166] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_component, 3), + [168] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_component, 3), + [170] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_tag, 3), + [172] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_tag, 3), + [174] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_component, 4), + [176] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_component, 4), + [178] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__html_comment, 2), + [180] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__html_comment, 2), + [182] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_tag, 2), + [184] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_tag, 2), + [186] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__bang_comment, 2), + [188] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__bang_comment, 2), + [190] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3, .production_id = 1), + [192] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression, 3, .production_id = 1), + [194] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__hash_comment, 2), + [196] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__hash_comment, 2), + [198] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), + [200] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(68), + [203] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(114), + [206] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_start_tag_repeat1, 2), SHIFT_REPEAT(53), + [209] = {.entry = {.count = 1, .reusable = true}}, SHIFT(50), + [211] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), + [213] = {.entry = {.count = 1, .reusable = true}}, SHIFT(68), + [215] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), + [217] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), + [219] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_component, 4), + [221] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_component, 4), + [223] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_slot, 3, .production_id = 2), + [225] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_slot, 3, .production_id = 2), + [227] = {.entry = {.count = 1, .reusable = true}}, SHIFT(52), + [229] = {.entry = {.count = 1, .reusable = true}}, SHIFT(39), + [231] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_self_closing_slot, 4, .production_id = 2), + [233] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_self_closing_slot, 4, .production_id = 2), + [235] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 1), + [237] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 1), + [239] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_end_slot, 3, .production_id = 2), + [241] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_end_slot, 3, .production_id = 2), + [243] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 3), + [245] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 3), + [247] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_slot, 2), + [249] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_slot, 2), + [251] = {.entry = {.count = 1, .reusable = true}}, SHIFT(46), + [253] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), + [255] = {.entry = {.count = 1, .reusable = true}}, SHIFT(49), + [257] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), [259] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_component, 3), [261] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_component, 3), - [263] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_slot, 3, .production_id = 1), - [265] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_slot, 3, .production_id = 1), - [267] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4), - [269] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4), - [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3), - [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3), - [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_slot, 4, .production_id = 1), - [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_slot, 4, .production_id = 1), - [279] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 1), - [281] = {.entry = {.count = 1, .reusable = true}}, SHIFT(117), - [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component_name, 1), - [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1), - [287] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), - [289] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 2), - [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 2), - [293] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_special_attribute, 3), - [295] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3), - [297] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 2), - [299] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 3), - [301] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_expression, 3, .production_id = 2), - [303] = {.entry = {.count = 1, .reusable = false}}, SHIFT(103), - [305] = {.entry = {.count = 1, .reusable = false}}, SHIFT(94), - [307] = {.entry = {.count = 1, .reusable = false}}, SHIFT(69), - [309] = {.entry = {.count = 1, .reusable = false}}, SHIFT(105), - [311] = {.entry = {.count = 1, .reusable = false}}, SHIFT(99), - [313] = {.entry = {.count = 1, .reusable = false}}, SHIFT(65), - [315] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 3), - [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(56), - [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(104), - [321] = {.entry = {.count = 1, .reusable = true}}, SHIFT(100), - [323] = {.entry = {.count = 1, .reusable = false}}, SHIFT(73), - [325] = {.entry = {.count = 1, .reusable = false}}, SHIFT(54), - [327] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), - [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_value, 1), - [331] = {.entry = {.count = 1, .reusable = false}}, SHIFT(101), - [333] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), - [335] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), - [337] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(66), - [340] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 2), SHIFT_REPEAT(73), - [343] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 2), - [345] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_expression_repeat1, 2), SHIFT_REPEAT(77), - [348] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), - [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(102), - [352] = {.entry = {.count = 1, .reusable = false}}, SHIFT(70), - [354] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(70), - [357] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), - [359] = {.entry = {.count = 1, .reusable = false}}, SHIFT(120), - [361] = {.entry = {.count = 1, .reusable = true}}, SHIFT(128), - [363] = {.entry = {.count = 1, .reusable = true}}, SHIFT(125), - [365] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), - [367] = {.entry = {.count = 1, .reusable = true}}, SHIFT(33), - [369] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), - [371] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), - [373] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), - [375] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), - [377] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 4), - [379] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), - [381] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), - [383] = {.entry = {.count = 1, .reusable = false}}, SHIFT(26), - [385] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 1), - [387] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expression_repeat1, 1), - [389] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(78), - [392] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(79), - [395] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), SHIFT_REPEAT(81), - [398] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), - [400] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 3), - [402] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), - [404] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ending_expression_value, 2), - [406] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 2), - [408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), - [410] = {.entry = {.count = 1, .reusable = false}}, SHIFT(75), - [412] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), SHIFT_REPEAT(88), - [415] = {.entry = {.count = 1, .reusable = false}}, SHIFT(97), - [417] = {.entry = {.count = 1, .reusable = false}}, SHIFT(28), - [419] = {.entry = {.count = 1, .reusable = false}}, SHIFT(85), - [421] = {.entry = {.count = 1, .reusable = false}}, SHIFT(30), - [423] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), - [425] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ending_expression_value, 1), - [427] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), - [429] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_value, 2), - [431] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_value, 2), - [433] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_value, 3), - [435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_value, 3), - [437] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), - [439] = {.entry = {.count = 1, .reusable = false}}, SHIFT(11), - [441] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), - [443] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), - [445] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), - [447] = {.entry = {.count = 1, .reusable = false}}, SHIFT(57), - [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(110), - [451] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partial_expression_value, 2), - [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(87), - [455] = {.entry = {.count = 1, .reusable = true}}, SHIFT(82), - [457] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partial_expression_value, 1), - [459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), - [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(109), - [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(84), - [465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), - [467] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_special_attribute_name, 1), - [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), - [471] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), - [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), - [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(124), - [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(37), - [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(22), - [481] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), - [483] = {.entry = {.count = 1, .reusable = true}}, SHIFT(62), - [485] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), - [487] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), - [489] = {.entry = {.count = 1, .reusable = true}}, SHIFT(16), - [491] = {.entry = {.count = 1, .reusable = true}}, SHIFT(21), - [493] = {.entry = {.count = 1, .reusable = true}}, SHIFT(53), - [495] = {.entry = {.count = 1, .reusable = true}}, SHIFT(114), - [497] = {.entry = {.count = 1, .reusable = true}}, SHIFT(118), - [499] = {.entry = {.count = 1, .reusable = true}}, SHIFT(122), + [263] = {.entry = {.count = 1, .reusable = true}}, SHIFT(51), + [265] = {.entry = {.count = 1, .reusable = true}}, SHIFT(11), + [267] = {.entry = {.count = 1, .reusable = true}}, SHIFT(36), + [269] = {.entry = {.count = 1, .reusable = true}}, SHIFT(28), + [271] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 4), + [273] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 4), + [275] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_slot, 3, .production_id = 2), + [277] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_slot, 3, .production_id = 2), + [279] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_tag, 3), + [281] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_tag, 3), + [283] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_start_slot, 4, .production_id = 2), + [285] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_start_slot, 4, .production_id = 2), + [287] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 1), + [289] = {.entry = {.count = 1, .reusable = true}}, SHIFT(64), + [291] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 1), + [293] = {.entry = {.count = 1, .reusable = true}}, SHIFT(113), + [295] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_component_name, 1), + [297] = {.entry = {.count = 1, .reusable = false}}, SHIFT(95), + [299] = {.entry = {.count = 1, .reusable = false}}, SHIFT(93), + [301] = {.entry = {.count = 1, .reusable = false}}, SHIFT(71), + [303] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 2), + [305] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_quoted_attribute_value, 3), + [307] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 2), + [309] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_special_attribute, 3), + [311] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_component_name, 3), + [313] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_attribute, 3), + [315] = {.entry = {.count = 1, .reusable = true}}, SHIFT(63), + [317] = {.entry = {.count = 1, .reusable = true}}, SHIFT(94), + [319] = {.entry = {.count = 1, .reusable = true}}, SHIFT(97), + [321] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 2), SHIFT_REPEAT(74), + [324] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 2), + [326] = {.entry = {.count = 2, .reusable = true}}, REDUCE(aux_sym_expression_repeat1, 2), SHIFT_REPEAT(85), + [329] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), + [331] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(66), + [334] = {.entry = {.count = 1, .reusable = false}}, SHIFT(74), + [336] = {.entry = {.count = 1, .reusable = false}}, SHIFT(62), + [338] = {.entry = {.count = 1, .reusable = true}}, SHIFT(85), + [340] = {.entry = {.count = 1, .reusable = false}}, SHIFT(59), + [342] = {.entry = {.count = 1, .reusable = false}}, SHIFT(12), + [344] = {.entry = {.count = 1, .reusable = false}}, SHIFT(32), + [346] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_expression_value, 1), + [348] = {.entry = {.count = 1, .reusable = false}}, SHIFT(98), + [350] = {.entry = {.count = 1, .reusable = false}}, SHIFT(66), + [352] = {.entry = {.count = 1, .reusable = false}}, SHIFT(72), + [354] = {.entry = {.count = 1, .reusable = false}}, SHIFT(111), + [356] = {.entry = {.count = 1, .reusable = true}}, SHIFT(119), + [358] = {.entry = {.count = 1, .reusable = true}}, SHIFT(101), + [360] = {.entry = {.count = 1, .reusable = true}}, SHIFT(54), + [362] = {.entry = {.count = 1, .reusable = true}}, SHIFT(47), + [364] = {.entry = {.count = 1, .reusable = false}}, SHIFT(81), + [366] = {.entry = {.count = 1, .reusable = true}}, SHIFT(99), + [368] = {.entry = {.count = 1, .reusable = false}}, SHIFT(87), + [370] = {.entry = {.count = 1, .reusable = false}}, SHIFT(31), + [372] = {.entry = {.count = 1, .reusable = false}}, SHIFT(88), + [374] = {.entry = {.count = 1, .reusable = false}}, SHIFT(29), + [376] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 2), + [378] = {.entry = {.count = 1, .reusable = false}}, SHIFT(90), + [380] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ending_expression_value, 2), + [382] = {.entry = {.count = 1, .reusable = false}}, SHIFT(80), + [384] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), SHIFT_REPEAT(79), + [387] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), + [389] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__hash_comment_repeat1, 2), SHIFT_REPEAT(80), + [392] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_value, 2), + [394] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_value, 2), + [396] = {.entry = {.count = 1, .reusable = false}}, SHIFT(33), + [398] = {.entry = {.count = 1, .reusable = false}}, SHIFT(86), + [400] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 4), + [402] = {.entry = {.count = 1, .reusable = false}}, REDUCE(aux_sym_expression_repeat1, 1), + [404] = {.entry = {.count = 1, .reusable = true}}, REDUCE(aux_sym_expression_repeat1, 1), + [406] = {.entry = {.count = 1, .reusable = false}}, SHIFT(18), + [408] = {.entry = {.count = 1, .reusable = false}}, SHIFT(79), + [410] = {.entry = {.count = 1, .reusable = false}}, SHIFT(25), + [412] = {.entry = {.count = 1, .reusable = false}}, SHIFT(92), + [414] = {.entry = {.count = 1, .reusable = false}}, SHIFT(24), + [416] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym__expression_value, 3), + [418] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym__expression_value, 3), + [420] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_partial_expression_value, 3), + [422] = {.entry = {.count = 1, .reusable = false}}, SHIFT(83), + [424] = {.entry = {.count = 2, .reusable = false}}, REDUCE(aux_sym__html_comment_repeat1, 2), SHIFT_REPEAT(92), + [427] = {.entry = {.count = 1, .reusable = false}}, REDUCE(sym_ending_expression_value, 1), + [429] = {.entry = {.count = 1, .reusable = false}}, SHIFT(78), + [431] = {.entry = {.count = 1, .reusable = false}}, SHIFT(56), + [433] = {.entry = {.count = 1, .reusable = true}}, SHIFT(107), + [435] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partial_expression_value, 1), + [437] = {.entry = {.count = 1, .reusable = true}}, SHIFT(77), + [439] = {.entry = {.count = 1, .reusable = true}}, SHIFT(108), + [441] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_partial_expression_value, 2), + [443] = {.entry = {.count = 1, .reusable = true}}, SHIFT(91), + [445] = {.entry = {.count = 1, .reusable = true}}, SHIFT(89), + [447] = {.entry = {.count = 1, .reusable = true}}, SHIFT(116), + [449] = {.entry = {.count = 1, .reusable = true}}, SHIFT(58), + [451] = {.entry = {.count = 1, .reusable = true}}, SHIFT(23), + [453] = {.entry = {.count = 1, .reusable = true}}, SHIFT(112), + [455] = {.entry = {.count = 1, .reusable = true}}, ACCEPT_INPUT(), + [457] = {.entry = {.count = 1, .reusable = true}}, SHIFT(35), + [459] = {.entry = {.count = 1, .reusable = true}}, SHIFT(41), + [461] = {.entry = {.count = 1, .reusable = true}}, SHIFT(57), + [463] = {.entry = {.count = 1, .reusable = true}}, SHIFT(106), + [465] = {.entry = {.count = 1, .reusable = true}}, SHIFT(26), + [467] = {.entry = {.count = 1, .reusable = true}}, SHIFT(20), + [469] = {.entry = {.count = 1, .reusable = true}}, SHIFT(61), + [471] = {.entry = {.count = 1, .reusable = true}}, REDUCE(sym_special_attribute_name, 1), + [473] = {.entry = {.count = 1, .reusable = true}}, SHIFT(27), + [475] = {.entry = {.count = 1, .reusable = true}}, SHIFT(96), + [477] = {.entry = {.count = 1, .reusable = true}}, SHIFT(103), + [479] = {.entry = {.count = 1, .reusable = true}}, SHIFT(115), }; #ifdef __cplusplus diff --git a/test/corpus/directives.txt b/test/corpus/directives.txt index 464a95e..b2c3da0 100644 --- a/test/corpus/directives.txt +++ b/test/corpus/directives.txt @@ -40,28 +40,3 @@ Case expression spread between multiple directives (text) (directive (ending_expression_value))) - -================================================================================ -Curly braces as directive -================================================================================ - -
- { @message } - {@message} - {"#{1}"} -
- --------------------------------------------------------------------------------- - -(fragment - (tag - (start_tag - (tag_name)) - (directive - (expression_value)) - (directive - (expression_value)) - (directive - (expression_value)) - (end_tag - (tag_name)))) diff --git a/test/corpus/expressions.txt b/test/corpus/expressions.txt index 32c946e..4fc0678 100644 --- a/test/corpus/expressions.txt +++ b/test/corpus/expressions.txt @@ -67,3 +67,28 @@ Interpolation (attribute_name) (expression (expression_value)))))) + +================================================================================ +Interpolation inside body +================================================================================ + +
+ { @message } + {@message} + {"#{1}"} +
+ +-------------------------------------------------------------------------------- + +(fragment + (tag + (start_tag + (tag_name)) + (expression + (expression_value)) + (expression + (expression_value)) + (expression + (expression_value)) + (end_tag + (tag_name))))