List of all members.
Detailed Description
Definition at line 1651 of file blocks.py.
Constructor & Destructor Documentation
def blockit::Fortran::blocks::AutoInterface::__init__ |
( |
|
self, |
|
|
|
parameters |
|
) |
| |
An autointerface block:
autointerface
end autointerface
This block automatically generates interfaces for
functions/subroutines with 'as' clauses.
Input
-----
parameters : the groups from the factory static method
Definition at line 1672 of file blocks.py.
Member Function Documentation
def blockit::Fortran::blocks::AutoInterface::factory |
( |
|
s, |
|
|
|
lineNo, |
|
|
|
tokens |
|
) |
| |
Factory method called by the BlockParser to produce an
instance of the class.
Definition at line 1665 of file blocks.py.
def blockit::Fortran::blocks::AutoInterface::show |
( |
|
self, |
|
|
|
mangle = False |
|
) |
| |
Overloaded show() method. Finds all functions/subroutines that
have 'as' naming within its parent block and generates a generic
interface for it using the as name. For example:
function foo(x,y,z) result(x) as bar
function foo2(x) result(y) as bar
would generate
interface bar
module procedure foo
module procedure foo2
end interface
This is also very useful for templated functions so a consistent
generic interface can be generated.
Reimplemented from blockit::Fortran::blocks::FortranBlock.
Definition at line 1690 of file blocks.py.
Member Data Documentation
The documentation for this class was generated from the following file: