xur-span 0.1.10

Source map, spans and interned symbols for the Xur language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Source locations and interned names.
//!
//! A [`Span`] is a byte range in the [`SourceMap`]'s global position space.
//! Human-readable line/column positions are computed on demand, so the lexer
//! never has to track them.

mod source_map;
mod span;
mod symbol;

pub use source_map::{
    FileLoader, LineCol, MemoryFileLoader, OverlayFileLoader, RealFileLoader, SourceFile, SourceMap,
};
pub use span::Span;
pub use symbol::{Ident, Symbol};