fparser.two.Fortran2008.block_label_do_construct_r814_1

This module provides the Fortran2008-specific version of a partial implementation of the block-do-construct rule r814. fparser splits this rule into a label and nonlabel version for do-stmt (which is specified by rule r815). This class implements the label version of the rule: r814_1

block-do-construct is do-stmt

do-block end-do

The only difference to F2003 rule R826_1 is that we force this rule to use the F2008 version of label-do-stmt

Module Contents

Classes

Block_Label_Do_Construct

Subclass the 2003 version so that this class will import the

class fparser.two.Fortran2008.block_label_do_construct_r814_1.Block_Label_Do_Construct(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Block_Label_Do_Construct

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

static label_do_stmt_cls()[source]
Returns:

Fortran2008 Label_Do_Stmt class.

Return type:

fparser.two.Fortran2008.Label_Do_Stmt