Skip to main content

InfixExpressionResolver

Trait InfixExpressionResolver 

Source
pub trait InfixExpressionResolver<H: HostTypes> {
    // Required method
    fn resolve(
        &self,
        handle: InfixExpressionHandle<H>,
    ) -> Option<InfixExpressionRecord<H>>;
}
Expand description

Phase 8 (orphan-closure) — resolver trait for InfixExpression<H>.

Hosts implement this trait to map a handle into a typed record. The default Null stub does not implement this trait — it carries no record. Resolution is the responsibility of the host pipeline.

Required Methods§

Source

fn resolve( &self, handle: InfixExpressionHandle<H>, ) -> Option<InfixExpressionRecord<H>>

Resolve a handle into its record. Returns None when the handle does not correspond to known content.

Implementors§