summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ConstantExpression.h
diff options
context:
space:
mode:
authorJustyna Att Ilczuk <justyna.ilczuk@gmail.com>2012-12-09 21:17:13 +0100
committerJustyna Att Ilczuk <justyna.ilczuk@gmail.com>2012-12-09 21:17:13 +0100
commit2042c35d8502ecd66c7cdb49fff3a3a8887b01c9 (patch)
tree7ea93db2a4b6432834619db91a8a7494ba57ae30 /Sencha-lang/AST/ConstantExpression.h
parentfc7f656bc27ea146f2d28f721a4cb4a9aac6e266 (diff)
downloadsencha-lang-2042c35d8502ecd66c7cdb49fff3a3a8887b01c9.tar.gz
sencha-lang-2042c35d8502ecd66c7cdb49fff3a3a8887b01c9.tar.bz2
sencha-lang-2042c35d8502ecd66c7cdb49fff3a3a8887b01c9.tar.xz
sencha-lang-2042c35d8502ecd66c7cdb49fff3a3a8887b01c9.zip
Better assigning and usage in functions.
Diffstat (limited to 'Sencha-lang/AST/ConstantExpression.h')
-rw-r--r--Sencha-lang/AST/ConstantExpression.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Sencha-lang/AST/ConstantExpression.h b/Sencha-lang/AST/ConstantExpression.h
index 8d7c122..285972e 100644
--- a/Sencha-lang/AST/ConstantExpression.h
+++ b/Sencha-lang/AST/ConstantExpression.h
@@ -9,6 +9,7 @@
#define CONSTANTEXPRESSION_H_
#include "ASTExpression.h"
#include <iostream>
+#include "../Context.h"
class ConstantExpression : public ASTExpression {
public:
@@ -17,10 +18,11 @@ public:
ConstantExpression(ASTNode * parent, double number) ;
ConstantExpression(ASTNode * parent, std::string text);
ConstantExpression(ASTNode * parent, SenchaObject value, std::string name);
+ ConstantExpression(ASTNode * parent, SenchaObject value, Context * context);
ConstantExpression(ASTNode * parent, SenchaObject value);
SenchaObject value;
-
+ Context * context;
std::string debug();