fparser.two.Fortran2008.if_stmt_r837
Module containing Fortran2008 If_Stmt rule R837
Module Contents
Classes
Fortran 2008 rule R837 |
- class fparser.two.Fortran2008.if_stmt_r837.If_Stmt(string, parent_cls=None)[source]
Bases:
fparser.two.Fortran2003.If_Stmt
Fortran 2008 rule R837 if-stmt is IF ( scalar-logical-expr ) action-stmt
The implementation of this rule only replaces the
use_names
andaction_stmt_class
attributes to use the Fortran 2008 variantAction_Stmt_C828
instead offparser.two.Fortran2003.Action_Stmt_C802
.Associated constraints are:
- C828 (R837) The action-stmt in the if-stmt shall not be an end-function-stmt,
end-mp-subprogram-stmt, end-program-stmt, end-subroutine-stmt, or if-stmt.