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

Method TypedRight

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

TypedRight returns the BinaryExpr's right expression as a TypedExpr.

()

Source from the content-addressed store, hash-verified

1126
1127// TypedRight returns the BinaryExpr's right expression as a TypedExpr.
1128func (node *BinaryExpr) TypedRight() TypedExpr {
1129 return node.Right.(TypedExpr)
1130}
1131
1132// ResolvedBinOp returns the resolved binary op overload; can only be called
1133// after Resolve (which happens during TypeCheck).

Callers 1

normalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected