module documentation

Control flow graph builder.

Class CFGBuilder Control flow graph builder.
Function invert Invert the operation in an ast node object (get its negation).
Function merge_exitcases Merge the exitcases of two Links.
def invert(node): (source)

Invert the operation in an ast node object (get its negation). Args: node: An ast node object. Returns: An ast node object containing the inverse (negation) of the input node.

def merge_exitcases(exit1, exit2): (source)

Merge the exitcases of two Links. Args: exit1: The exitcase of a Link object. exit2: Another exitcase to merge with exit1. Returns: The merged exitcases.