(self)
| 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. |
| 253 | if len(self._scope().branch_stmts) > 1 and not self.disable_branch_skip: |
| 254 | self._scope().branch_stmts[-1].skip_branch() |
| 255 | |
| 256 | def record_definition(self, name: str) -> None: |
| 257 | assert len(self.scopes) > 0 |
nothing calls this directly
no test coverage detected