Type Alias ParserResult

Source
pub type ParserResult<T> = Result<T, ParserError>;
Expand description

Global result type used throughout the parser stages

Aliased Type§

enum ParserResult<T> {
    Ok(T),
    Err(ParserError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParserError)

Contains the error value