32#ifndef _QORE_CLASS_EXPRESSION_H
33#define _QORE_CLASS_EXPRESSION_H
35#include "qore/intern/qore_program_private.h"
40 : pgm(qore_program_private::get(qore_pgm)) {
42 exp = pgm->createExpression(source, label, xsink);
45 DLLLOCAL ~QoreExpression() {
47 pgm->deleteExpression(exp);
53 return pgm->evalExpression(exp, xsink);
57 qore_program_private* pgm;
the base class for all data to be used as private data of Qore objects
Definition: AbstractPrivateData.h:44
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:253
contains constants, classes, and subnamespaces in QoreProgram objects
Definition: QoreNamespace.h:65
supports parsing and executing Qore-language code, reference counted, dynamically-allocated only
Definition: QoreProgram.h:128
Qore's string value type, reference counted, dynamically-allocated only.
Definition: QoreStringNode.h:50
unsigned qore_classid_t
used for the unique class ID for QoreClass objects
Definition: common.h:79
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:276