fparser.two.Fortran2008.parent_identifier_r1118 =============================================== .. py:module:: fparser.two.Fortran2008.parent_identifier_r1118 .. autoapi-nested-parse:: Module containing Fortran2008 Parent_Identifier rule R1118 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.parent_identifier_r1118.Parent_Identifier Module Contents --------------- .. py:class:: Parent_Identifier(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.Base` Fortran 2008 rule R1118 parent-identifier is ancestor-module-name [ : parent-submodule-name ] C1113 The ancestor-module-name shall be the name of a nonintrinsic module; the parent-submodule name shall be the name of a descendant of that module. This constraint can not be tested by fparser in general as the module or submodule may be in a different file. We therefore do not check this constraint in fparser. .. py:attribute:: use_names :value: ['Ancestor_Module_Name', 'Parent_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:: tostr() return the fortran representation of this object