package buildir
import "honnef.co/go/tools/internal/passes/buildir"
Package buildir defines an Analyzer that constructs the IR of an error-free package and returns the set of all functions within it. It does not report any diagnostics itself but may be used as an input to other analyzers.
THIS INTERFACE IS EXPERIMENTAL AND MAY BE SUBJECT TO INCOMPATIBLE CHANGE.
Index ¶
Variables ¶
var Analyzer = &analysis.Analyzer{ Name: "buildir", Doc: "build IR for later passes", Run: run, ResultType: reflect.TypeOf(new(IR)), FactTypes: []analysis.Fact{new(noReturn)}, }
Types ¶
type IR ¶
IR provides intermediate representation for all the source functions in the current package.
Source Files ¶
buildir.go
- Version
- v0.6.1 (latest)
- Published
- Mar 5, 2025
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 3 minutes ago –
Tools for package owners.