[−][src]Trait gluon::compiler_pipeline::MacroExpandable
Associated Types
type Expr: BorrowMut<SpannedExpr<Symbol>>
Required methods
fn expand_macro_with(
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
Provided methods
fn expand_macro(
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
Implementations on Foreign Types
impl<'s> MacroExpandable for &'s str
[src]
type Expr = SpannedExpr<Symbol>
fn expand_macro_with(
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
[src]
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
fn expand_macro(
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
[src]
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
impl<'s> MacroExpandable for &'s mut SpannedExpr<Symbol>
[src]
type Expr = &'s mut SpannedExpr<Symbol>
fn expand_macro_with(
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
[src]
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
fn expand_macro(
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
[src]
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
impl MacroExpandable for SpannedExpr<Symbol>
[src]
type Expr = SpannedExpr<Symbol>
fn expand_macro_with(
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
[src]
self,
compiler: &mut Compiler,
macros: &mut MacroExpander,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>>
fn expand_macro(
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,
[src]
self,
compiler: &mut Compiler,
thread: &Thread,
file: &str,
expr_str: &str
) -> SalvageResult<MacroValue<Self::Expr>> where
Self: Sized,