Span

Type Alias Span 

Source
pub type Span<'a, X = ()> = LocatedSpan<&'a str, X>;
Expand description

String reference with location.

Aliased Type§

pub struct Span<'a, X = ()> {
    pub extra: X,
    /* private fields */
}

Fields§

§extra: X

Extra information that can be embedded by the user. Example: the parsed file name