source: dev/trunk/jenga/include/smoothie/Smoothie.h@ 190

Last change on this file since 190 was 190, checked in by dai_9181, 17 years ago
File size: 838 bytes
Line 
1#pragma once
2
3#include "Source.h"
4#include "ObjectModule.h"
5#include "LexicalScoping.h"
6
7class Smoothie{
8 static bool isUnicode;
9public:
10
11 static bool IsUnicode()
12 {
13 return isUnicode;
14 }
15 static void SetUnicodeMark( bool isUnicode )
16 {
17 Smoothie::isUnicode = isUnicode;
18 }
19
20 static Meta &GetMeta();
21
22 class Lexical{
23 public:
24 static string baseProjectDirPath;
25 static BasicSource source;
26 };
27
28 // コンパイル中に一時的に利用する
29 class Temp{
30 public:
31 // 現在の名前空間
32 static NamespaceScopes liveingNamespaceScopes;
33
34 // 現在インポートされている名前空間
35 static NamespaceScopesCollection importedNamespaces;
36
37 // コンパイル中のクラス
38 static const CClass *pCompilingClass;
39
40 // レキシカルスコープの状態
41 static CLexicalScopes *pLexicalScopes;
42 };
43
44 static bool isFullCompile;
45};
Note: See TracBrowser for help on using the repository browser.