22 #include <torquescript/stringtable.hpp>
23 #include <torquescript/instructionsequence.hpp>
27 class InstructionSequence;
44 void execute(std::shared_ptr<ExecutionState> state);
53 std::vector<std::shared_ptr<Function>> mFunctions;
A CodeBlock defines a piece of executable code generated from a single input (Ie. a file)....
Definition: codeblock.hpp:37
std::vector< std::string > disassemble()
Produces a disassembly of the CodeBlock code.
void execute(std::shared_ptr< ExecutionState > state)
Executes all instructions contained in mInstructions within the provided context.
Storage class for a sequence of instructions to be executed. Also implements the primary execution co...
Definition: instructionsequence.hpp:39