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

Function NewTypedAndExpr

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

NewTypedAndExpr returns a new AndExpr that is verified to be well-typed.

(left, right TypedExpr)

Source from the content-addressed store, hash-verified

189
190// NewTypedAndExpr returns a new AndExpr that is verified to be well-typed.
191func NewTypedAndExpr(left, right TypedExpr) *AndExpr {
192 node := &AndExpr{Left: left, Right: right}
193 node.typ = types.Bool
194 return node
195}
196
197// TypedLeft returns the AndExpr's left expression as a TypedExpr.
198func (node *AndExpr) TypedLeft() TypedExpr {

Callers 2

normalizeMethod · 0.85
normalizeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…