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

A named compiler pass.

Required Methods§

source

fn name() -> Cow<'static, str>

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<A, B> CompilerPass for AndThen<A, B>

source§

impl<V> CompilerPass for Repeat<V>