self.is_constructor = False
self.shadowed_by = None # C symbol string
self.shadows = None # C symbol string
+ self.moved_to = None # namespaced function name string
+
+ def clone(self):
+ clone = copy.copy(self)
+ # copy the parameters array so a change to self.parameters does not
+ # influence clone.parameters.
+ clone.parameters = self.parameters[:]
+ return clone
+
+
+class ErrorQuarkFunction(Function):
+
+ def __init__(self, name, retval, parameters, throws, symbol, error_domain):
+ Function.__init__(self, name, retval, parameters, throws, symbol)
+ self.error_domain = error_domain
+ class ErrorQuarkFunction(Function):
+
+ def __init__(self, name, retval, parameters, throws, symbol, error_domain):
+ Function.__init__(self, name, retval, parameters, throws, symbol)
+ self.error_domain = error_domain
+
+
class VFunction(Callable):
def __init__(self, name, retval, parameters, throws):