Versions in this module Expand all Collapse all v0 v0.100.0 May 1, 2021 Changes in this version + func AllFunctions(prog *ssa.Program) map[*ssa.Function]bool + func AllPackages(initial []*packages.Package, mode ssa.BuilderMode) (*ssa.Program, []*ssa.Package) + func BuildPackage(tc *types.Config, fset *token.FileSet, pkg *types.Package, files []*ast.File, ...) (*ssa.Package, *types.Info, error) + func CreateProgram(lprog *loader.Program, mode ssa.BuilderMode) *ssa.Program + func MainPackages(pkgs []*ssa.Package) []*ssa.Package + func Packages(initial []*packages.Package, mode ssa.BuilderMode) (*ssa.Program, []*ssa.Package) + type ConstCase struct + Block *ssa.BasicBlock + Body *ssa.BasicBlock + Value *ssa.Const + type Switch struct + ConstCases []ConstCase + Default *ssa.BasicBlock + Start *ssa.BasicBlock + TypeCases []TypeCase + X ssa.Value + func Switches(fn *ssa.Function) []Switch + func (sw *Switch) String() string + type TypeCase struct + Binding ssa.Value + Block *ssa.BasicBlock + Body *ssa.BasicBlock + Type types.Type