Type Alias kodept_parse::ParseResult

source ·
pub type ParseResult<'t, O> = IResult<TokenStream<'t>, O, ParseError<'t>>;

Aliased Type§

enum ParseResult<'t, O> {
    Ok((TokenStream<'t>, O)),
    Err(Err<GenericErrorTree<TokenStream<'t>, &'static str, &'static str, TokenVerificationError>>),
}

Variants§

§1.0.0

Ok((TokenStream<'t>, O))

Contains the success value

§1.0.0

Err(Err<GenericErrorTree<TokenStream<'t>, &'static str, &'static str, TokenVerificationError>>)

Contains the error value