Rest
...mutations: mutation[]If true, before each call to .mutate() will check if the code is already mutated, and call restore before the mutation is applied
True if the current code is mutated, false otherwise
Adds a join point to this Mutator. Is only added if the Mutator can be applied over this join point, otherwise it will be ignored.
Rest
...jps: LaraJoinPoint[]The point with currently mutated code, or undefined if this concept is not applicable to this mutator.
The point with currently mutated code, or undefined if the code is not currently mutated.
The point in the code where the mutation is occurring, or undefined if there are not more mutations left.
Protected
mutateProtected
restoreEnables/disables automatic restore. Is enabled by default.
If enabled, before each call to .mutate() will check if the code is already mutated, and call restore before the mutation is applied.
true to enable, false to disable
Iterative mutator, allows to perform one mutation at a time, and restore the code before each mutation.