pub fn is_range_expr(expr: &Expr) -> bool
Check if an expression is a simple range (start..end or start..=end).