Function cexpr::expr::expr [] [src]

pub fn expr<'a>(input: &'a [Token]) -> CResult<'a, EvalResult>

Parse and evalute an expression of a list of tokens.

Returns an error if the input is not a valid expression or if the token stream contains comments, keywords or identifiers.