Method
__init__
(self, pattern: str, footnotes: FootnoteExtension)
Source from the content-addressed store, hash-verified
| 325 | """ `InlineProcessor` for footnote markers in a document's body text. """ |
| 326 | |
| 327 | def __init__(self, pattern: str, footnotes: FootnoteExtension): |
| 328 | super().__init__(pattern) |
| 329 | self.footnotes = footnotes |
| 330 | |
| 331 | def handleMatch(self, m: re.Match[str], data: str) -> tuple[etree.Element | None, int | None, int | None]: |
| 332 | id = m.group(1) |
Callers
nothing calls this directly
Tested by
no test coverage detected