MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / UnaryOpOverloads

Struct UnaryOpOverloads

pkg/sql/sem/tree/eval.go:107–109  ·  view source on GitHub ↗

UnaryOpOverloads is an overloaded set of unary operator implementations. It implements overloadSet.

Source from the content-addressed store, hash-verified

105// UnaryOpOverloads is an overloaded set of unary operator implementations.
106// It implements overloadSet.
107type UnaryOpOverloads struct {
108 overloads []*UnaryOp
109}
110
111func (u *UnaryOpOverloads) len() int { return len(u.overloads) }
112func (u *UnaryOpOverloads) get(i int) overloadImpl { return u.overloads[i] }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected