fparser.two.Fortran2008.submodule_stmt_r1117
Module containing Fortran2008 Submodule_Stmt rule R1117
Module Contents
Classes
Fortran 2008 rule R1117: |
- class fparser.two.Fortran2008.submodule_stmt_r1117.Submodule_Stmt(string, parent_cls=None)[source]
Bases:
fparser.two.utils.Base
,fparser.two.utils.ScopingRegionMixin
Fortran 2008 rule R1117:
submodule-stmt is SUBMODULE ( parent-identifier ) submodule-name
- static match(fstring)[source]
Check whether the input matches the rule
- Parameters:
fstring (st) – contains the Fortran that we are trying to match.
- Returns:
instances of the Classes that have matched if there is a match or None if there is no match.
- Return type:
Optional[Tuple[
fparser.two.Fortran2008.Parent_Identifier
,fparser.two.Fortran2008.Submodule_Name
]]