Qore Programming Language  0.9.3
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 void parseInit (QoreValue &val, LocalVar *oflag, int pflag, int &lvids, const QoreTypeInfo *&typeInfo)
 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 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 void UnresolvedStaticMethodCallReferenceNode::parseInit ( QoreValue val,
LocalVar *  oflag,
int  pflag,
int &  lvids,
const QoreTypeInfo *&  typeInfo 
)
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
oflagnon-zero if initialized within class code
pflagbitfield parse flag
lvidsthe number of new local variables declared in this node
typeInfoany available type constraints on the initialized value or expression

Reimplemented from AbstractQoreNode.


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