32#ifndef _QORE_CLASSREFNODE_H
34#define _QORE_CLASSREFNODE_H
36class ClassRefNode :
public ParseNoEvalNode {
38 DLLLOCAL ClassRefNode(
const QoreProgramLocation* loc,
char* str)
39 : ParseNoEvalNode(loc,
NT_CLASSREF), cscope(new NamedScope(str)) {
42 DLLLOCAL ~ClassRefNode() {
61 DLLLOCAL
virtual const char* getTypeName()
const {
62 return "reference to Qore class";
65 DLLLOCAL
const QoreClass* getClass()
const {
74 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
76 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition ExceptionSink.h:50
defines a Qore-language class
Definition QoreClass.h:310
Qore's string type supported by the QoreEncoding class.
Definition QoreString.h:93
int16_t qore_type_t
used to identify unique Qore data and parse types (descendents of AbstractQoreNode)
Definition common.h:76
const qore_type_t NT_CLASSREF
type value for ClassRefNode
Definition node_types.h:66
The main value class in Qore, designed to be passed by value.
Definition QoreValue.h:279