source: dev/trunk/abdev/BasicCompiler_Common/include/Compiler.h@ 256

Last change on this file since 256 was 256, checked in by dai_9181, 17 years ago

MetaImplを廃止し、Metaにした。
ObjectModuleクラス、Linkerクラスを用意。

File size: 721 bytes
Line 
1#pragma once
2
3#include <CodeGenerator.h>
4#include <NamespaceSupporter.h>
5#include <Meta.h>
6#include <DataTable.h>
7#include <CodeGenerator.h>
8#include <Linker.h>
9
10class Compiler
11{
12 // 名前空間サポート
13 NamespaceSupporter namespaceSupporter;
14
15public:
16
17 NamespaceSupporter &GetNamespaceSupporter()
18 {
19 return namespaceSupporter;
20 }
21
22 // オブジェクトモジュール
23 ObjectModule objectModule;
24
25 // コード生成機構
26 CodeGenerator codeGenerator;
27
28 // リンカ
29 Linker linker;
30
31 static bool StringToType( const std::string &typeName, Type &type );
32 static const std::string TypeToString( const Type &type );
33
34 // コンパイル中のクラス
35 const CClass *pCompilingClass;
36};
37
38extern Compiler compiler;
Note: See TracBrowser for help on using the repository browser.