32 #ifndef _QORE_QOREMULTIPLICATIONOPERATORNODE_H
34 #define _QORE_QOREMULTIPLICATIONOPERATORNODE_H
36 class QoreMultiplicationOperatorNode :
public QoreBinaryOperatorNode<> {
38 const QoreTypeInfo* returnTypeInfo;
44 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar *oflag,
int pflag,
int &lvids,
const QoreTypeInfo *&typeInfo);
47 DLLLOCAL QoreMultiplicationOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<>(loc, left, right), returnTypeInfo(nullptr) {
52 return &multiplication_str;
56 str.
concat(&multiplication_str);
61 DLLLOCAL
virtual const char* getTypeName()
const {
62 return multiplication_str.getBuffer();
65 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
66 return returnTypeInfo;
69 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
70 return copyBackgroundExplicit<QoreMultiplicationOperatorNode>(xsink);