Trait gluon::compiler_pipeline::MacroExpandable
[−]
[src]
pub trait MacroExpandable { type Expr: BorrowMut<SpannedExpr<Symbol>>; fn expand_macro_with(self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str)
-> Result<MacroValue<Self::Expr>>; fn expand_macro(self,
compiler: &mut Compiler,
thread: &Thread,
file: &str)
-> Result<MacroValue<Self::Expr>> where Self: Sized { ... } }
Associated Types
Required Methods
fn expand_macro_with(self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str)
-> Result<MacroValue<Self::Expr>>
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str)
-> Result<MacroValue<Self::Expr>>
Provided Methods
fn expand_macro(self,
compiler: &mut Compiler,
thread: &Thread,
file: &str)
-> Result<MacroValue<Self::Expr>> where Self: Sized
compiler: &mut Compiler,
thread: &Thread,
file: &str)
-> Result<MacroValue<Self::Expr>> where Self: Sized
Implementors
impl<'s> MacroExpandable for &'s str
impl<'s> MacroExpandable for &'s mut SpannedExpr<Symbol>