fparser.two.Fortran2008.component_attr_spec_r437 ================================================ .. py:module:: fparser.two.Fortran2008.component_attr_spec_r437 .. autoapi-nested-parse:: Module containing Fortran2008 Component_Attr_Spec rule R437 Classes ------- .. autoapisummary:: fparser.two.Fortran2008.component_attr_spec_r437.Component_Attr_Spec Module Contents --------------- .. py:class:: Component_Attr_Spec(string, parent_cls=None) Bases: :py:obj:`fparser.two.Fortran2003.Component_Attr_Spec` Fortran 2008 rule R437. .. code-block:: fortran component-attr-spec is access-spec or ALLOCATABLE or CODIMENSION lbracket coarray-spec rbracket or CONTIGUOUS or DIMENSION ( component-array-spec ) or POINTER In the spec above, lbracket and rbracket are left and right square brackets `[]` but not printed explicitly to avoid misinterpretation as optional parts. This rule adds CODIMENSION and CONTIGUOUS attributes to Fortran2003's R441. .. py:attribute:: subclass_names :value: ['Access_Spec', 'Dimension_Component_Attr_Spec'] .. py:attribute:: attributes :value: ['POINTER', 'ALLOCATABLE']