Zen
A cross-platform functional programming language
|
AST Node for calling a locally defined function. More...
#include <Ast.hpp>
Public Member Functions | |
FunctionDefCall (const FunctionDef &functionDef, const ImplItem &item) | |
Default constructor. | |
const ImplItem & | getImpl () 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. |
FunctionDefCall | ( | const FunctionDef & | functionDef, |
const ImplItem & | item | ||
) | [inline] |
Default constructor.
functionDef | AST node of function definition to be invoked. |
item | AST node of function implementation |
const ImplItem& getImpl | ( | ) | const [inline] |
Returns the implementation to be called.
void visit | ( | Visitor & | visitor | ) | const [private, virtual] |