object Quantifier extends Serializable
Companion object for weaponregex.model.regextree.Quantifier class
- Alphabetic
- By Inheritance
- Quantifier
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val Infinity: Int
Infinity will be represented as negatives, default to -1
- def apply(expr: RegexTree, min: Int, max: Int, location: Location, quantifierType: QuantifierType): Quantifier
Range quantifier (e.g.
Range quantifier (e.g. {1,2} or {1,}) factory method
- expr
The regex that is being quantified
- min
The minimum number of repetition
- max
The maximum number of repetitions
- location
The weaponregex.model.Location of the node in the regex string
- quantifierType
The type of the quantifier: greedy, reluctant, or possessive
- returns
A weaponregex.model.regextree.Quantifier instance
- def apply(expr: RegexTree, exact: Int, location: Location, quantifierType: QuantifierType): Quantifier
Exact quantifier (e.g.
Exact quantifier (e.g. {1}) factory method Create an exact weaponregex.model.regextree.Quantifier instance
- expr
The regex that is being quantified
- exact
The exact number of repetition
- location
The weaponregex.model.Location of the node in the regex string
- quantifierType
The type of the quantifier: greedy, reluctant, or possessive
- returns
A weaponregex.model.regextree.Quantifier instance
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated