pub trait IFunctionCallExpressionMethods: IFunctionCallExpression {
// Provided methods
fn get_source_ref(self) -> SourceRef { ... }
fn set_source_ref(self, value: impl Into<SourceRef>) { ... }
fn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
function: impl Into<Expression>,
this_call_name: impl Into<Token>,
) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
fn eval(self, context: impl Into<ScriptExecutionContext>) -> DynValue { ... }
}Provided Methods§
Sourcefn get_source_ref(self) -> SourceRef
fn get_source_ref(self) -> SourceRef
get_SourceRef() overload
Sourcefn set_source_ref(self, value: impl Into<SourceRef>)
fn set_source_ref(self, value: impl Into<SourceRef>)
set_SourceRef(crate::moon_sharp::interpreter::debugging::sourceref::SourceRef) overload
Sourcefn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
function: impl Into<Expression>,
this_call_name: impl Into<Token>,
)
fn ctor( self, lcontext: impl Into<ScriptLoadingContext>, function: impl Into<Expression>, this_call_name: impl Into<Token>, )
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::expression::Expression, crate::moon_sharp::interpreter::tree::token::Token) 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: IFunctionCallExpression> IFunctionCallExpressionMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-expressions-functioncallexpression only.