Token handler, with syntax highlighting.
(
self,
toktype: int,
toktext: str,
start_pos: tuple[int, int],
end_pos: tuple[int, int],
line: str,
)
| 571 | return acc |
| 572 | |
| 573 | def __call__( |
| 574 | self, |
| 575 | toktype: int, |
| 576 | toktext: str, |
| 577 | start_pos: tuple[int, int], |
| 578 | end_pos: tuple[int, int], |
| 579 | line: str, |
| 580 | ) -> None: |
| 581 | """Token handler, with syntax highlighting.""" |
| 582 | self.out.write(self._inner_call_(toktype, toktext, start_pos)) |
nothing calls this directly
no test coverage detected