Skip to main content

IForLoopStatementMethods

Trait IForLoopStatementMethods 

Source
pub trait IForLoopStatementMethods: IForLoopStatement {
    // Provided methods
    fn ctor(
        self,
        lcontext: impl Into<ScriptLoadingContext>,
        name_token: impl Into<Token>,
        for_token: impl Into<Token>,
    ) { ... }
    fn compile(self, bc: impl Into<ByteCode>) { ... }
}

Provided Methods§

Source

fn ctor( self, lcontext: impl Into<ScriptLoadingContext>, name_token: impl Into<Token>, for_token: impl Into<Token>, )

.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::token::Token, crate::moon_sharp::interpreter::tree::token::Token) overload

Source

fn compile(self, bc: impl Into<ByteCode>)

Compile(crate::moon_sharp::interpreter::execution::vm::bytecode::ByteCode) 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§

Source§

impl<__T: IForLoopStatement> IForLoopStatementMethods for __T

Available on crate feature moon_sharp-interpreter-tree-statements-forloopstatement only.