pub trait IIfStatementMethods: IIfStatement {
// Provided methods
fn ctor(self, lcontext: impl Into<ScriptLoadingContext>) { ... }
fn create_if_block(
self,
lcontext: impl Into<ScriptLoadingContext>,
) -> IfStatement_IfBlock { ... }
fn create_else_block(
self,
lcontext: impl Into<ScriptLoadingContext>,
) -> IfStatement_IfBlock { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
}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 create_if_block(
self,
lcontext: impl Into<ScriptLoadingContext>,
) -> IfStatement_IfBlock
fn create_if_block( self, lcontext: impl Into<ScriptLoadingContext>, ) -> IfStatement_IfBlock
CreateIfBlock(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) overload
Sourcefn create_else_block(
self,
lcontext: impl Into<ScriptLoadingContext>,
) -> IfStatement_IfBlock
fn create_else_block( self, lcontext: impl Into<ScriptLoadingContext>, ) -> IfStatement_IfBlock
CreateElseBlock(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext) 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: IIfStatement> IIfStatementMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-statements-ifstatement only.