go/ast.ValueSpec.Doc (field)
10 uses
go/ast (current package)
ast.go#L890: Doc *CommentGroup // associated documentation; or nil
walk.go#L301: if n.Doc != nil {
walk.go#L302: Walk(v, n.Doc)
go/parser
parser.go#L2362: Doc: doc,
go/printer
nodes.go#L1487: p.setComment(s.Doc)
nodes.go#L1573: p.setComment(s.Doc)
printer.go#L1038: return n.Doc
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3350: if x.Doc != nil {
encode_ast.gen.go#L3352: encode_ast_CommentGroup(e, x.Doc)
encode_ast.gen.go#L3391: decode_ast_CommentGroup(d, &x.Doc)
![]() |
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. |