Resolved returns the resolved name in the annotation for this node (or nil if there isn't one).
(ann *Annotations)
| 257 | // Resolved returns the resolved name in the annotation for this node (or nil if |
| 258 | // there isn't one). |
| 259 | func (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. |
| 268 | func (u *UnresolvedObjectName) Format(ctx *FmtCtx) { |