Companion object for weaponregex.internal.model.regextree.Quantifier class
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Quantifier.type
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Exact quantifier (e.g. {1}) factory method Create an exact weaponregex.internal.model.regextree.Quantifier instance
Exact quantifier (e.g. {1}) factory method Create an exact weaponregex.internal.model.regextree.Quantifier instance
Value parameters
- exact
-
The exact number of repetition
- expr
-
The regex that is being quantified
- location
-
The weaponregex.model.Location of the node in the regex string
- quantifierType
-
The type of the quantifier: greedy, reluctant, or possessive
Attributes
- Returns
Range quantifier (e.g. {1,2} or {1,}) factory method
Range quantifier (e.g. {1,2} or {1,}) factory method
Value parameters
- expr
-
The regex that is being quantified
- 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
- Returns
Concrete fields
Infinity will be represented as negatives, default to -1
Infinity will be represented as negatives, default to -1