1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
mod comments;
mod source_file;
mod tokens;
mod types;

#[allow(clippy::all)]
#[rustfmt::skip]
mod generated;

#[cfg(feature = "serialize")]
mod serialize;

pub use comments::CommentsIterator;
pub use generated::*;
pub use source_file::*;
pub use types::*;

#[cfg(feature = "serialize")]
pub use serialize::*;

// swc re-exports
pub use swc_common::comments::{Comment, CommentKind};
pub use swc_common::{BytePos, Span, Spanned};
pub use swc_ecmascript::parser::token::{Token, TokenAndSpan};