Leaf

weaponregex.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.model.regextree.RegexTree (terminal node) that have no children node

Attributes

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

Graph
Supertypes
trait RegexTree
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

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