Trait Transformer

Source
pub trait Transformer {
    type IR;

    // Required method
    fn transform(&mut self, root: &mut Self::IR);
}

Required Associated Types§

Required Methods§

Source

fn transform(&mut self, root: &mut Self::IR)

transform will change ir node inplace usually transform will have multiple passes

Implementors§