OpenADFortTk (SourceProcessing)
PyFort.fortStmts.FunctionStmt Class Reference
Inheritance diagram for PyFort.fortStmts.FunctionStmt:
Collaboration diagram for PyFort.fortStmts.FunctionStmt:

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Static Public Member Functions

def parse

Public Attributes

 ty
 name
 args
 result
 qualifiers

Static Public Attributes

string kw = 'function'
 kw_str = kw
 utype_name = kw

Static Private Attributes

list _sons = ['ty','name','args','result','qualifiers']

Detailed Description

Definition at line 1689 of file fortStmts.py.


Constructor & Destructor Documentation

def PyFort.fortStmts.FunctionStmt.__init__ (   self,
  ty,
  name,
  args,
  result,
  qualifiers = None,
  lineNumber = 0,
  label = False,
  lead = '',
  internal = [],
  rest = [] 
)
typ = None

if ty:
    (type_name,mod) = ty[0]
    type_class = _name2class(type_name)
    typ        = (type_class,mod)

Definition at line 1727 of file fortStmts.py.


Member Function Documentation

Reimplemented from PyFort.fortStmts.NonComment.

Definition at line 1755 of file fortStmts.py.

References PyFort.fortStmts.StmtFnStmt.args, PyFort.fortStmts.SubroutineStmt.args, PyFort.fortStmts.FunctionStmt.args, PyFort.fortStmts.TypeDecl.kw, PyFort.fortStmts.DrvdTypeDecl.kw, PyFort.fortStmts.ClassStmt.kw, PyFort.fortStmts.UPClassStmt.kw, PyFort.fortStmts.DrvdTypeDefn.kw, PyFort.fortStmts.InterfaceStmt.kw, PyFort.fortStmts.ProcedureStmt.kw, PyFort.fortStmts.PointerStmt.kw, PyFort.fortStmts.TargetStmt.kw, PyFort.fortStmts.SequenceStmt.kw, PyFort.fortStmts.BlockdataStmt.kw, PyFort.fortStmts.CommonStmt.kw, PyFort.fortStmts.DataStmt.kw, PyFort.fortStmts.EndInterfaceStmt.kw, PyFort.fortStmts.EndDrvdTypeDefn.kw, PyFort.fortStmts.PrivateStmt.kw, PyFort.fortStmts.PublicStmt.kw, PyFort.fortStmts.ContainsStmt.kw, PyFort.fortStmts.ImplicitNone.kw, PyFort.fortStmts.ImplicitStmt.kw, PyFort.fortStmts.EquivalenceStmt.kw, PyFort.fortStmts.ParameterStmt.kw, PyFort.fortStmts.SaveStmt.kw, PyFort.fortStmts.ExternalStmt.kw, PyFort.fortStmts.AllocatableStmt.kw, PyFort.fortStmts.CharacterStmt.kw, PyFort.fortStmts.IntrinsicStmt.kw, PyFort.fortStmts.IncludeLine.kw, PyFort.fortStmts.RealStmt.kw, PyFort.fortStmts.ComplexStmt.kw, PyFort.fortStmts.IntegerStmt.kw, PyFort.fortStmts.LogicalStmt.kw, PyFort.fortStmts.DoubleStmt.kw, PyFort.fortStmts.DoubleCplexStmt.kw, PyFort.fortStmts.DimensionStmt.kw, PyFort.fortStmts.IntentStmt.kw, PyFort.fortStmts.OptionalStmt.kw, PyFort.fortStmts.NamelistStmt.kw, PyFort.fortStmts.SubroutineStmt.kw, PyFort.fortStmts.ProgramStmt.kw, PyFort.fortStmts.FunctionStmt.kw, PyFort.fortStmts.DrvdTypeDefn.name, PyFort.fortStmts.InterfaceStmt.name, PyFort.fortStmts.BlockdataStmt.name, PyFort.fortStmts.CommonStmt.name, PyFort.fortStmts.EndInterfaceStmt.name, PyFort.fortStmts.StmtFnStmt.name, PyFort.fortStmts.SubroutineStmt.name, PyFort.fortStmts.ProgramStmt.name, PyFort.fortStmts.FunctionStmt.name, PyFort.fortStmts.SubroutineStmt.qualifiers, PyFort.fortStmts.FunctionStmt.qualifiers, PyFort.fortStmts.FunctionStmt.result, PyFort.fortStmts.FunctionStmt.ty, and PyFort::fortStmts.typestr2().

Here is the call graph for this function:


Member Data Documentation

Definition at line 1692 of file fortStmts.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables