pub fn parse_expression(input: &str) -> IResult<&str, Expression>Expand description
Parse a complete AIMX expression string into an Expression.
Entry-point for constructing the AST from source. Trims input, returns
Expression::Empty for empty input, flattens simple primaries into
Expression::Primary, and otherwise yields Single/Array as needed.
Input and remaining slice follow nom’s [IResult] conventions.