☰
CompilerPass
CompilerPass
Required Methods
name
Implementors
In swc_common::pass
Modules
util
Macros
chain
define
Structs
All
AndThen
AstKindPath
AstNodePath
Optional
Repeat
Enums
Either
Traits
CompilerPass
NodeRef
ParentKind
Repeated
?
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
,
impl<V>
CompilerPass
for
Folder
<V>
where
V:
VisitMut
+
CompilerPass
,