fparser.two.Fortran2008.coarray_bracket_spec_r502d0 =================================================== .. py:module:: fparser.two.Fortran2008.coarray_bracket_spec_r502d0 .. autoapi-nested-parse:: Module containing Fortran2008 Coarray_Bracket_Spec rule R502.d.0 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.coarray_bracket_spec_r502d0.Coarray_Bracket_Spec Module Contents --------------- .. py:class:: Coarray_Bracket_Spec(string, parent_cls=None) Bases: :py:obj:`fparser.two.utils.BracketBase` coarray-bracket-spec is 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_Spec'] .. py:method:: match(string) :staticmethod: Implements the matching for the coarray specification including the square brackets. :param str string: the string to match as the specification. :return: `None` if there is no match, otherwise a 3-tuple containing the left bracket, the matched coarray-spec, and the right bracket. :rtype: `NoneType` or (`str`, :py:class:`fparser.two.Fortran2008.Coarray_Spec`, `str`)