Qore Programming Language 1.19.5
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
SetSelfFunctionCallNode Class Reference

Used in arguments background expressions to ensure that the object context is set for the call. More...

#include <FunctionCallNode.h>

Inherits SelfFunctionCallNode.

Collaboration diagram for SetSelfFunctionCallNode:
[legend]

Public Member Methods

virtual DLLLOCAL QoreValue evalImpl (bool &needs_deref, ExceptionSink *xsink) const
 optionally evaluates the argument More...
 

Detailed Description

Used in arguments background expressions to ensure that the object context is set for the call.

issue #4344: https://github.com/qorelanguage/qore/issues/4344

Member Function Documentation

◆ evalImpl()

virtual DLLLOCAL QoreValue SetSelfFunctionCallNode::evalImpl ( bool &  needs_deref,
ExceptionSink xsink 
) const
virtual

optionally evaluates the argument

return value requires a dereference if needs_deref is true if needs_eval() is true, needs_deref = true, returns evalImpl() otherwise needs_deref = false returns "this"

Parameters
needs_derefthis is an output parameter, if needs_deref is true then the value returned must be dereferenced
xsinkif an error occurs, the Qore-language exception information will be added here
Note
do not use this function directly, use the ValueEvalRefHolder class instead
See also
eval(bool&, ExceptionSink*)

Implements AbstractQoreNode.


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