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

Method normalize

pkg/sql/sem/tree/normalize.go:570–577  ·  view source on GitHub ↗
(v *NormalizeVisitor)

Source from the content-addressed store, hash-verified

568}
569
570func (expr *NotExpr) normalize(v *NormalizeVisitor) TypedExpr {
571 inner := expr.TypedInnerExpr()
572 switch t := inner.(type) {
573 case *NotExpr:
574 return t.TypedInnerExpr()
575 }
576 return expr
577}
578
579func (expr *ParenExpr) normalize(v *NormalizeVisitor) TypedExpr {
580 return expr.TypedInnerExpr()

Callers

nothing calls this directly

Calls 1

TypedInnerExprMethod · 0.95

Tested by

no test coverage detected