pub trait IAssignmentStatementMethods: IAssignmentStatement {
// Provided methods
fn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
start_token: impl Into<Token>,
) { ... }
fn ctor_2(
self,
lcontext: impl Into<ScriptLoadingContext>,
first_expression: impl Into<Expression>,
first: impl Into<Token>,
) { ... }
fn check_var(
self,
lcontext: impl Into<ScriptLoadingContext>,
first_expression: impl Into<Expression>,
) -> IVariable { ... }
fn compile(self, bc: impl Into<ByteCode>) { ... }
}Provided Methods§
Sourcefn ctor(
self,
lcontext: impl Into<ScriptLoadingContext>,
start_token: impl Into<Token>,
)
fn ctor( self, lcontext: impl Into<ScriptLoadingContext>, start_token: impl Into<Token>, )
.ctor(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::token::Token) overload
Sourcefn ctor_2(
self,
lcontext: impl Into<ScriptLoadingContext>,
first_expression: impl Into<Expression>,
first: impl Into<Token>,
)
fn ctor_2( self, lcontext: impl Into<ScriptLoadingContext>, first_expression: impl Into<Expression>, first: 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 check_var(
self,
lcontext: impl Into<ScriptLoadingContext>,
first_expression: impl Into<Expression>,
) -> IVariable
fn check_var( self, lcontext: impl Into<ScriptLoadingContext>, first_expression: impl Into<Expression>, ) -> IVariable
CheckVar(crate::moon_sharp::interpreter::execution::scriptloadingcontext::ScriptLoadingContext, crate::moon_sharp::interpreter::tree::expression::Expression) 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: IAssignmentStatement> IAssignmentStatementMethods for __T
Available on crate feature
moon_sharp-interpreter-tree-statements-assignmentstatement only.