fparser.two.Fortran2008.nonlabel_do_stmt_r817

This module provides the Fortran2008-specific version of the nonlabel-do-stmt rule r817.

nonlabel-do-stmt is [ do-construct-name : ] DO [ loop-control ]

The only difference to F2003 rule R829 is that we force this rule to use the F2008 version of loop-control

Module Contents

Classes

Nonlabel_Do_Stmt

Subclass the 2003 version so that this class will import the

class fparser.two.Fortran2008.nonlabel_do_stmt_r817.Nonlabel_Do_Stmt(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Nonlabel_Do_Stmt

Subclass the 2003 version so that this class will import the Fortran2008 Label_Do_Stmt class.

static loop_control_cls()[source]
Returns:

Fortran2008 Loop_Control class.

Return type:

fparser.two.Fortran2008.Loop_Control