fn write_expression( output: &mut String, expr: &Expression<String>, transform: &impl Fn(&str) -> Cow<'_, str>, )