summaryrefslogtreecommitdiffstats
path: root/Sencha-lang/AST/ImportStatement.h
blob: 8472d1ab71cfddde735ffcd2f438a21949b1f683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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_ */