How to use the f90wrap.fortran.Fortran.__init__ function in f90wrap

To help you get started, we’ve selected a few f90wrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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()
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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
github jameskermode / f90wrap / f90wrap / fortran.py View on Github external
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