Return a pre-order iterator for the tree. This must be implemented by the concrete subclass.
(self)
| 117 | raise NotImplementedError |
| 118 | |
| 119 | def pre_order(self) -> Iterator[NL]: |
| 120 | """ |
| 121 | Return a pre-order iterator for the tree. |
| 122 | |
| 123 | This must be implemented by the concrete subclass. |
| 124 | """ |
| 125 | raise NotImplementedError |
| 126 | |
| 127 | def replace(self, new: NL | list[NL]) -> None: |
| 128 | """Replace this node with a new one in the parent.""" |
no outgoing calls
no test coverage detected