Type Alias ParseResult

Source
pub type ParseResult<T = Arc<String>> = Result<ParseData<T>, String>;
Expand description

Helps specifying the type of the parsing result.

Aliased Type§

pub enum ParseResult<T = Arc<String>> {
    Ok(Vec<Expr<T>>),
    Err(String),
}

Variants§

§1.0.0

Ok(Vec<Expr<T>>)

Contains the success value

§1.0.0

Err(String)

Contains the error value