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),
44 DLLLOCAL
virtual ~ThrowStatement() {
45 args.discard(
nullptr);
48 DLLLOCAL
virtual bool endsBlock()
const {
52 DLLLOCAL
virtual bool hasFinalReturn()
const {
62 DLLLOCAL
virtual int parseInitImpl(QoreParseContext& parse_context0);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275