Zen
A cross-platform functional programming language
|
AST node for expression lists. More...
#include <Ast.hpp>
Public Types | |
typedef z::list< const Expr * > | List |
Default list of expressions. | |
Public Member Functions | |
const List & | getList () const |
Returns a reference to the expression list. | |
void | addExpr (const Expr &expr) |
Add an expression to the list. | |
Private Attributes | |
List | _list |
Expression list managed by this class. |
AST node for expression lists.
void addExpr | ( | const Expr & | expr | ) | [inline] |
Add an expression to the list.
expr | The expression to be added |
const List& getList | ( | ) | const [inline] |
Returns a reference to the expression list.