Trait 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§

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.

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§