source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/DataTableGenerator.h@ 767

Last change on this file since 767 was 589, checked in by dai_9181, 17 years ago

DataTableGeneratorクラスを追加。

File size: 810 bytes
Line 
1#pragma once
2
3namespace ActiveBasic{ namespace Compiler{
4
5
6class DataTableGenerator
7{
8 static int lastMadeConstObjectDataTableOffset;
9public:
10 static bool MakeConstObjectToProcessStaticBuffer( DataTable &dataTable, const CClass &objClass, const Jenga::Common::Strings &initMemberValues, int &dataTableOffset );
11 static bool MakeConstObjectToProcessStaticBuffer( DataTable &dataTable, const char *expression, Type &resultType, int &dataTableOffset );
12 static int MakeConstStringObjectToProcessStaticBuffer( DataTable &dataTable, const char *str );
13 static bool MakeLiteralArrayBuffer( DataTable &dataTable, const char *expression, const Type &baseType, int &dataTableOffset );
14 static int GetLastMadeConstObjectDataTableOffset()
15 {
16 return lastMadeConstObjectDataTableOffset;
17 }
18
19};
20
21
22}}
Note: See TracBrowser for help on using the repository browser.