32 #ifndef _QORE_QOREUNSHIFTOPERATORNODE_H
34 #define _QORE_QOREUNSHIFTOPERATORNODE_H
36 class QoreUnshiftOperatorNode :
public QoreBinaryLValueOperatorNode {
38 const QoreTypeInfo* returnTypeInfo;
44 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
46 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
47 return returnTypeInfo;
51 DLLLOCAL QoreUnshiftOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryLValueOperatorNode(loc, left, right), returnTypeInfo(0) {
65 DLLLOCAL
virtual const char* getTypeName()
const {
66 return unshift_str.getBuffer();
69 DLLLOCAL
virtual bool hasEffect()
const {
73 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
74 return copyBackgroundExplicit<QoreUnshiftOperatorNode>(xsink);