type golang.org/x/mod/modfile.Comment

19 uses

	golang.org/x/mod/modfile (current package)
		print.go#L25: 	comment      []Comment // pending end-of-line comments
		read.go#L51: type Comment struct {
		read.go#L59: 	Before []Comment // whole-line comments before this expression
		read.go#L60: 	Suffix []Comment // end-of-line comments after this expression
		read.go#L64: 	After []Comment
		read.go#L247: func commentsAdd(x, y []Comment) []Comment {
		read.go#L330: 	comments   []Comment // accumulated comments
		read.go#L543: 			in.comments = append(in.comments, Comment{in.token.pos, in.token.text, suffix})
		read.go#L677: 	var line, suffix []Comment
		read.go#L765: func reverseComments(list []Comment) {
		read.go#L788: 			com.Before = append(com.Before, Comment{Start: tok.pos, Token: tok.text})
		read.go#L858: 	var comments []Comment
		read.go#L868: 				comments = append(comments, Comment{})
		read.go#L872: 			comments = append(comments, Comment{Start: tok.pos, Token: tok.text})
		rule.go#L117: 			Before: []Comment{
		rule.go#L421: 			line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
		rule.go#L566: 	groups := [][]Comment{comments.Before, comments.Suffix}
		rule.go#L918: 			com := Comment{Token: "// " + line}