32 #ifndef _QORE_QORELOGICALEQUALSOPERATORNODE_H
34 #define _QORE_QORELOGICALEQUALSOPERATORNODE_H
36 class QoreLogicalEqualsOperatorNode :
public QoreBinaryOperatorNode<> {
39 typedef bool(QoreLogicalEqualsOperatorNode::*eval_t)(
ExceptionSink *xsink)
const;
47 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
49 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
58 DLLLOCAL QoreLogicalEqualsOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right)
59 : QoreBinaryOperatorNode<QoreOperatorNode>(loc, left, right), pfunc(nullptr) {
62 DLLLOCAL ~QoreLogicalEqualsOperatorNode() {
68 return &logical_equals_str;
72 str.
concat(&logical_equals_str);
77 DLLLOCAL
virtual const char *getTypeName()
const {
78 return logical_equals_str.getBuffer();
81 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink *xsink)
const {
82 return copyBackgroundExplicit<QoreLogicalEqualsOperatorNode>(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 void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275