Generate a placeholder
(self, type: str)
| 88 | self.ancestors: list[str] = [] |
| 89 | |
| 90 | def __makePlaceholder(self, type: str) -> tuple[str, str]: |
| 91 | """ Generate a placeholder """ |
| 92 | id = "%04d" % len(self.stashed_nodes) |
| 93 | hash = util.INLINE_PLACEHOLDER % id |
| 94 | return hash, id |
| 95 | |
| 96 | def __findPlaceholder(self, data: str, index: int) -> tuple[str | None, int]: |
| 97 | """ |