type go/ast.SelectorExpr
39 uses
go/ast (current package)
ast.go#L343: SelectorExpr struct {
ast.go#L504: func (x *SelectorExpr) Pos() token.Pos { return x.X.Pos() }
ast.go#L538: func (x *SelectorExpr) End() token.Pos { return x.Sel.End() }
ast.go#L569: func (*SelectorExpr) exprNode() {}
filter.go#L64: case *SelectorExpr:
walk.go#L89: case *SelectorExpr:
go/doc
example.go#L361: case *ast.SelectorExpr:
exports.go#L257: case *ast.SelectorExpr:
exports.go#L260: return &ast.SelectorExpr{
reader.go#L133: case *ast.SelectorExpr:
go/parser
parser.go#L565: return &ast.SelectorExpr{X: ident, Sel: sel}
parser.go#L1505: return &ast.SelectorExpr{X: x, Sel: sel}
parser.go#L1734: x = &ast.SelectorExpr{X: x, Sel: sel}
parser.go#L1746: case *ast.BadExpr, *ast.Ident, *ast.SelectorExpr:
resolver.go#L267: case *ast.SelectorExpr:
go/printer
nodes.go#L893: case *ast.SelectorExpr:
nodes.go#L1148: if x, ok := expr.(*ast.SelectorExpr); ok {
nodes.go#L1157: func (p *printer) selectorExpr(x *ast.SelectorExpr, depth int, isMethod bool) bool {
nodes.go#L1240: case *ast.SelectorExpr:
go/types
api.go#L280: Selections map[*ast.SelectorExpr]*Selection
assignments.go#L234: if sel, ok := x.expr.(*ast.SelectorExpr); ok {
builtins.go#L711: selx, _ := ast.Unparen(arg0).(*ast.SelectorExpr)
call.go#L674: func (check *Checker) selector(x *operand, e *ast.SelectorExpr, def *TypeName, wantType bool) {
check.go#L591: case *ast.SelectorExpr, *ast.Ident:
check.go#L597: case *ast.SelectorExpr:
expr.go#L266: case *ast.Ident, *ast.BasicLit, *ast.SelectorExpr:
expr.go#L1038: case *ast.SelectorExpr:
exprstring.go#L67: case *ast.SelectorExpr:
recording.go#L85: case *ast.Ident, *ast.SelectorExpr:
recording.go#L164: func (check *Checker) recordSelection(x *ast.SelectorExpr, kind SelectionKind, recv Type, obj Object, index []int, indirect bool) {
struct.go#L190: case *ast.SelectorExpr:
typexpr.go#L273: case *ast.SelectorExpr:
golang.org/x/tools/go/packages
packages.go#L1193: Selections: make(map[*ast.SelectorExpr]*types.Selection),
golang.org/x/tools/go/types/typeutil
callee.go#L72: case *ast.SelectorExpr:
golang.org/x/tools/internal/typesinternal
types.go#L151: Selections: map[*ast.SelectorExpr]*types.Selection{},
zerovalue.go#L229: return &ast.SelectorExpr{X: ast.NewIdent(qual(types.NewPackage("unsafe", "unsafe"))), Sel: ast.NewIdent("Pointer")}
zerovalue.go#L306: return &ast.SelectorExpr{
zerovalue.go#L318: expr = &ast.SelectorExpr{
gotest.tools/v3/internal/assert
result.go#L102: case *ast.Ident, *ast.SelectorExpr, *ast.IndexExpr, *ast.SliceExpr: