Versions in this module Expand all Collapse all v1 v1.0.10 Nov 17, 2026 Changes in this version + func FunctionID(fn *ssa.Function, typs *Types) string + func ImportPackage(data *PackageExport, importer *TypeImporter) (*types.Package, error) + func Owner(fn *ssa.Function) *types.Package + func Position(fset *token.FileSet, pos token.Pos) string + type Object struct + Embedded bool + Name string + Package string + Position string + Tag []byte + Type int + type PackageExport struct + ID string + Name string + Objects []PackageObject + Path string + Types TypeGraph + func ExportPackage(pkg *types.Package, index *Types, fset *token.FileSet) *PackageExport + type PackageObject struct + Imaginary string + Kind string + Value string + type TypeGraph struct + Nodes []TypeNode + func NewTypeGraph(typs *Types, fset *token.FileSet) *TypeGraph + func (g *TypeGraph) Add(typ types.Type) int + type TypeImporter struct + Existing *Types + Graph *TypeGraph + Packages map[string]*types.Package + Position func(string) token.Pos + func (p *TypeImporter) Import(id int) (typ types.Type, err error) + type TypeNode struct + Base int + Basic int + Direction int + Elem int + Elements []Object + Fields []Object + Implicit bool + Key string + Kind string + Length int64 + Methods []Object + Object Object + Parameters []Object + Params []int + Receiver *Object + RecvParams []int + Results []int + Returns []Object + Tilde []bool + TypeParams []int + Types []int + Universe bool + Variadic bool + type Types struct + func NewTypes(packages map[*types.Package]string, sets ...*token.FileSet) *Types + func (t *Types) Add(typ types.Type) + func (t *Types) AddPackage(pkg *types.Package, info *types.Info) + func (t *Types) Bind(key string, typ types.Type) bool + func (t *Types) Key(typ types.Type) string + func (t *Types) Lookup(key string) (types.Type, bool) + func (t *Types) PackageID(pkg *types.Package) string