MCPcopy Create free account
hub / github.com/dolthub/doltgresql / CastExpr

Struct CastExpr

postgres/parser/sem/tree/expr.go:1507–1513  ·  view source on GitHub ↗

CastExpr represents a CAST(expr AS type) expression.

Source from the content-addressed store, hash-verified

1505
1506// CastExpr represents a CAST(expr AS type) expression.
1507type CastExpr struct {
1508 Expr Expr
1509 Type ResolvableTypeReference
1510
1511 typeAnnotation
1512 SyntaxMode castSyntaxMode
1513}
1514
1515// Format implements the NodeFormatter interface.
1516func (node *CastExpr) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected