go/ast.Field.Type (field)

65 uses

	go/ast (current package)
		ast.go#L200: 	Type    Expr          // field/method/parameter type
		ast.go#L209: 	return f.Type.Pos()
		ast.go#L216: 	return f.Type.End()
		filter.go#L87: 			name := fieldName(f.Type)
		filter.go#L99: 				filterType(f.Type, filter, export)
		filter.go#L146: 		if filterType(f.Type, filter, export) {
		filter.go#L322: 		t := r.List[0].Type
		walk.go#L74: 		Walk(v, n.Type)

	go/doc
		example.go#L172: 					t := d.Recv.List[0].Type
		example.go#L231: 					ast.Inspect(p.Type, inspectFunc)
		example.go#L236: 					ast.Inspect(r.Type, inspectFunc)
		exports.go#L93: 			if fname, _ := baseTypeName(field.Type); fname == "error" {
		exports.go#L123: 			fname := r.recordAnonymousField(parent, field.Type)
		exports.go#L143: 			r.filterType(nil, field.Type)
		exports.go#L160: 			r.filterType(nil, f.Type)
		reader.go#L59: 			typ = list[0].Type
		reader.go#L364: 			r.recordAnonymousField(typ, field.Type)
		reader.go#L391: 		recvTypeName, imp := baseTypeName(fun.Recv.List[0].Type)
		reader.go#L414: 			factoryType := res.Type
		reader.go#L616: 	origPos := newField.Type.Pos()
		reader.go#L617: 	_, origRecvIsPtr := newField.Type.(*ast.StarExpr)
		reader.go#L624: 	newField.Type = typ

	go/parser
		parser.go#L750: 	field := &ast.Field{Doc: doc, Names: idents, Type: typ, Tag: tag, Comment: p.lineComment}
		parser.go#L847: 		field := &ast.Field{Names: idents, Type: typ}
		parser.go#L860: 			field := &ast.Field{Names: idents, Type: typ}
		parser.go#L878: 		params[i] = &ast.Field{Type: typ}
		parser.go#L910: 		list[0] = &ast.Field{Type: typ}
		parser.go#L962: 	spec := &ast.Field{Doc: doc, Names: idents, Type: typ, Comment: p.lineComment}

	go/printer
		nodes.go#L335: 				parLineBeg = p.lineFor(par.Type.Pos())
		nodes.go#L337: 			var parLineEnd = p.lineFor(par.Type.End())
		nodes.go#L368: 			p.expr(stripParensAlways(par.Type))
		nodes.go#L397: 			p.expr(stripParensAlways(result.List[0].Type))
		nodes.go#L431: 	typeSize := p.nodeSize(f.Type, maxSize)
		nodes.go#L468: 				p.expr(f.Type)
		nodes.go#L470: 				if ftyp, isFtyp := f.Type.(*ast.FuncType); isFtyp {
		nodes.go#L476: 					p.expr(f.Type)
		nodes.go#L508: 				p.expr(f.Type)
		nodes.go#L512: 				p.expr(f.Type)
		nodes.go#L547: 			if ftyp, isFtyp := f.Type.(*ast.FuncType); isFtyp {
		nodes.go#L553: 				p.expr(f.Type)

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L1347: 	if x.Type != nil {
		encode_ast.gen.go#L1349: 		e.EncodeAny(x.Type)
		encode_ast.gen.go#L1384: 			x.Type = d.DecodeAny().(ast.Expr)

	golang.org/x/pkgsite/internal/godoc/dochtml
		symbol.go#L203: 			synopsis := fmt.Sprintf("%s %s", n, render.OneLineNodeDepth(fset, f.Type, 0))

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		idents.go#L159: 			dids.recvType, _ = nodeName(f.Type) // E.g., "Reader"
		idents.go#L174: 				typeName, _ := nodeName(field.Type) // E.g., "context.Context"
		linkify.go#L640: 						typeName, id := nodeName(f.Type)
		linkify.go#L651: 			recvName, _ := nodeName(decl.Recv.List[0].Type)
		short_synopsis.go#L78: 		return shortOneLineNodeDepth(fset, field.Type, depth)
		synopsis.go#L198: 		return OneLineNodeDepth(fset, field.Type, depth)
		synopsis.go#L200: 	return joinStrings(names) + " " + OneLineNodeDepth(fset, field.Type, depth)

	golang.org/x/pkgsite/internal/godoc/internal/doc
		example.go#L172: 					t := d.Recv.List[0].Type
		example.go#L345: 					ast.Inspect(p.Type, inspectFunc)
		example.go#L350: 					ast.Inspect(r.Type, inspectFunc)
		exports.go#L93: 			if fname, _ := baseTypeName(field.Type); fname == "error" {
		exports.go#L123: 			fname := r.recordAnonymousField(parent, field.Type)
		exports.go#L143: 			r.filterType(nil, field.Type)
		exports.go#L160: 			r.filterType(nil, f.Type)
		reader.go#L59: 			typ = list[0].Type
		reader.go#L368: 			r.recordAnonymousField(typ, field.Type)
		reader.go#L395: 		recvTypeName, imp := baseTypeName(fun.Recv.List[0].Type)
		reader.go#L418: 			factoryType := res.Type
		reader.go#L620: 	origPos := newField.Type.Pos()
		reader.go#L621: 	_, origRecvIsPtr := newField.Type.(*ast.StarExpr)
		reader.go#L628: 	newField.Type = typ