type go/ast.ImportSpec

35 uses

	go/ast (current package)
		ast.go#L898: 	ImportSpec struct {
		ast.go#L930: func (s *ImportSpec) Pos() token.Pos {
		ast.go#L939: func (s *ImportSpec) End() token.Pos {
		ast.go#L959: func (*ImportSpec) specNode() {}
		ast.go#L1061: 	Imports            []*ImportSpec   // imports in this file
		filter.go#L455: 	var imports []*ImportSpec
		import.go#L60: 				f.Imports = append(f.Imports, spec.(*ImportSpec))
		import.go#L71: 	t, err := strconv.Unquote(s.(*ImportSpec).Path.Value)
		import.go#L79: 	n := s.(*ImportSpec).Name
		import.go#L87: 	c := s.(*ImportSpec).Comment
		import.go#L99: 	return prev.(*ImportSpec).Comment == nil
		import.go#L162: 	importComments := map[*ImportSpec][]cgPos{}
		import.go#L177: 		s := specs[specIndex].(*ImportSpec)
		import.go#L217: 		s := s.(*ImportSpec)
		scope.go#L112: 	case *ImportSpec:
		walk.go#L275: 	case *ImportSpec:

	go/build
		read.go#L465: 			spec, ok := dspec.(*ast.ImportSpec)

	go/doc
		example.go#L205: 	groupStart := func(s *ast.ImportSpec) token.Pos {
		example.go#L263: 		if c := s.(*ast.ImportSpec).Doc; c != nil {
		example.go#L509: func findImportGroupStarts(imps []*ast.ImportSpec) []token.Pos {
		example.go#L519: func findImportGroupStarts1(origImps []*ast.ImportSpec) []*ast.ImportSpec {
		example.go#L521: 	imps := make([]*ast.ImportSpec, len(origImps))
		example.go#L524: 	slices.SortFunc(imps, func(a, b *ast.ImportSpec) int {
		example.go#L529: 	var groupStarts []*ast.ImportSpec
		exports.go#L211: 	case *ast.ImportSpec:
		reader.go#L579: 					if s, ok := spec.(*ast.ImportSpec); ok {

	go/parser
		parser.go#L61: 	imports []*ast.ImportSpec // list of imports
		parser.go#L2518: 	spec := &ast.ImportSpec{

	go/printer
		nodes.go#L1687: 	case *ast.ImportSpec:
		printer.go#L1053: 	case *ast.ImportSpec:
		printer.go#L1073: 	case *ast.ImportSpec:

	go/types
		api.go#L370: func (info *Info) PkgNameOf(imp *ast.ImportSpec) *PkgName {
		decl.go#L363: 	importDecl struct{ spec *ast.ImportSpec }
		decl.go#L396: 			case *ast.ImportSpec: