fparser.two.Fortran2008.implicit_part_c1112

Module containing Fortran2008 Implicit_Part_Stmt constraint C1112

Module Contents

Classes

Implicit_Part_C1112

Fortran 2008 constraint C1112

class fparser.two.Fortran2008.implicit_part_c1112.Implicit_Part_C1112(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Implicit_Part

Fortran 2008 constraint C1112 C1112 A submodule specification-part shall not contain a format-stmt, entry-stmt, or stmt-function-stmt.

This class specialises ‘Implicit_Part’ so that the specialised ‘Implicit_Part_Stmt_C1112’ is called rather than the original ‘Implicit_Part_Stmt’

use_names = ['Implicit_Part_Stmt_C1112', 'Implicit_Stmt'][source]
static match(reader)[source]

Check whether the input matches the rule

param reader: the fortran file reader containing the line(s)

of code that we are trying to match

Returns:

tuple containing a single list which contains instance of the classes that have matched if there is a match or None if there is no match