Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 276 | |
| 277 | // Format implements the NodeFormatter interface. |
| 278 | func (node *IsNullExpr) Format(ctx *FmtCtx) { |
| 279 | exprFmtWithParen(ctx, node.Expr) |
| 280 | ctx.WriteString(" IS NULL") |
| 281 | } |
| 282 | |
| 283 | // NewTypedIsNullExpr returns a new IsNullExpr that is verified to be |
| 284 | // well-typed. |
nothing calls this directly
no test coverage detected