Zen
A cross-platform functional programming language
|
AST Node representing a list of closures. More...
#include <Ast.hpp>
Public Member Functions | |
const Closure::List & | getClosureList () const |
Returns a reference to the list of closures. | |
void | addClosure (const Closure &closure) |
Add a closure to the list. | |
void | visitClosureList (Closure::Visitor &visitor) const |
Visit each closure in list. | |
Private Attributes | |
Closure::List | _list |
The closure list managed by this class. |
AST Node representing a list of closures.
void addClosure | ( | const Closure & | closure | ) | [inline] |
Add a closure to the list.
closure | The closure to add. |
const Closure::List& getClosureList | ( | ) | const [inline] |
Returns a reference to the list of closures.
void visitClosureList | ( | Closure::Visitor & | visitor | ) | const |
Visit each closure in list.
visitor | The object to visit. |