Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 1176 | |
| 1177 | // Format implements the NodeFormatter interface. |
| 1178 | func (node *BinaryExpr) Format(ctx *FmtCtx) { |
| 1179 | binExprFmtWithParen(ctx, node.Left, node.Operator.String(), node.Right, node.Operator.isPadded()) |
| 1180 | } |
| 1181 | |
| 1182 | // UnaryOperator represents a unary operator. |
| 1183 | type UnaryOperator int |
nothing calls this directly
no test coverage detected