type go/ast.Decl

26 uses

	go/ast (current package)
		ast.go#L51: type Decl interface {
		ast.go#L618: 		Decl Decl // *GenDecl with CONST, TYPE, or VAR token
		ast.go#L1054: 	Decls      []Decl          // top-level declarations; or nil
		commentmap.go#L234: 		case *File, *Field, Decl, Spec, Stmt:
		filter.go#L233: func FilterDecl(decl Decl, f Filter) bool {
		filter.go#L237: func filterDecl(decl Decl, f Filter, export bool) bool {
		filter.go#L397: 	var decls []Decl
		filter.go#L399: 		decls = make([]Decl, ndecls)
		walk.go#L36: func walkDeclList(v Visitor, list []Decl) {

	go/doc
		example.go#L162: 	topDecls := make(map[*ast.Object]ast.Decl)
		example.go#L163: 	typMethods := make(map[string][]ast.Decl)
		example.go#L193: 	var depDecls []ast.Decl
		example.go#L194: 	hasDepDecls := make(map[ast.Decl]bool)
		example.go#L364: 	decls := make([]ast.Decl, 0, 2+len(depDecls))
		example.go#L395: 	var decls []ast.Decl
		exports.go#L305: func (r *reader) filterDecl(decl ast.Decl) bool {

	go/parser
		parser.go#L2812: func (p *parser) parseDecl(sync map[token.Token]bool) ast.Decl {
		parser.go#L2869: 	var decls []ast.Decl

	go/printer
		nodes.go#L1848: func (p *printer) decl(decl ast.Decl) {
		nodes.go#L1864: func declToken(decl ast.Decl) (tok token.Token) {
		nodes.go#L1875: func (p *printer) declList(list []ast.Decl) {
		printer.go#L1143: 	case ast.Decl:
		printer.go#L1156: 	case []ast.Decl:

	go/types
		decl.go#L367: func (check *Checker) walkDecls(decls []ast.Decl, f func(decl)) {
		decl.go#L373: func (check *Checker) walkDecl(d ast.Decl, f func(decl)) {
		decl.go#L812: func (check *Checker) declStmt(d ast.Decl) {