(self, parent: etree.Element, block: str)
| 497 | RE = re.compile(r'^.*?\n(?:=+|-+)[ ]*(\n|$)', re.MULTILINE) |
| 498 | |
| 499 | def test(self, parent: etree.Element, block: str) -> bool: |
| 500 | return bool(self.RE.match(block)) |
| 501 | |
| 502 | def run(self, parent: etree.Element, blocks: list[str]) -> None: |
| 503 | lines = blocks.pop(0).split('\n') |
nothing calls this directly
no outgoing calls
no test coverage detected