type go/types.Selection
18 uses
go/types (current package)
api.go#L247: Selections map[*ast.SelectorExpr]*Selection
check.go#L566: m[x] = &Selection{kind, recv, obj, index, indirect}
methodset.go#L19: list []*Selection
methodset.go#L40: func (s *MethodSet) At(i int) *Selection { return s.list[i] }
methodset.go#L43: func (s *MethodSet) Lookup(pkg *Package, name string) *Selection {
methodset.go#L188: var list []*Selection
methodset.go#L205: type methodSet map[string]*Selection // a nil entry indicates a name collision
methodset.go#L232: s[key] = &Selection{MethodVal, nil, f, index, indirect}
selection.go#L40: type Selection struct {
selection.go#L49: func (s *Selection) Kind() SelectionKind { return s.kind }
selection.go#L52: func (s *Selection) Recv() Type { return s.recv }
selection.go#L56: func (s *Selection) Obj() Object { return s.obj }
selection.go#L60: func (s *Selection) Type() Type {
selection.go#L102: func (s *Selection) Index() []int { return s.index }
selection.go#L106: func (s *Selection) Indirect() bool { return s.indirect }
selection.go#L108: func (s *Selection) String() string { return SelectionString(s, nil) }
selection.go#L119: func SelectionString(s *Selection, qf Qualifier) string {
golang.org/x/tools/go/packages
packages.go#L1001: Selections: make(map[*ast.SelectorExpr]*types.Selection),