MutantIdFactory

Undocumented in source.

Members

Functions

changeFile
void changeFile(Path fileName, Token[] tokens)

Change the current file.

make
CodeMutant make(Mutation m, const(ubyte)[] mut)

Create a mutant at this mutation point. * * It is extremly important that the mutated text representation mut is * used and not the kind of mutation because there are many different * kinds of mutations that result in the same textual change. By using the * text and not kind as part of the checksum it results in a * deduplication/merge of mutants that actually are "the same".

update
void update(Offset content, Offset mutant, Token[] tokens)

Update the number of tokens that are before and after the mutant.

Meta