Zen
A cross-platform functional programming language

ClosureList Class Reference

AST Node representing a list of closures. More...

#include <Ast.hpp>

Inheritance diagram for ClosureList:
Node

List of all members.

Public Member Functions

const Closure::ListgetClosureList () 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.

Detailed Description

AST Node representing a list of closures.


Member Function Documentation

void addClosure ( const Closure closure) [inline]

Add a closure to the list.

Parameters:
closureThe closure to add.
const Closure::List& getClosureList ( ) const [inline]

Returns a reference to the list of closures.

Returns:
Reference to closure list.
void visitClosureList ( Closure::Visitor visitor) const

Visit each closure in list.

Parameters:
visitorThe object to visit.

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