PredefCharClassAnyChar
Mutator for predefined character class to character class with its negation change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
\d
⟶[\d\D]
- Graph
-
- Supertypes
- Self type
Members list
Type members
Inherited classlikes
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 Objecttrait Matchableclass Any
Value members
Concrete methods
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
Mutate the given token
Mutate the given token
Value parameters
- token
-
Target token
Attributes
- Returns
-
Sequence of weaponregex.model.mutation.Mutant
- Definition Classes
Implicits
Inherited implicits
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)