Expand description
Composable hooks for SWC ECMAScript visitors.
This crate provides a hook-based API for composing AST visitors, allowing you to build complex visitors by combining simple hooks.
Re-exports§
pub use swc_ecma_ast;pub use swc_ecma_visit;
Structs§
- Composite
Hook - A composable hook that combines two hooks.
- Composite
Visit Hook - A composable hook that combines two hooks (immutable version).
- Noop
Hook - Visit
MutWith Hook - An adapter that implements VisitMut using a VisitMutHook.
- Visit
With Hook - An adapter that implements Visit using a VisitHook.
Traits§
- Visit
Hook - A hook trait for composable AST visitors (immutable version).
- Visit
MutHook - A hook trait for composable AST visitors.