#pragma once #include #include class Compiler { NativeCode nativeCode; MetaImpl metaImpl; public: NativeCode &GetNativeCode() { return nativeCode; } MetaImpl &GetMeta() { return metaImpl; } static bool StringToType( const std::string &typeName, Type &type ); static const std::string TypeToString( const Type &type ); }; extern Compiler compiler;