go/ast.Comment.Text (field)

19 uses

	go/ast (current package)
		ast.go#L67: 	Text  string    // comment text (excluding '\n' for //-style comments)
		ast.go#L71: func (c *Comment) End() token.Pos { return token.Pos(int(c.Slash) + len(c.Text)) }
		ast.go#L105: 		comments[i] = c.Text
		commentmap.go#L295: 			buf.WriteString(comment.Text)

	go/doc
		reader.go#L481: 			if noteCommentRx.MatchString(c.Text) {

	go/parser
		parser.go#L274: 	comment = &ast.Comment{Slash: p.pos, Text: p.lit}

	go/printer
		nodes.go#L436: 	p.setComment(&ast.CommentGroup{List: []*ast.Comment{{Slash: token.NoPos, Text: text}}})
		printer.go#L123: 		if t := c.Text; len(t) >= 2 && (t[1] == '/' || strings.Contains(t, "\n")) {
		printer.go#L168: 			size += len(c.Text)
		printer.go#L365: 	if pos.Line == p.last.Line && (prev == nil || prev.Text[1] != '/') {
		printer.go#L463: 		if n == 0 && prev != nil && prev.Text[1] == '/' {
		printer.go#L639: 	text := comment.Text
		printer.go#L767: 			last.Text[1] == '*' && p.lineFor(last.Pos()) == next.Line &&
		printer.go#L779: 		if last.Text[1] == '/' ||

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L891: 	if x.Text != "" {
		encode_ast.gen.go#L893: 		e.EncodeString(x.Text)
		encode_ast.gen.go#L918: 			x.Text = d.DecodeString()

	golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
		linkify.go#L567: 	(*cg).List = append((*cg).List, &ast.Comment{Slash: pos, Text: text})

	golang.org/x/pkgsite/internal/godoc/internal/doc
		reader.go#L485: 			if noteCommentRx.MatchString(c.Text) {