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

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