summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ConstantExpression.h
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 11:01:48 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-28 11:01:48 +0100
commit77399daf66a8768258de9b38f945804691bc9a40 (patch)
tree1fa33313bfd1bd34f9176c78041c858635df0f00 /Sencha-lang/AST/ConstantExpression.h
parent4bbba3bdc93f5647b243d48a97fe299cb1bad5e4 (diff)
downloadsencha-lang-77399daf66a8768258de9b38f945804691bc9a40.tar.gz
sencha-lang-77399daf66a8768258de9b38f945804691bc9a40.tar.bz2
sencha-lang-77399daf66a8768258de9b38f945804691bc9a40.tar.xz
sencha-lang-77399daf66a8768258de9b38f945804691bc9a40.zip
Old, outdated part of project has been removed.
I added some comments to BasicExpression I removed "parent" from all ASTClasses. Why? It wasn't useful at all, and it make my design much better and easier to improve later.
Diffstat (limited to 'Sencha-lang/AST/ConstantExpression.h')
-rw-r--r--Sencha-lang/AST/ConstantExpression.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/Sencha-lang/AST/ConstantExpression.h b/Sencha-lang/AST/ConstantExpression.h
index aba07d8..e55660b 100644
--- a/Sencha-lang/AST/ConstantExpression.h
+++ b/Sencha-lang/AST/ConstantExpression.h
@@ -24,40 +24,35 @@ public:
/**
* Constructor which sets value to null SenchaObject.o it
- * @param parent of the ConstantExpression node
* @param number value will be set to SenchaObject representing this number
*/
- ConstantExpression(ASTNode * parent);
+ ConstantExpression();
/**
*Constructor which creates SenchaObject(number) and sets value to it
- * @param parent of the ConstantExpression node
* @param number value will be set to SenchaObject representing this number
*/
- ConstantExpression(ASTNode * parent, int number) ;
+ ConstantExpression( int number) ;
/**
* Constructor which creates SenchaObject(number) and sets value to it
- * @param parent of the ConstantExpression node
* @param number value will be set to SenchaObject representing this number
*/
- ConstantExpression(ASTNode * parent, double number) ;
+ ConstantExpression( double number) ;
/**
* Constructor which creates SenchaObject(text) and sets value to it
- * @param parent of the ConstantExpression node
* @param text value will be set to SenchaObject representing this text
*/
- ConstantExpression(ASTNode * parent, std::string text);
+ ConstantExpression( std::string text);
/**
* Constructor which sets value to given value
- * @param parent of the ConstantExpression node
* @param value this->value will be set to value
*/
- ConstantExpression(ASTNode * parent, SenchaObject value);
+ ConstantExpression(SenchaObject value);
/** Here's value of constant expression */
SenchaObject value;