Change the current file.
Update the number of tokens that are before and after the mutant.
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".
Relaxed mutant IDs that are guaranteed to be unique for a while.
The position in the file can be reset make it possible to relocate a mutant inside a file.
The algorithm is a checksum of: * the content of all relevant tokens, e.g. all except comments * the token position before and after the mutant. * the original text * the mutated text