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 void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
49 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
58 DLLLOCAL QoreLogicalEqualsOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<QoreOperatorNode>(loc, left, right), pfunc(nullptr) {
61 DLLLOCAL ~QoreLogicalEqualsOperatorNode() {
67 return &logical_equals_str;
71 str.
concat(&logical_equals_str);
76 DLLLOCAL
virtual const char *getTypeName()
const {
77 return logical_equals_str.getBuffer();
80 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink *xsink)
const {
81 return copyBackgroundExplicit<QoreLogicalEqualsOperatorNode>(xsink);