(
self,
stmt: Stmt,
uop: CodeSection,
storage: Storage,
inst: Instruction | None,
)
| 529 | self.out.start_line() |
| 530 | |
| 531 | def _emit_stmt( |
| 532 | self, |
| 533 | stmt: Stmt, |
| 534 | uop: CodeSection, |
| 535 | storage: Storage, |
| 536 | inst: Instruction | None, |
| 537 | ) -> tuple[bool, Token | None, Storage]: |
| 538 | method_name = "emit_" + stmt.__class__.__name__ |
| 539 | method = getattr(self, method_name, None) |
| 540 | if method is None: |
| 541 | raise NotImplementedError |
| 542 | return method(stmt, uop, storage, inst) # type: ignore[no-any-return] |
| 543 | |
| 544 | def emit_SimpleStmt( |
| 545 | self, |
no test coverage detected