Crate swc_visit[][src]

Modules

util

Some utilities for generated visitors.

Macros

chain

Chains multiple visitor.

define

This creates Visit. This is extensible visitor generator, and it

Structs

All

Visit all children nodes. This converts VisitAll to Visit. The type parameter V should implement VisitAll and All<V> implements Visit.

AndThen

A visitor which applies A and then B.

Optional

A visitor which visits node only if enabled is true.

Repeat

A visitor which applies V again and again if V modifies the node.

Enums

Either

The enum Either with variants Left and Right is a general purpose sum type with two cases.

Traits

Repeated

Trait for a pass which is designed to invoked multiple time to same input.