(self, input: str)
| 73 | __slots__ = ("current", "input", "tokens") |
| 74 | |
| 75 | def __init__(self, input: str) -> None: |
| 76 | self.input = input |
| 77 | self.tokens = self.lex(input) |
| 78 | self.current = next(self.tokens) |
| 79 | |
| 80 | def lex(self, input: str) -> Iterator[Token]: |
| 81 | pos = 0 |