@specs-feup/lara
Version:
A js port of the popular framework for building source-to-source compilers
20 lines (16 loc) • 424 B
text/typescript
import { LaraJoinPoint } from "../../LaraJoinPoint.js";
/**
* Contains the results of a single mutation.
*/
export default class MutationResult {
private $mutation: LaraJoinPoint;
constructor($mutation: LaraJoinPoint) {
this.$mutation = $mutation;
}
/**
* @returns A copy of the original join point, where the mutation was applied.
*/
getMutation(): LaraJoinPoint {
return this.$mutation;
}
}