32 #ifndef _QORE_QORESHIFTOPERATORNODE_H
34 #define _QORE_QORESHIFTOPERATORNODE_H
36 class QoreShiftOperatorNode :
public QoreSingleExpressionOperatorNode<LValueOperatorNode> {
38 DLLLOCAL QoreShiftOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp)
39 : QoreSingleExpressionOperatorNode<LValueOperatorNode>(loc, exp), returnTypeInfo(0) {
47 DLLLOCAL
virtual const char* getTypeName()
const {
48 return shift_str.getBuffer();
51 DLLLOCAL
virtual bool hasEffect()
const {
55 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
56 return copyBackgroundExplicit<QoreShiftOperatorNode>(xsink);
60 const QoreTypeInfo* returnTypeInfo;
66 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
68 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
69 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