go/ast.File.Comments (field)

17 uses

	go/ast (current package)
		ast.go#L1074: 	Comments           []*CommentGroup // comments in the file, in lexical order
		ast.go#L1125: 	for _, group := range file.Comments {
		filter.go#L365: 		ncomments += len(f.Comments)
		filter.go#L503: 			i += copy(comments[i:], f.Comments)
		import.go#L138: 	first := len(f.Comments)
		import.go#L140: 	for i, g := range f.Comments {
		import.go#L158: 		comments = f.Comments[first : last+1]

	go/build
		read.go#L355: 	for _, group := range info.parsed.Comments {

	go/doc
		example.go#L87: 			output, unordered, hasOutput := exampleOutput(f.Body, file.Comments)
		example.go#L93: 				Comments:    file.Comments,
		example.go#L271: 	for _, c := range file.Comments {
		example.go#L326: 		Comments: comments,
		example.go#L547: 	comments := file.Comments
		example.go#L569: 	f.Comments = comments
		reader.go#L644: 	r.readNotes(src.Comments)
		reader.go#L646: 		src.Comments = nil // consumed unassociated comments - remove from AST

	go/parser
		parser.go#L2933: 		Comments:  p.comments,