1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#![cfg_attr(test, feature(test))]
#![recursion_limit = "1024"]
#![deny(unused)]

#[macro_use]
extern crate swc_ecma_utils;

#[cfg(feature = "const-modules")]
pub use self::const_modules::const_modules;
pub use self::{
    fixer::fixer,
    hygiene::hygiene,
    resolver::{resolver, resolver_with_mark},
};

#[macro_use]
mod macros;
mod ext;
#[cfg(test)]
#[macro_use]
mod tests;
#[macro_use]
mod quote;
#[macro_use]
pub mod helpers;
#[macro_use]
mod hygiene;
pub mod compat;
mod const_modules;
pub mod debug;
mod fixer;
pub mod modules;
pub mod optimization;
pub mod pass;
mod perf;
pub mod proposals;
pub mod react;
pub mod resolver;
pub mod scope;
pub mod typescript;
pub mod util {
    pub use swc_ecma_utils::*;
}