Expand description
This module reexports items from swc_visit
with some swc-specific traits.
Modules§
- util
- Some utilities for generated visitors.
Structs§
- All
- Visit all children nodes. This converts
VisitAll
toVisit
. The type parameterV
should implementVisitAll
andAll<V>
implementsVisit
. - AstKind
Path - AstKind
Path Guard - AstKind
Path Index Guard - AstNode
Path - AstNode
Path Guard - AstNode
Path Index Guard - Optional
- A visitor which visits node only if
enabled
is true. - Repeat
- A visitor which applies
V
again and again ifV
modifies the node.
Enums§
- Either
- The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases.
Traits§
- Compiler
Pass - A named compiler pass.
- NodeRef
- Parent
Kind - Repeated
- Trait for a pass which is designed to invoked multiple time to same input.