summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/RepeatStatement.h
blob: a42b194ef1f724f93d014d0746110a5f0f2e2ea1 (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
/*
 * RepeatStatement.h
 *
 *  Created on: Dec 9, 2012
 *      Author: attero
 */

#ifndef REPEATSTATEMENT_H_
#define REPEATSTATEMENT_H_

#include "ASTStatement.h"

class RepeatStatement: public ASTStatement {
public:
	RepeatStatement();
	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 ~RepeatStatement();
};

#endif /* REPEATSTATEMENT_H_ */