32 #ifndef _QORE_THROWSTATEMENT_H 34 #define _QORE_THROWSTATEMENT_H 36 #include "qore/intern/AbstractStatement.h" 38 class ThrowStatement :
public AbstractStatement {
40 DLLLOCAL ThrowStatement(
int start_line,
int end_line,
QoreValue v) : AbstractStatement(start_line, end_line), args(v) {
43 DLLLOCAL
virtual ~ThrowStatement() {
44 args.discard(
nullptr);
47 DLLLOCAL
virtual bool endsBlock()
const {
51 DLLLOCAL
virtual bool hasFinalReturn()
const {
60 DLLLOCAL
virtual int parseInitImpl(LocalVar* oflag,
int pflag = 0);
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