sealed trait Matcher[+F[_], +A] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Matcher
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*>[B](b: B): Matcher[F, B]
defined ad map { _ => b} *
- def +(other: String): String
- def ->[B](y: B): (Matcher[F, A], B)
-
def
/[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
matches and consumes current path segment throwing away
A
* -
def
/>>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
defined as advance.flatMap(f) *
-
def
</[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]
matches and consumes current path segment throwing away
B
* -
def
<<[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]
defined as flatMap { a => fb map { _ => a} } *
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>>[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
defined as flatMap { _ => fb } *
-
def
>>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
allias for flatMap *
-
def
?: Matcher[F, Option[A]]
matches this or yields to None *
-
def
advance: Matcher[F, A]
advances path by one segment, after this matches *
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Matcher[F, A]) ⇒ Boolean, msg: ⇒ Any): Matcher[F, A]
- def ensuring(cond: (Matcher[F, A]) ⇒ Boolean): Matcher[F, A]
- def ensuring(cond: Boolean, msg: ⇒ Any): Matcher[F, A]
- def ensuring(cond: Boolean): Matcher[F, A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evalMap[F0[_], Lub[_], B](f: (A) ⇒ F0[B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
like
map
but allows to evaluateF
* -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
transforms this matcher to another matcher with supplied
f
* -
def
flatMapR[F0[_], Lub[_], B](f: (MatchResult[Lub, A]) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
like flatMap, but allows to apply
f
when match failed * - def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): Matcher[F, B]
transforms this matcher with supplied
f
* -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
or[F0[_], Lub[_], A0 >: A](alt: ⇒ Matcher[F0, A0])(implicit R: RealSupertype[A, A0], L: Lub1[F, F0, Lub]): Matcher[Lub, A0]
matches this or alternative *
-
def
recover[F0[_], Lub[_], A0 >: A](f: (HttpResponse[Lub]) ⇒ Matcher[F0, A0])(implicit R: RealSupertype[A, A0], L: Lub1[F, F0, Lub]): Matcher[Lub, A0]
applies
f
only when matcher fails to match * -
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Matcher[F, A], B)