summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/BasicExpression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/BasicExpression.cpp')
-rw-r--r--Sencha-lang/AST/BasicExpression.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Sencha-lang/AST/BasicExpression.cpp b/Sencha-lang/AST/BasicExpression.cpp
index a6f9136..2201950 100644
--- a/Sencha-lang/AST/BasicExpression.cpp
+++ b/Sencha-lang/AST/BasicExpression.cpp
@@ -49,6 +49,10 @@ void BasicExpression::execute()
std::cout << evaluate().repr() << std::endl;
}
+void BasicExpression::execute_quietly()
+{
+ evaluate();
+}
SenchaObject BasicExpression::evaluate()
{
//TODO refactor it ;)