CharClassRangeModification
Mutator for character class range modification
''Mutation level(s):'' 3
Attributes
- Example
-
[b-y]
⟶[a-y]
,[c-y]
,[b-x]
,[b-z]
- 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
Check if the given character is a left boundary character 0
, a
, or A
Check if the given character is a left boundary character 0
, a
, or A
Value parameters
- char
-
Character to be checked
Attributes
- Returns
-
true
if the given character is a left boundary character,false
otherwise
Check if the given character is a right boundary character 9
, z
, or Z
Check if the given character is a right boundary character 9
, z
, or Z
Value parameters
- char
-
Character to be checked
Attributes
- Returns
-
true
if the given character is a right boundary character,false
otherwise
Mutate the given token
Mutate the given token
Value parameters
- token
-
Target token
Attributes
- Returns
-
Sequence of weaponregex.model.mutation.Mutant
- Definition Classes
Get the character after the given character, based on Scala character ordering
Get the character after the given character, based on Scala character ordering
Value parameters
- char
-
The given character
Attributes
- Returns
-
The character after the given character, based on Scala character ordering
Get the character before the given character, based on Scala character ordering
Get the character before the given character, based on Scala character ordering
Value parameters
- char
-
The given character
Attributes
- Returns
-
The character before the given character, based on Scala character ordering
Inherited 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
- Inherited from:
- TokenMutator
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)