go/ast.CommentGroup.Text (method)
13 uses
go/ast (current package)
ast.go#L99: func (g *CommentGroup) Text() string {
import.go#L80: return c.Text()
go/build
build.go#L917: p.Doc = doc.Synopsis(info.parsed.Doc.Text())
build.go#L1639: text := cg.Text()
go/doc
example.go#L82: doc = f.Doc.Text()
example.go#L119: text := last.Text()
example.go#L390: if len(comments) > 0 && strings.HasPrefix(comments[0].Text(), "Copyright") {
example.go#L420: if last == nil || !outputPrefix.MatchString(last.Text()) {
reader.go#L90: Doc: f.Doc.Text(),
reader.go#L249: text := comment.Text()
reader.go#L334: Doc: decl.Doc.Text(),
reader.go#L388: typ.doc = doc.Text()
reader.go#L505: text := (&ast.CommentGroup{List: list}).Text()
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)