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);