go/ast.Field.Comment (field)
14 uses
go/ast (current package)
ast.go#L202: Comment *CommentGroup // line comments; or nil
walk.go#L78: if n.Comment != nil {
walk.go#L79: Walk(v, n.Comment)
go/parser
parser.go#L750: field := &ast.Field{Doc: doc, Names: idents, Type: typ, Tag: tag, Comment: p.lineComment}
parser.go#L962: spec := &ast.Field{Doc: doc, Names: idents, Type: typ, Comment: p.lineComment}
go/printer
nodes.go#L422: if f.Tag != nil || f.Comment != nil {
nodes.go#L523: if f.Comment != nil {
nodes.go#L527: p.setComment(f.Comment)
nodes.go#L555: p.setComment(f.Comment)
printer.go#L1054: return n.Comment
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1355: if x.Comment != nil {
encode_ast.gen.go#L1357: encode_ast_CommentGroup(e, x.Comment)
encode_ast.gen.go#L1388: decode_ast_CommentGroup(d, &x.Comment)
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
linkify.go#L529: v.rewriteLongValue(n.Tag, &n.Comment)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |