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