32 #ifndef _QORE_CLASSREFNODE_H 34 #define _QORE_CLASSREFNODE_H 36 class ClassRefNode :
public ParseNoEvalNode {
38 DLLLOCAL ClassRefNode(
const QoreProgramLocation* loc,
char* str) : ParseNoEvalNode(loc,
NT_CLASSREF), cscope(new NamedScope(str)), qc(nullptr) {
41 DLLLOCAL ~ClassRefNode() {
60 DLLLOCAL
virtual const char* getTypeName()
const {
61 return "reference to Qore class";
64 DLLLOCAL
const QoreClass* getClass()
const {
73 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
75 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
defines a Qore-language class
Definition: QoreClass.h:239
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46
int16_t qore_type_t
used to identify unique Qore data and parse types (descendents of AbstractQoreNode) ...
Definition: common.h:70
const qore_type_t NT_CLASSREF
type value for ClassRefNode
Definition: node_types.h:66