|
Qore Programming Language
0.9.16
|
32 #ifndef _QORE_QOREDOTEVALOPERATORNODE_H
34 #define _QORE_QOREDOTEVALOPERATORNODE_H
36 class QoreDotEvalOperatorNode :
public QoreOperatorNode {
43 const QoreTypeInfo *returnTypeInfo;
47 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar *oflag,
int pflag,
int &lvids,
const QoreTypeInfo *&typeInfo);
49 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
50 return returnTypeInfo;
54 DLLLOCAL QoreDotEvalOperatorNode(
const QoreProgramLocation* loc,
QoreValue n_left, MethodCallNode* n_m) : QoreOperatorNode(loc), left(n_left), m(n_m), returnTypeInfo(nullptr) {
57 DLLLOCAL ~QoreDotEvalOperatorNode() {
63 DLLLOCAL
QoreValue getExpression()
const {
67 DLLLOCAL
void replaceExpression(
QoreValue n_left) {
86 DLLLOCAL
virtual const char* getTypeName()
const {
90 DLLLOCAL
virtual bool hasEffect()
const {
94 DLLLOCAL
virtual bool hasEffectAsRoot()
const {
98 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const;
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
DLLEXPORT void discard(ExceptionSink *xsink)
dereferences any contained AbstractQoreNode pointer and sets to 0; does not modify other values
const DLLEXPORT char * getBuffer() const
returns the string's buffer; this data should not be changed
DLLEXPORT void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
The base class for all value and parse types in Qore expression trees.
Definition: AbstractQoreNode.h:54