32 #ifndef _QORE_QOREDIVISIONOPERATORNODE_H
34 #define _QORE_QOREDIVISIONOPERATORNODE_H
36 class QoreDivisionOperatorNode :
public QoreBinaryOperatorNode<> {
39 const QoreTypeInfo* typeInfo =
nullptr;
44 eval_t pfunc =
nullptr;
48 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo) {
49 return parseInitIntern(op_str.getBuffer(), val, oflag, pflag, lvids, typeInfo);
52 DLLLOCAL
void parseInitIntern(
const char *name,
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
58 DLLLOCAL QoreDivisionOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<>(loc, left, right) {
61 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
65 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink *xsink)
const {
66 return copyBackgroundExplicit<QoreDivisionOperatorNode>(xsink);