Type Alias solang_parser::lexer::Result

source ·
pub type Result<'a, T = Spanned<'a>, E = LexicalError> = Result<T, E>;
Expand description

Lexer’s Result type.

Aliased Type§

enum Result<'a, T = Spanned<'a>, E = LexicalError> {
    Ok(T),
    Err(E),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(E)

Contains the error value