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, scope, qname, local=False, tag=0 ):
Construct.__init__( self, scope, qname, tag )
self.__local = local
self.__constants = []
def __init__( self, scope, qname, value=None ):
Construct.__init__( self, scope, qname )
self.__value = value
def __init__( self ):
Construct.__init__( self, None, [self.__class__.__name__] )
self.__builtin_types = []
self.__includes = []
self.__modules = []
def __init__( self, scope, file_path, local=True ):
Construct.__init__( self, scope, [file_path] )
self.__local = local
def __init__( self, scope, type, qname, tag=0, default_value=None ):
assert isinstance( type, Type )
Construct.__init__( self, scope, qname, tag )
self.__type = type
self.__default_value = default_value
def __init__( self, scope, qname, oneway=False, return_type=None, const=False, tag=0 ):
if oneway: assert return_type is None
else: assert return_type is None or isinstance( return_type, Type )
assert isinstance( const, bool )
Construct.__init__( self, scope, qname, tag )
self.__oneway = oneway
self.__return_type = return_type
self.__const = const
self.__parameters = []