module documentation
Data flow analysis of Python programs.
Class |
|
Base class for a data flow analysis. |
Class |
|
Undocumented |
Class |
|
Computes for each variable its possible last reads and last writes. |
Class |
|
Liveness analysis by basic block. |
Function | get |
Gets the set of loop variables used for while loop rewriting. |
Gets the set of loop variables used for while loop rewriting.
This is the set of variables used for rewriting a while loop into its functional form.
Parameters | |
node | An ast.While AST node. |
graph | (Optional) The ControlFlowGraph of the function or program containing the while loop. If not present, the control flow graph for the while loop will be computed. |
Returns | |
The set of variable identifiers that are live at the start of the loop's test and at the start of the loop's body. |