go/ast.ImportSpec.Comment (field)

12 uses

	go/ast (current package)
		ast.go#L913: 		Comment *CommentGroup // line comments; or nil
		import.go#L87: 	c := s.(*ImportSpec).Comment
		import.go#L99: 	return prev.(*ImportSpec).Comment == nil
		walk.go#L283: 		if n.Comment != nil {
		walk.go#L284: 			Walk(v, n.Comment)

	go/doc
		example.go#L536: 		if imp.Comment != nil {
		example.go#L537: 			prevEnd = imp.Comment.End()

	go/parser
		parser.go#L2544: 		Comment: comment,

	go/printer
		nodes.go#L1694: 		p.setComment(s.Comment)
		printer.go#L1074: 		return n.Comment

	golang.org/x/tools/go/ast/inspector
		walk.go#L273: 		if n.Comment != nil {
		walk.go#L274: 			walk(v, edge.ImportSpec_Comment, -1, n.Comment)