mylang_parser::result

Type Alias ParseResult

source
pub type ParseResult<T> = Result<T, ParseErr>;

Aliased Type§

enum ParseResult<T> {
    Ok(T),
    Err(ParseErr),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseErr)

Contains the error value