Qore Programming Language  1.12.0
UnresolvedStaticMethodCallReferenceNode Class Reference

an unresolved static method call reference, only present temporarily in the parse tree More...

#include <CallReferenceNode.h>

Inherits AbstractUnresolvedCallReferenceNode.

Public Member Methods

DLLEXPORT void deref (ExceptionSink *xsink)
 decrements the reference count and calls derefImpl() if there_can_be_only_one is false, otherwise does nothing More...
 
virtual DLLLOCAL int parseInit (QoreValue &val, QoreParseContext &parse_context)
 for use by parse types to initialize them for execution during stage 1 parsing More...
 

Detailed Description

an unresolved static method call reference, only present temporarily in the parse tree

Member Function Documentation

◆ deref()

DLLEXPORT void AbstractQoreNode::deref

decrements the reference count and calls derefImpl() if there_can_be_only_one is false, otherwise does nothing

if there_can_be_only_one is false, calls derefImpl() and 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)

Parameters
xsinkif an error occurs, the Qore-language exception information will be added here

◆ parseInit()

virtual DLLLOCAL int UnresolvedStaticMethodCallReferenceNode::parseInit ( QoreValue val,
QoreParseContext &  parse_context 
)
virtual

for use by parse types to initialize them for execution during stage 1 parsing

Not exported in the library; this method's API/ABI subject to change at any time.

This function should only be overridden by types that can appear in the parse tree (i.e. are recognized by the parser)

Parameters
valthe containing QoreValue
parse_contextthe parse context
Returns
-1 if an error occured, 0 if OK

Reimplemented from AbstractQoreNode.


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