// enclosingStaticCall returns the innermost function call enclosing // the selected range, along with the callee. func enclosingStaticCall(pkg *cache.Package, pgf *parsego.File, start, end token.Pos) (*ast.CallExpr, *types.Func, error) { … } func inlineCall(ctx context.Context, snapshot *cache.Snapshot, callerPkg *cache.Package, callerPGF *parsego.File, start, end token.Pos) (_ *token.FileSet, _ *analysis.SuggestedFix, err error) { … } // TODO(adonovan): change the inliner to instead accept an io.Writer. func logger(ctx context.Context, name string, verbose bool) func(format string, args ...any) { … }