32 #ifndef _QORE_QORELOGICALCOMPARISONOPERATORNODE_H
34 #define _QORE_QORELOGICALCOMPARISONOPERATORNODE_H
36 class QoreLogicalComparisonOperatorNode :
public QoreBinaryOperatorNode<> {
38 DLLLOCAL
static QoreString logical_comparison_str;
42 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
44 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
45 return bigIntTypeInfo;
49 DLLLOCAL QoreLogicalComparisonOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<>(loc, left, right) {
55 return &logical_comparison_str;
59 str.
concat(&logical_comparison_str);
64 DLLLOCAL
virtual const char* getTypeName()
const {
65 return logical_comparison_str.getBuffer();
68 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
69 return copyBackgroundExplicit<QoreLogicalComparisonOperatorNode>(xsink);