fparser.two.Fortran2008.if_stmt_r837 ==================================== .. py:module:: fparser.two.Fortran2008.if_stmt_r837 .. autoapi-nested-parse:: Module containing Fortran2008 If_Stmt rule R837 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.if_stmt_r837.If_Stmt Module Contents --------------- .. py:class:: If_Stmt(string, parent_cls=None) Bases: :py:obj:`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 :py:attr:`use_names` and :py:attr:`action_stmt_class` attributes to use the Fortran 2008 variant :py:class:`Action_Stmt_C828` instead of :py:class:`fparser.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. .. py:attribute:: use_names :value: ['Scalar_Logical_Expr', 'Action_Stmt_C828'] .. py:attribute:: action_stmt_cls