[][src]Trait gluon::compiler_pipeline::MetadataExtractable

pub trait MetadataExtractable: Sized {
    type Expr: BorrowMut<SpannedExpr<Symbol>>;
    fn extract_metadata(
        self,
        compiler: &mut Compiler,
        thread: &Thread,
        file: &str,
        expr_str: &str
    ) -> SalvageResult<WithMetadata<Self::Expr>>; }

Associated Types

Loading content...

Required methods

fn extract_metadata(
    self,
    compiler: &mut Compiler,
    thread: &Thread,
    file: &str,
    expr_str: &str
) -> SalvageResult<WithMetadata<Self::Expr>>

Loading content...

Implementors

impl<E> MetadataExtractable for Renamed<E> where
    E: BorrowMut<SpannedExpr<Symbol>>, 
[src]

type Expr = E

impl<T> MetadataExtractable for T where
    T: Renameable
[src]

type Expr = T::Expr

Loading content...