fparser.two.Fortran2008.alloc_opt_r627

Module containing Fortran2008 Alloc_Opt rule R627

Module Contents

Classes

Alloc_Opt

Fortran2008 rule R627.

class fparser.two.Fortran2008.alloc_opt_r627.Alloc_Opt(string, parent_cls=None)[source]

Bases: fparser.two.Fortran2003.Alloc_Opt

Fortran2008 rule R627.

alloc-opt is ERRMSG = errmsg-variable
          or MOLD = source-expr
          or SOURCE = source-expr
          or STAT = stat-variable

Extends the Fortran2003 version of this class by updating the keyword pairs (used in match) with support for MOLD.

_keyword_pairs = [('STAT',), ('ERRMSG',), ('SOURCE',), ('MOLD',)][source]