(self)
| 195 | stmt.accept(visitor) |
| 196 | |
| 197 | def tokens(self) -> Iterator[lx.Token]: |
| 198 | yield self.condition |
| 199 | for stmt in self.body: |
| 200 | yield from stmt.tokens() |
| 201 | if self.else_body is not None: |
| 202 | for stmt in self.else_body: |
| 203 | yield from stmt.tokens() |
| 204 | |
| 205 | |
| 206 | @dataclass |