summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/RepeatStatement.h
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 11:41:43 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 11:41:43 +0100
commit2d649a149bad632e224d48e2020e0ab6c2d5fb1f (patch)
tree77900ea2010ba35bd047d70ff4309bdb408e36ca /Sencha-lang/AST/RepeatStatement.h
parent77399daf66a8768258de9b38f945804691bc9a40 (diff)
downloadsencha-lang-2d649a149bad632e224d48e2020e0ab6c2d5fb1f.tar.gz
sencha-lang-2d649a149bad632e224d48e2020e0ab6c2d5fb1f.tar.bz2
sencha-lang-2d649a149bad632e224d48e2020e0ab6c2d5fb1f.tar.xz
sencha-lang-2d649a149bad632e224d48e2020e0ab6c2d5fb1f.zip
Documentation... some useful comments, which are descriptions of
AST nodes.
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();