Example #1
0
 def __init__(self):
     self.result = dict()
     self.result["bool"] = NamedType("bool")
     self.combiners = defaultdict(UserFunction)
     self.current_global_declarations = dict()
     self.max_recompute = 1  # max number of use to be lazy
     ModuleAnalysis.__init__(self, StrictAliases, LazynessAnalysis)
     self.curr_locals_declaration = None
Example #2
0
 def generic_visit(self, node):
     ModuleAnalysis.generic_visit(self, node)
     if node not in self.result:
         self.result[node] = self.result[self.expr_parent]
Example #3
0
 def __init__(self):
     self.result = nx.DiGraph()
     self.current_function = None
     ModuleAnalysis.__init__(self, GlobalDeclarations)