Returns (reachable?, closing '}', stack).
(
self,
stmt: WhileStmt,
uop: CodeSection,
storage: Storage,
inst: Instruction | None,
)
| 714 | return self._emit_stmt(stmt.body, uop, storage, inst) |
| 715 | |
| 716 | def emit_WhileStmt( |
| 717 | self, |
| 718 | stmt: WhileStmt, |
| 719 | uop: CodeSection, |
| 720 | storage: Storage, |
| 721 | inst: Instruction | None, |
| 722 | ) -> tuple[bool, Token | None, Storage]: |
| 723 | """ Returns (reachable?, closing '}', stack).""" |
| 724 | self.out.emit(stmt.while_) |
| 725 | for tkn in stmt.condition: |
| 726 | self.out.emit(tkn) |
| 727 | return self._emit_stmt(stmt.body, uop, storage, inst) |
| 728 | |
| 729 | |
| 730 | def emit_tokens( |
nothing calls this directly
no test coverage detected