go/ast.Field.Comment (field)
12 uses
go/ast (current package)
ast.go#L201: Comment *CommentGroup // line comments; or nil
walk.go#L80: if n.Comment != nil {
walk.go#L81: Walk(v, n.Comment)
go/parser
parser.go#L667: field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: p.lineComment}
parser.go#L1147: f.Comment = p.lineComment
parser.go#L1153: list = append(list, &ast.Field{Type: typ, Comment: comment})
parser.go#L1159: list = append(list, &ast.Field{Type: typ, Comment: comment})
go/printer
nodes.go#L461: if f.Tag != nil || f.Comment != nil {
nodes.go#L562: if f.Comment != nil {
nodes.go#L566: p.setComment(f.Comment)
nodes.go#L608: p.setComment(f.Comment)
printer.go#L1059: return n.Comment
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)