[][src]Trait gluon::compiler_pipeline::Renameable

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

impl<E> Renameable for MacroValue<E> where
    E: BorrowMut<SpannedExpr<Symbol>>, 
[src]

type Expr = E

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

type Expr = T::Expr

Loading content...