class

X::InstructionExecutor::Context

Inherits X::InstructionExecutor::ExceptionHandlingOperations / X::InstructionExecutor::SupervisorOperations / X::InstructionExecutor::MessageOperations / X::InstructionExecutor::ProcessLifecycleOperations / X::InstructionExecutor::LambdaClosureOperations / X::InstructionExecutor::ControlOperations / X::InstructionExecutor::VariableOperations / X::InstructionExecutor::ComparisonOperations / X::InstructionExecutor::LogicalOperations / X::InstructionExecutor::BitwiseOperations / X::InstructionExecutor::ArithmeticOperations / X::InstructionExecutor::PushLiteralValueOperations / X::InstructionExecutor::StackManipulationOperations / Reference / Object

Constants

Log = ::Log.for(self)

Constructors

new(engine : Engine::Context)
Source

Instance methods

engine
Source
engine=(engine : Engine::Context)
Source
execute(process : Process::Context, instruction : Instruction::Operation) : Value::Context

Executes a single instruction for the given process

Source
execute_inline_function(process : Process::Context, instructions : Array(Instruction::Operation), arguments : Array(Value::Context)) : Value::Context

Execute inline instruction array with arguments

Source
handle_execution_exception(process : Process::Context, ex : Exception) : Value::Context

Handle exceptions during instruction execution

Source