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§

source

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.

Implementors§