pub type SourceLocation = ByteSpan;Expand description
Type alias for backward compatibility with SourceLocation.
New code should use ByteSpan directly.
Aliased Type§
pub struct SourceLocation {
pub start: usize,
pub end: usize,
}Fields§
§start: usizeStarting byte offset in the source text (inclusive)
end: usizeEnding byte offset in the source text (exclusive)