@lezer/html
Version:
lezer-based HTML grammar
53 lines (52 loc) • 1.19 kB
JavaScript
// This file was generated by lezer-generator. You probably shouldn't edit it.
export const
scriptText = 54,
StartCloseScriptTag = 1,
styleText = 55,
StartCloseStyleTag = 2,
textareaText = 56,
StartCloseTextareaTag = 3,
EndTag = 4,
SelfClosingEndTag = 5,
StartTag = 6,
StartScriptTag = 7,
StartStyleTag = 8,
StartTextareaTag = 9,
StartSelfClosingTag = 10,
StartCloseTag = 11,
NoMatchStartCloseTag = 12,
MismatchedStartCloseTag = 13,
missingCloseTag = 57,
IncompleteCloseTag = 14,
commentContent = 58,
Document = 15,
Text = 16,
EntityReference = 17,
CharacterReference = 18,
InvalidEntity = 19,
Element = 20,
OpenScriptTag = 21,
TagName = 22,
Attribute = 23,
AttributeName = 24,
Is = 25,
AttributeValue = 26,
UnquotedAttributeValue = 27,
ScriptText = 28,
CloseScriptTag = 29,
OpenStyleTag = 30,
StyleText = 31,
CloseStyleTag = 32,
OpenTextareaTag = 33,
TextareaText = 34,
CloseTextareaTag = 35,
OpenTag = 36,
CloseTag = 37,
SelfClosingTag = 38,
Comment = 39,
ProcessingInst = 40,
MismatchedCloseTag = 41,
NoMatchCloseTag = 42,
DoctypeDecl = 43,
Dialect_noMatch = 0,
Dialect_selfClosing = 1