(self)
| 234 | return self._scope().scope_type == scope_type |
| 235 | |
| 236 | def start_branch_statement(self) -> None: |
| 237 | assert len(self._scope().branch_stmts) > 0 |
| 238 | self._scope().branch_stmts.append( |
| 239 | BranchStatement(self._scope().branch_stmts[-1].branches[-1]) |
| 240 | ) |
| 241 | |
| 242 | def next_branch(self) -> None: |
| 243 | assert len(self._scope().branch_stmts) > 1 |
no test coverage detected