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

Method Resolved

pkg/sql/sem/tree/name_part.go:259–265  ·  view source on GitHub ↗

Resolved returns the resolved name in the annotation for this node (or nil if there isn't one).

(ann *Annotations)

Source from the content-addressed store, hash-verified

257// Resolved returns the resolved name in the annotation for this node (or nil if
258// there isn't one).
259func (u *UnresolvedObjectName) Resolved(ann *Annotations) *TableName {
260 r := u.GetAnnotation(ann)
261 if r == nil {
262 return nil
263 }
264 return r.(*TableName)
265}
266
267// Format implements the NodeFormatter interface.
268func (u *UnresolvedObjectName) Format(ctx *FmtCtx) {

Callers 1

FormatMethod · 0.95

Calls 1

GetAnnotationMethod · 0.80

Tested by

no test coverage detected