Marks the end of a statement. Args: stmt: Hashable, a key by which the statement can be identified in the CFG's stmt_prev and stmt_next attributes; must match a key previously passed to begin_statement.
(self, stmt)
| 355 | self.active_stmts.add(stmt) |
| 356 | |
| 357 | def end_statement(self, stmt): |
| 358 | """Marks the end of a statement. |
| 359 | |
| 360 | Args: |
| 361 | stmt: Hashable, a key by which the statement can be identified in |
| 362 | the CFG's stmt_prev and stmt_next attributes; must match a key |
| 363 | previously passed to begin_statement. |
| 364 | """ |
| 365 | self.active_stmts.remove(stmt) |
| 366 | |
| 367 | def add_ordinary_node(self, ast_node): |
| 368 | """Grows the graph by adding an ordinary CFG node. |
no test coverage detected