Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 186 | |
| 187 | // Format implements the NodeFormatter interface. |
| 188 | func (node *AndExpr) Format(ctx *FmtCtx) { |
| 189 | binExprFmtWithParen(ctx, node.Left, "AND", node.Right, true) |
| 190 | } |
| 191 | |
| 192 | // NewTypedAndExpr returns a new AndExpr that is verified to be well-typed. |
| 193 | func NewTypedAndExpr(left, right TypedExpr) *AndExpr { |
nothing calls this directly
no test coverage detected