1 2 3 4 5 6 7 8 9 10 11 12
//! Parse rules written using the Reval DSL mod expr; mod value; use crate::expr::Expr; pub fn parse(input: &str) -> Expr { let (remaining, expr) = expr::expr(input).unwrap(); assert!(remaining.is_empty()); expr }