pub trait IChunkStatementMethods: IChunkStatement {
// Provided methods
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
fn create_upvalue(
self,
scope: impl Into<BuildTimeScope>,
symbol: impl Into<SymbolRef>,
) -> SymbolRef { ... }
}Provided Methods§
Sourcefn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>)
.ctor(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 create_upvalue(
self,
scope: impl Into<BuildTimeScope>,
symbol: impl Into<SymbolRef>,
) -> SymbolRef
fn create_upvalue( self, scope: impl Into<BuildTimeScope>, symbol: impl Into<SymbolRef>, ) -> SymbolRef
CreateUpvalue(crate::moon_sharp::interpreter::execution::buildtimescope::BuildTimeScope, crate::moon_sharp::interpreter::symbolref::SymbolRef) 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: IChunkStatement> IChunkStatementMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-statements-chunkstatement only.