source: dev/trunk/abdev/BasicCompiler_Common/include/Compiler.h@ 195

Last change on this file since 195 was 195, checked in by dai_9181, 17 years ago
File size: 424 bytes
Line 
1#pragma once
2
3#include <CodeGenerator.h>
4#include <MetaImpl.h>
5
6class Compiler
7{
8 NativeCode nativeCode;
9 MetaImpl metaImpl;
10
11public:
12 NativeCode &GetNativeCode()
13 {
14 return nativeCode;
15 }
16
17 MetaImpl &GetMeta()
18 {
19 return metaImpl;
20 }
21
22 static bool StringToType( const std::string &typeName, Type &type );
23 static const std::string TypeToString( const Type &type );
24};
25
26extern Compiler compiler;
Note: See TracBrowser for help on using the repository browser.