32 #ifndef _QORE_QORENULLCOALESCINGOPERATORNODE_H
33 #define _QORE_QORENULLCOALESCINGOPERATORNODE_H
35 class QoreNullCoalescingOperatorNode :
public QoreBinaryOperatorNode<QoreOperatorNode> {
39 const QoreTypeInfo* typeInfo =
nullptr;
41 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
46 DLLLOCAL QoreNullCoalescingOperatorNode(
const QoreProgramLocation* loc,
QoreValue e0,
QoreValue e1)
47 : QoreBinaryOperatorNode<QoreOperatorNode>(loc, e0, e1) {
54 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
59 DLLLOCAL
virtual const char* getTypeName()
const {
63 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
64 return copyBackgroundExplicit<QoreNullCoalescingOperatorNode>(xsink);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:93
DLLEXPORT const char * getBuffer() const
returns the string's buffer; this data should not be changed
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275