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