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

Method TypedInnerExpr

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

TypedInnerExpr returns the UnaryExpr's inner expression as a TypedExpr.

()

Source from the content-addressed store, hash-verified

1235
1236// TypedInnerExpr returns the UnaryExpr's inner expression as a TypedExpr.
1237func (node *UnaryExpr) TypedInnerExpr() TypedExpr {
1238 return node.Expr.(TypedExpr)
1239}
1240
1241// NewTypedUnaryExpr returns a new UnaryExpr that is well-typed.
1242func NewTypedUnaryExpr(op UnaryOperator, expr TypedExpr, typ *types.T) *UnaryExpr {

Callers 1

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected