fparser.two.Fortran2008.end_submodule_stmt_r1119 ================================================ .. py:module:: fparser.two.Fortran2008.end_submodule_stmt_r1119 .. autoapi-nested-parse:: Module containing Fortran2008 End_Submodule_Stmt rule R1119 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.end_submodule_stmt_r1119.End_Submodule_Stmt Module Contents --------------- .. py:class:: End_Submodule_Stmt(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.EndStmtBase` Fortran 2008 rule R1119 end-submodule-stmt is END [ SUBMODULE [ submodule-name ] ] .. py:attribute:: subclass_names :value: [] .. py:attribute:: use_names :value: ['Submodule_Name'] .. py:method:: match(fstring) :staticmethod: Check whether the input matches the rule param string fstring : contains the Fortran that we are trying to match :return: instances of the Classes that have matched if there is a match or `None` if there is no match .. py:method:: get_name() Fortran 2008 constraint C1114 return the submodule name as specified by the end submodule statement or `None` if one is not specified. This is used by the base class to check whether this name matches the submodule name. :return: the name of the submodule stored in a Name class :return type: :py:class:`fparser.two.Fortran2003.Name` or `None`