pub type ScannerPreprocessedText<'a> = PreprocessedText<'a>;Aliased Type§
pub struct ScannerPreprocessedText<'a> {
pub text: Cow<'a, str>,
pub original_end: usize,
pub mappings: Vec<LineMapping>,
}Fields§
§text: Cow<'a, str>Original text (borrowed for passthrough) plus, for the synthesizing paths, appended multiline-joined / structured segments (owned).
original_end: usizeByte offset where appended joined segments start.
mappings: Vec<LineMapping>Mapping from offsets in text to original line numbers.