o

weaponregex.internal.mutator

CharClassRangeModification

object CharClassRangeModification extends TokenMutator

Mutator for character class range modification

Mutation level(s): 3

Example:
  1. [b-y][a-y], [c-y], [b-x], [b-z]

Linear Supertypes
TokenMutator, TokenMutatorSyntax, model.mutation.TokenMutator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CharClassRangeModification
  2. TokenMutator
  3. TokenMutatorSyntax
  4. TokenMutator
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class MutatedPatternExtension extends AnyRef

    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
    protected
    Definition Classes
    TokenMutatorSyntax

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. 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

    original

    The original token string being mutated

    mutated

    The mutated string

    location

    The weaponregex.model.Location where the mutation occurred

    Definition Classes
    TokenMutator
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def isLeftBound(char: Char): Boolean

    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

    char

    Character to be checked

    returns

    true if the given character is a left boundary character, false otherwise

  14. def isRightBound(char: Char): Boolean

    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

    char

    Character to be checked

    returns

    true if the given character is a right boundary character, false otherwise

  15. val levels: Seq[Int]

    The mutation levels that the token mutator falls under

    The mutation levels that the token mutator falls under

    Definition Classes
    CharClassRangeModificationTokenMutator
  16. def mutate(token: RegexTree): Seq[Mutant]

    Mutate the given token

    Mutate the given token

    token

    Target token

    returns

    Sequence of weaponregex.model.mutation.Mutant

    Definition Classes
    CharClassRangeModificationTokenMutator
  17. val name: String

    The name of the mutator

    The name of the mutator

    Definition Classes
    CharClassRangeModificationTokenMutator
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def nextChar(char: Char): Char

    Get the character after the given character, based on Scala character ordering

    Get the character after the given character, based on Scala character ordering

    char

    The given character

    returns

    The character after the given character, based on Scala character ordering

  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def prevChar(char: Char): Char

    Get the character before the given character, based on Scala character ordering

    Get the character before the given character, based on Scala character ordering

    char

    The given character

    returns

    The character before the given character, based on Scala character ordering

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from TokenMutator

Inherited from TokenMutatorSyntax

Inherited from AnyRef

Inherited from Any

Ungrouped