Iterative mutator, allows to perform one mutation at a time, and restore the code before each mutation.

Hierarchy (view full)

Constructors

Properties

automaticRestore: boolean = true

If true, before each call to .mutate() will check if the code is already mutated, and call restore before the mutation is applied

currentMutatedPoint: undefined | LaraJoinPoint = undefined
currentOriginalPoint: undefined | LaraJoinPoint = undefined
hasFinished: boolean = false
isMutated: boolean = false

True if the current code is mutated, false otherwise

joinPoints: LaraJoinPoint[] = []
mutantIterator: undefined | Generator<mutationResult, void, unknown> = undefined
mutations: mutation[]
name: string

Methods