TokenMutator

weaponregex.model.mutation.TokenMutator

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Classlikes

implicit protected class MutatedPatternExtension(pattern: String)

Extension class for a mutated pattern string to convert it into a weaponregex.model.mutation.Mutant using the information of the current token mutator

Extension class for a mutated pattern string to convert it into a weaponregex.model.mutation.Mutant using the information of the current token mutator

Attributes

pattern

The string pattern to be converted

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Abstract methods

def description: String

A short description of the mutator

A short description of the mutator

Attributes

def levels: Seq[Int]

The mutation levels that the token mutator falls under

The mutation levels that the token mutator falls under

Attributes

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

Mutate the given token

Mutate the given token

Attributes

token

Target token

Returns:

Sequence of weaponregex.model.mutation.Mutant

def name: String

The name of the mutator

The name of the mutator

Attributes

Concrete methods

final def apply(token: RegexTree): Seq[Mutant]

Apply mutation to the given token

Apply mutation to the given token

Attributes

token

Target token

Returns:

Sequence of weaponregex.model.mutation.Mutant

Implicits

Implicits

final implicit protected def MutatedPatternExtension(pattern: String): MutatedPatternExtension

Extension class for a mutated pattern string to convert it into a weaponregex.model.mutation.Mutant using the information of the current token mutator

Extension class for a mutated pattern string to convert it into a weaponregex.model.mutation.Mutant using the information of the current token mutator

Attributes

pattern

The string pattern to be converted