Versions in this module Expand all Collapse all v0 v0.1.0 Aug 26, 2026 Changes in this version + func FuncPackage(fn *ssa.Function) string + type FileClass uint8 + const Generated + const Normal + const Vendor + func (c FileClass) String() string + type Program struct + Dir string + Fset *token.FileSet + Module string + Pkgs []*packages.Package + Prog *ssa.Program + Warnings []string + func Load(dir string) (*Program, error) + func (p *Program) FuncClass(fn *ssa.Function) FileClass + func (p *Program) GeneratedStats() (generated, total int) + func (p *Program) IfCondition(pos token.Pos) (text string, stmtPos token.Pos, ok bool) + func (p *Program) IfConditionOfBody(pos token.Pos) (text string, stmtPos token.Pos, ok bool) + func (p *Program) InModule(fn *ssa.Function) bool + func (p *Program) PkgInModule(pkg string) bool + func (p *Program) Position(pos token.Pos) string