RegexTreeMutator

weaponregex.extension.RegexTreeExtension$.RegexTreeMutator
implicit class RegexTreeMutator(tree: RegexTree)

The extension that traverses and mutates a given weaponregex.model.regextree.RegexTree

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def mutate(mutators: Seq[TokenMutator], mutationLevels: Seq[Int]): Seq[Mutant]

Mutate using the given mutators in some specific mutation levels

Mutate using the given mutators in some specific mutation levels

Attributes

mutationLevels

Target mutation levels. If this is null, the mutators will not be filtered.

mutators

Mutators to be used for mutation

Returns:

A sequence of weaponregex.model.mutation.Mutant