Rev | Line | |
---|
[184] | 1 | #pragma once
|
---|
| 2 |
|
---|
| 3 | #include <CodeGenerator.h>
|
---|
[193] | 4 | #include <MetaImpl.h>
|
---|
| 5 |
|
---|
[184] | 6 | class Compiler
|
---|
| 7 | {
|
---|
[193] | 8 | NativeCode nativeCode;
|
---|
| 9 | MetaImpl metaImpl;
|
---|
| 10 |
|
---|
[184] | 11 | public:
|
---|
[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] | 26 | extern Compiler compiler;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.