fparser.two.Fortran2008.label_do_stmt_r816

This module provides the Fortran2008-specific version of the label-do-stmt rule r816.

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

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

Module Contents

Classes

Label_Do_Stmt

Subclass the 2003 version so that this class will import the

class fparser.two.Fortran2008.label_do_stmt_r816.Label_Do_Stmt(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Label_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