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§
Sourcefn get_has_var_args(self) -> bool
fn get_has_var_args(self) -> bool
get_HasVarArgs() overload
Sourcefn set_has_var_args(self, value: impl Into<bool>)
fn set_has_var_args(self, value: impl Into<bool>)
set_HasVarArgs(bool) overload
Sourcefn push_block(self)
fn push_block(self)
PushBlock() overload
Sourcefn pop_block(self) -> RuntimeScopeBlock
fn pop_block(self) -> RuntimeScopeBlock
PopBlock() overload
Sourcefn get_runtime_frame_data(self) -> RuntimeScopeFrame
fn get_runtime_frame_data(self) -> RuntimeScopeFrame
GetRuntimeFrameData() overload
Sourcefn find(self, name: impl Into<Il2CppString>) -> SymbolRef
fn find(self, name: impl Into<Il2CppString>) -> SymbolRef
Find(::unity::Il2CppString) overload
Sourcefn define_local(self, name: impl Into<Il2CppString>) -> SymbolRef
fn define_local(self, name: impl Into<Il2CppString>) -> SymbolRef
DefineLocal(::unity::Il2CppString) overload
Sourcefn try_define_local(self, name: impl Into<Il2CppString>) -> SymbolRef
fn try_define_local(self, name: impl Into<Il2CppString>) -> SymbolRef
TryDefineLocal(::unity::Il2CppString) overload
Sourcefn resolve_l_refs(self)
fn resolve_l_refs(self)
ResolveLRefs() overload
Sourcefn alloc_var(self, var: impl Into<SymbolRef>) -> i32
fn alloc_var(self, var: impl Into<SymbolRef>) -> i32
AllocVar(crate::moon_sharp::interpreter::symbolref::SymbolRef) overload
Sourcefn get_pos_for_next_var(self) -> i32
fn get_pos_for_next_var(self) -> i32
GetPosForNextVar() overload
Sourcefn define_label(self, label: impl Into<LabelStatement>)
fn define_label(self, label: impl Into<LabelStatement>)
DefineLabel(crate::moon_sharp::interpreter::tree::statements::labelstatement::LabelStatement) overload
Sourcefn register_goto(self, gotostat: impl Into<GotoStatement>)
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§
impl<__T: IBuildTimeScopeFrame> IBuildTimeScopeFrameMethods for __T
Available on crate feature
moon_sharp-interpreter-execution-scopes-buildtimescopeframe only.