PredefCharClassNullification

weaponregex.internal.mutator.PredefCharClassNullification

Mutator for predefined character class nullification

''Mutation level(s):'' 2, 3

Attributes

Example

\dd

Graph
Supertypes
trait TokenMutator
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited 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

Value parameters

pattern

The string pattern to be converted

Attributes

Inherited from:
TokenMutatorSyntax (hidden)
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override 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

Definition Classes
override 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

Definition Classes

Concrete fields

override val levels: Seq[Int]

The mutation levels that the token mutator falls under

The mutation levels that the token mutator falls under

Attributes

override val name: String

The name of the mutator

The name of the mutator

Attributes

Implicits

Inherited 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

Value parameters

pattern

The string pattern to be converted

Attributes

Inherited from:
TokenMutatorSyntax (hidden)