Zen
A cross-platform functional programming language

RoutineBlock Class Reference

AST Node representing a routine block. More...

#include <Ast.hpp>

Inheritance diagram for RoutineBlock:
BlockBase Node

List of all members.

Public Member Functions

 RoutineBlock (const VariableRefList &refList, const StatementBlock &block)
 Default constructor.
const StatementBlockgetStatementBlock () const
 Returns a reference to the statement block for this routine.

Private Attributes

const StatementBlock_block
 The statement block for this function.

Detailed Description

AST Node representing a routine block.


Constructor & Destructor Documentation

RoutineBlock ( const VariableRefList refList,
const StatementBlock block 
) [inline, explicit]

Default constructor.

Parameters:
refListThe list of external variables referenced by this block
blockThe statement block for this function

Member Function Documentation

const StatementBlock& getStatementBlock ( ) const [inline]

Returns a reference to the statement block for this routine.

Returns:
The statement block.

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