go/ast.CommentGroup.List (field)
16 uses
go/ast (current package)
ast.go#L79: List []*Comment // len(List) > 0
ast.go#L82: func (g *CommentGroup) Pos() token.Pos { return g.List[0].Pos() }
ast.go#L83: func (g *CommentGroup) End() token.Pos { return g.List[len(g.List)-1].End() }
ast.go#L105: comments := make([]string, len(g.List))
ast.go#L106: for i, c := range g.List {
ast.go#L1119: for _, comment := range group.List {
commentmap.go#L272: for _, comment := range group.List {
filter.go#L363: ndocs += len(f.Doc.List) + 1 // +1 for separator
filter.go#L393: for _, c := range f.Doc.List {
import.go#L228: for _, c := range g.cg.List {
walk.go#L47: walkList(v, n.List)
go/build
read.go#L498: for _, c := range group.List {
go/doc
reader.go#L519: text := (&ast.CommentGroup{List: list}).Text()
reader.go#L546: list := group.List
go/parser
parser.go#L212: comments = &ast.CommentGroup{List: list}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)