type go/ast.SelectorExpr
35 uses
go/ast (current package)
ast.go#L331: SelectorExpr struct {
ast.go#L494: func (x *SelectorExpr) Pos() token.Pos { return x.X.Pos() }
ast.go#L528: func (x *SelectorExpr) End() token.Pos { return x.Sel.End() }
ast.go#L560: func (*SelectorExpr) exprNode() {}
filter.go#L67: case *SelectorExpr:
walk.go#L111: case *SelectorExpr:
go/doc
example.go#L209: case *ast.SelectorExpr:
exports.go#L263: case *ast.SelectorExpr:
exports.go#L266: return &ast.SelectorExpr{
reader.go#L134: case *ast.SelectorExpr:
go/parser
parser.go#L522: return &ast.SelectorExpr{X: ident, Sel: sel}
parser.go#L1402: return &ast.SelectorExpr{X: x, Sel: sel}
parser.go#L1611: case *ast.SelectorExpr:
parser.go#L1688: x = &ast.SelectorExpr{X: x, Sel: sel}
parser.go#L1700: case *ast.BadExpr, *ast.Ident, *ast.SelectorExpr:
resolver.go#L263: case *ast.SelectorExpr:
go/printer
nodes.go#L870: case *ast.SelectorExpr:
nodes.go#L1099: if x, ok := expr.(*ast.SelectorExpr); ok {
nodes.go#L1108: func (p *printer) selectorExpr(x *ast.SelectorExpr, depth int, isMethod bool) bool {
nodes.go#L1186: case *ast.SelectorExpr:
go/types
api.go#L247: Selections map[*ast.SelectorExpr]*Selection
assignments.go#L221: if sel, ok := z.expr.(*ast.SelectorExpr); ok {
builtins.go#L652: selx, _ := unparen(arg0).(*ast.SelectorExpr)
call.go#L432: func (check *Checker) selector(x *operand, e *ast.SelectorExpr, def *Named) {
check.go#L469: case *ast.Ident, *ast.SelectorExpr:
check.go#L527: case *ast.SelectorExpr, *ast.Ident:
check.go#L533: case *ast.SelectorExpr:
check.go#L562: func (check *Checker) recordSelection(x *ast.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
expr.go#L515: case *ast.Ident, *ast.BasicLit, *ast.SelectorExpr:
expr.go#L1535: case *ast.SelectorExpr:
exprstring.go#L65: case *ast.SelectorExpr:
struct.go#L188: case *ast.SelectorExpr:
typexpr.go#L259: case *ast.SelectorExpr:
golang.org/x/tools/go/packages
packages.go#L1001: Selections: make(map[*ast.SelectorExpr]*types.Selection),
gotest.tools/v3/internal/assert
result.go#L102: case *ast.Ident, *ast.SelectorExpr, *ast.IndexExpr, *ast.SliceExpr: