TokenMutatorJS

weaponregex.model.mutation.TokenMutatorJS
case class TokenMutatorJS(tokenMutator: TokenMutator)

A wrapper class for weaponregex.model.mutation.TokenMutator for exporting to JavaScript

Attributes

tokenMutator

The token mutator to be wrapped

Note:

For JavaScript use only

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final def apply(token: RegexTree): Seq[MutantJS]

Apply mutation to the given token

Apply mutation to the given token

Attributes

token

Target token

Returns:

Sequence weaponregex.model.mutation.MutantJS

def mutate(token: RegexTree): Seq[MutantJS]

Mutate the given token

Mutate the given token

Attributes

token

Target token

Returns:

Sequence of weaponregex.model.mutation.MutantJS

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val description: String

A short description of the mutator

A short description of the mutator

Attributes

val levels: Array[Int]

The mutation levels that the token mutator falls under

The mutation levels that the token mutator falls under

Attributes

val name: String

The name of the mutator

The name of the mutator

Attributes