gotools/gopls/internal/analysis/deprecated/deprecated.go

var doc

var Analyzer

// checkDeprecated is a simplified copy of staticcheck.CheckDeprecated.
func checkDeprecated(pass *analysis.Pass) (interface{}

type deprecationFact

func (*deprecationFact) AFact()           {}

func (d *deprecationFact) String() string {}

type deprecatedNames

// collectDeprecatedNames collects deprecated identifiers and publishes
// them both as Facts and the return value. This is a simplified copy
// of staticcheck's fact_deprecated analyzer.
func collectDeprecatedNames(pass *analysis.Pass, ins *inspector.Inspector) (deprecatedNames, error) {}