![]() |
Zen
A cross-platform functional programming language
|
AST Node for calling a locally implemented function definition. More...
#include <Ast.hpp>
Public Member Functions | |
| FunctionImplCall (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. | |
AST Node for calling a locally implemented function definition.
For example:
local fn = MyFunSig {...}();
| FunctionImplCall | ( | 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] |