go/ast.SelectorExpr.Sel (field)

31 uses

	go/ast (current package)
		ast.go#L333: 		Sel *Ident // field selector
		ast.go#L528: func (x *SelectorExpr) End() token.Pos   { return x.Sel.End() }
		filter.go#L69: 			return t.Sel
		walk.go#L113: 		Walk(v, n.Sel)

	go/doc
		exports.go#L267: 				Sel: ast.NewIdent(typ.Sel.Name),
		reader.go#L138: 			return t.Sel.Name, true

	go/parser
		parser.go#L522: 		return &ast.SelectorExpr{X: ident, Sel: sel}
		parser.go#L1402: 	return &ast.SelectorExpr{X: x, Sel: sel}
		parser.go#L1688: 				x = &ast.SelectorExpr{X: x, Sel: sel}

	go/printer
		nodes.go#L1111: 	if line := p.lineFor(x.Sel.Pos()); p.pos.IsValid() && p.pos.Line < line {
		nodes.go#L1112: 		p.print(indent, newline, x.Sel.Pos(), x.Sel)
		nodes.go#L1118: 	p.print(x.Sel.Pos(), x.Sel)

	go/types
		builtins.go#L665: 		sel := selx.Sel.Name
		call.go#L440: 	sel := e.Sel.Name
		call.go#L473: 					check.errorf(e.Sel, _UndeclaredImportedName, "%s not declared by package C", sel)
		call.go#L481: 						check.errorf(e.Sel, _UndeclaredImportedName, "%s not declared by package %s", sel, pkg.name)
		call.go#L486: 					check.errorf(e.Sel, _UnexportedName, "%s not exported by package %s", sel, pkg.name)
		call.go#L490: 			check.recordUse(e.Sel, exp)
		call.go#L521: 				check.dump("%v: unexpected object %v", e.Sel.Pos(), exp)
		call.go#L539: 		check.errorf(e.Sel, _UncalledBuiltin, "cannot select on %s", x)
		call.go#L554: 			check.errorf(e.Sel, _AmbiguousSelector, "ambiguous selector %s.%s", x.expr, sel)
		call.go#L559: 			check.errorf(e.Sel, _InvalidMethodExpr, "cannot call pointer method %s on %s", sel, x.typ)
		call.go#L584: 		check.errorf(e.Sel, _MissingFieldOrMethod, "%s.%s undefined (%s)", x.expr, sel, why)
		call.go#L598: 			check.errorf(e.Sel, _MissingFieldOrMethod, "%s.%s undefined (type %s has no method %s)", x.expr, sel, x.typ, sel)
		check.go#L534: 		return x.Sel
		check.go#L564: 	check.recordUse(x.Sel, obj)
		exprstring.go#L68: 		buf.WriteString(x.Sel.Name)
		struct.go#L189: 		return e.Sel