Skip to main content

Span

Type Alias Span 

Source
pub type Span = (Range<usize>, Kind);
Expand description

A highlighted byte range. Ranges from this crate are ordered, non-overlapping, non-empty, on char boundaries, cover the input, and neighbours never share a kind.