pub trait IBuildTimeScopeMethods: IBuildTimeScope {
Show 14 methods
// Provided methods
fn push_function(
self,
closure_builder: impl Into<IClosureBuilder>,
has_var_args: impl Into<bool>,
) { ... }
fn push_block(self) { ... }
fn pop_block(self) -> RuntimeScopeBlock { ... }
fn pop_function(self) -> RuntimeScopeFrame { ... }
fn find(self, name: impl Into<Il2CppString>) -> SymbolRef { ... }
fn create_global_reference(self, name: impl Into<Il2CppString>) -> SymbolRef { ... }
fn force_env_up_value(self) { ... }
fn create_up_value(
self,
build_time_scope: impl Into<BuildTimeScope>,
symb: impl Into<SymbolRef>,
closured_frame: impl Into<i32>,
current_frame: impl Into<i32>,
) -> SymbolRef { ... }
fn define_local(self, name: impl Into<Il2CppString>) -> SymbolRef { ... }
fn try_define_local(self, name: impl Into<Il2CppString>) -> SymbolRef { ... }
fn current_function_has_var_args(self) -> bool { ... }
fn define_label(self, label: impl Into<LabelStatement>) { ... }
fn register_goto(self, gotostat: impl Into<GotoStatement>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn push_function(
self,
closure_builder: impl Into<IClosureBuilder>,
has_var_args: impl Into<bool>,
)
fn push_function( self, closure_builder: impl Into<IClosureBuilder>, has_var_args: impl Into<bool>, )
PushFunction(crate::moon_sharp::interpreter::execution::iclosurebuilder::IClosureBuilder, 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 pop_function(self) -> RuntimeScopeFrame
fn pop_function(self) -> RuntimeScopeFrame
PopFunction() overload
Sourcefn find(self, name: impl Into<Il2CppString>) -> SymbolRef
fn find(self, name: impl Into<Il2CppString>) -> SymbolRef
Find(::unity::Il2CppString) overload
Sourcefn create_global_reference(self, name: impl Into<Il2CppString>) -> SymbolRef
fn create_global_reference(self, name: impl Into<Il2CppString>) -> SymbolRef
CreateGlobalReference(::unity::Il2CppString) overload
Sourcefn force_env_up_value(self)
fn force_env_up_value(self)
ForceEnvUpValue() overload
Sourcefn create_up_value(
self,
build_time_scope: impl Into<BuildTimeScope>,
symb: impl Into<SymbolRef>,
closured_frame: impl Into<i32>,
current_frame: impl Into<i32>,
) -> SymbolRef
fn create_up_value( self, build_time_scope: impl Into<BuildTimeScope>, symb: impl Into<SymbolRef>, closured_frame: impl Into<i32>, current_frame: impl Into<i32>, ) -> SymbolRef
CreateUpValue(crate::moon_sharp::interpreter::execution::buildtimescope::BuildTimeScope, crate::moon_sharp::interpreter::symbolref::SymbolRef, i32, i32) 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 current_function_has_var_args(self) -> bool
fn current_function_has_var_args(self) -> bool
CurrentFunctionHasVarArgs() 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: IBuildTimeScope> IBuildTimeScopeMethods for __T
moon_sharp-interpreter-execution-buildtimescope only.