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