32 #ifndef _QORE_QOREMINUSOPERATORNODE_H
34 #define _QORE_QOREMINUSOPERATORNODE_H
36 class QoreMinusOperatorNode :
public QoreBinaryOperatorNode<> {
38 DLLLOCAL QoreMinusOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<>(loc, left, right), returnTypeInfo(nullptr) {
52 DLLLOCAL
virtual const char* getTypeName()
const {
53 return minus_str.getBuffer();
56 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
57 return returnTypeInfo;
60 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
61 return copyBackgroundExplicit<QoreMinusOperatorNode>(xsink);
65 const QoreTypeInfo* returnTypeInfo;
66 bool check_timeout_date_variant =
false;
67 bool check_date_timeout_variant =
false;
73 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);