gotools/gopls/internal/analysis/undeclaredname/undeclared.go

var doc

var Analyzer

var undeclaredNamePrefixes

func run(pass *analysis.Pass) (interface{}

func runForError(pass *analysis.Pass, err types.Error) {}

const FixCategory

// SuggestedFix computes the edits for the lazy (no-edits) fix suggested by the analyzer.
func SuggestedFix(fset *token.FileSet, start, end token.Pos, content []byte, file *ast.File, pkg *types.Package, info *types.Info) (*token.FileSet, *analysis.SuggestedFix, error) {}

func newFunctionDeclaration(path []ast.Node, file *ast.File, pkg *types.Package, info *types.Info, fset *token.FileSet) (*token.FileSet, *analysis.SuggestedFix, error) {}

func typeToArgName(ty types.Type) string {}

// isCallPosition reports whether the path denotes the subtree in call position, f().
func isCallPosition(path []ast.Node) bool {}

func is[T any](x any) bool {}