Reference Guide  2.5.0
psyclone.f2pygen.ACCDirective Class Reference
Inheritance diagram for psyclone.f2pygen.ACCDirective:
Collaboration diagram for psyclone.f2pygen.ACCDirective:

Public Member Functions

def __init__ (self, root, line, position, dir_type)
 
- Public Member Functions inherited from psyclone.f2pygen.Directive
def type (self)
 
def position (self)
 

Detailed Description

Subclass Directive for OpenACC directives so we can reason about them
when walking the tree.

:param root: the parent node in the AST to which we are adding the \
             directive.
:type root: subclass of :py:class:`fparser.common.base_classes.Statement`
:param line: the fparser object which we will manipulate to create \
             the desired directive.
:type line: :py:class:`fparser.common.readfortran.Comment`
:param str position: e.g. 'begin' or 'end' (language specific).
:param str dir_type: the type of directive that this is (e.g. \
                     'loop').

Definition at line 147 of file f2pygen.py.


The documentation for this class was generated from the following file: