golang.org/x/mod/modfile.Comments.Suffix (field)

22 uses

	golang.org/x/mod/modfile (current package)
		print.go#L169: 	p.comment = append(p.comment, x.Comment().Suffix...)
		read.go#L61: 	Suffix []Comment // end-of-line comments after this expression
		read.go#L201: 	line.Comments.Suffix = nil
		read.go#L234: 						Suffix: commentsAdd(stmt.Line[0].Suffix, stmt.Suffix),
		read.go#L749: 			xcom.Suffix = append(xcom.Suffix, suffix[len(suffix)-1])
		read.go#L758: 		reverseComments(x.Comment().Suffix)
		rule.go#L161: 		if len(line.Suffix) == 0 {
		rule.go#L163: 			line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
		rule.go#L167: 		com := &line.Suffix[0]
		rule.go#L181: 	f := strings.TrimSpace(strings.TrimPrefix(line.Suffix[0].Token, string(slashSlash)))
		rule.go#L184: 		line.Suffix = nil
		rule.go#L189: 	com := &line.Suffix[0]
		rule.go#L199: 	if len(line.Suffix) == 0 {
		rule.go#L202: 	f := strings.Fields(strings.TrimPrefix(line.Suffix[0].Token, string(slashSlash)))
		rule.go#L901: 	if block != nil && len(comments.Before) == 0 && len(comments.Suffix) == 0 {
		rule.go#L904: 	groups := [][]Comment{comments.Before, comments.Suffix}
		rule.go#L1290: 		return len(c.Before) > 0 || len(c.After) > 0 || len(c.Suffix) > 1 ||
		rule.go#L1291: 			(len(c.Suffix) == 1 &&
		rule.go#L1292: 				strings.TrimSpace(strings.TrimPrefix(c.Suffix[0].Token, string(slashSlash))) != "indirect")