Trait semantic_analyzer::types::semantic::ExtendedExpression
source · pub trait ExtendedExpression<I: SemanticContextInstruction>:
Debug
+ Clone
+ PartialEq {
// Required method
fn expression(
&self,
state: &mut State<Self, I>,
block_state: &Rc<RefCell<BlockState<I>>>,
) -> ExpressionResult;
}Expand description
Extended Expression for semantic analyzer.
Required Methods§
sourcefn expression(
&self,
state: &mut State<Self, I>,
block_state: &Rc<RefCell<BlockState<I>>>,
) -> ExpressionResult
fn expression( &self, state: &mut State<Self, I>, block_state: &Rc<RefCell<BlockState<I>>>, ) -> ExpressionResult
Custom expression. Ast should be received from GetAst trait.
Object Safety§
This trait is not object safe.