32 #ifndef _QORE_SELFVARREFNODE_H
34 #define _QORE_SELFVARREFNODE_H
36 class SelfVarrefNode :
public ParseNode {
40 DLLLOCAL SelfVarrefNode(
const QoreProgramLocation* loc,
char *c_str) : ParseNode(loc,
NT_SELF_VARREF),
41 str(c_str), returnTypeInfo(nullptr) {
44 DLLLOCAL
virtual ~SelfVarrefNode() {
59 DLLLOCAL
virtual const char* getTypeName()
const;
62 DLLLOCAL
char* takeString();
65 const QoreTypeInfo* returnTypeInfo;
69 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
71 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
72 return returnTypeInfo;
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:93
const qore_type_t NT_SELF_VARREF
type value for SelfVarrefNode
Definition: node_types.h:60
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275