Zen
A cross-platform functional programming language

ExprList Class Reference

AST node for expression lists. More...

#include <Ast.hpp>

Inheritance diagram for ExprList:
Node

List of all members.

Public Types

typedef z::list< const Expr * > List
 Default list of expressions.

Public Member Functions

const ListgetList () 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.

Detailed Description

AST node for expression lists.


Member Function Documentation

void addExpr ( const Expr expr) [inline]

Add an expression to the list.

Parameters:
exprThe expression to be added
const List& getList ( ) const [inline]

Returns a reference to the expression list.

Returns:
Expression list

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