massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / html5lib / html5lib / _ihatexml.pyi
1 from typing import Any
2
3 baseChar: str
4 ideographic: str
5 combiningCharacter: str
6 digit: str
7 extender: str
8 letter: Any
9 name: Any
10 nameFirst: Any
11 reChar: Any
12 reCharRange: Any
13
14 def charStringToList(chars): ...
15 def normaliseCharList(charList): ...
16
17 max_unicode: Any
18
19 def missingRanges(charList): ...
20 def listToRegexpStr(charList): ...
21 def hexToInt(hex_str): ...
22 def escapeRegexp(string): ...
23
24 nonXmlNameBMPRegexp: Any
25 nonXmlNameFirstBMPRegexp: Any
26 nonPubidCharRegexp: Any
27
28 class InfosetFilter:
29     replacementRegexp: Any
30     dropXmlnsLocalName: Any
31     dropXmlnsAttrNs: Any
32     preventDoubleDashComments: Any
33     preventDashAtCommentEnd: Any
34     replaceFormFeedCharacters: Any
35     preventSingleQuotePubid: Any
36     replaceCache: Any
37     def __init__(
38         self,
39         dropXmlnsLocalName: bool = ...,
40         dropXmlnsAttrNs: bool = ...,
41         preventDoubleDashComments: bool = ...,
42         preventDashAtCommentEnd: bool = ...,
43         replaceFormFeedCharacters: bool = ...,
44         preventSingleQuotePubid: bool = ...,
45     ) -> None: ...
46     def coerceAttribute(self, name, namespace: Any | None = ...): ...
47     def coerceElement(self, name): ...
48     def coerceComment(self, data): ...
49     def coerceCharacters(self, data): ...
50     def coercePubid(self, data): ...
51     def toXmlName(self, name): ...
52     def getReplacementCharacter(self, char): ...
53     def fromXmlName(self, name): ...
54     def escapeChar(self, char): ...
55     def unescapeChar(self, charcode): ...