Skip to main content

Text

Type Alias Text 

Source
pub type Text<'a> = LocatedSpan<&'a str>;
Expand description

Type alias for text with position tracking.

Used internally by the lexer for tracking positions during tokenization.

Aliased Type§

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

Fields§

§extra: ()

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