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

Last change on this file since 194 was 194, checked in by dai_9181, 17 years ago
File size: 640 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 class Lexical{
21 public:
22 static string baseProjectDirPath;
23 static BasicSource source;
24 };
25
26 // コンパイル中に一時的に利用する
27 class Temp{
28 public:
29 // コンパイル中のクラス
30 static const CClass *pCompilingClass;
31
32 // レキシカルスコープの状態
33 static CLexicalScopes *pLexicalScopes;
34 };
35
36 static bool isFullCompile;
37};
Note: See TracBrowser for help on using the repository browser.