go/ast.ImportSpec.Doc (field)
12 uses
go/ast (current package)
ast.go#L879: Doc *CommentGroup // associated documentation; or nil
walk.go#L289: if n.Doc != nil {
walk.go#L290: Walk(v, n.Doc)
go/build
read.go#L434: doc := spec.Doc
go/doc
example.go#L309: if c := s.(*ast.ImportSpec).Doc; c != nil {
go/parser
parser.go#L2320: Doc: doc,
go/printer
nodes.go#L1560: p.setComment(s.Doc)
printer.go#L1036: return n.Doc
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L1942: if x.Doc != nil {
encode_ast.gen.go#L1944: encode_ast_CommentGroup(e, x.Doc)
encode_ast.gen.go#L1983: decode_ast_CommentGroup(d, &x.Doc)
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L243: if c := s.(*ast.ImportSpec).Doc; c != nil {
![]() |
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. |