#include <CallReferenceNode.h>
Public Member Functions | |
DLLLOCAL | ResolvedCallReferenceNode (bool n_needs_eval=false, qore_type_t n_type=NT_FUNCREF) |
constructor is not exported outside the library | |
virtual DLLLOCAL AbstractQoreNode * | exec (const QoreListNode *args, ExceptionSink *xsink) const =0 |
pure virtual function for executing the function reference | |
virtual DLLLOCAL QoreProgram * | getProgram () const |
returns a pointer to the QoreProgram object associated with this reference (can be 0) |
virtual DLLLOCAL AbstractQoreNode* ResolvedCallReferenceNode::exec | ( | const QoreListNode * | args, | |
ExceptionSink * | xsink | |||
) | const [pure virtual] |
pure virtual function for executing the function reference
executes the function reference and returns the value returned
args | the arguments to the function | |
xsink | any Qore-language exception thrown (and not handled) will be added here |
virtual DLLLOCAL QoreProgram* ResolvedCallReferenceNode::getProgram | ( | ) | const [virtual] |
returns a pointer to the QoreProgram object associated with this reference (can be 0)
this function is not exported in the library's public interface