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
RevLine 
[184]1#pragma once
2
3#include <CodeGenerator.h>
[193]4#include <MetaImpl.h>
5
[184]6class Compiler
7{
[193]8 NativeCode nativeCode;
9 MetaImpl metaImpl;
10
[184]11public:
[193]12 NativeCode &GetNativeCode()
[184]13 {
14 return nativeCode;
15 }
[193]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 );
[184]24};
[193]25
[195]26extern Compiler compiler;
Note: See TracBrowser for help on using the repository browser.