case class OrElse[I, O, X[_], Ctx[_, _]](first: ContextTranslator[I, O, X, Ctx], second: ContextTranslator[I, O, X, Ctx]) extends ContextTranslator[I, O, X, Ctx] with Product with Serializable
Tries the first translator at top level, then the second. Is recursive.
- Alphabetic
- By Inheritance
- OrElse
- Serializable
- Product
- Equals
- ContextTranslator
- Function1
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OrElse(first: ContextTranslator[I, O, X, Ctx], second: ContextTranslator[I, O, X, Ctx])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (OrElse[I, O, X, Ctx], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addJunction[Y[_], Z[_]](split: (Ctx[I, O]) => (X[I]) => Option[Y[I]], build: (Ctx[I, O]) => (Y[O]) => Option[X[O]])(implicit arg0: Traverse[Z], incl: Inclusion[Y, [A]Z[X[A]]], rest: OptRestriction[Y, [A]Z[X[A]]]): OrElse[I, O, [_]X[_], [_, _]Ctx[_, _]]
- Definition Classes
- ContextTranslator
- def addJunction1[Y[_], Z[_]](split: PartialFunction[X[I], Y[I]], build: PartialFunction[Y[O], X[O]])(implicit arg0: Traverse[Z], incl: Inclusion[Y, [A]Z[X[A]]], rest: OptRestriction[Y, [A]Z[X[A]]]): OrElse[I, O, [_]X[_], [_, _]Ctx[_, _]]
- Definition Classes
- ContextTranslator
- def andThen[A](g: ((X[I]) => Option[X[O]]) => A): (Ctx[I, O]) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def apply(ctx: Ctx[I, O]): (X[I]) => Option[X[O]]
- Definition Classes
- ContextTranslator → Function1
- 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()
- def compose[A](g: (A) => Ctx[I, O]): (A) => (X[I]) => Option[X[O]]
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def ensuring(cond: (OrElse[I, O, X, Ctx]) => Boolean, msg: => Any): OrElse[I, O, X, Ctx]
- def ensuring(cond: (OrElse[I, O, X, Ctx]) => Boolean): OrElse[I, O, X, Ctx]
- def ensuring(cond: Boolean, msg: => Any): OrElse[I, O, X, Ctx]
- def ensuring(cond: Boolean): OrElse[I, O, X, Ctx]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val first: ContextTranslator[I, O, X, Ctx]
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def recTranslate(leafMap: => (Ctx[I, O]) => (X[I]) => Option[X[O]]): (Ctx[I, O]) => (X[I]) => Option[X[O]]
- Definition Classes
- OrElse → ContextTranslator
- val second: ContextTranslator[I, O, X, Ctx]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Function1 → 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])
- def ||(that: ContextTranslator[I, O, X, Ctx]): OrElse[I, O, [_]X[_], [_, _]Ctx[_, _]]
- Definition Classes
- ContextTranslator
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (OrElse[I, O, X, Ctx], B)
- Implicit
- This member is added by an implicit conversion from OrElse[I, O, X, Ctx] toArrowAssoc[OrElse[I, O, X, Ctx]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.