- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AFact (0.11 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go
FactTypes: []analysis.Fact{new(noReturn)}, Requires: []*analysis.Analyzer{inspect.Analyzer}, } // noReturn is a fact indicating that a function does not return. type noReturn struct{} func (*noReturn) AFact() {} func (*noReturn) String() string { return "noReturn" } // A CFGs holds the control-flow graphs // for all the functions of the current package. type CFGs struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go
// A Fact may implement the GobEncoder/GobDecoder interfaces // to customize its encoding. Fact encoding should not fail. // // A Fact should not be modified once exported. type Fact interface { AFact() // dummy method to avoid type errors
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
} else { return KindPrint } } return r.funcs[fn] } // isWrapper is a fact indicating that a function is a print or printf wrapper. type isWrapper struct{ Kind Kind } func (f *isWrapper) AFact() {} func (f *isWrapper) String() string { switch f.Kind { case KindPrintf: return "printfWrapper" case KindPrint: return "printWrapper" case KindErrorf: return "errorfWrapper" default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0)