pub trait CompilerPass {
    fn name() -> Cow<'static, str>;
}
Expand description

A named compiler pass.

Required Methods

  • name should follow hyphen-case.
  • an implementation should return same name

Implementors

impl<V> CompilerPass for Folder<V>where
    V: VisitMut + CompilerPass,