Exemple #1
0
 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 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)
Exemple #7
0
 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)
Exemple #8
0
 def create_from(self, other):
     TypeFunction.create_from(self, other)
     self.mclsdict = copy(other.mclsdict)
Exemple #9
0
 def __deepcopy__(self, memo):
     res = TypeFunction.__deepcopy__(self, memo)
     res.mclsdict = copy(self.mclsdict)
     return res
Exemple #10
0
 def __init__(self, mclsdict=None):
     TypeFunction.__init__(self)
     self.mclsdict = copy(mclsdict)