Debian Codegraph @

go/analysis/internal/internal.go

raw symbols SCIP
1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package internal
6
7 import "golang.org/x/tools/go/analysis"
8
9 // This function is set by the checker package to provide
10 // backdoor access to the private Pass field
11 // of the *checker.Action type, for use by analysistest.
12 //
13 // It may return nil, for example if the action was not
14 // executed because of a failed dependent.
15 var ActionPass func(action any) *analysis.Pass