Type Alias LexerSpan

Source
pub type LexerSpan = Range<usize>;
Expand description

Byte range in the source.

Aliased Type§

pub struct LexerSpan {
    pub start: usize,
    pub end: usize,
}

Fields§

§start: usize

The lower bound of the range (inclusive).

§end: usize

The upper bound of the range (exclusive).