Trait swc_common::pass::Repeated

pub trait Repeated {
    // Required methods
    fn changed(&self) -> bool;
    fn reset(&mut self);
}
Expand description

Trait for a pass which is designed to invoked multiple time to same input.

See Repeat.

Required Methods§

fn changed(&self) -> bool

Should run again?

fn reset(&mut self)

Reset.

Implementors§

§

impl<A, B> Repeated for AndThen<A, B>
where A: Repeated, B: Repeated,

§

impl<V> Repeated for Repeat<V>
where V: Repeated,