summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/RepeatStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/RepeatStatement.h')
-rw-r--r--Sencha-lang/AST/RepeatStatement.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Sencha-lang/AST/RepeatStatement.h b/Sencha-lang/AST/RepeatStatement.h
index a42b194..1d65121 100644
--- a/Sencha-lang/AST/RepeatStatement.h
+++ b/Sencha-lang/AST/RepeatStatement.h
@@ -10,6 +10,12 @@
#include "ASTStatement.h"
+/**
+ * Repeat statement if very useful, when you need to do something n-times
+ * you just repeat(n) {block_of_code}
+ * It stores how many times it should be executed
+ * and what should be executed, that is body.
+ */
class RepeatStatement: public ASTStatement {
public:
RepeatStatement();