object ContextTranslator
- Alphabetic
- By Inheritance
- ContextTranslator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class Empty[I, O, X[_], Ctx[_, _]]() extends ContextTranslator[I, O, X, Ctx] with Product with Serializable
empty translator, matching nothing; only information is the type parameters, so may be good starting point.
- case class Junction[I, O, X[_], Ctx[_, _], Y[_], Z[_]](split: (Ctx[I, O]) => (X[I]) => Option[Y[I]], build: (Ctx[I, O]) => (Y[O]) => Option[X[O]])(implicit evidence$19: Traverse[Z], incl: Inclusion[Y, [A]Z[X[A]]], rest: OptRestriction[Y, [A]Z[X[A]]]) extends ContextTranslator[I, O, X, Ctx] with Product with Serializable
A junction given by splitting optionally to a given shape, and building from the same shape.
A junction given by splitting optionally to a given shape, and building from the same shape.
The shape is functorial, typically made of tuples and lists, and Option gives a natural transformation. These allow applying the recursive translator on the components.
- 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.
Tries the first translator at top level, then the second. Is recursive.
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
- 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