Type Alias InputSpan

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

Code span.

Aliased Type§

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

Fields§

§extra: ()

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

Trait Implementations§

Source§

impl<'a> IntoInputSpan<'a> for InputSpan<'a>

Source§

fn into_input_span(self) -> InputSpan<'a>

Converts input into a span.