Qore Programming Language
0.9.4.6
|
a call reference to a static user method 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... | |
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 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 static user method
|
privatevirtual |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Reimplemented from ResolvedCallReferenceNode.
Reimplemented in LocalMethodCallReferenceNode.
|
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 |
Implements ResolvedCallReferenceNode.
Reimplemented in LocalMethodCallReferenceNode.