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