A cross-platform functional programming language

FunctionDefCall Class Reference

AST Node for calling a locally defined function. More...

#include <Ast.hpp>

Inheritance diagram for FunctionDefCall:
InvokerType Node

List of all members.

Public Member Functions

 FunctionDefCall (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 defined function.

For example:

        local fn = function ()fdef() {...}();

Constructor & Destructor Documentation

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

Default constructor.

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.

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

Abstract visitor function.

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