(expr: rq::Expr, ctx: &mut Context)
| 33 | } |
| 34 | |
| 35 | pub(super) fn translate_operator_expr(expr: rq::Expr, ctx: &mut Context) -> Result<ExprOrSource> { |
| 36 | let (name, args) = expr.kind.into_operator().unwrap(); |
| 37 | |
| 38 | let source = translate_operator(name, args, ctx).with_span(expr.span)?; |
| 39 | |
| 40 | Ok(ExprOrSource::Source(source)) |
| 41 | } |
| 42 | |
| 43 | pub(super) fn translate_operator( |
| 44 | name: String, |
no test coverage detected