Qore Programming Language  0.9.3.1
LocalStaticMethodCallReferenceNode Class Reference

a call reference to a static user method More...

#include <CallReferenceNode.h>

Inheritance diagram for LocalStaticMethodCallReferenceNode:
Collaboration diagram for LocalStaticMethodCallReferenceNode:

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...
 

Detailed Description

a call reference to a static user method

Member Function Documentation

◆ evalImpl()

virtual DLLLOCAL QoreValue LocalStaticMethodCallReferenceNode::evalImpl ( bool &  needs_deref,
ExceptionSink xsink 
) const
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.

◆ execValue()

virtual DLLLOCAL QoreValue LocalStaticMethodCallReferenceNode::execValue ( const QoreListNode args,
ExceptionSink xsink 
) const
virtual

pure virtual function for executing the function reference

executes the function reference and returns the value returned

Parameters
argsthe arguments to the function
xsinkany Qore-language exception thrown (and not handled) will be added here
Returns
a pointer to an AbstractQoreNode, the caller owns the reference count returned (can also be nullptr)

Implements ResolvedCallReferenceNode.

Reimplemented in LocalMethodCallReferenceNode.


The documentation for this class was generated from the following file: