32 #ifndef _QORE_FOREACHSTATEMENT_H
34 #define _QORE_FOREACHSTATEMENT_H
36 #include "qore/intern/AbstractStatement.h"
37 #include "qore/intern/AbstractIteratorHelper.h"
39 #include "qore/intern/FunctionalOperator.h"
40 #include "qore/intern/FunctionalOperatorInterface.h"
42 class ForEachStatement :
public AbstractStatement {
44 DLLLOCAL ForEachStatement(
int start_line,
int end_line,
QoreValue v,
QoreValue l, StatementBlock* cd);
45 DLLLOCAL
virtual ~ForEachStatement();
47 DLLLOCAL
virtual bool hasFinalReturn()
const {
50 DLLLOCAL
virtual void parseCommit(
QoreProgram* pgm);
56 LVList* lvars =
nullptr;
57 FunctionalOperator* iterator_func =
nullptr;
62 DLLLOCAL
virtual int parseInitImpl(QoreParseContext& parse_context);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
supports parsing and executing Qore-language code, reference counted, dynamically-allocated only
Definition: QoreProgram.h:127
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275