TokenMutatorJS

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

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

Value parameters

tokenMutator

The token mutator to be wrapped

Attributes

Note

For JavaScript use only

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

Members list

Value members

Concrete methods

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

Mutate the given token

Mutate the given token

Value parameters

token

Target token

Attributes

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 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