Zen
A cross-platform functional programming language

FunctionImplCall Class Reference

AST Node for calling a locally implemented function definition. More...

#include <Ast.hpp>

Inheritance diagram for FunctionImplCall:
InvokerType Node

List of all members.

Public Member Functions

 FunctionImplCall (const FunctionDef &functionDef, const ImplItem &item)
 Default constructor.
const ImplItemgetImpl () const
 Returns the implementation to be called.

Private Member Functions

virtual void visit (Visitor &visitor) const
 Abstract visitor function.

Private Attributes

const ImplItem_item
 The implementation.

Detailed Description

AST Node for calling a locally implemented function definition.

For example:

        local fn = MyFunSig {...}();

Constructor & Destructor Documentation

FunctionImplCall ( const FunctionDef functionDef,
const ImplItem item 
) [inline]

Default constructor.

Parameters:
functionDefAST node of function definition to be invoked.
itemAST node of function implementation

Member Function Documentation

const ImplItem& getImpl ( ) const [inline]

Returns the implementation to be called.

Returns:
The implementation
void visit ( Visitor visitor) const [private, virtual]

Abstract visitor function.

Parameters:
visitorThe visitor object.

Implements InvokerType.


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