(self)
| 244 | self._scope().branch_stmts[-1].next_branch() |
| 245 | |
| 246 | def end_branch_statement(self) -> None: |
| 247 | assert len(self._scope().branch_stmts) > 1 |
| 248 | result = self._scope().branch_stmts.pop().done() |
| 249 | self._scope().branch_stmts[-1].record_nested_branch(result) |
| 250 | |
| 251 | def skip_branch(self) -> None: |
| 252 | # Only skip branch if we're outside of "root" branch statement. |
no test coverage detected