(
op: BinaryOp,
lhs: &Expr,
rhs: &Expr,
lhs_temp: &BTreeMap<usize, String>,
rhs_temp: &BTreeMap<usize, String>,
)
| 78 | } |
| 79 | |
| 80 | pub(crate) fn binop_with_temp_args( |
| 81 | op: BinaryOp, |
| 82 | lhs: &Expr, |
| 83 | rhs: &Expr, |
| 84 | lhs_temp: &BTreeMap<usize, String>, |
| 85 | rhs_temp: &BTreeMap<usize, String>, |
| 86 | ) -> Self { |
| 87 | PyExpr { |
| 88 | inner: Expr::Binary(op, Box::new(lhs.clone()), Box::new(rhs.clone())), |
| 89 | name: None, |
| 90 | temp_args: merge_temp_args(lhs_temp, rhs_temp), |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | pub(crate) fn cmpop_with_temp_args( |
| 95 | op: CmpOp, |
nothing calls this directly
no test coverage detected