32 #ifndef _QORE_RETHROWSTATEMENT_H
34 #define _QORE_RETHROWSTATEMENT_H
36 #include "qore/intern/AbstractStatement.h"
38 class RethrowStatement :
public AbstractStatement {
40 DLLLOCAL RethrowStatement(
int start_line,
int end_line) : AbstractStatement(start_line, end_line) {
43 DLLLOCAL RethrowStatement(
int start_line,
int end_line,
QoreValue args) : AbstractStatement(start_line, end_line),
47 DLLLOCAL
virtual ~RethrowStatement() {
48 args.discard(
nullptr);
51 DLLLOCAL
virtual bool endsBlock()
const {
55 DLLLOCAL
virtual bool hasFinalReturn()
const {
65 DLLLOCAL
virtual int parseInitImpl(QoreParseContext& parse_context);
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