func File(f *ast.File, o ...Option) *ast.File
File applies fixes to f and returns it. It alters the original f.
func Instances(a []*build.Instance, o ...Option) errors.Error
Instances modifies all files contained in the given build instances at once.
It also applies fix.File.
type Option func(*options)
func Simplify() Option
Simplify enables fixes that simplify the code, but are not strictly necessary.