Lines Matching defs:name
7 // every call to a function or method of the name specified by its
8 // -name flag.
21 of a particular name.`
31 var name string // -name flag
34 Analyzer.Flags.StringVar(&name, "name", name, "name of the function to find")
48 if id != nil && !pass.TypesInfo.Types[id].IsType() && id.Name == name {
64 if decl, ok := decl.(*ast.FuncDecl); ok && decl.Name.Name == name {
75 // foundFact is a fact associated with functions that match -name.