Expand description
This module reexports items from swc_visit with some swc-specific traits.
Modules§
- Some utilities for generated visitors.
Macros§
- Chains multiple visitor.
- This creates
Visit. This is extensible visitor generator, and it
Structs§
- Visit all children nodes. This converts
VisitAlltoVisit. The type parameterVshould implementVisitAllandAll<V>implementsVisit. - A visitor which applies
Aand thenB. - A visitor which visits node only if
enabledis true. - A visitor which applies
Vagain and again ifVmodifies the node.
Enums§
- The enum
Eitherwith variantsLeftandRightis a general purpose sum type with two cases.
Traits§
- A named compiler pass.
- Trait for a pass which is designed to invoked multiple time to same input.