Leaf

weaponregex.internal.model.regextree.Leaf
abstract class Leaf[A](val value: A, val location: Location, val prefix: String, val postfix: String) extends RegexTree

The leaf of the weaponregex.internal.model.regextree.RegexTree (terminal node) that have no children node

Value parameters

location

The weaponregex.model.Location of the node in the regex string

postfix

The string that is put after the leaf's value when building

prefix

The string that is put in front of the leaf's value when building

value

The value that the leaf holds

Attributes

Graph
Supertypes
trait RegexTree
class Object
trait Matchable
class Any
Known subtypes
class AnyDot
class BOL
class Boundary
class Character
class ControlChar
class EOL
class Empty
class MetaChar
class Quote
class QuoteChar
Show all

Members list

Value members

Concrete fields

override val location: Location

The weaponregex.model.Location of the node in the regex string

The weaponregex.model.Location of the node in the regex string

Attributes

override val postfix: String

The string that is put after the node's children when building

The string that is put after the node's children when building

Attributes

override val prefix: String

The string that is put in front of the node's children when building

The string that is put in front of the node's children when building

Attributes

val value: A