go/ast.Comment.Text (field)

14 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#L535: 			if noteCommentRx.MatchString(c.Text) {

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

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