Zen
A cross-platform functional programming language

RunClosure Class Reference

AST Nodes representing closures that enque continuations for parallel processing. More...

#include <Ast.hpp>

Inheritance diagram for RunClosure:
InitClosure Closure Node

List of all members.

Public Member Functions

 RunClosure (const VariableRefList &xRefList, const Ast::QualifiedType &qtype)
 Default constructor.

Private Member Functions

virtual void visit (Visitor &visitor) const
 Abstract visitor function.
virtual const Ast::QualifiedTypegetOutType () const
 Returns the out-param type for init closures.

Private Attributes

const Ast::QualifiedType_qtype
 The closure out-param type.

Detailed Description

AST Nodes representing closures that enque continuations for parallel processing.


Constructor & Destructor Documentation

RunClosure ( const VariableRefList xRefList,
const Ast::QualifiedType qtype 
) [inline]

Default constructor.

Parameters:
xRefListThe list of external variables referenced by this closure.
qtypeThe type of this closure, for now "void".

Member Function Documentation

virtual const Ast::QualifiedType& getOutType ( ) const [inline, private, virtual]

Returns the out-param type for init closures.

Returns:
The closure out-param type

Implements InitClosure.

void visit ( Visitor visitor) const [private, virtual]

Abstract visitor function.

Parameters:
visitorThe visitor object.

Implements Closure.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines