golang.org/x/mod/modfile.Comment.Token (field)

28 uses

	golang.org/x/mod/modfile (current package)
		print.go#L56: 			p.printf("%s", strings.TrimSpace(com.Token))
		print.go#L82: 		p.printf("%s", strings.TrimSpace(com.Token))
		print.go#L98: 			p.printf("%s", strings.TrimSpace(com.Token))
		print.go#L123: 			p.printf("%s", strings.TrimSpace(com.Token))
		read.go#L53: 	Token  string // without trailing newline
		read.go#L688: 			fmt.Fprintf(os.Stderr, "LINE %q :%d:%d #%d\n", c.Token, c.Start.Line, c.Start.LineRune, c.Start.Byte)
		read.go#L701: 				fmt.Fprintf(os.Stderr, "ASSIGN LINE %q #%d\n", line[0].Token, line[0].Start.Byte)
		read.go#L713: 			fmt.Fprintf(os.Stderr, "SUFFIX %q :%d:%d #%d\n", c.Token, c.Start.Line, c.Start.LineRune, c.Start.Byte)
		read.go#L746: 				fmt.Fprintf(os.Stderr, "ASSIGN SUFFIX %q #%d\n", suffix[len(suffix)-1].Token, suffix[len(suffix)-1].Start.Byte)
		read.go#L788: 			com.Before = append(com.Before, Comment{Start: tok.pos, Token: tok.text})
		read.go#L867: 			if len(comments) == 0 && len(x.Line) > 0 || len(comments) > 0 && comments[len(comments)-1].Token != "" {
		read.go#L872: 			comments = append(comments, Comment{Start: tok.pos, Token: tok.text})
		rule.go#L119: 					Token: text,
		rule.go#L408: 	f := strings.Fields(strings.TrimPrefix(line.Suffix[0].Token, string(slashSlash)))
		rule.go#L421: 			line.Suffix = []Comment{{Token: "// indirect", Suffix: true}}
		rule.go#L426: 		text := strings.TrimSpace(strings.TrimPrefix(com.Token, string(slashSlash)))
		rule.go#L429: 			com.Token = "// indirect"
		rule.go#L434: 		com.Token = "// indirect; " + text
		rule.go#L439: 	f := strings.Fields(line.Suffix[0].Token)
		rule.go#L448: 	i := strings.Index(com.Token, "indirect;")
		rule.go#L449: 	com.Token = "//" + com.Token[i+len("indirect;"):]
		rule.go#L570: 			if !strings.HasPrefix(c.Token, "//") {
		rule.go#L573: 			lines = append(lines, strings.TrimSpace(strings.TrimPrefix(c.Token, "//")))
		rule.go#L789: 						if len(line.Comments.Before) == 1 && len(line.Comments.Before[0].Token) == 0 {
		rule.go#L918: 			com := Comment{Token: "// " + line}

	golang.org/x/pkgsite/internal
		latest.go#L57: 		text := strings.TrimSpace(strings.TrimPrefix(comment.Token, "//"))

	golang.org/x/pkgsite/internal/fetch
		fetch.go#L358: 		text := strings.TrimSpace(strings.TrimPrefix(comment.Token, "//"))