fparser.two.Fortran2008.block_stmt_r808 ======================================= .. py:module:: fparser.two.Fortran2008.block_stmt_r808 .. autoapi-nested-parse:: Module containing Fortran2008 Block_Stmt rule R808 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.block_stmt_r808.Block_Stmt Module Contents --------------- .. py:class:: Block_Stmt(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.StmtBase`, :py:obj:`fparser.two.utils.WORDClsBase`, :py:obj:`fparser.two.utils.ScopingRegionMixin` Fortran 2008 Rule 808. block-stmt is [ block-construct-name : ] BLOCK .. py:attribute:: subclass_names :value: [] .. py:attribute:: use_names :value: ['Block_Construct_Name'] .. py:attribute:: counter :value: 0 .. py:method:: match(string) :staticmethod: Attempts to match the supplied text with this rule. :param str string: the text to match. :returns: a tuple of the matched node and instance of Counter or None if there is no match. :rtype: Tuple["BLOCK", :py:class:`fparser.two.Fortran2008.Block_Stmt.Counter`] | NoneType .. py:method:: get_scope_name() :returns: the name of this scoping region. :rtype: str .. py:method:: get_start_name() :returns: the name associated with this Block construct or None. :rtype: str | NoneType .. py:method:: tostr() :returns: the string representation of this node. :rtype: str