Type Alias wagon_parser::parser::ParseResult

source ·
pub type ParseResult<T> = Result<T, WagParseError>;
Expand description

Any parse will either return the node we are trying to parse, or a WagParseError.

Aliased Type§

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

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(WagParseError)

Contains the error value