pub trait IAdjustmentExpressionMethods: IAdjustmentExpression {
// Provided methods
fn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
exp: impl Into<Expression>,
) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue { ... }
}Provided Methods§
Sourcefn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
exp: impl Into<Expression>,
)
fn ctor( self, lcontext: impl Into<ScriptLoadingContext>, exp: impl Into<Expression>, )
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::expression::Expression) 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 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: IAdjustmentExpression> IAdjustmentExpressionMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-expressions-adjustmentexpression only.