1 |
|
2 |
|
3 |
|
4 |
|
5 | export declare const enum TokenizerState {
|
6 | beforeData = "beforeData",
|
7 | data = "data",
|
8 | rcdata = "rcdata",
|
9 | rawtext = "rawtext",
|
10 | scriptData = "scriptData",
|
11 | plaintext = "plaintext",
|
12 | tagOpen = "tagOpen",
|
13 | endTagOpen = "endTagOpen",
|
14 | tagName = "tagName",
|
15 | endTagName = "endTagName",
|
16 | rcdataLessThanSign = "rcdataLessThanSign",
|
17 | rcdataEndTagOpen = "rcdataEndTagOpen",
|
18 | rcdataEndTagName = "rcdataEndTagName",
|
19 | rawtextLessThanSign = "rawtextLessThanSign",
|
20 | rawtextEndTagOpen = "rawtextEndTagOpen",
|
21 | rawtextEndTagName = "rawtextEndTagName",
|
22 | scriptDataLessThanSign = "scriptDataLessThanSign",
|
23 | scriptDataEndTagOpen = "scriptDataEndTagOpen",
|
24 | scriptDataEndTagName = "scriptDataEndTagName",
|
25 | scriptDataEscapeStart = "scriptDataEscapeStart",
|
26 | scriptDataEscapseStartDash = "scriptDataEscapseStartDash",
|
27 | scriptDataEscaped = "scriptDataEscaped",
|
28 | scriptDataEscapedDash = "scriptDataEscapedDash",
|
29 | scriptDataEscapedDashDash = "scriptDataEscapedDashDash",
|
30 | scriptDataEscapedLessThanSign = "scriptDataEscapedLessThanSign",
|
31 | scriptDataEscapedEndTagOpen = "scriptDataEscapedEndTagOpen",
|
32 | scriptDataEscapedEndTagName = "scriptDataEscapedEndTagName",
|
33 | scriptDataDoubleEscapeStart = "scriptDataDoubleEscapeStart",
|
34 | scriptDataDoubleEscaped = "scriptDataDoubleEscaped",
|
35 | scriptDataDoubleEscapedDash = "scriptDataDoubleEscapedDash",
|
36 | scriptDataDoubleEscapedDashDash = "scriptDataDoubleEscapedDashDash",
|
37 | scriptDataDoubleEscapedLessThanSign = "scriptDataDoubleEscapedLessThanSign",
|
38 | scriptDataDoubleEscapeEnd = "scriptDataDoubleEscapeEnd",
|
39 | beforeAttributeName = "beforeAttributeName",
|
40 | attributeName = "attributeName",
|
41 | afterAttributeName = "afterAttributeName",
|
42 | beforeAttributeValue = "beforeAttributeValue",
|
43 | attributeValueDoubleQuoted = "attributeValueDoubleQuoted",
|
44 | attributeValueSingleQuoted = "attributeValueSingleQuoted",
|
45 | attributeValueUnquoted = "attributeValueUnquoted",
|
46 | afterAttributeValueQuoted = "afterAttributeValueQuoted",
|
47 | selfClosingStartTag = "selfClosingStartTag",
|
48 | bogusComment = "bogusComment",
|
49 | markupDeclarationOpen = "markupDeclarationOpen",
|
50 | commentStart = "commentStart",
|
51 | commentStartDash = "commentStartDash",
|
52 | comment = "comment",
|
53 | commentLessThanSign = "commentLessThanSign",
|
54 | commentLessThanSignBang = "commentLessThanSignBang",
|
55 | commentLessThanSignBangDash = "commentLessThanSignBangDash",
|
56 | commentLessThanSignBangDashDash = "commentLessThanSignBangDashDash",
|
57 | commentEndDash = "commentEndDash",
|
58 | commentEnd = "commentEnd",
|
59 | commentEndBang = "commentEndBang",
|
60 | doctype = "doctype",
|
61 | beforeDoctypeName = "beforeDoctypeName",
|
62 | doctypeName = "doctypeName",
|
63 | afterDoctypeName = "afterDoctypeName",
|
64 | afterDoctypePublicKeyword = "afterDoctypePublicKeyword",
|
65 | beforeDoctypePublicIdentifier = "beforeDoctypePublicIdentifier",
|
66 | doctypePublicIdentifierDoubleQuoted = "doctypePublicIdentifierDoubleQuoted",
|
67 | doctypePublicIdentifierSingleQuoted = "doctypePublicIdentifierSingleQuoted",
|
68 | afterDoctypePublicIdentifier = "afterDoctypePublicIdentifier",
|
69 | betweenDoctypePublicAndSystemIdentifiers = "betweenDoctypePublicAndSystemIdentifiers",
|
70 | afterDoctypeSystemKeyword = "afterDoctypeSystemKeyword",
|
71 | beforeDoctypeSystemIdentifier = "beforeDoctypeSystemIdentifier",
|
72 | doctypeSystemIdentifierDoubleQuoted = "doctypeSystemIdentifierDoubleQuoted",
|
73 | doctypeSystemIdentifierSingleQuoted = "doctypeSystemIdentifierSingleQuoted",
|
74 | afterDoctypeSystemIdentifier = "afterDoctypeSystemIdentifier",
|
75 | bogusDoctype = "bogusDoctype",
|
76 | cdataSection = "cdataSection",
|
77 | cdataSectionBracket = "cdataSectionBracket",
|
78 | cdataSectionEnd = "cdataSectionEnd",
|
79 | characterReference = "characterReference",
|
80 | numericCharacterReference = "numericCharacterReference",
|
81 | hexadecimalCharacterReferenceStart = "hexadecimalCharacterReferenceStart",
|
82 | decimalCharacterReferenceStart = "decimalCharacterReferenceStart",
|
83 | hexadecimalCharacterReference = "hexadecimalCharacterReference",
|
84 | decimalCharacterReference = "decimalCharacterReference",
|
85 | numericCharacterReferenceEnd = "numericCharacterReferenceEnd",
|
86 | characterReferenceEnd = "characterReferenceEnd",
|
87 | }
|