fparser.two.Fortran2008.codimension_attr_spec_r502d =================================================== .. py:module:: fparser.two.Fortran2008.codimension_attr_spec_r502d .. autoapi-nested-parse:: Module containing Fortran2008 Codimension_Attr_Spec rule R502.d Classes ------- .. autoapisummary:: fparser.two.Fortran2008.codimension_attr_spec_r502d.Codimension_Attr_Spec Module Contents --------------- .. py:class:: Codimension_Attr_Spec(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.WORDClsBase` codimension-attr-spec is CODIMENSION lbracket coarray-spec rbracket In the spec above, lbracket and rbracket are left and right square brackets `[]` but not printed explicitly to avoid misinterpretation as optional parts. .. py:attribute:: subclass_names :value: [] .. py:attribute:: use_names :value: ['Coarray_Bracket_Spec'] .. py:method:: match(string) :staticmethod: Implements the matching for the CODIMENSION attribute. :param str string: the string to match as the attribute. :return: `None` if there is no match, otherwise a 2-tuple containing `CODIMENSION` as a string and the matched coarray-spec.. :rtype: `NoneType` or (`str`, :py:class:`fparser.two.Fortran2008.Coarray_Bracket_Spec`,)