(self, s: WhileStmt)
| 5483 | self.add_exports(s.rvalue.items) |
| 5484 | |
| 5485 | def visit_while_stmt(self, s: WhileStmt) -> None: |
| 5486 | self.statement = s |
| 5487 | s.expr.accept(self) |
| 5488 | self.loop_depth[-1] += 1 |
| 5489 | with self.inside_except_star_block_set(value=False, entering_loop=True): |
| 5490 | s.body.accept(self) |
| 5491 | self.loop_depth[-1] -= 1 |
| 5492 | self.visit_block_maybe(s.else_body) |
| 5493 | |
| 5494 | def visit_for_stmt(self, s: ForStmt) -> None: |
| 5495 | if s.is_async: |
nothing calls this directly
no test coverage detected