pub trait IIndexExpressionMethods: IIndexExpression {
// Provided methods
fn ctor(
self,
base_exp: impl Into<Expression>,
index_exp: impl Into<Expression>,
lcontext: impl Into<ScriptLoadingContext>,
) { ... }
fn ctor_2(
self,
base_exp: impl Into<Expression>,
name: impl Into<Il2CppString>,
lcontext: impl Into<ScriptLoadingContext>,
) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
fn compile_assignment(
self,
bc: impl Into<ByteCode>,
stackofs: impl Into<i32>,
tupleidx: impl Into<i32>,
) { ... }
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue { ... }
}Provided Methods§
Sourcefn ctor(
self,
base_exp: impl Into<Expression>,
index_exp: impl Into<Expression>,
lcontext: impl Into<ScriptLoadingContext>,
)
fn ctor( self, base_exp: impl Into<Expression>, index_exp: impl Into<Expression>, lcontext: impl Into<ScriptLoadingContext>, )
.ctor(crate::moon_sharp::interpreter::tree::expression::Expression, crate::moon_sharp::interpreter::tree::expression::Expression, crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn ctor_2(
self,
base_exp: impl Into<Expression>,
name: impl Into<Il2CppString>,
lcontext: impl Into<ScriptLoadingContext>,
)
fn ctor_2( self, base_exp: impl Into<Expression>, name: impl Into<Il2CppString>, lcontext: impl Into<ScriptLoadingContext>, )
.ctor(crate::moon_sharp::interpreter::tree::expression::Expression, ::unity::Il2CppString, crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn compile(self, bc: impl Into<ByteCode>)
fn compile(self, bc: impl Into<ByteCode>)
Compile(crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) overload
Sourcefn compile_assignment(
self,
bc: impl Into<ByteCode>,
stackofs: impl Into<i32>,
tupleidx: impl Into<i32>,
)
fn compile_assignment( self, bc: impl Into<ByteCode>, stackofs: impl Into<i32>, tupleidx: impl Into<i32>, )
CompileAssignment(crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode, i32, i32) overload
Sourcefn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue
Eval(crate::moon_sharp::interpreter::scriptexecutioncontext::ScriptExecutionContext) 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: IIndexExpression> IIndexExpressionMethods for __T
moon_sharp-interpreter-tree-expressions-indexexpression only.