weaponregex.internal.model.regextree.boundaryNode.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weapon-regex_2.12 Show documentation
Show all versions of weapon-regex_2.12 Show documentation
Weapon regeX mutates regular expressions for use in mutation testing.
The newest version!
package weaponregex.internal.model.regextree
import weaponregex.model.Location
/** Beginning of Line (BOL) leaf node
*
* @param location
* The [[weaponregex.model.Location]] of the node in the regex string
*/
case class BOL(override val location: Location) extends Leaf('^', location)
/** End of Line (EOL) leaf node
* @param location
* The [[weaponregex.model.Location]] of the node in the regex string
*/
case class EOL(override val location: Location) extends Leaf('$', location)
/** Boundary meta character leaf node
* @param boundary
* The literal boundary character without the `\`
* @param location
* The [[weaponregex.model.Location]] of the node in the regex string
*/
case class Boundary(boundary: String, override val location: Location) extends Leaf(boundary, location, """\""")
© 2015 - 2024 Weber Informatics LLC | Privacy Policy