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

Method Format

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

Format implements the NodeFormatter interface.

(ctx *FmtCtx)

Source from the content-addressed store, hash-verified

186
187// Format implements the NodeFormatter interface.
188func (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.
193func NewTypedAndExpr(left, right TypedExpr) *AndExpr {

Callers

nothing calls this directly

Calls 1

binExprFmtWithParenFunction · 0.85

Tested by

no test coverage detected