summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/VariableExpression.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/VariableExpression.h')
-rw-r--r--Sencha-lang/AST/VariableExpression.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/Sencha-lang/AST/VariableExpression.h b/Sencha-lang/AST/VariableExpression.h
new file mode 100644
index 0000000..522b71b
--- /dev/null
+++ b/Sencha-lang/AST/VariableExpression.h
@@ -0,0 +1,30 @@
+/*
+ * VariableExpression.h
+ *
+ * Created on: Dec 17, 2012
+ * Author: att
+ */
+
+#ifndef VARIABLEEXPRESSION_H_
+#define VARIABLEEXPRESSION_H_
+#include <iostream>
+#include <string>
+#include "../Context.h"
+#include "ASTExpression.h"
+
+class VariableExpression: public ASTExpression {
+public:
+ VariableExpression();
+ VariableExpression(ASTNode * parent, Context * context, std::string name);
+
+ Context * context;
+ std::string debug();
+ std::string name;
+
+ void execute();
+ void execute_quietly();
+ SenchaObject evaluate();
+ virtual ~VariableExpression();
+};
+
+#endif /* VARIABLEEXPRESSION_H_ */