Trait Passable

Source
pub trait Passable {
    // Required method
    fn apply(&mut self, pass: &mut dyn Pass) -> Result<()>;
}

Required Methods§

Source

fn apply(&mut self, pass: &mut dyn Pass) -> Result<()>

Applies the pass to this HIR node. Children are visited before parents. Statements are visited in the order that they are defined

Implementations on Foreign Types§

Source§

impl Passable for Loc<Expression>

Source§

fn apply(&mut self, pass: &mut dyn Pass) -> Result<()>

Source§

impl Passable for Unit

Source§

fn apply(&mut self, pass: &mut dyn Pass) -> Result<()>

Implementors§