Zen
A cross-platform functional programming language
|
AST Nodes representing closures that enque continuations to be executed on program exit. More...
#include <Ast.hpp>
Public Member Functions | |
ExitClosure (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 to be executed on program exit.
ExitClosure | ( | 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] |
void visit | ( | Visitor & | visitor | ) | const [private, virtual] |