MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Format

Method Format

postgres/parser/sem/tree/expr.go:285–288  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

283
284// Format implements the NodeFormatter interface.
285func (node *IsNullExpr) Format(ctx *FmtCtx) {
286 exprFmtWithParen(ctx, node.Expr)
287 ctx.WriteString(" IS NULL")
288}
289
290// NewTypedIsNullExpr returns a new IsNullExpr that is verified to be
291// well-typed.

Callers

nothing calls this directly

Calls 2

exprFmtWithParenFunction · 0.85
WriteStringMethod · 0.80

Tested by

no test coverage detected