- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for FactTypes (0.12 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/doc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/unitchecker/unitchecker.go
var registerFacts func(a *analysis.Analyzer) bool registerFacts = func(a *analysis.Analyzer) bool { act, ok := actions[a] if !ok { act = new(action) var usesFacts bool for _, f := range a.FactTypes { usesFacts = true gob.Register(f) } for _, req := range a.Requires { if registerFacts(req) { usesFacts = true } } act.usesFacts = usesFacts actions[a] = act
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go
} } // Register fact types of skipped analyzers // in case we encounter them in imported files. kept := expand(analyzers) for a := range everything { if !kept[a] { for _, f := range a.FactTypes { gob.Register(f) } } } return analyzers } func expand(analyzers []*analysis.Analyzer) map[*analysis.Analyzer]bool { seen := make(map[*analysis.Analyzer]bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 19:00:13 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/printf", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, ResultType: reflect.TypeOf((*Result)(nil)), FactTypes: []analysis.Fact{new(isWrapper)}, } // Kind is a kind of fmt function behavior. type Kind int const ( KindNone Kind = iota // not a fmt wrapper function
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0)