mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-24 09:48:39 +08:00
[html5lib] Add annotations for several functions in htmll5parser.py (#14859)
This commit is contained in:
@@ -48,16 +48,16 @@ class HTMLParser:
|
||||
def parse(self, stream: _InputStream, scripting: bool = ..., **kwargs): ...
|
||||
def parseFragment(self, stream: _InputStream, *args, **kwargs): ...
|
||||
def parseError(self, errorcode: str = "XXX-undefined-error", datavars=None) -> None: ...
|
||||
def adjustMathMLAttributes(self, token) -> None: ...
|
||||
def adjustSVGAttributes(self, token) -> None: ...
|
||||
def adjustForeignAttributes(self, token) -> None: ...
|
||||
def reparseTokenNormal(self, token) -> None: ...
|
||||
def adjustMathMLAttributes(self, token: dict[str, Any]) -> None: ...
|
||||
def adjustSVGAttributes(self, token: dict[str, Any]) -> None: ...
|
||||
def adjustForeignAttributes(self, token: dict[str, Any]) -> None: ...
|
||||
def reparseTokenNormal(self, token: dict[str, Any]) -> None: ...
|
||||
def resetInsertionMode(self) -> None: ...
|
||||
originalPhase: Incomplete
|
||||
def parseRCDataRawtext(self, token, contentType) -> None: ...
|
||||
|
||||
def getPhases(debug): ...
|
||||
def adjust_attributes(token, replacements) -> None: ...
|
||||
def adjust_attributes(token: dict[str, Any], replacements: dict[str, Any]) -> None: ...
|
||||
def impliedTagToken(
|
||||
name: str, type: str = "EndTag", attributes: dict[str, Any] | None = None, selfClosing: bool = False
|
||||
) -> dict[str, Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user