1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
//! This module contains types and functions to work on the raw source code.
//!
//! Currently we do not distinguish between code-map and file-map, since one
//! file always contains the whole code so far. However, this might change!
//!

mod pos;
mod filemap;

pub use self::pos::{SrcOffset, BytePos, Span, LineIdx, ColIdx, Loc};
pub use self::filemap::FileMap;