Zen
A cross-platform functional programming language
|
AST Nodes representing closures that enque continuations for parallel processing. More...
#include <Ast.hpp>
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::QualifiedType & | getOutType () const |
Returns the out-param type for init closures. | |
Private Attributes | |
const Ast::QualifiedType & | _qtype |
The closure out-param type. |
AST Nodes representing closures that enque continuations for parallel processing.
RunClosure | ( | const VariableRefList & | xRefList, |
const Ast::QualifiedType & | qtype | ||
) | [inline] |
Default constructor.
xRefList | The list of external variables referenced by this closure. |
qtype | The type of this closure, for now "void". |
virtual const Ast::QualifiedType& getOutType | ( | ) | const [inline, private, virtual] |
Returns the out-param type for init closures.
Implements InitClosure.
void visit | ( | Visitor & | visitor | ) | const [private, virtual] |