Lookup returns the bind.Object corresponding to a types.Object
(o types.Object)
| 616 | |
| 617 | // Lookup returns the bind.Object corresponding to a types.Object |
| 618 | func (p *Package) Lookup(o types.Object) (Object, bool) { |
| 619 | obj, ok := p.objs[o.Name()] |
| 620 | return obj, ok |
| 621 | } |
| 622 | |
| 623 | func (p *Package) sortStructEmbeds() { |
| 624 | for { |
no test coverage detected