ExpandWith

Trait ExpandWith 

Source
pub trait ExpandWith {
    // Required method
    fn expand_with<T: Transformer>(self, transformer: &mut T) -> Vec<Self>
       where Self: Sized;
}
Expand description

Extension trait for expandable transformations

Required Methods§

Source

fn expand_with<T: Transformer>(self, transformer: &mut T) -> Vec<Self>
where Self: Sized,

Apply an expandable transformer to this AST node, returning multiple nodes

Implementors§