Skip to main content

IBuildTimeScopeFrameMethods

Trait IBuildTimeScopeFrameMethods 

Source
pub trait IBuildTimeScopeFrameMethods: IBuildTimeScopeFrame {
Show 14 methods // Provided methods fn get_has_var_args(self) -> bool { ... } fn set_has_var_args(self, value: impl Into<bool>) { ... } fn ctor(self, has_var_args: impl Into<bool>) { ... } fn push_block(self) { ... } fn pop_block(self) -> RuntimeScopeBlock { ... } fn get_runtime_frame_data(self) -> RuntimeScopeFrame { ... } fn find(self, name: impl Into<Il2CppString>) -> SymbolRef { ... } fn define_local(self, name: impl Into<Il2CppString>) -> SymbolRef { ... } fn try_define_local(self, name: impl Into<Il2CppString>) -> SymbolRef { ... } fn resolve_l_refs(self) { ... } fn alloc_var(self, var: impl Into<SymbolRef>) -> i32 { ... } fn get_pos_for_next_var(self) -> i32 { ... } fn define_label(self, label: impl Into<LabelStatement>) { ... } fn register_goto(self, gotostat: impl Into<GotoStatement>) { ... }
}

Provided Methods§

Source

fn get_has_var_args(self) -> bool

get_HasVarArgs() overload

Source

fn set_has_var_args(self, value: impl Into<bool>)

set_HasVarArgs(bool) overload

Source

fn ctor(self, has_var_args: impl Into<bool>)

.ctor(bool) overload

Source

fn push_block(self)

PushBlock() overload

Source

fn pop_block(self) -> RuntimeScopeBlock

PopBlock() overload

Source

fn get_runtime_frame_data(self) -> RuntimeScopeFrame

GetRuntimeFrameData() overload

Source

fn find(self, name: impl Into<Il2CppString>) -> SymbolRef

Find(::unity::Il2CppString) overload

Source

fn define_local(self, name: impl Into<Il2CppString>) -> SymbolRef

DefineLocal(::unity::Il2CppString) overload

Source

fn try_define_local(self, name: impl Into<Il2CppString>) -> SymbolRef

TryDefineLocal(::unity::Il2CppString) overload

Source

fn resolve_l_refs(self)

ResolveLRefs() overload

Source

fn alloc_var(self, var: impl Into<SymbolRef>) -> i32

AllocVar(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload

Source

fn get_pos_for_next_var(self) -> i32

GetPosForNextVar() overload

Source

fn define_label(self, label: impl Into<LabelStatement>)

DefineLabel(crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement) overload

Source

fn register_goto(self, gotostat: impl Into<GotoStatement>)

RegisterGoto(crate::moon_sharp::interpreter::tree::statements::gotostatement::GotoStatement) 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§

Source§

impl<__T: IBuildTimeScopeFrame> IBuildTimeScopeFrameMethods for __T

Available on crate feature moon_sharp-interpreter-execution-scopes-buildtimescopeframe only.