fparser.two.Fortran2008.open_stmt_r904

Module containing Fortran2008 Open_Stmt rule R904

Module Contents

Classes

Open_Stmt

Fortran2008 Rule R904.

class fparser.two.Fortran2008.open_stmt_r904.Open_Stmt(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Open_Stmt

Fortran2008 Rule R904.

open-stmt is OPEN ( connect-spec-list )

subclass_names = [][source]
use_names = ['Connect_Spec_List'][source]
static match(string)[source]

Attempts to match the supplied string as an Open_Stmt.

Parameters:

string (str) – the string to attempt to match.

Returns:

a new Open_Stmt object if the match is successful, None otherwise.

Return type:

Optional[:py:class:`fparser.two.Fortran2008.Open_Stmt]