go/ast.TypeSpec.Type (field)
29 uses
go/ast (current package)
ast.go#L934: Type Expr // *Ident, *ParenExpr, *SelectorExpr, *StarExpr, or any of the *XxxTypes
ast.go#L966: func (s *TypeSpec) End() token.Pos { return s.Type.End() }
filter.go#L199: filterType(s.Type, f, export)
filter.go#L209: return filterType(s.Type, f, export)
walk.go#L308: Walk(v, n.Type)
go/doc
doc.go#L204: list, isStruct := fields(spec.Type)
doc.go#L222: list, isStruct := fields(spec.Type)
example.go#L409: ast.Inspect(s.Type, inspectFunc)
exports.go#L238: r.filterType(r.lookupType(s.Name.Name), s.Type)
filter.go#L39: switch t := v.Type.(type) {
reader.go#L389: list, typ.isStruct = fields(spec.Type)
go/parser
parser.go#L2605: spec.Type = p.parseType()
parser.go#L2662: spec.Type = p.parseArrayType(lbrack, x)
parser.go#L2666: spec.Type = p.parseArrayType(lbrack, nil)
parser.go#L2675: spec.Type = p.parseType()
resolver.go#L477: ast.Walk(r, spec.Type)
go/printer
nodes.go#L1727: p.expr(s.Type)
go/types
cycles.go#L77: rhs, ok := check.objMap[tname].tdecl.Type.(*ast.Ident)
decl.go#L529: _ = !versionErr && check.isImportedConstraint(rhs) && check.verifyVersionf(tdecl.Type, go1_18, "using type constraint %s", rhs)
decl.go#L568: rhs = check.declaredType(tdecl.Type, obj)
decl.go#L575: check.error(tdecl.Type, MisplacedTypeParam, "cannot use type parameter declared in alias declaration as RHS")
decl.go#L592: rhs = check.typ(tdecl.Type)
decl.go#L623: rhs = check.declaredType(tdecl.Type, obj)
decl.go#L630: check.error(tdecl.Type, MisplacedTypeParam, "cannot use a type parameter as RHS in type declaration")
resolver.go#L609: typ := ast.Unparen(tdecl.Type)
go.pact.im/x/plumb/internal/discover
discover.go#L224: switch t := s.Type.(type) {
discover.go#L573: switch st := s.Type.(type) {
discover.go#L588: } else if c := memberDirective(s.Type); c != nil {
golang.org/x/tools/go/ast/inspector
walk.go#L298: walk(v, edge.TypeSpec_Type, -1, n.Type)