| 230 | |
| 231 | @dataclass |
| 232 | class SimpleStmt(Stmt): |
| 233 | contents: list[lx.Token] |
| 234 | |
| 235 | def print(self, out:CWriter) -> None: |
| 236 | for tkn in self.contents: |
| 237 | out.emit(tkn) |
| 238 | |
| 239 | def tokens(self) -> Iterator[lx.Token]: |
| 240 | yield from self.contents |
| 241 | |
| 242 | def accept(self, visitor: Visitor) -> None: |
| 243 | visitor(self) |
| 244 | |
| 245 | __hash__ = object.__hash__ |
| 246 | |
| 247 | @dataclass |
| 248 | class StackEffect(Node): |
no outgoing calls
no test coverage detected
searching dependent graphs…