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)
39 : QoreBinaryOperatorNode<>(loc, left, right), returnTypeInfo(nullptr) {
53 DLLLOCAL
virtual const char* getTypeName()
const {
54 return minus_str.getBuffer();
57 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
58 return returnTypeInfo;
61 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
62 return copyBackgroundExplicit<QoreMinusOperatorNode>(xsink);
66 const QoreTypeInfo* returnTypeInfo;
67 bool check_timeout_date_variant =
false;
68 bool check_date_timeout_variant =
false;
74 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
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