(
op: CmpOp,
lhs: &Expr,
rhs: &Expr,
lhs_temp: &BTreeMap<usize, String>,
rhs_temp: &BTreeMap<usize, String>,
)
| 92 | } |
| 93 | |
| 94 | pub(crate) fn cmpop_with_temp_args( |
| 95 | op: CmpOp, |
| 96 | lhs: &Expr, |
| 97 | rhs: &Expr, |
| 98 | lhs_temp: &BTreeMap<usize, String>, |
| 99 | rhs_temp: &BTreeMap<usize, String>, |
| 100 | ) -> Self { |
| 101 | PyExpr { |
| 102 | inner: Expr::Compare(op, Box::new(lhs.clone()), Box::new(rhs.clone())), |
| 103 | name: None, |
| 104 | temp_args: merge_temp_args(lhs_temp, rhs_temp), |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | pub(crate) fn unary_with_temp_args( |
| 109 | op: UnaryOp, |
nothing calls this directly
no test coverage detected