def add_type(self, other): TypeFunction.add_type(self, other) if self.mclsdict is not None: if other.mclsdict is not None: self.mclsdict.update(other.mclsdict) else: self.mclsdict = copy(other.mclsdict)
def call(self, analysis_type, from_inst_num, func_args=None): # print "CALLING METHOD for mclsdictid: %r" % id(self.mclsdict) return TypeFunction.call( "types", self, from_inst_num, func_args)
def create_from(self, other): TypeFunction.create_from(self, other) self.mclsdict = copy(other.mclsdict)
def __deepcopy__(self, memo): res = TypeFunction.__deepcopy__(self, memo) res.mclsdict = copy(self.mclsdict) return res
def __init__(self, mclsdict=None): TypeFunction.__init__(self) self.mclsdict = copy(mclsdict)
def call(self, analysis_type, from_inst_num, func_args=None): # print "CALLING METHOD for mclsdictid: %r" % id(self.mclsdict) return TypeFunction.call("types", self, from_inst_num, func_args)