☰
CompilerPass
Required Methods
name
Implementors
In swc_common::pass
?
Trait
swc_common
::
pass
::
CompilerPass
source
·
[
−
]
pub trait CompilerPass { 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
Implementors
source
impl<A, B>
CompilerPass
for
AndThen
<A, B>
where
A:
CompilerPass
,
B:
CompilerPass
,
source
impl<V>
CompilerPass
for
Repeat
<V>
where
V:
CompilerPass
+
Repeated
,