Qore Programming Language 1.14.2
|
a call reference to a user function More...
#include <CallReferenceNode.h>
Public Member Methods | |
virtual DLLLOCAL QoreValue | execValue (const QoreListNode *args, ExceptionSink *xsink) const |
pure virtual function for executing the function reference More... | |
Public Member Methods inherited from LocalFunctionCallReferenceNode | |
virtual DLLLOCAL QoreValue | execValue (const QoreListNode *args, ExceptionSink *xsink) const |
pure virtual function for executing the function reference More... | |
virtual DLLLOCAL QoreFunction * | getFunction () |
Returns the internal function object, if any; can return nullptr. | |
virtual DLLLOCAL bool | is_equal_hard (const AbstractQoreNode *v, ExceptionSink *xsink) const |
returns true if the other node is the same value | |
virtual DLLLOCAL bool | is_equal_soft (const AbstractQoreNode *v, ExceptionSink *xsink) const |
returns true if the other node is the same value | |
Private Member Methods | |
virtual DLLLOCAL bool | derefImpl (ExceptionSink *xsink) |
decrements the reference count More... | |
Private Member Methods inherited from LocalFunctionCallReferenceNode | |
virtual DLLLOCAL QoreValue | evalImpl (bool &needs_deref, ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly More... | |
a call reference to a user function
|
privatevirtual |
decrements the reference count
deletes the object when the reference count = 0. The ExceptionSink argument is needed for those types that could throw an exception when they are deleted (ex: QoreObject)
xsink | if an error occurs, the Qore-language exception information will be added here |
Reimplemented from AbstractQoreNode.
|
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 |
Reimplemented from LocalFunctionCallReferenceNode.