class documentation
Basic block in a control flow graph. Contains a list of statements executed in a program without any control jumps. A block of statements is exited through one of its exits. Exits are a list of Links that represent control flow jumps.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | at |
Get the line number of the first statement of the block in the program. |
Method | get |
Get a string containing the calls to other functions inside the block. |
Method | get |
Get a string containing the Python source code corresponding to the statements in the block. |
Method | is |
Check if the block is empty. |
Class Variable | __slots__ |
Undocumented |
Instance Variable | exits |
Undocumented |
Instance Variable | func |
Undocumented |
Instance Variable | id |
Undocumented |
Instance Variable | predecessors |
Undocumented |
Instance Variable | statements |
Undocumented |
Get a string containing the calls to other functions inside the block. Returns: A string containing the names of the functions called inside the block.
Get a string containing the Python source code corresponding to the statements in the block. Returns: A string containing the source code of the statements.