summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ConstantExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/ConstantExpression.cpp')
-rw-r--r--Sencha-lang/AST/ConstantExpression.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Sencha-lang/AST/ConstantExpression.cpp b/Sencha-lang/AST/ConstantExpression.cpp
index 64b84ba..a59cc82 100644
--- a/Sencha-lang/AST/ConstantExpression.cpp
+++ b/Sencha-lang/AST/ConstantExpression.cpp
@@ -7,7 +7,8 @@
#include "ConstantExpression.h"
-ConstantExpression::ConstantExpression(ASTNode * parent) {
+ConstantExpression::ConstantExpression(ASTNode * parent) //Constructor which sets value to null SenchaObject.
+{
this->parent = parent;
value = SenchaObject();
}
@@ -37,7 +38,7 @@ void ConstantExpression::execute_quietly()
evaluate();
}
-
+/*! \fn Constructor which creates SenchaObject(number) and sets value to it */
ConstantExpression::ConstantExpression(ASTNode * parent, int number)
{
this->parent = parent; value = SenchaObject(number);