go/ast.Field.Comment (field)
12 uses
go/ast (current package)
ast.go#L202: Comment *CommentGroup // line comments; or nil
walk.go#L60: if n.Comment != nil {
walk.go#L61: Walk(v, n.Comment)
go/parser
parser.go#L735: field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: comment}
parser.go#L1255: f.Comment = p.expectSemi()
parser.go#L1260: list = append(list, &ast.Field{Type: typ, Comment: comment})
parser.go#L1265: list = append(list, &ast.Field{Type: typ, Comment: comment})
go/printer
nodes.go#L476: if f.Tag != nil || f.Comment != nil {
nodes.go#L585: if f.Comment != nil {
nodes.go#L589: p.setComment(f.Comment)
nodes.go#L631: p.setComment(f.Comment)
printer.go#L1072: return n.Comment
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)