KADABRA API

LARA API

LARA Common Language API

(.js)
laraImport("lara.mutation.IterativeMutation");

(.lara)
import lara.mutation.IterativeMutation;

IterativeMutation

Constructor

IterativeMutation

new IterativeMutation([name = "<unnamed mutation>"])

(Extends Mutation)
Abstract mutation class that implements .getMutants(), but makes function Mutation.mutate($jp) abstract. Allows more efficient, generator-based Mutation implementations.

This should not be instantiated directly, instead should be extended.

Parameters

name: String - the name of the mutation (optional)

Instance Members

getMutants

getMutants($jp)

IMPLEMENTATION

Parameters

$jp: any

mutate

mutate

Iterative implementation of the function.