(self, out:CWriter)
| 99 | else_body: Stmt | None |
| 100 | |
| 101 | def print(self, out:CWriter) -> None: |
| 102 | out.emit(self.if_) |
| 103 | for tkn in self.condition: |
| 104 | out.emit(tkn) |
| 105 | self.body.print(out) |
| 106 | if self.else_ is not None: |
| 107 | out.emit(self.else_) |
| 108 | self.body.print(out) |
| 109 | if self.else_body is not None: |
| 110 | self.else_body.print(out) |
| 111 | |
| 112 | def accept(self, visitor: Visitor) -> None: |
| 113 | visitor(self) |