MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / Format

Method Format

pkg/sql/sem/tree/expr.go:248–251  ·  view source on GitHub ↗

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

246
247// Format implements the NodeFormatter interface.
248func (node *NotExpr) Format(ctx *FmtCtx) {
249 ctx.WriteString("NOT ")
250 exprFmtWithParen(ctx, node.Expr)
251}
252
253// NewTypedNotExpr returns a new NotExpr that is verified to be well-typed.
254func NewTypedNotExpr(expr TypedExpr) *NotExpr {

Callers

nothing calls this directly

Calls 1

exprFmtWithParenFunction · 0.85

Tested by

no test coverage detected