summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/Elements/SenchaFunction.h
diff options
context:
space:
mode:
authorJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-30 16:38:18 +0100
committerJustyna Ilczuk <justyna.ilczuk@gmail.com>2012-12-30 16:38:18 +0100
commitf23c85949f16d4d1e793db5a438adbb900015db1 (patch)
tree404d3e553542eaeb715507ed3554bac5f79de21a /Sencha-lang/Elements/SenchaFunction.h
parent46dfa01922bcf20e8a1af7e0041fc620e899d5a6 (diff)
downloadsencha-lang-f23c85949f16d4d1e793db5a438adbb900015db1.tar.gz
sencha-lang-f23c85949f16d4d1e793db5a438adbb900015db1.tar.bz2
sencha-lang-f23c85949f16d4d1e793db5a438adbb900015db1.tar.xz
sencha-lang-f23c85949f16d4d1e793db5a438adbb900015db1.zip
Some test for function functionality and minor changes in other stuff.
Diffstat (limited to 'Sencha-lang/Elements/SenchaFunction.h')
-rw-r--r--Sencha-lang/Elements/SenchaFunction.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Sencha-lang/Elements/SenchaFunction.h b/Sencha-lang/Elements/SenchaFunction.h
index 7185ebb..53eb584 100644
--- a/Sencha-lang/Elements/SenchaFunction.h
+++ b/Sencha-lang/Elements/SenchaFunction.h
@@ -10,10 +10,10 @@
#include <string>
#include <iostream>
#include <vector>
-#include <SenchaObject.h>
+#include "SenchaObject.h"
#include "Element.h"
#include "../Utils/to_string.h"
-#include "../Context.h"
+#include "../ContextManager.h"
#include "../AST/ASTNode.h"
@@ -23,9 +23,9 @@ public:
std::string name;
std::vector<std::string> names_of_arguments;
ASTNode * body;
- Context * context;
+ ContextManager * context;
- SenchaFunction(std::string name, std::vector<std::string> names_of_arguments, ASTNode * body, Context * context);
+ SenchaFunction(std::string name, std::vector<std::string> names_of_arguments, ASTNode * body, ContextManager * context);
virtual ~SenchaFunction();
};