go/ast.Field.Doc (field)

11 uses

	go/ast (current package)
		ast.go#L198: 	Doc     *CommentGroup // associated documentation; or nil
		walk.go#L70: 		if n.Doc != nil {
		walk.go#L71: 			Walk(v, n.Doc)

	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#L502: 			p.setComment(f.Doc)
		nodes.go#L545: 			p.setComment(f.Doc)
		printer.go#L1034: 		return n.Doc

	golang.org/x/pkgsite/internal/godoc
		encode_ast.gen.go#L1339: 	if x.Doc != nil {
		encode_ast.gen.go#L1341: 		encode_ast_CommentGroup(e, x.Doc)
		encode_ast.gen.go#L1380: 			decode_ast_CommentGroup(d, &x.Doc)