type go/ast.FuncDecl
32 uses
go/ast (current package)
ast.go#L992: FuncDecl struct {
ast.go#L1005: func (d *FuncDecl) Pos() token.Pos { return d.Type.Pos() }
ast.go#L1014: func (d *FuncDecl) End() token.Pos {
ast.go#L1026: func (*FuncDecl) declNode() {}
filter.go#L242: case *FuncDecl:
filter.go#L319: func nameOf(f *FuncDecl) string {
filter.go#L416: if f, isFun := d.(*FuncDecl); isFun {
filter.go#L420: if decls[j] != nil && decls[j].(*FuncDecl).Doc == nil {
scope.go#L116: case *FuncDecl:
walk.go#L348: case *FuncDecl:
go/doc
doc.go#L71: Decl *ast.FuncDecl
example.go#L61: f, ok := decl.(*ast.FuncDecl)
example.go#L152: func playExample(file *ast.File, f *ast.FuncDecl) *ast.File {
example.go#L167: case *ast.FuncDecl:
example.go#L227: case *ast.FuncDecl:
example.go#L335: case *ast.FuncDecl:
example.go#L358: funcDecl := &ast.FuncDecl{
example.go#L397: if f, ok := d.(*ast.FuncDecl); ok && isTest(f.Name.Name, "Example") {
exports.go#L310: case *ast.FuncDecl:
reader.go#L69: func (mset methodSet) set(f *ast.FuncDecl, preserveAST bool) {
reader.go#L410: func (r *reader) readFunc(fun *ast.FuncDecl) {
reader.go#L653: if d, ok := decl.(*ast.FuncDecl); ok {
go/parser
parser.go#L2756: func (p *parser) parseFuncDecl() *ast.FuncDecl {
parser.go#L2797: decl := &ast.FuncDecl{
resolver.go#L477: case *ast.FuncDecl:
go/printer
nodes.go#L1832: func (p *printer) funcDecl(d *ast.FuncDecl) {
nodes.go#L1854: case *ast.FuncDecl:
nodes.go#L1869: case *ast.FuncDecl:
printer.go#L1048: case *ast.FuncDecl:
go/types
decl.go#L358: funcDecl struct{ decl *ast.FuncDecl }
decl.go#L410: case *ast.FuncDecl:
resolver.go#L27: fdecl *ast.FuncDecl // func declaration, or nil
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)