Trait swc_ecma_transforms_base::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.

Implementations on Foreign Types§

§

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

§

fn changed(&self) -> bool

§

fn reset(&mut self)

Implementors§

§

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

§

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