summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ImportStatement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sencha-lang/AST/ImportStatement.h')
-rw-r--r--Sencha-lang/AST/ImportStatement.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/Sencha-lang/AST/ImportStatement.h b/Sencha-lang/AST/ImportStatement.h
new file mode 100644
index 0000000..8472d1a
--- /dev/null
+++ b/Sencha-lang/AST/ImportStatement.h
@@ -0,0 +1,30 @@
+/*
+ * ImportStatement.h
+ *
+ * Created on: Jan 7, 2013
+ * Author: att
+ */
+
+#ifndef IMPORTSTATEMENT_H_
+#define IMPORTSTATEMENT_H_
+
+#include <fstream>
+#include <iostream>
+
+#include "ASTStatement.h"
+#include "../Parser.h"
+#include "../Lexer.h"
+#include "../ContextManager.h"
+
+class ImportStatement: public ASTStatement {
+public:
+ std::string name_of_module;
+ ContextManager * context_manager;
+
+ ImportStatement(std::string name_of_module, ContextManager * context_manager);
+ ProgramNode * import_body;
+ SenchaObject execute();
+ virtual ~ImportStatement();
+};
+
+#endif /* IMPORTSTATEMENT_H_ */