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.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Sencha-lang/AST/ConstantExpression.cpp b/Sencha-lang/AST/ConstantExpression.cpp
index a59cc82..3e2ba71 100644
--- a/Sencha-lang/AST/ConstantExpression.cpp
+++ b/Sencha-lang/AST/ConstantExpression.cpp
@@ -38,7 +38,11 @@ void ConstantExpression::execute_quietly()
evaluate();
}
-/*! \fn Constructor which creates SenchaObject(number) and sets value to it */
+void ConstantExpression::accept(Visitor * visitor)
+{
+ visitor->visit(this);
+}
+
ConstantExpression::ConstantExpression(ASTNode * parent, int number)
{
this->parent = parent; value = SenchaObject(number);