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§
Ok((TokenStream<'t>, O))
Contains the success value
Err(Err<GenericErrorTree<TokenStream<'t>, &'static str, &'static str, TokenVerificationError>>)
Contains the error value