@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
14 lines • 635 B
TypeScript
import { LaraJoinPoint } from "../../LaraJoinPoint.js";
import Mutation from "./Mutation.js";
import MutationResult from "./MutationResult.js";
/**
* Abstract mutation class that implements .getMutants(), but makes function Mutation.mutate($jp) abstract. Allows more efficient, generator-based Mutation implementations.
*/
export default abstract class IterativeMutation extends Mutation {
getMutants($jp: LaraJoinPoint): MutationResult[];
/**
* Iterative implementation of the function.
*/
abstract mutate($jp: LaraJoinPoint): IterableIterator<MutationResult>;
}
//# sourceMappingURL=IterativeMutation.d.ts.map