Zen
A cross-platform functional programming language
|
AST Node representing a routine block. More...
#include <Ast.hpp>
Public Member Functions | |
FunctionBlock (const VariableRefList &refList, const StatementBlock &block) | |
Default constructor. | |
const StatementBlock & | getStatementBlock () const |
Returns a reference to the statement block for this function. | |
Private Attributes | |
const StatementBlock & | _block |
The statement block for this function. |
AST Node representing a routine block.
FunctionBlock | ( | const VariableRefList & | refList, |
const StatementBlock & | block | ||
) | [inline, explicit] |
Default constructor.
refList | The list of external variables referenced by this block |
block | The statement block for this function |
const StatementBlock& getStatementBlock | ( | ) | const [inline] |
Returns a reference to the statement block for this function.