oxc/crates/oxc_sourcemap/src/lib.rs
underfin 205c259119
feat(sourcemap): support SourceMapBuilder#token_chunks (#4220)
Because the `token_chunks` need to pre-visit tokens and collect, it
could be done at add tokens phase. So here export it let rolldown could
be improve `renderChunks` sourcemap encode.
2024-07-13 10:11:14 +08:00

17 lines
464 B
Rust

mod concat_sourcemap_builder;
#[allow(clippy::cast_sign_loss)]
mod decode;
mod encode;
mod error;
mod sourcemap;
mod sourcemap_builder;
mod sourcemap_visualizer;
mod token;
pub use concat_sourcemap_builder::ConcatSourceMapBuilder;
pub use decode::JSONSourceMap;
pub use error::Error;
pub use sourcemap::SourceMap;
pub use sourcemap_builder::SourceMapBuilder;
pub use sourcemap_visualizer::SourcemapVisualizer;
pub use token::{SourceViewToken, Token, TokenChunk};