32 #ifndef _QORE_CONTINUESTATEMENT_H
34 #define _QORE_CONTINUESTATEMENT_H
36 #include "qore/intern/AbstractStatement.h"
38 class ContinueStatement :
public AbstractStatement {
43 DLLLOCAL
virtual int parseInitImpl(LocalVar *oflag,
int pflag = 0) {
44 if (!(pflag & PF_CONTINUE_OK)) {
46 parseException(*loc,
"CONTINUE-NOT-ALLOWED",
"continue statements are only allowed in loop statements");
53 DLLLOCAL ContinueStatement(
int start_line,
int end_line) : AbstractStatement(start_line, end_line) {
56 DLLLOCAL
virtual ~ContinueStatement() {
59 DLLLOCAL
virtual bool endsBlock()
const {