Quantifier

weaponregex.internal.model.regextree.Quantifier
See theQuantifier companion object
case class Quantifier extends Node

Long quantifier node

Value parameters

expr

The regex that is being quantified

isExact

true if used to represent an exact number of repetitions (e.g. {1}), false otherwise (e.g. {1,2} or {1,})

location

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

max

The maximum number of repetitions

min

The minimum number of repetition

quantifierType

The type of the quantifier: greedy, reluctant, or possessive

Attributes

Note

This class constructor is private, instances must be created using the companion weaponregex.internal.model.regextree.Quantifier object

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Node
trait RegexTree
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Inherited fields

val children: Seq[RegexTree]

Attributes

Inherited from:
Node
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

Inherited from:
Node
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

Inherited from:
Node
val sep: String

Attributes

Inherited from:
Node