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

Struct CastExpr

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

CastExpr represents a CAST(expr AS type) expression.

Source from the content-addressed store, hash-verified

1454
1455// CastExpr represents a CAST(expr AS type) expression.
1456type CastExpr struct {
1457 Expr Expr
1458 Type *types.T
1459
1460 typeAnnotation
1461 SyntaxMode castSyntaxMode
1462}
1463
1464// Format implements the NodeFormatter interface.
1465func (node *CastExpr) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected