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

Method TypedCondExpr

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

TypedCondExpr returns the IfExpr's Cond expression as a TypedExpr.

()

Source from the content-addressed store, hash-verified

667
668// TypedCondExpr returns the IfExpr's Cond expression as a TypedExpr.
669func (node *IfExpr) TypedCondExpr() TypedExpr {
670 return node.Cond.(TypedExpr)
671}
672
673// TypedElseExpr returns the IfExpr's Else expression as a TypedExpr.
674func (node *IfExpr) TypedElseExpr() TypedExpr {

Callers 1

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected