QuantifierNChange
Change quantifier {n}
to {0,n}
, and {n,}
''Mutation level(s):'' 2, 3
Attributes
- Example:
a{5}
⟶a{0,5}
,a{5,}
- Graph
- Supertypes
- Self type
- QuantifierNChange.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
Attributes
- pattern
The string pattern to be converted
- Inherited from:
- TokenMutator
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Value members
Concrete methods
Mutate the given token
Mutate the given token
Attributes
- token
Target token
- Returns:
Sequence of weaponregex.model.mutation.Mutant
- Definition Classes
Inherited methods
Apply mutation to the given token
Apply mutation to the given token
Attributes
- token
Target token
- Returns:
Sequence of weaponregex.model.mutation.Mutant
- Inherited from:
- TokenMutator
Concrete fields
A short description of the mutator
A short description of the mutator
Attributes
The mutation levels that the token mutator falls under
The mutation levels that the token mutator falls under
Attributes
The name of the mutator
The name of the mutator
Attributes
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
Attributes
- pattern
The string pattern to be converted
- Inherited from:
- TokenMutator