fparser.two.Fortran2008.specification_part_c1112 ================================================ .. py:module:: fparser.two.Fortran2008.specification_part_c1112 .. autoapi-nested-parse:: Module containing Fortran2008 Specification_Part constraint C1112 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.specification_part_c1112.Specification_Part_C1112 Module Contents --------------- .. py:class:: Specification_Part_C1112(string, parent_cls=None) Bases: :py:obj:`fparser.two.Fortran2003.Specification_Part` Fortran 2008 constraint C1112 C1112 A submodule specification-part shall not contain a format-stmt, entry-stmt, or stmt-function-stmt. These statements are found in the following rule hierarchy format-stmt Specification_Part/implicit_part/implicit_part_stmt/format_stmt Specification_Part/declaration_construct/format_stmt entry-stmt Specification_Part/implicit_part/implicit_part_stmt/entry_stmt Specification_Part/declaration_construct/entry_stmt stmt-function-stmt Specification_Part/declaration_construct/ stmt-function-stmt Therefore we need to specialise implicit_part, implicit_part_stmt and declaration_construct .. py:attribute:: use_names :value: ['Use_Stmt', 'Import_Stmt', 'Implicit_Part_C1112', 'Declaration_Construct_C1112'] .. py:method:: match(reader) :staticmethod: Check whether the input matches the rule param reader: the fortran file reader containing the line(s) of code that we are trying to match :type reader: :py:class:`fparser.common.readfortran.FortranFileReader` | :py:class:`fparser.common.readfortran.FortranStringReader` :returns: `tuple` containing a single `list` which contains instance of the classes that have matched if there is a match or `None` if there is no match :rtype: Optional[Tuple[List[:py:class:`fparser.two.utils.Base`]]]