Zen
A cross-platform functional programming language

ListItem Class Reference

Concrete AST class for items in list containers. More...

#include <Ast.hpp>

Inheritance diagram for ListItem:
Node

List of all members.

Public Member Functions

 ListItem (const Expr &expr)
 Default constructor.
const Ast::ExprgetExpr () const
 Returns a reference to the list item expression.

Private Attributes

const Expr_expr
 List item expression.

Detailed Description

Concrete AST class for items in list containers.


Constructor & Destructor Documentation

ListItem ( const Expr expr) [inline]

Default constructor.

Parameters:
exprList item expression

Member Function Documentation

const Ast::Expr& getExpr ( ) const [inline]

Returns a reference to the list item expression.

Returns:
List item expression

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