pub trait ExtendedExpression: Debug + Clone + PartialEq {
    // Required method
    fn expression<I: SemanticContextInstruction>(
        &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<I: SemanticContextInstruction>( &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§