32 #ifndef _QORE_ONBLOCKEXIT_STATEMENT_H 34 #define _QORE_ONBLOCKEXIT_STATEMENT_H 36 #include "qore/intern/AbstractStatement.h" 38 class OnBlockExitStatement :
public AbstractStatement {
40 class StatementBlock *code;
44 DLLLOCAL
virtual int parseInitImpl(LocalVar *oflag,
int pflag = 0);
47 DLLLOCAL OnBlockExitStatement(
int start_line,
int end_line,
class StatementBlock *n_code,
enum obe_type_e type = OBE_Unconditional);
48 DLLLOCAL ~OnBlockExitStatement();
49 DLLLOCAL
class StatementBlock *getCode()
const {
52 DLLLOCAL
enum obe_type_e getType()
const {
56 DLLLOCAL
virtual bool hasFinalReturn()
const {
59 DLLLOCAL
virtual void parseCommit(
QoreProgram* pgm);
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
supports parsing and executing Qore-language code, reference counted, dynamically-allocated only ...
Definition: QoreProgram.h:126
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46