summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/VariableExpression.cpp
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/VariableExpression.cpp
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/VariableExpression.cpp')
-rw-r--r--Sencha-lang/AST/VariableExpression.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Sencha-lang/AST/VariableExpression.cpp b/Sencha-lang/AST/VariableExpression.cpp
index db21663..6ebf0dd 100644
--- a/Sencha-lang/AST/VariableExpression.cpp
+++ b/Sencha-lang/AST/VariableExpression.cpp
@@ -7,10 +7,8 @@
#include "VariableExpression.h"
-VariableExpression::VariableExpression(ASTNode * parent, Context * context, std::string name) {
-
+VariableExpression::VariableExpression(Context * context, std::string name) {
this->name = name;
- this->parent = parent;
this->context = context;
this->type = "VariableExpression";
}