fparser.two.Fortran2008.procedure_stmt_r1206

Module containing Fortran2008 Procedure_Stmt rule R1206

Module Contents

Classes

Procedure_Stmt

Fortran 2008 Rule 1206.

class fparser.two.Fortran2008.procedure_stmt_r1206.Procedure_Stmt(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Procedure_Stmt

Fortran 2008 Rule 1206.

procedure-stmt is [ MODULE ] PROCEDURE [ :: ] procedure-name-list

static match(string)[source]
Parameters:

string (str) – Fortran code to check for a match

Returns:

3-tuple containing a boolean indicating whether the optional MODULE keyword is included, a boolean indicating whether the optional ‘::’ is included and a Procedure_Name_List instance, or None if there is no match.

Return type:

Optional[Tuple[ bool, bool, fparser.two.Fortran2003.Procedure_Name_List]]]

tostr()[source]
Returns:

the string representation of this node.

Return type:

str