Enters a regular section. Regular sections admit exit jumps, which end the section. Args: section_id: Hashable, the same node that will be used in calls to the ast_node arg passed to add_exit_node
(self, section_id)
| 453 | self.leaves = set() |
| 454 | |
| 455 | def enter_section(self, section_id): |
| 456 | """Enters a regular section. |
| 457 | |
| 458 | Regular sections admit exit jumps, which end the section. |
| 459 | |
| 460 | Args: |
| 461 | section_id: Hashable, the same node that will be used in calls to the |
| 462 | ast_node arg passed to add_exit_node |
| 463 | """ |
| 464 | assert section_id not in self.exits |
| 465 | self.exits[section_id] = set() |
| 466 | |
| 467 | def exit_section(self, section_id): |
| 468 | """Exits a regular section.""" |
no outgoing calls
no test coverage detected