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

Struct AnnotateTypeExpr

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

AnnotateTypeExpr represents a ANNOTATE_TYPE(expr, type) expression.

Source from the content-addressed store, hash-verified

1620
1621// AnnotateTypeExpr represents a ANNOTATE_TYPE(expr, type) expression.
1622type AnnotateTypeExpr struct {
1623 Expr Expr
1624 Type *types.T
1625
1626 SyntaxMode annotateSyntaxMode
1627}
1628
1629// Format implements the NodeFormatter interface.
1630func (node *AnnotateTypeExpr) Format(ctx *FmtCtx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected