QuantifierNMModification
Mutator for quantifier {n,m}
modification (including {n-1,m}
, {n+1,m}
, {n,m-1}
, and {n,m+1}
)
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a{5,10}
⟶a{4,10}
,a{6,10}
,a{5,9}
,a{5,11}
- 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)