class documentation
A control flow graph for a Python program.
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | compact |
Prunes unused blocks and merges blocks when possible. |
Method | get |
Undocumented |
Method | get |
Gets the block corresponding to node having label label . |
Method | get |
Gets a block with node type node_type having label label . |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
A block with an Instruction matching node_type and containing source. |
Method | get |
Undocumented |
Method | get |
Gets the blocks with node type node_type having label label . |
Method | get |
Returns entry blocks for any functions named name . |
Method | get |
Yields blocks that contain instructions matching the query source. |
Method | get |
Blocks with an Instruction matching node_type and containing source. |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Undocumented |
Method | get |
Returns entry blocks for all functions. |
Method | get |
Yields all ControlFlowNodes without any prev nodes. |
Method | get |
Yields all blocks without any next blocks. |
Method | get |
Yields all instructions in the control flow graph. |
Method | get |
Undocumented |
Method | move |
Undocumented |
Method | new |
Undocumented |
Method | prune |
Prunes all prunable blocks from the graph. |
Instance Variable | blocks |
All blocks contained in the control flow graph. |
Instance Variable | nodes |
All control flow nodes in the control flow graph. |
Instance Variable | start |
The entry point to the program. |