TorqueScript
0.2
|
A CodeBlock defines a piece of executable code generated from a single input (Ie. a file). This includes global executable code and subroutines, datablocks, etc. More...
#include <codeblock.hpp>
Public Member Functions | |
CodeBlock (const InstructionSequence &instructions) | |
void | execute (std::shared_ptr< ExecutionState > state) |
Executes all instructions contained in mInstructions within the provided context. | |
std::vector< std::string > | disassemble () |
Produces a disassembly of the CodeBlock code. | |
A CodeBlock defines a piece of executable code generated from a single input (Ie. a file). This includes global executable code and subroutines, datablocks, etc.