Macro nom::expr_res [] [src]

macro_rules! expr_res {
    ($i:expr, $e:expr) => { ... };
}

expr_res!(Result<E,O>) => I -> IResult<I, O> evaluate an expression that returns a Result<T,E> and returns a IResult::Done(I,T) if Ok

See expr_opt for an example