type go/ast.FuncDecl
33 uses
go/ast (current package)
ast.go#L994: FuncDecl struct {
ast.go#L1007: func (d *FuncDecl) Pos() token.Pos { return d.Type.Pos() }
ast.go#L1016: func (d *FuncDecl) End() token.Pos {
ast.go#L1027: func (*FuncDecl) declNode() {}
filter.go#L238: case *FuncDecl:
filter.go#L312: func nameOf(f *FuncDecl) string {
filter.go#L414: if f, isFun := d.(*FuncDecl); isFun {
filter.go#L418: if decls[j] != nil && decls[j].(*FuncDecl).Doc == nil {
scope.go#L127: case *FuncDecl:
walk.go#L322: case *FuncDecl:
go/doc
doc.go#L75: Decl *ast.FuncDecl
example.go#L62: f, ok := decl.(*ast.FuncDecl)
example.go#L153: func playExample(file *ast.File, f *ast.FuncDecl) *ast.File {
example.go#L168: case *ast.FuncDecl:
example.go#L286: case *ast.FuncDecl:
example.go#L302: funcDecl := &ast.FuncDecl{
example.go#L391: case *ast.FuncDecl:
example.go#L432: case *ast.FuncDecl:
example.go#L556: if f, ok := d.(*ast.FuncDecl); ok && isTest(f.Name.Name, "Example") {
exports.go#L304: case *ast.FuncDecl:
reader.go#L70: func (mset methodSet) set(f *ast.FuncDecl, preserveAST bool) {
reader.go#L403: func (r *reader) readFunc(fun *ast.FuncDecl) {
reader.go#L687: if d, ok := decl.(*ast.FuncDecl); ok {
go/parser
parser.go#L2764: func (p *parser) parseFuncDecl() *ast.FuncDecl {
parser.go#L2805: decl := &ast.FuncDecl{
resolver.go#L481: case *ast.FuncDecl:
go/printer
nodes.go#L1920: func (p *printer) funcDecl(d *ast.FuncDecl) {
nodes.go#L1944: case *ast.FuncDecl:
nodes.go#L1959: case *ast.FuncDecl:
printer.go#L1061: case *ast.FuncDecl:
go/types
decl.go#L373: funcDecl struct{ decl *ast.FuncDecl }
decl.go#L425: case *ast.FuncDecl:
resolver.go#L29: fdecl *ast.FuncDecl // func declaration, or nil
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)