Last change
on this file since 115 was 112, checked in by dai_9181, 18 years ago |
#_fullcompileディレクティブを導入。
rev.234を刻印した。
|
File size:
990 bytes
|
Rev | Line | |
---|
[78] | 1 | #pragma once
|
---|
| 2 |
|
---|
[87] | 3 | #include "Source.h"
|
---|
[78] | 4 | #include "../TypeDef.h"
|
---|
[100] | 5 | #include "Namespace.h"
|
---|
[78] | 6 |
|
---|
[88] | 7 | class Smoothie{
|
---|
[78] | 8 | public:
|
---|
[87] | 9 |
|
---|
[91] | 10 | class Logger{
|
---|
| 11 | static string log;
|
---|
| 12 | public:
|
---|
| 13 | static void Initialize(){
|
---|
| 14 | #ifdef _DEBUG
|
---|
| 15 | log = "";
|
---|
| 16 |
|
---|
[95] | 17 | ofstream ofs( ( (string)BasicSystemDir + "Log\\compile.log" ).c_str(), ios_base::trunc );
|
---|
[91] | 18 | ofs.close();
|
---|
| 19 | #endif
|
---|
| 20 | }
|
---|
[107] | 21 | static void Put( const string &text );
|
---|
[92] | 22 | static void PutFile( const string &fileName, const string &buffer ){
|
---|
[95] | 23 | ofstream ofs( ( (string)BasicSystemDir + "Log\\" + fileName ).c_str() );
|
---|
[92] | 24 | ofs << buffer << endl;
|
---|
| 25 | ofs.close();
|
---|
| 26 | }
|
---|
[91] | 27 | };
|
---|
| 28 |
|
---|
[87] | 29 | class Lexical{
|
---|
| 30 | public:
|
---|
| 31 | static BasicSource source;
|
---|
[101] | 32 | static NamespaceScopes liveingNamespaceScopes;
|
---|
[87] | 33 | };
|
---|
| 34 |
|
---|
| 35 | class Meta{
|
---|
| 36 | public:
|
---|
| 37 | // TypeDef
|
---|
| 38 | static TypeDefCollection typeDefs;
|
---|
| 39 | static vector<ProcPointer *> procPointers;
|
---|
[105] | 40 | static NamespaceScopesCollection namespaceScopesCollection;
|
---|
[107] | 41 | static NamespaceScopesCollection importedNamespaces;
|
---|
[87] | 42 | };
|
---|
[112] | 43 |
|
---|
| 44 | static bool isFullCompile;
|
---|
[78] | 45 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.