Skip to main content

IBuildTimeScopeMethods

Trait IBuildTimeScopeMethods 

Source
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§

Source

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

Source

fn push_block(self)

PushBlock() overload

Source

fn pop_block(self) -> RuntimeScopeBlock

PopBlock() overload

Source

fn pop_function(self) -> RuntimeScopeFrame

PopFunction() overload

Source

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

Find(::unity::Il2CppString) overload

Source

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

CreateGlobalReference(::unity::Il2CppString) overload

Source

fn force_env_up_value(self)

ForceEnvUpValue() overload

Source

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

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 current_function_has_var_args(self) -> bool

CurrentFunctionHasVarArgs() 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

Source

fn ctor(self)

.ctor() 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: IBuildTimeScope> IBuildTimeScopeMethods for __T

Available on crate feature moon_sharp-interpreter-execution-buildtimescope only.