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

Struct IfExpr

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

IfExpr represents an IF expression.

Source from the content-addressed store, hash-verified

653
654// IfExpr represents an IF expression.
655type IfExpr struct {
656 Cond Expr
657 True Expr
658 Else Expr
659
660 typeAnnotation
661}
662
663// TypedTrueExpr returns the IfExpr's True expression as a TypedExpr.
664func (node *IfExpr) TypedTrueExpr() TypedExpr {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected