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

Method TypedElseExpr

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

TypedElseExpr returns the IfExpr's Else expression as a TypedExpr.

()

Source from the content-addressed store, hash-verified

672
673// TypedElseExpr returns the IfExpr's Else expression as a TypedExpr.
674func (node *IfExpr) TypedElseExpr() TypedExpr {
675 return node.Else.(TypedExpr)
676}
677
678// Format implements the NodeFormatter interface.
679func (node *IfExpr) Format(ctx *FmtCtx) {

Callers 1

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected