object RegexAndCandidate extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RegexAndCandidate
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- implicit def arbRegexAndCandidate[In, Out](implicit arbRegex: Arbitrary[RegexM[In, Out]], candidateGen: RegexCandidates[In, Match[In]]): Arbitrary[RegexAndCandidate[In, Out]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def genCandidateStream[In](matchToGen: (Match[In]) => Gen[In]): (RegexM[In, _]) => Gen[Stream[In]]
About half of the streams generated by this generator will match the provided regular expression.
About half of the streams generated by this generator will match the provided regular expression. The other half will be random streams which _could_ match the expression but are unlikely to.
- See also
also genRegexAndMatch.
- def genIntRegexAndMatch[Out](implicit arg0: Arbitrary[Out], arg1: Cogen[Out]): Gen[RegexAndCandidate[Int, Out]]
- def genRegexAndCandidate[In, Out](cfg: Config[In], matchToGen: (Match[In]) => Gen[In])(implicit arg0: Cogen[In], arg1: Order[In], arg2: Arbitrary[Out], arg3: Cogen[Out]): Gen[RegexAndCandidate[In, Out]]
Generates arbitrary regexes and candidate matches for the regex.
Generates arbitrary regexes and candidate matches for the regex. The candidate will match the regex roughly 50% of the time.
- def genRegexAndMatch[In, Out](cfg: Config[In], matchToGen: (Match[In]) => Gen[In])(implicit arg0: Cogen[In], arg1: Order[In], arg2: Arbitrary[Out], arg3: Cogen[Out]): Gen[RegexAndCandidate[In, Out]]
Generate a regular expression and a stream that matches the regular expression.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()