TokenMutator

weaponregex.model.mutation.TokenMutator
trait TokenMutator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def mutate(token: RegexTree): Seq[Mutant]

Mutate the given token

Mutate the given token

Value parameters

token

Target token

Attributes

Returns

Sequence of weaponregex.model.mutation.Mutant

Concrete methods

def description(original: String, mutated: String, location: Location): String

Generate the default description for the mutants of this mutator

Generate the default description for the mutants of this mutator

Value parameters

location

The weaponregex.model.Location where the mutation occurred

mutated

The mutated string

original

The original token string being mutated

Attributes

Abstract fields

val levels: Seq[Int]

The mutation levels that the token mutator falls under

The mutation levels that the token mutator falls under

Attributes

val name: String

The name of the mutator

The name of the mutator

Attributes