Crate swc_ecma_visit

source ·

Modules§

Macros§

Structs§

  • Visit all children nodes. This converts VisitAll to Visit. The type parameter V should implement VisitAll and All<V> implements Visit.
  • Wrap a VisitMut as a Fold

Enums§

Traits§

  • A visitor trait for traversing the AST.
  • A visitor trait for traversing the AST.
  • A trait implemented for types that can be visited using a visitor.
  • A trait implemented for types that can be visited using a visitor.
  • Implemented for passes which inject variables.
  • A visitor trait for traversing the AST.
  • A visitor trait for traversing the AST.
  • A trait implemented for types that can be visited using a visitor.
  • A visitor trait for traversing the AST.
  • A visitor trait for traversing the AST.
  • A visitor trait for traversing the AST.
  • A trait implemented for types that can be visited using a visitor.
  • A trait implemented for types that can be visited using a visitor.
  • A trait implemented for types that can be visited using a visitor.
  • A trait implemented for types that can be visited using a visitor.

Functions§

  • The returned folder only handles fold_script and fold_module, and typescript nodes are ignored. So if your visitor needs to handle typescript or low-level nodes, you should use as_folder instead.
  • Returns a Fold which changes all span into DUMMY_SP.

Type Aliases§