Reference Guide
2.5.0
|
Public Member Functions | |
def | __init__ (self, parent, content) |
Public Member Functions inherited from psyclone.f2pygen.BaseGen | |
def | parent (self) |
def | children (self) |
def | root (self) |
def | add (self, new_object, position=None) |
def | previous_loop (self) |
def | last_declaration (self) |
def | start_parent_loop (self, debug=False) |
Generates a Fortran deallocate statement
Definition at line 863 of file f2pygen.py.
def psyclone.f2pygen.DeallocateGen.__init__ | ( | self, | |
parent, | |||
content | |||
) |
:param parent: node to which to add this DEALLOCATE as a child :type parent: :py:class:`psyclone.f2pygen.BaseGen` :param content: string or list of variables to deallocate :type content: list of strings or a single string :raises RuntimeError: if `content` is not of correct type
Reimplemented from psyclone.f2pygen.BaseGen.
Definition at line 865 of file f2pygen.py.
References psyclone.f2pygen.AllocateGen._decl, psyclone.f2pygen.DeallocateGen._decl, psyclone.f2pygen.BaseDeclGen._decl, psyclone.f2pygen.DeclGen._decl, psyclone.f2pygen.CharDeclGen._decl, and psyclone.f2pygen.TypeDeclGen._decl.