(ctx *FmtCtx, e1 Expr, op string, e2 Expr, pad bool)
| 159 | func (*AndExpr) operatorExpr() {} |
| 160 | |
| 161 | func binExprFmtWithParen(ctx *FmtCtx, e1 Expr, op string, e2 Expr, pad bool) { |
| 162 | exprFmtWithParen(ctx, e1) |
| 163 | if pad { |
| 164 | ctx.WriteByte(' ') |
| 165 | } |
| 166 | ctx.WriteString(op) |
| 167 | if pad { |
| 168 | ctx.WriteByte(' ') |
| 169 | } |
| 170 | exprFmtWithParen(ctx, e2) |
| 171 | } |
| 172 | |
| 173 | func binExprFmtWithParenAndSubOp(ctx *FmtCtx, e1 Expr, subOp, op string, e2 Expr) { |
| 174 | exprFmtWithParen(ctx, e1) |