go/ast.CommentGroup.Text (method)

13 uses

	go/ast (current package)
		ast.go#L97: func (g *CommentGroup) Text() string {
		import.go#L91: 	return c.Text()

	go/build
		build.go#L970: 			p.Doc = doc.Synopsis(info.parsed.Doc.Text())
		build.go#L1710: 	text := cg.Text()

	go/doc
		example.go#L83: 				doc = f.Doc.Text()
		example.go#L120: 		text := last.Text()
		example.go#L549: 	if len(comments) > 0 && strings.HasPrefix(comments[0].Text(), "Copyright") {
		example.go#L579: 	if last == nil || !outputPrefix.MatchString(last.Text()) {
		reader.go#L91: 		Doc:  f.Doc.Text(),
		reader.go#L247: 	text := comment.Text()
		reader.go#L331: 		Doc:   decl.Doc.Text(),
		reader.go#L383: 	typ.doc = doc.Text()
		reader.go#L519: 	text := (&ast.CommentGroup{List: list}).Text()