Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, span, name, type):
ASTNode.__init__(self, span)
self.name = name
self.type = type
def __init__(self, span, name, type):
ASTNode.__init__(self, span)
self.name = name
self.type = type
def __init__(self, span, name, declared_type):
ASTNode.__init__(self, span)
self.name = name
self.declared_type = declared_type
def __init__(self, span, name):
ASTNode.__init__(self, span)
self.name = name
def __init__(self, span, regions = None, region = None):
ASTNode.__init__(self, span)
self.regions = regions.regions if regions is not None else []
self.regions += [region] if region is not None else []
def __init__(self, span, name):
ASTNode.__init__(self, span)
self.name = name
def __init__(self, span, expr, type, regions):
ASTNode.__init__(self, span)
self.expr = expr
self.type = type
self.regions = regions
def __init__(self, span, privilege, regions, op = None):
ASTNode.__init__(self, span)
self.privilege = privilege
self.regions = regions
self.op = op
def __init__(self, span, value):
ASTNode.__init__(self, span)
self.value = value
def __init__(self, span, name):
ASTNode.__init__(self, span)
self.name = name