Trait swc_common::pass::CompilerPass[][src]

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

A named compiler pass.

Required methods

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

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

Implementors

impl<A, B> CompilerPass for AndThen<A, B> where
    A: CompilerPass,
    B: CompilerPass
[src]

impl<V> CompilerPass for Repeat<V> where
    V: CompilerPass + Repeated
[src]

Loading content...