fparser.two.Fortran2008.block_stmt_r808
Module containing Fortran2008 Block_Stmt rule R808
Module Contents
Classes
Fortran 2008 Rule 808. |
- class fparser.two.Fortran2008.block_stmt_r808.Block_Stmt(string, parent_cls=None)[source]
Bases:
fparser.two.utils.StmtBase
,fparser.two.utils.WORDClsBase
,fparser.two.utils.ScopingRegionMixin
Fortran 2008 Rule 808.
block-stmt is [ block-construct-name : ] BLOCK
- static match(string)[source]
Attempts to match the supplied text with this rule.
- Parameters:
string (str) – the text to match.
- Returns:
a tuple of the matched node and instance of Counter or None if there is no match.
- Return type:
Tuple[“BLOCK”,
fparser.two.Fortran2008.Block_Stmt.Counter
] | NoneType