Abstract
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
Abstract
addAdds a join point to this Mutator. Is only added if the Mutator can be applied over this join point, otherwise it will be ignored.
Abstract
getThe point with currently mutated code, or undefined if this concept is not applicable to this mutator.
Abstract
getThe point in the code where the mutation will occur or his occurring, or undefined if there are not more mutations left, or if this concept is not applicable to this mutator.
Abstract
hasProtected
Abstract
mutateProtected
Abstract
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
Base class that represents a code mutator.
This should not be instantiated directly, instead it should be extended.
Param: name
the name of the mutator