2 from collections import OrderedDict
3 from typing import Any, Dict
6 if sys.version_info >= (3, 7):
7 attributeMap = Dict[Any, Any]
9 attributeMap = OrderedDict[Any, Any]
19 def __init__(self, stream, parser: Any | None = ..., **kwargs) -> None: ...
21 def __iter__(self): ...
22 def consumeNumberEntity(self, isHex): ...
23 def consumeEntity(self, allowedChar: Any | None = ..., fromAttribute: bool = ...) -> None: ...
24 def processEntityInAttribute(self, allowedChar) -> None: ...
25 def emitCurrentToken(self) -> None: ...
26 def dataState(self): ...
27 def entityDataState(self): ...
28 def rcdataState(self): ...
29 def characterReferenceInRcdata(self): ...
30 def rawtextState(self): ...
31 def scriptDataState(self): ...
32 def plaintextState(self): ...
33 def tagOpenState(self): ...
34 def closeTagOpenState(self): ...
35 def tagNameState(self): ...
37 def rcdataLessThanSignState(self): ...
38 def rcdataEndTagOpenState(self): ...
39 def rcdataEndTagNameState(self): ...
40 def rawtextLessThanSignState(self): ...
41 def rawtextEndTagOpenState(self): ...
42 def rawtextEndTagNameState(self): ...
43 def scriptDataLessThanSignState(self): ...
44 def scriptDataEndTagOpenState(self): ...
45 def scriptDataEndTagNameState(self): ...
46 def scriptDataEscapeStartState(self): ...
47 def scriptDataEscapeStartDashState(self): ...
48 def scriptDataEscapedState(self): ...
49 def scriptDataEscapedDashState(self): ...
50 def scriptDataEscapedDashDashState(self): ...
51 def scriptDataEscapedLessThanSignState(self): ...
52 def scriptDataEscapedEndTagOpenState(self): ...
53 def scriptDataEscapedEndTagNameState(self): ...
54 def scriptDataDoubleEscapeStartState(self): ...
55 def scriptDataDoubleEscapedState(self): ...
56 def scriptDataDoubleEscapedDashState(self): ...
57 def scriptDataDoubleEscapedDashDashState(self): ...
58 def scriptDataDoubleEscapedLessThanSignState(self): ...
59 def scriptDataDoubleEscapeEndState(self): ...
60 def beforeAttributeNameState(self): ...
61 def attributeNameState(self): ...
62 def afterAttributeNameState(self): ...
63 def beforeAttributeValueState(self): ...
64 def attributeValueDoubleQuotedState(self): ...
65 def attributeValueSingleQuotedState(self): ...
66 def attributeValueUnQuotedState(self): ...
67 def afterAttributeValueState(self): ...
68 def selfClosingStartTagState(self): ...
69 def bogusCommentState(self): ...
70 def markupDeclarationOpenState(self): ...
71 def commentStartState(self): ...
72 def commentStartDashState(self): ...
73 def commentState(self): ...
74 def commentEndDashState(self): ...
75 def commentEndState(self): ...
76 def commentEndBangState(self): ...
77 def doctypeState(self): ...
78 def beforeDoctypeNameState(self): ...
79 def doctypeNameState(self): ...
80 def afterDoctypeNameState(self): ...
81 def afterDoctypePublicKeywordState(self): ...
82 def beforeDoctypePublicIdentifierState(self): ...
83 def doctypePublicIdentifierDoubleQuotedState(self): ...
84 def doctypePublicIdentifierSingleQuotedState(self): ...
85 def afterDoctypePublicIdentifierState(self): ...
86 def betweenDoctypePublicAndSystemIdentifiersState(self): ...
87 def afterDoctypeSystemKeywordState(self): ...
88 def beforeDoctypeSystemIdentifierState(self): ...
89 def doctypeSystemIdentifierDoubleQuotedState(self): ...
90 def doctypeSystemIdentifierSingleQuotedState(self): ...
91 def afterDoctypeSystemIdentifierState(self): ...
92 def bogusDoctypeState(self): ...
93 def cdataSectionState(self): ...