32 #ifndef _QORE_QOREUNARYPLUSOPERATORNODE_H
34 #define _QORE_QOREUNARYPLUSOPERATORNODE_H
36 class QoreUnaryPlusOperatorNode :
public QoreSingleExpressionOperatorNode<QoreOperatorNode> {
38 DLLLOCAL QoreUnaryPlusOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp)
39 : QoreSingleExpressionOperatorNode<QoreOperatorNode>(loc, exp) {
47 DLLLOCAL
virtual const char *getTypeName()
const {
48 return unaryplus_str.getBuffer();
51 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
52 return copyBackgroundExplicit<QoreUnaryPlusOperatorNode>(xsink);
56 const QoreTypeInfo* returnTypeInfo =
nullptr;
62 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
64 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
65 return returnTypeInfo;
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
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275