|
| 1 | +from typing import Any, Pattern |
| 2 | + |
| 3 | +logger: Any |
| 4 | + |
| 5 | +def build_block_parser(md, **kwargs): ... |
| 6 | + |
| 7 | +class BlockProcessor: |
| 8 | + parser: Any |
| 9 | + tab_length: Any |
| 10 | + def __init__(self, parser) -> None: ... |
| 11 | + def lastChild(self, parent): ... |
| 12 | + def detab(self, text): ... |
| 13 | + def looseDetab(self, text, level: int = ...): ... |
| 14 | + def test(self, parent, block) -> None: ... |
| 15 | + def run(self, parent, blocks) -> None: ... |
| 16 | + |
| 17 | +class ListIndentProcessor(BlockProcessor): |
| 18 | + ITEM_TYPES: Any |
| 19 | + LIST_TYPES: Any |
| 20 | + INDENT_RE: Pattern |
| 21 | + def __init__(self, *args) -> None: ... |
| 22 | + def test(self, parent, block): ... |
| 23 | + def run(self, parent, blocks) -> None: ... |
| 24 | + def create_item(self, parent, block) -> None: ... |
| 25 | + def get_level(self, parent, block): ... |
| 26 | + |
| 27 | +class CodeBlockProcessor(BlockProcessor): |
| 28 | + def test(self, parent, block): ... |
| 29 | + def run(self, parent, blocks) -> None: ... |
| 30 | + |
| 31 | +class BlockQuoteProcessor(BlockProcessor): |
| 32 | + RE: Pattern |
| 33 | + def test(self, parent, block): ... |
| 34 | + def run(self, parent, blocks) -> None: ... |
| 35 | + def clean(self, line): ... |
| 36 | + |
| 37 | +class OListProcessor(BlockProcessor): |
| 38 | + TAG: str = ... |
| 39 | + STARTSWITH: str = ... |
| 40 | + LAZY_OL: bool = ... |
| 41 | + SIBLING_TAGS: Any |
| 42 | + RE: Pattern |
| 43 | + CHILD_RE: Pattern |
| 44 | + INDENT_RE: Pattern |
| 45 | + def __init__(self, parser) -> None: ... |
| 46 | + def test(self, parent, block): ... |
| 47 | + def run(self, parent, blocks) -> None: ... |
| 48 | + def get_items(self, block): ... |
| 49 | + |
| 50 | +class UListProcessor(OListProcessor): |
| 51 | + TAG: str = ... |
| 52 | + RE: Pattern |
| 53 | + def __init__(self, parser) -> None: ... |
| 54 | + |
| 55 | +class HashHeaderProcessor(BlockProcessor): |
| 56 | + RE: Pattern |
| 57 | + def test(self, parent, block): ... |
| 58 | + def run(self, parent, blocks) -> None: ... |
| 59 | + |
| 60 | +class SetextHeaderProcessor(BlockProcessor): |
| 61 | + RE: Pattern |
| 62 | + def test(self, parent, block): ... |
| 63 | + def run(self, parent, blocks) -> None: ... |
| 64 | + |
| 65 | +class HRProcessor(BlockProcessor): |
| 66 | + RE: str = ... |
| 67 | + SEARCH_RE: Pattern |
| 68 | + match: Any |
| 69 | + def test(self, parent, block): ... |
| 70 | + def run(self, parent, blocks) -> None: ... |
| 71 | + |
| 72 | +class EmptyBlockProcessor(BlockProcessor): |
| 73 | + def test(self, parent, block): ... |
| 74 | + def run(self, parent, blocks) -> None: ... |
| 75 | + |
| 76 | +class ParagraphProcessor(BlockProcessor): |
| 77 | + def test(self, parent, block): ... |
| 78 | + def run(self, parent, blocks) -> None: ... |
0 commit comments