pub trait IProcessorMethods: IProcessor {
Show 95 methods
// Provided methods
fn ctor(
self,
script: impl Into<Script>,
global_context: impl Into<Table>,
byte_code: impl Into<ByteCode>,
) { ... }
fn ctor_2(self, parent_processor: impl Into<Processor>) { ... }
fn call(
self,
function: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> DynValue { ... }
fn push_clr_to_script_stack_frame(
self,
flags: impl Into<CallStackItemFlags>,
function: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> i32 { ... }
fn leave_processor(self) { ... }
fn get_thread_id(self) -> i32 { ... }
fn enter_processor(self) { ... }
fn get_coroutine_suspended_location(self) -> SourceRef { ... }
fn dump(
self,
stream: impl Into<Stream>,
base_address: impl Into<i32>,
has_upvalues: impl Into<bool>,
) -> i32 { ... }
fn add_symbol_to_map(
self,
symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
s: impl Into<SymbolRef>,
) { ... }
fn undump(
self,
stream: impl Into<Stream>,
source_id: impl Into<i32>,
env_table: impl Into<Table>,
) -> (i32, bool) { ... }
fn coroutine_create(self, closure: impl Into<Closure>) -> DynValue { ... }
fn get_state(self) -> CoroutineState { ... }
fn get_associated_coroutine(self) -> Coroutine_2 { ... }
fn set_associated_coroutine(self, value: impl Into<Coroutine_2>) { ... }
fn coroutine_resume(self, args: impl Into<Array<DynValue>>) -> DynValue { ... }
fn find_meta(self) -> (Instruction, i32) { ... }
fn attach_debugger(self, debugger: impl Into<IDebugger>) { ... }
fn get_debugger_enabled(self) -> bool { ... }
fn set_debugger_enabled(self, value: impl Into<bool>) { ... }
fn listen_debugger(
self,
instr: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) { ... }
fn reset_break_points(self, action: impl Into<DebuggerAction>) { ... }
fn reset_break_points_2(
self,
src: impl Into<SourceCode>,
lines: impl Into<HashSet_1<i32>>,
) -> HashSet_1<i32> { ... }
fn refresh_debugger(
self,
hard: impl Into<bool>,
instruction_ptr: impl Into<i32>,
) { ... }
fn debugger_refresh_threads(
self,
context: impl Into<ScriptExecutionContext>,
) -> List_1<WatchItem> { ... }
fn debugger_refresh_v_stack(self) -> List_1<WatchItem> { ... }
fn debugger_refresh_watches(
self,
context: impl Into<ScriptExecutionContext>,
watch_list: impl Into<List_1<DynamicExpression>>,
) -> List_1<WatchItem> { ... }
fn debugger_refresh_locals(
self,
context: impl Into<ScriptExecutionContext>,
) -> List_1<WatchItem> { ... }
fn debugger_refresh_watch(
self,
context: impl Into<ScriptExecutionContext>,
dyn_expr: impl Into<DynamicExpression>,
) -> WatchItem { ... }
fn debugger_get_call_stack(
self,
starting_ref: impl Into<SourceRef>,
) -> List_1<WatchItem> { ... }
fn get_current_source_ref(
self,
instruction_ptr: impl Into<i32>,
) -> SourceRef { ... }
fn fill_debug_data(
self,
ex: impl Into<InterpreterException>,
ip: impl Into<i32>,
) { ... }
fn get_metatable(self, value: impl Into<DynValue>) -> Table { ... }
fn get_binary_metamethod(
self,
op1: impl Into<DynValue>,
op2: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
) -> DynValue { ... }
fn get_metamethod(
self,
value: impl Into<DynValue>,
metamethod: impl Into<Il2CppString>,
) -> DynValue { ... }
fn get_metamethod_raw(
self,
value: impl Into<DynValue>,
metamethod: impl Into<Il2CppString>,
) -> DynValue { ... }
fn get_script(self) -> Script { ... }
fn get_instruction(self, i_address: impl Into<i32>) -> Instruction { ... }
fn processing_loop(self, instruction_ptr: impl Into<i32>) -> DynValue { ... }
fn perform_message_decoration_before_unwind(
self,
message_handler: impl Into<DynValue>,
decorated_message: impl Into<Il2CppString>,
source_ref: impl Into<SourceRef>,
) -> Il2CppString { ... }
fn assign_local(
self,
symref: impl Into<SymbolRef>,
value: impl Into<DynValue>,
) { ... }
fn exec_store_lcl(self, i: impl Into<Instruction>) { ... }
fn exec_store_upv(self, i: impl Into<Instruction>) { ... }
fn exec_swap(self, i: impl Into<Instruction>) { ... }
fn get_store_value(self, i: impl Into<Instruction>) -> DynValue { ... }
fn exec_closure(self, i: impl Into<Instruction>) { ... }
fn get_upvalue_symbol(self, s: impl Into<SymbolRef>) -> DynValue { ... }
fn exec_mk_tuple(self, i: impl Into<Instruction>) { ... }
fn exec_to_num(self, i: impl Into<Instruction>) { ... }
fn exec_iter_upd(self, i: impl Into<Instruction>) { ... }
fn exec_exp_tuple(self, i: impl Into<Instruction>) { ... }
fn exec_iter_prep(self, i: impl Into<Instruction>) { ... }
fn exec_j_for(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_incr(self, i: impl Into<Instruction>) { ... }
fn exec_c_not(self, i: impl Into<Instruction>) { ... }
fn exec_not(self, i: impl Into<Instruction>) { ... }
fn exec_begin_fn(self, i: impl Into<Instruction>) { ... }
fn pop_to_base_pointer(self) -> CallStackItem { ... }
fn pop_exec_stack_and_check_v_stack(
self,
vstackguard: impl Into<i32>,
) -> i32 { ... }
fn create_args_list_for_function_call(
self,
numargs: impl Into<i32>,
offs_from_top: impl Into<i32>,
) -> IList_1_Interface<DynValue> { ... }
fn exec_args(self, i: impl Into<Instruction>) { ... }
fn internal_exec_call(
self,
args_count: impl Into<i32>,
instruction_ptr: impl Into<i32>,
handler: impl Into<CallbackFunction>,
continuation: impl Into<CallbackFunction>,
this_call: impl Into<bool>,
debug_text: impl Into<Il2CppString>,
unwind_handler: impl Into<DynValue>,
) -> i32 { ... }
fn perform_tco(
self,
instruction_ptr: impl Into<i32>,
args_count: impl Into<i32>,
) -> i32 { ... }
fn exec_ret(self, i: impl Into<Instruction>) -> i32 { ... }
fn internal_check_for_tail_requests(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn jump_bool(
self,
i: impl Into<Instruction>,
expected_value_for_jump: impl Into<bool>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_short_circuiting_operator(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_add(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_sub(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_mul(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_mod(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_div(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_power(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_neg(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_eq(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_less(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_less_eq(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_len(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_concat(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_tbl_init_i(self, i: impl Into<Instruction>) { ... }
fn exec_tbl_init_n(self, i: impl Into<Instruction>) { ... }
fn exec_index_set(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn exec_index(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn clear_block_data(self, i: impl Into<Instruction>) { ... }
fn get_generic_symbol(self, symref: impl Into<SymbolRef>) -> DynValue { ... }
fn get_global_symbol(
self,
dyn_value: impl Into<DynValue>,
name: impl Into<Il2CppString>,
) -> DynValue { ... }
fn set_global_symbol(
self,
dyn_value: impl Into<DynValue>,
name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
) { ... }
fn assign_generic_symbol(
self,
symref: impl Into<SymbolRef>,
value: impl Into<DynValue>,
) { ... }
fn get_top_non_clr_function(self) -> CallStackItem { ... }
fn find_symbol_by_name(self, name: impl Into<Il2CppString>) -> SymbolRef { ... }
fn internal_adjust_tuple(
self,
values: impl Into<IList_1_Interface<DynValue>>,
) -> Array<DynValue> { ... }
fn internal_invoke_unary_meta_method(
self,
op1: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
instruction_ptr: impl Into<i32>,
) -> i32 { ... }
fn internal_invoke_binary_meta_method(
self,
l: impl Into<DynValue>,
r: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
instruction_ptr: impl Into<i32>,
extra_push: impl Into<DynValue>,
) -> i32 { ... }
fn stack_top_to_array(
self,
items: impl Into<i32>,
pop: impl Into<bool>,
) -> Array<DynValue> { ... }
fn stack_top_to_array_reverse(
self,
items: impl Into<i32>,
pop: impl Into<bool>,
) -> Array<DynValue> { ... }
}Provided Methods§
Sourcefn ctor(
self,
script: impl Into<Script>,
global_context: impl Into<Table>,
byte_code: impl Into<ByteCode>,
)
fn ctor( self, script: impl Into<Script>, global_context: impl Into<Table>, byte_code: impl Into<ByteCode>, )
.ctor(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::table::Table, crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) overload
Sourcefn ctor_2(self, parent_processor: impl Into<Processor>)
fn ctor_2(self, parent_processor: impl Into<Processor>)
.ctor(crate::moon_sharp::interpreter::execution::vm::processor::Processor) overload
Sourcefn call(
self,
function: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> DynValue
fn call( self, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> DynValue
Call(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn push_clr_to_script_stack_frame(
self,
flags: impl Into<CallStackItemFlags>,
function: impl Into<DynValue>,
args: impl Into<Array<DynValue>>,
) -> i32
fn push_clr_to_script_stack_frame( self, flags: impl Into<CallStackItemFlags>, function: impl Into<DynValue>, args: impl Into<Array<DynValue>>, ) -> i32
PushClrToScriptStackFrame(crate::moon_sharp::interpreter::execution::vm::callstackitemflags::CallStackItemFlags, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn leave_processor(self)
fn leave_processor(self)
LeaveProcessor() overload
Sourcefn get_thread_id(self) -> i32
fn get_thread_id(self) -> i32
GetThreadId() overload
Sourcefn enter_processor(self)
fn enter_processor(self)
EnterProcessor() overload
Sourcefn get_coroutine_suspended_location(self) -> SourceRef
fn get_coroutine_suspended_location(self) -> SourceRef
GetCoroutineSuspendedLocation() overload
Sourcefn dump(
self,
stream: impl Into<Stream>,
base_address: impl Into<i32>,
has_upvalues: impl Into<bool>,
) -> i32
fn dump( self, stream: impl Into<Stream>, base_address: impl Into<i32>, has_upvalues: impl Into<bool>, ) -> i32
Dump(crate::system::io::stream::Stream, i32, bool) overload
Sourcefn add_symbol_to_map(
self,
symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>,
s: impl Into<SymbolRef>,
)
fn add_symbol_to_map( self, symbol_map: impl Into<Dictionary_2<SymbolRef, i32>>, s: impl Into<SymbolRef>, )
AddSymbolToMap(crate::system::collections::generic::dictionary_2::Dictionary_2<crate::moon_sharp::interpreter::symbolref::SymbolRef,i32>, crate::moon_sharp::interpreter::symbolref::SymbolRef) overload
Sourcefn undump(
self,
stream: impl Into<Stream>,
source_id: impl Into<i32>,
env_table: impl Into<Table>,
) -> (i32, bool)
fn undump( self, stream: impl Into<Stream>, source_id: impl Into<i32>, env_table: impl Into<Table>, ) -> (i32, bool)
Undump(crate::system::io::stream::Stream, i32, crate::moon_sharp::interpreter::table::Table, *mutbool) overload
Sourcefn coroutine_create(self, closure: impl Into<Closure>) -> DynValue
fn coroutine_create(self, closure: impl Into<Closure>) -> DynValue
Coroutine_Create(crate::moon_sharp::interpreter::closure::Closure) overload
Sourcefn get_state(self) -> CoroutineState
fn get_state(self) -> CoroutineState
get_State() overload
Sourcefn get_associated_coroutine(self) -> Coroutine_2
fn get_associated_coroutine(self) -> Coroutine_2
get_AssociatedCoroutine() overload
Sourcefn set_associated_coroutine(self, value: impl Into<Coroutine_2>)
fn set_associated_coroutine(self, value: impl Into<Coroutine_2>)
set_AssociatedCoroutine(crate::moon_sharp::interpreter::coroutine_2::Coroutine_2) overload
Sourcefn coroutine_resume(self, args: impl Into<Array<DynValue>>) -> DynValue
fn coroutine_resume(self, args: impl Into<Array<DynValue>>) -> DynValue
Coroutine_Resume(::unity::Array<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn find_meta(self) -> (Instruction, i32)
fn find_meta(self) -> (Instruction, i32)
FindMeta(*muti32) overload
Sourcefn attach_debugger(self, debugger: impl Into<IDebugger>)
fn attach_debugger(self, debugger: impl Into<IDebugger>)
AttachDebugger(crate::moon_sharp::interpreter::debugging::idebugger::IDebugger) overload
Sourcefn get_debugger_enabled(self) -> bool
fn get_debugger_enabled(self) -> bool
get_DebuggerEnabled() overload
Sourcefn set_debugger_enabled(self, value: impl Into<bool>)
fn set_debugger_enabled(self, value: impl Into<bool>)
set_DebuggerEnabled(bool) overload
Sourcefn listen_debugger(
self,
instr: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
)
fn listen_debugger( self, instr: impl Into<Instruction>, instruction_ptr: impl Into<i32>, )
ListenDebugger(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn reset_break_points(self, action: impl Into<DebuggerAction>)
fn reset_break_points(self, action: impl Into<DebuggerAction>)
ResetBreakPoints(crate::moon_sharp::interpreter::debugging::debuggeraction::DebuggerAction) overload
Sourcefn reset_break_points_2(
self,
src: impl Into<SourceCode>,
lines: impl Into<HashSet_1<i32>>,
) -> HashSet_1<i32>
fn reset_break_points_2( self, src: impl Into<SourceCode>, lines: impl Into<HashSet_1<i32>>, ) -> HashSet_1<i32>
ResetBreakPoints(crate::moon_sharp::interpreter::debugging::sourcecode::SourceCode, crate::system::collections::generic::hashset_1::HashSet_1<i32>) overload
Sourcefn refresh_debugger(
self,
hard: impl Into<bool>,
instruction_ptr: impl Into<i32>,
)
fn refresh_debugger( self, hard: impl Into<bool>, instruction_ptr: impl Into<i32>, )
RefreshDebugger(bool, i32) overload
Sourcefn debugger_refresh_threads(
self,
context: impl Into<ScriptExecutionContext>,
) -> List_1<WatchItem>
fn debugger_refresh_threads( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem>
Debugger_RefreshThreads(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload
Sourcefn debugger_refresh_v_stack(self) -> List_1<WatchItem>
fn debugger_refresh_v_stack(self) -> List_1<WatchItem>
Debugger_RefreshVStack() overload
Sourcefn debugger_refresh_watches(
self,
context: impl Into<ScriptExecutionContext>,
watch_list: impl Into<List_1<DynamicExpression>>,
) -> List_1<WatchItem>
fn debugger_refresh_watches( self, context: impl Into<ScriptExecutionContext>, watch_list: impl Into<List_1<DynamicExpression>>, ) -> List_1<WatchItem>
Debugger_RefreshWatches(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::system::collections::generic::list_1::List_1<crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression>) overload
Sourcefn debugger_refresh_locals(
self,
context: impl Into<ScriptExecutionContext>,
) -> List_1<WatchItem>
fn debugger_refresh_locals( self, context: impl Into<ScriptExecutionContext>, ) -> List_1<WatchItem>
Debugger_RefreshLocals(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) overload
Sourcefn debugger_refresh_watch(
self,
context: impl Into<ScriptExecutionContext>,
dyn_expr: impl Into<DynamicExpression>,
) -> WatchItem
fn debugger_refresh_watch( self, context: impl Into<ScriptExecutionContext>, dyn_expr: impl Into<DynamicExpression>, ) -> WatchItem
Debugger_RefreshWatch(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext, crate::moon_sharp::interpreter::dynamicexpression::DynamicExpression) overload
Sourcefn debugger_get_call_stack(
self,
starting_ref: impl Into<SourceRef>,
) -> List_1<WatchItem>
fn debugger_get_call_stack( self, starting_ref: impl Into<SourceRef>, ) -> List_1<WatchItem>
Debugger_GetCallStack(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn get_current_source_ref(self, instruction_ptr: impl Into<i32>) -> SourceRef
fn get_current_source_ref(self, instruction_ptr: impl Into<i32>) -> SourceRef
GetCurrentSourceRef(i32) overload
Sourcefn fill_debug_data(
self,
ex: impl Into<InterpreterException>,
ip: impl Into<i32>,
)
fn fill_debug_data( self, ex: impl Into<InterpreterException>, ip: impl Into<i32>, )
FillDebugData(crate::moon_sharp::interpreter::interpreterexception::InterpreterException, i32) overload
Sourcefn get_metatable(self, value: impl Into<DynValue>) -> Table
fn get_metatable(self, value: impl Into<DynValue>) -> Table
GetMetatable(crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_binary_metamethod(
self,
op1: impl Into<DynValue>,
op2: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
) -> DynValue
fn get_binary_metamethod( self, op1: impl Into<DynValue>, op2: impl Into<DynValue>, event_name: impl Into<Il2CppString>, ) -> DynValue
GetBinaryMetamethod(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload
Sourcefn get_metamethod(
self,
value: impl Into<DynValue>,
metamethod: impl Into<Il2CppString>,
) -> DynValue
fn get_metamethod( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue
GetMetamethod(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload
Sourcefn get_metamethod_raw(
self,
value: impl Into<DynValue>,
metamethod: impl Into<Il2CppString>,
) -> DynValue
fn get_metamethod_raw( self, value: impl Into<DynValue>, metamethod: impl Into<Il2CppString>, ) -> DynValue
GetMetamethodRaw(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload
Sourcefn get_script(self) -> Script
fn get_script(self) -> Script
GetScript() overload
Sourcefn get_instruction(self, i_address: impl Into<i32>) -> Instruction
fn get_instruction(self, i_address: impl Into<i32>) -> Instruction
GetInstruction(i32) overload
Sourcefn processing_loop(self, instruction_ptr: impl Into<i32>) -> DynValue
fn processing_loop(self, instruction_ptr: impl Into<i32>) -> DynValue
Processing_Loop(i32) overload
Sourcefn perform_message_decoration_before_unwind(
self,
message_handler: impl Into<DynValue>,
decorated_message: impl Into<Il2CppString>,
source_ref: impl Into<SourceRef>,
) -> Il2CppString
fn perform_message_decoration_before_unwind( self, message_handler: impl Into<DynValue>, decorated_message: impl Into<Il2CppString>, source_ref: impl Into<SourceRef>, ) -> Il2CppString
PerformMessageDecorationBeforeUnwind(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn assign_local(self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>)
fn assign_local(self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>)
AssignLocal(crate::moon_sharp::interpreter::symbolref::SymbolRef, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn exec_store_lcl(self, i: impl Into<Instruction>)
fn exec_store_lcl(self, i: impl Into<Instruction>)
ExecStoreLcl(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_store_upv(self, i: impl Into<Instruction>)
fn exec_store_upv(self, i: impl Into<Instruction>)
ExecStoreUpv(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_swap(self, i: impl Into<Instruction>)
fn exec_swap(self, i: impl Into<Instruction>)
ExecSwap(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn get_store_value(self, i: impl Into<Instruction>) -> DynValue
fn get_store_value(self, i: impl Into<Instruction>) -> DynValue
GetStoreValue(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_closure(self, i: impl Into<Instruction>)
fn exec_closure(self, i: impl Into<Instruction>)
ExecClosure(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn get_upvalue_symbol(self, s: impl Into<SymbolRef>) -> DynValue
fn get_upvalue_symbol(self, s: impl Into<SymbolRef>) -> DynValue
GetUpvalueSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload
Sourcefn exec_mk_tuple(self, i: impl Into<Instruction>)
fn exec_mk_tuple(self, i: impl Into<Instruction>)
ExecMkTuple(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_to_num(self, i: impl Into<Instruction>)
fn exec_to_num(self, i: impl Into<Instruction>)
ExecToNum(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_iter_upd(self, i: impl Into<Instruction>)
fn exec_iter_upd(self, i: impl Into<Instruction>)
ExecIterUpd(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_exp_tuple(self, i: impl Into<Instruction>)
fn exec_exp_tuple(self, i: impl Into<Instruction>)
ExecExpTuple(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_iter_prep(self, i: impl Into<Instruction>)
fn exec_iter_prep(self, i: impl Into<Instruction>)
ExecIterPrep(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_j_for(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_j_for( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecJFor(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_incr(self, i: impl Into<Instruction>)
fn exec_incr(self, i: impl Into<Instruction>)
ExecIncr(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_c_not(self, i: impl Into<Instruction>)
fn exec_c_not(self, i: impl Into<Instruction>)
ExecCNot(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_not(self, i: impl Into<Instruction>)
fn exec_not(self, i: impl Into<Instruction>)
ExecNot(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_begin_fn(self, i: impl Into<Instruction>)
fn exec_begin_fn(self, i: impl Into<Instruction>)
ExecBeginFn(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn pop_to_base_pointer(self) -> CallStackItem
fn pop_to_base_pointer(self) -> CallStackItem
PopToBasePointer() overload
Sourcefn pop_exec_stack_and_check_v_stack(self, vstackguard: impl Into<i32>) -> i32
fn pop_exec_stack_and_check_v_stack(self, vstackguard: impl Into<i32>) -> i32
PopExecStackAndCheckVStack(i32) overload
Sourcefn create_args_list_for_function_call(
self,
numargs: impl Into<i32>,
offs_from_top: impl Into<i32>,
) -> IList_1_Interface<DynValue>
fn create_args_list_for_function_call( self, numargs: impl Into<i32>, offs_from_top: impl Into<i32>, ) -> IList_1_Interface<DynValue>
CreateArgsListForFunctionCall(i32, i32) overload
Sourcefn exec_args(self, i: impl Into<Instruction>)
fn exec_args(self, i: impl Into<Instruction>)
ExecArgs(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn internal_exec_call(
self,
args_count: impl Into<i32>,
instruction_ptr: impl Into<i32>,
handler: impl Into<CallbackFunction>,
continuation: impl Into<CallbackFunction>,
this_call: impl Into<bool>,
debug_text: impl Into<Il2CppString>,
unwind_handler: impl Into<DynValue>,
) -> i32
fn internal_exec_call( self, args_count: impl Into<i32>, instruction_ptr: impl Into<i32>, handler: impl Into<CallbackFunction>, continuation: impl Into<CallbackFunction>, this_call: impl Into<bool>, debug_text: impl Into<Il2CppString>, unwind_handler: impl Into<DynValue>, ) -> i32
Internal_ExecCall(i32, i32, crate::moon_sharp::interpreter::callbackfunction::CallbackFunction, crate::moon_sharp::interpreter::callbackfunction::CallbackFunction, bool, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn perform_tco(
self,
instruction_ptr: impl Into<i32>,
args_count: impl Into<i32>,
) -> i32
fn perform_tco( self, instruction_ptr: impl Into<i32>, args_count: impl Into<i32>, ) -> i32
PerformTCO(i32, i32) overload
Sourcefn exec_ret(self, i: impl Into<Instruction>) -> i32
fn exec_ret(self, i: impl Into<Instruction>) -> i32
ExecRet(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn internal_check_for_tail_requests(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn internal_check_for_tail_requests( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
Internal_CheckForTailRequests(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn jump_bool(
self,
i: impl Into<Instruction>,
expected_value_for_jump: impl Into<bool>,
instruction_ptr: impl Into<i32>,
) -> i32
fn jump_bool( self, i: impl Into<Instruction>, expected_value_for_jump: impl Into<bool>, instruction_ptr: impl Into<i32>, ) -> i32
JumpBool(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, bool, i32) overload
Sourcefn exec_short_circuiting_operator(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_short_circuiting_operator( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecShortCircuitingOperator(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_add(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_add( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecAdd(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_sub(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_sub( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecSub(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_mul(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_mul( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecMul(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_mod(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_mod( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecMod(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_div(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_div( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecDiv(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_power(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_power( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecPower(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_neg(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_neg( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecNeg(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_eq(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecEq(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_less(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_less( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecLess(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_less_eq(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_less_eq( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecLessEq(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_len(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_len( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecLen(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_concat(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_concat( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecConcat(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_tbl_init_i(self, i: impl Into<Instruction>)
fn exec_tbl_init_i(self, i: impl Into<Instruction>)
ExecTblInitI(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_tbl_init_n(self, i: impl Into<Instruction>)
fn exec_tbl_init_n(self, i: impl Into<Instruction>)
ExecTblInitN(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn exec_index_set(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_index_set( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecIndexSet(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn exec_index(
self,
i: impl Into<Instruction>,
instruction_ptr: impl Into<i32>,
) -> i32
fn exec_index( self, i: impl Into<Instruction>, instruction_ptr: impl Into<i32>, ) -> i32
ExecIndex(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction, i32) overload
Sourcefn clear_block_data(self, i: impl Into<Instruction>)
fn clear_block_data(self, i: impl Into<Instruction>)
ClearBlockData(crate::moon_sharp::interpreter::execution::vm::instruction::Instruction) overload
Sourcefn get_generic_symbol(self, symref: impl Into<SymbolRef>) -> DynValue
fn get_generic_symbol(self, symref: impl Into<SymbolRef>) -> DynValue
GetGenericSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload
Sourcefn get_global_symbol(
self,
dyn_value: impl Into<DynValue>,
name: impl Into<Il2CppString>,
) -> DynValue
fn get_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, ) -> DynValue
GetGlobalSymbol(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString) overload
Sourcefn set_global_symbol(
self,
dyn_value: impl Into<DynValue>,
name: impl Into<Il2CppString>,
value: impl Into<DynValue>,
)
fn set_global_symbol( self, dyn_value: impl Into<DynValue>, name: impl Into<Il2CppString>, value: impl Into<DynValue>, )
SetGlobalSymbol(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn assign_generic_symbol(
self,
symref: impl Into<SymbolRef>,
value: impl Into<DynValue>,
)
fn assign_generic_symbol( self, symref: impl Into<SymbolRef>, value: impl Into<DynValue>, )
AssignGenericSymbol(crate::moon_sharp::interpreter::symbolref::SymbolRef, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn get_top_non_clr_function(self) -> CallStackItem
fn get_top_non_clr_function(self) -> CallStackItem
GetTopNonClrFunction() overload
Sourcefn find_symbol_by_name(self, name: impl Into<Il2CppString>) -> SymbolRef
fn find_symbol_by_name(self, name: impl Into<Il2CppString>) -> SymbolRef
FindSymbolByName(::unity::Il2CppString) overload
Sourcefn internal_adjust_tuple(
self,
values: impl Into<IList_1_Interface<DynValue>>,
) -> Array<DynValue>
fn internal_adjust_tuple( self, values: impl Into<IList_1_Interface<DynValue>>, ) -> Array<DynValue>
Internal_AdjustTuple(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::moon_sharp::interpreter::dynvalue::DynValue>) overload
Sourcefn internal_invoke_unary_meta_method(
self,
op1: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
instruction_ptr: impl Into<i32>,
) -> i32
fn internal_invoke_unary_meta_method( self, op1: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, ) -> i32
Internal_InvokeUnaryMetaMethod(crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, i32) overload
Sourcefn internal_invoke_binary_meta_method(
self,
l: impl Into<DynValue>,
r: impl Into<DynValue>,
event_name: impl Into<Il2CppString>,
instruction_ptr: impl Into<i32>,
extra_push: impl Into<DynValue>,
) -> i32
fn internal_invoke_binary_meta_method( self, l: impl Into<DynValue>, r: impl Into<DynValue>, event_name: impl Into<Il2CppString>, instruction_ptr: impl Into<i32>, extra_push: impl Into<DynValue>, ) -> i32
Internal_InvokeBinaryMetaMethod(crate::moon_sharp::interpreter::dynvalue::DynValue, crate::moon_sharp::interpreter::dynvalue::DynValue, ::unity::Il2CppString, i32, crate::moon_sharp::interpreter::dynvalue::DynValue) overload
Sourcefn stack_top_to_array(
self,
items: impl Into<i32>,
pop: impl Into<bool>,
) -> Array<DynValue>
fn stack_top_to_array( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue>
StackTopToArray(i32, bool) overload
Sourcefn stack_top_to_array_reverse(
self,
items: impl Into<i32>,
pop: impl Into<bool>,
) -> Array<DynValue>
fn stack_top_to_array_reverse( self, items: impl Into<i32>, pop: impl Into<bool>, ) -> Array<DynValue>
StackTopToArrayReverse(i32, bool) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IProcessor> IProcessorMethods for __T
moon_sharp-interpreter-execution-vm-processor only.