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 {
#define PO_BROKEN_LOOP_STATEMENT
allow for old pre-Qore 0.8.13 handling of break and continue
Definition: Restrictions.h:83
DLLEXPORT QoreProgram * getProgram()
returns the current QoreProgram
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