parser/html/nsHtml5TokenizerHSupplement.h

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:e046ad56b448
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 inline nsHtml5HtmlAttributes* GetAttributes()
6 {
7 return attributes;
8 }
9
10 nsAutoPtr<nsHtml5Highlighter> mViewSource;
11
12 /**
13 * Starts handling text/plain. This is a one-way initialization. There is
14 * no corresponding EndPlainText() call.
15 */
16 void StartPlainText();
17
18 void EnableViewSource(nsHtml5Highlighter* aHighlighter);
19
20 bool FlushViewSource();
21
22 void StartViewSource(const nsAutoString& aTitle);
23
24 void EndViewSource();
25
26 void errGarbageAfterLtSlash();
27
28 void errLtSlashGt();
29
30 void errWarnLtSlashInRcdata();
31
32 void errCharRefLacksSemicolon();
33
34 void errNoDigitsInNCR();
35
36 void errGtInSystemId();
37
38 void errGtInPublicId();
39
40 void errNamelessDoctype();
41
42 void errConsecutiveHyphens();
43
44 void errPrematureEndOfComment();
45
46 void errBogusComment();
47
48 void errUnquotedAttributeValOrNull(char16_t c);
49
50 void errSlashNotFollowedByGt();
51
52 void errNoSpaceBetweenAttributes();
53
54 void errLtOrEqualsOrGraveInUnquotedAttributeOrNull(char16_t c);
55
56 void errAttributeValueMissing();
57
58 void errBadCharBeforeAttributeNameOrNull(char16_t c);
59
60 void errEqualsSignBeforeAttributeName();
61
62 void errBadCharAfterLt(char16_t c);
63
64 void errLtGt();
65
66 void errProcessingInstruction();
67
68 void errUnescapedAmpersandInterpretedAsCharacterReference();
69
70 void errNotSemicolonTerminated();
71
72 void errNoNamedCharacterMatch();
73
74 void errQuoteBeforeAttributeName(char16_t c);
75
76 void errQuoteOrLtInAttributeNameOrNull(char16_t c);
77
78 void errExpectedPublicId();
79
80 void errBogusDoctype();
81
82 void maybeErrAttributesOnEndTag(nsHtml5HtmlAttributes* attrs);
83
84 void maybeErrSlashInEndTag(bool selfClosing);
85
86 char16_t errNcrNonCharacter(char16_t ch);
87
88 void errAstralNonCharacter(int32_t ch);
89
90 void errNcrSurrogate();
91
92 char16_t errNcrControlChar(char16_t ch);
93
94 void errNcrCr();
95
96 void errNcrInC1Range();
97
98 void errEofInPublicId();
99
100 void errEofInComment();
101
102 void errEofInDoctype();
103
104 void errEofInAttributeValue();
105
106 void errEofInAttributeName();
107
108 void errEofWithoutGt();
109
110 void errEofInTagName();
111
112 void errEofInEndTag();
113
114 void errEofAfterLt();
115
116 void errNcrOutOfRange();
117
118 void errNcrUnassigned();
119
120 void errDuplicateAttribute();
121
122 void errEofInSystemId();
123
124 void errExpectedSystemId();
125
126 void errMissingSpaceBeforeDoctypeName();
127
128 void errHyphenHyphenBang();
129
130 void errNcrControlChar();
131
132 void errNcrZero();
133
134 void errNoSpaceBetweenDoctypeSystemKeywordAndQuote();
135
136 void errNoSpaceBetweenPublicAndSystemIds();
137
138 void errNoSpaceBetweenDoctypePublicKeywordAndQuote();

mercurial