massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Markdown / markdown / util.pyi
1 from typing import Any, Pattern
2
3 PY37: Any
4 __deprecated__: Any
5 BLOCK_LEVEL_ELEMENTS: Any
6 STX: str
7 ETX: str
8 INLINE_PLACEHOLDER_PREFIX: Any
9 INLINE_PLACEHOLDER: Any
10 INLINE_PLACEHOLDER_RE: Pattern[str]
11 AMP_SUBSTITUTE: Any
12 HTML_PLACEHOLDER: Any
13 HTML_PLACEHOLDER_RE: Pattern[str]
14 TAG_PLACEHOLDER: Any
15 INSTALLED_EXTENSIONS: Any
16 RTL_BIDI_RANGES: Any
17
18 def deprecated(message, stacklevel: int = ...): ...
19 def isBlockLevel(tag): ...
20 def parseBoolValue(value, fail_on_errors: bool = ..., preserve_none: bool = ...): ...
21 def code_escape(text): ...
22
23 class AtomicString(str): ...
24
25 class Processor:
26     md: Any
27     def __init__(self, md: Any | None = ...) -> None: ...
28     @property
29     def markdown(self): ...
30
31 class HtmlStash:
32     html_counter: int = ...
33     rawHtmlBlocks: Any
34     tag_counter: int = ...
35     tag_data: Any
36     def __init__(self) -> None: ...
37     def store(self, html): ...
38     def reset(self) -> None: ...
39     def get_placeholder(self, key): ...
40     def store_tag(self, tag, attrs, left_index, right_index): ...
41
42 class Registry:
43     def __init__(self) -> None: ...
44     def __contains__(self, item): ...
45     def __iter__(self) -> Any: ...
46     def __getitem__(self, key): ...
47     def __len__(self): ...
48     def get_index_for_name(self, name): ...
49     def register(self, item, name, priority) -> None: ...
50     def deregister(self, name, strict: bool = ...) -> None: ...
51     def __setitem__(self, key, value) -> None: ...
52     def __delitem__(self, key) -> None: ...
53     def add(self, key, value, location) -> None: ...
54
55 def __getattr__(name): ...