|
libscratchcpp
A library for C++ based Scratch project players
|
The CompilerContext represents a context for a specific target which is used with the Compiler class. More...
#include <scratchcpp/compilercontext.h>
Public Member Functions | |
| CompilerContext (IEngine *engine, Target *target) | |
| CompilerContext (const CompilerContext &)=delete | |
| virtual | ~CompilerContext () |
| IEngine * | engine () const |
| Target * | target () const |
| virtual void | preoptimize () |
The CompilerContext represents a context for a specific target which is used with the Compiler class.
Constructs CompilerContext.
|
delete |
|
inlinevirtual |
| IEngine * CompilerContext::engine | ( | ) | const |
Returns the engine of the project.
|
inlinevirtual |
Optimizes compiled scripts ahead of time.
| Target * CompilerContext::target | ( | ) | const |
Returns the target of this context.