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, name='', filename='', doc=None, lineno=0,
programs=None, modules=None, procedures=None):
Fortran.__init__(self, name, filename, doc, lineno)
if programs is None:
programs = []
self.programs = programs
if modules is None:
modules = []
self.modules = modules
if procedures is None:
procedures = []
self.procedures = procedures
def __init__(self, name='', filename='', doc=None, lineno=0,
attributes=None, type='', value=''):
Fortran.__init__(self, name, filename, doc, lineno)
if attributes is None: attributes = []
self.attributes = attributes
self.type = type
self.value = value
def __init__(self, name='', filename='', doc=None, lineno=0,
procedures=None, uses=None):
Fortran.__init__(self, name, filename, doc, lineno)
if procedures is None:
procedures = []
self.procedures = procedures
if uses is None:
uses = []
self.uses = uses
def __init__(self, name='', filename='', doc=None,
lineno=0, elements=None, procedures=None, interfaces=None,
mod_name=None):
Fortran.__init__(self, name, filename, doc, lineno)
if elements is None: elements = []
self.elements = elements
if procedures is None: procedures = []
self.procedures = procedures
if interfaces is None: interfaces = []
self.interfaces = interfaces
self.mod_name = mod_name
self.super_types_dimensions = set()
def __init__(self, name='', filename='', doc=None, lineno=0,
types=None, elements=None, procedures=None,
interfaces=None, uses=None, default_access='public',
public_symbols=None, private_symbols=None):
Fortran.__init__(self, name, filename, doc, lineno)
if types is None:
types = []
self.types = types
if elements is None:
elements = []
self.elements = elements
if procedures is None:
procedures = []
self.procedures = procedures
if interfaces is None:
interfaces = []
self.interfaces = interfaces
if uses is None:
uses = []
self.uses = uses
self.default_access = default_access
def __init__(self, name='', filename='', doc=None,
lineno=0, procedures=None, mod_name=None, type_name=None):
Fortran.__init__(self, name, filename, doc, lineno)
if procedures is None:
procedures = []
self.procedures = procedures
self.mod_name = mod_name
self.type_name = type_name
def __init__(self, name='', filename='', doc=None, lineno=0,
arguments=None, uses=None, attributes=None,
mod_name=None, type_name=None):
Fortran.__init__(self, name, filename, doc, lineno)
if arguments is None: arguments = []
self.arguments = arguments
if uses is None: uses = []
self.uses = uses
if attributes is None: attributes = []
self.attributes = attributes
self.mod_name = mod_name
self.type_name = type_name