go/ast.Field.Comment (field)
14 uses
go/ast (current package)
ast.go#L206: 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#L1271: f.Comment = p.expectSemi()
parser.go#L1276: list = append(list, &ast.Field{Type: typ, Comment: comment})
parser.go#L1281: 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
golang.org/x/tools/go/ast/inspector
walk.go#L50: if n.Comment != nil {
walk.go#L51: walk(v, edge.Field_Comment, -1, n.Comment)