go/ast.TypeSpec.Comment (field)
9 uses
go/ast (current package)
ast.go#L903: Comment *CommentGroup // line comments; or nil
walk.go#L319: if n.Comment != nil {
walk.go#L320: Walk(v, n.Comment)
go/parser
parser.go#L2396: spec.Comment = p.lineComment
go/printer
nodes.go#L1597: p.setComment(s.Comment)
printer.go#L1060: return n.Comment
golang.org/x/pkgsite/internal/godoc
encode_ast.gen.go#L3165: if x.Comment != nil {
encode_ast.gen.go#L3167: encode_ast_CommentGroup(e, x.Comment)
encode_ast.gen.go#L3198: decode_ast_CommentGroup(d, &x.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. |