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 int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context) {
49 return parseInitIntern(op_str.c_str(), val, parse_context);
52 DLLLOCAL
int parseInitIntern(
const char* name,
QoreValue& val, QoreParseContext& parse_context);
58 DLLLOCAL QoreDivisionOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right)
59 : QoreBinaryOperatorNode<>(loc, left, right) {
62 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
66 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink *xsink)
const {
67 return copyBackgroundExplicit<QoreDivisionOperatorNode>(xsink);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275