fparser.two.Fortran2008.critical_stmt_r811 ========================================== .. py:module:: fparser.two.Fortran2008.critical_stmt_r811 .. autoapi-nested-parse:: Module containing Fortran2008 Critical_Stmt rule R811 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.critical_stmt_r811.Critical_Stmt Module Contents --------------- .. py:class:: Critical_Stmt(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.StmtBase`, :py:obj:`fparser.two.utils.WORDClsBase` Fortran 2008 Rule R811. critical-stmt is [ critical-construct-name : ] CRITICAL .. py:attribute:: subclass_names :value: [] .. py:attribute:: use_names :value: ['Critical_Construct_Name'] .. py:method:: match(string) :staticmethod: Attempts to match the supplied string as a CRITICAL statement. :param str string: the string to attempt to match. :returns: 2-tuple containing the matched word "CRITICAL" and None or None if no match. :rtype: Tuple[str, NoneType] or NoneType .. py:method:: get_start_name() :returns: the name associated with the start of this CRITICAL region (if any) :rtype: str | NoneType .. py:method:: tostr() :returns: the string representation of this node. :rtype: str