Zen
A cross-platform functional programming language
Public Member Functions | Private Member Functions | Private Attributes

InlineInvoker Class Reference

Class that writes out a function invocation. More...

Inheritance diagram for InlineInvoker:
InvokerType::Visitor

List of all members.

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.

Detailed Description

Class that writes out a function invocation.


Constructor & Destructor Documentation

InlineInvoker ( z::stream os,
const Ast::ExprList exprList 
) [inline]

Default constructor.

Parameters:
osThe stream to write to
exprListThe expression list to generate

Member Function Documentation

virtual void visit ( const Ast::FunctionCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctionImplCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctionDefCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.

virtual void visit ( const Ast::FunctorCall call) [inline, private, virtual]

Abstract visitor function.

Parameters:
callThe invoker reference to handle

Implements InvokerType::Visitor.


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