in SwiftEvolve/Sources/SwiftEvolve/EvolutionRules.swift [28:41]
func makeAll<G>(
for node: Syntax, in decl: DeclContext, using rng: inout G
) throws -> [[Evolution]] where G: RandomNumberGenerator {
return try allKinds(for: decl).compactMap { kind -> [Evolution]? in
do {
return try kind.type.makeWithPrerequisites(
for: node, in: decl, using: &rng
)
}
catch EvolutionError.unsupported {
return nil
}
}
}