Zen
A cross-platform functional programming language
|
Class that writes out a function invocation. More...
Public Member Functions | |
InlineInvoker (z::stream &os, const Ast::ExprList &exprList) | |
Default constructor. | |
Private Member Functions | |
virtual void | visit (const Ast::FunctionCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctorCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctionDefCall &call) |
Abstract visitor function. | |
virtual void | visit (const Ast::FunctionImplCall &call) |
Abstract visitor function. | |
Private Attributes | |
z::stream & | _os |
Output stream. | |
const Ast::ExprList & | _exprList |
Invocation parameters. |
Class that writes out a function invocation.
InlineInvoker | ( | z::stream & | os, |
const Ast::ExprList & | exprList | ||
) | [inline] |
Default constructor.
os | The stream to write to |
exprList | The expression list to generate |
virtual void visit | ( | const Ast::FunctionCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctionImplCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctionDefCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.
virtual void visit | ( | const Ast::FunctorCall & | call | ) | [inline, private, virtual] |
Abstract visitor function.
call | The invoker reference to handle |
Implements InvokerType::Visitor.