32 #ifndef _QORE_RETURNSTATEMENT_H 34 #define _QORE_RETURNSTATEMENT_H 36 #include "qore/intern/AbstractStatement.h" 38 class ReturnStatement :
public AbstractStatement {
40 DLLLOCAL ReturnStatement(
int start_line,
int end_line,
QoreValue v =
QoreValue()) : AbstractStatement(start_line, end_line), exp(v) {
43 DLLLOCAL ~ReturnStatement() {
47 DLLLOCAL
virtual bool endsBlock()
const {
51 DLLLOCAL
virtual bool hasFinalReturn()
const {
59 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