blob: 89d6b890f0d8f3f9a16e7f2ded8448f28178bb58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* RepeatStatement.h
*
* Created on: Dec 9, 2012
* Author: attero
*/
#ifndef REPEATSTATEMENT_H_
#define REPEATSTATEMENT_H_
#include "ASTStatement.h"
class RepeatStatement: public ASTStatement {
public:
RepeatStatement(ASTNode * parent);
int how_many_times;
ASTStatement * body;
void add_iteration_number(SenchaObject so);
virtual void execute();
virtual void execute_quietly();
void add_body(ASTStatement * statement);
virtual std::string debug() ;
virtual ~RepeatStatement();
};
#endif /* REPEATSTATEMENT_H_ */
|