type go/ast.TypeSpec

40 uses

	go/ast (current package)
		ast.go#L898: 	TypeSpec struct {
		ast.go#L916: func (s *TypeSpec) Pos() token.Pos  { return s.Name.Pos() }
		ast.go#L934: func (s *TypeSpec) End() token.Pos { return s.Type.End() }
		ast.go#L941: func (*TypeSpec) specNode()   {}
		filter.go#L196: 	case *TypeSpec:
		scope.go#L112: 	case *TypeSpec:
		walk.go#L313: 	case *TypeSpec:

	go/doc
		example.go#L180: 				case *ast.TypeSpec:
		example.go#L244: 				case *ast.TypeSpec:
		exports.go#L221: 	case *ast.TypeSpec:
		filter.go#L33: 		case *ast.TypeSpec:
		reader.go#L335: func (r *reader) readType(decl *ast.GenDecl, spec *ast.TypeSpec) {
		reader.go#L533: 					if s, ok := d.Specs[0].(*ast.TypeSpec); ok {
		reader.go#L539: 					if s, ok := spec.(*ast.TypeSpec); ok {

	go/parser
		parser.go#L2388: 	spec := &ast.TypeSpec{Doc: doc, Name: ident}

	go/printer
		nodes.go#L1585: 	case *ast.TypeSpec:
		printer.go#L1039: 	case *ast.TypeSpec:
		printer.go#L1059: 	case *ast.TypeSpec:

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L3145: func encode_ast_TypeSpec(e *codec.Encoder, x *ast.TypeSpec) {
		encode_ast.gen.go#L3172: func decode_ast_TypeSpec(d *codec.Decoder, p **ast.TypeSpec) {
		encode_ast.gen.go#L3178: 		*p = ref.(*ast.TypeSpec)
		encode_ast.gen.go#L3181: 	var x ast.TypeSpec
		encode_ast.gen.go#L3207: 	codec.Register(&ast.TypeSpec{},
		encode_ast.gen.go#L3208: 		func(e *codec.Encoder, x interface{}) { encode_ast_TypeSpec(e, x.(*ast.TypeSpec)) },
		encode_ast.gen.go#L3210: 			var x *ast.TypeSpec

	golang.org/x/pkgsite/internal/godoc/dochtml
		symbol.go#L115: 		spec, ok := specs[0].(*ast.TypeSpec)
		symbol.go#L192: func fieldsForType(typName string, spec *ast.TypeSpec, fset *token.FileSet) []*internal.SymbolMeta {
		symbol.go#L217: func methodsForType(t *doc.Type, spec *ast.TypeSpec, fset *token.FileSet) ([]*internal.SymbolMeta, error) {

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		idents.go#L153: 			dids.recvType = decl.Specs[0].(*ast.TypeSpec).Name.String()
		linkify.go#L611: 				ts := sp.(*ast.TypeSpec)
		linkify.go#L694: 		case *ast.TypeSpec:
		synopsis.go#L68: 	case *ast.TypeSpec:

	golang.org/x/pkgsite/internal/godoc/internal/doc
		example.go#L180: 				case *ast.TypeSpec:
		example.go#L358: 				case *ast.TypeSpec:
		example.go#L390: 				case *ast.TypeSpec:
		exports.go#L221: 	case *ast.TypeSpec:
		filter.go#L33: 		case *ast.TypeSpec:
		reader.go#L339: func (r *reader) readType(decl *ast.GenDecl, spec *ast.TypeSpec) {
		reader.go#L537: 					if s, ok := d.Specs[0].(*ast.TypeSpec); ok {
		reader.go#L543: 					if s, ok := spec.(*ast.TypeSpec); ok {