@specs-feup/kadabra
Version:
A Java source-to-source compiler written in Typescript
18 lines • 746 B
TypeScript
import Mutator from "@specs-feup/lara/api/lara/mutation/Mutator.js";
import { BinaryExpression } from "../../Joinpoints.js";
/**
* @param binaryExpression - A join point of type binaryExpression.
* @param newOperators - Operators that will be used to mutate the given binaryExpression.
*/
export default abstract class BinaryExpressionMutator extends Mutator {
binaryExpression: BinaryExpression;
newOperators: string[];
currentIndex: number;
previousOp?: string;
constructor(binaryExpression: BinaryExpression, ...newOperators: string[]);
hasMutations(): boolean;
getMutationPoint(): BinaryExpression;
mutatePrivate(): void;
restorePrivate(): void;
}
//# sourceMappingURL=BinaryExpressionMutator.d.ts.map