oxilean_parse/source_map/mod.rs
1//! Source mapping for macro-expanded and generated code.
2//!
3//! This module provides a [`SourceMap`] that tracks the origin of every byte
4//! of source text, including code produced by macro expansions or code
5//! generators. It can translate between byte offsets and line/column
6//! positions and can walk back through the chain of macro expansions to find
7//! the original user-written source location.
8
9pub mod functions;
10pub mod types;
11
12pub use functions::*;
13pub use types::*;