io.dylemma.xml

ChainSyntax

object ChainSyntax

Source
Chain.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ChainSyntax
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ChainConcat[Prefix <: Chain[_, _], Suffix <: Chain[_, _], Result <: Chain[_, _]] extends AnyRef

    Typeclass that knows how to concatenate a Prefix chain with a Suffix chain to create a Result chain

  2. implicit class ChainConcatOps[P <: Chain[_, _]] extends AnyRef

    Introduces the concat and ++ methods on a chain when there is an appropriate ChainConcat instance available.

  3. trait ChainPrepend[P, C <: Chain[_, _], R <: Chain[_, _]] extends AnyRef

    Typeclass that knows how to prepend a single value in front of a chain.

  4. implicit class ChainPrependOps[C <: Chain[_, _]] extends AnyRef

    Introduces the prepend and ~: operations on chains when there is an appropriate ChainPrepend instance available.

  5. case class InductiveChainConcat[P <: Chain[_, _], SH <: Chain[_, _], ST, R <: Chain[_, _]](pstConcat: ChainConcat[P, SH, R]) extends ChainConcat[P, Chain[SH, ST], Chain[R, ST]] with Product with Serializable

    ChainConcat implementation that handles concatenation of a longer chain by finding another ChainConcat that can handle all but the last element in that chain, then simply appending the last element to that result.

  6. class InductiveChainPrepend[P, C <: Chain[_, _], PC <: Chain[_, _], T] extends ChainPrepend[P, Chain[C, T], Chain[PC, T]]

    ChainPrepend implementation that handles prepends to longer chains by delegating to another ChainPrepend that can handle prepends to the chain's head (this process will recurse until the head is a two-item list, at which point it will use the SimpleChainPrepend).

  7. class SimpleChainConcat[P <: Chain[_, _], SH, ST] extends ChainConcat[P, Chain[SH, ST], Chain[Chain[P, SH], ST]]

    ChainConcat implementation that handles concatenation of a two-item chain by appending the head item, then appending the tail item.

  8. class SimpleChainPrepend[P, A, B] extends ChainPrepend[P, Chain[A, B], Chain[Chain[P, A], B]]

    ChainPrepend implementation that handles prepends to a two-item chain by creating a three-item chain.

  9. implicit class anyChainAssoc[A] extends AnyRef

  10. type ~[+A, +B] = Chain[A, B]

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. implicit def provideInductiveChainConcat[P <: Chain[_, _], SH <: Chain[_, _], ST, R <: Chain[_, _]](implicit pstConcat: ChainConcat[P, SH, R]): ChainConcat[P, Chain[SH, ST], Chain[R, ST]]

  18. implicit def provideInductiveChainPrepend[P, C <: Chain[_, _], PC <: Chain[_, _], T](implicit pcPrepender: ChainPrepend[P, C, PC]): ChainPrepend[P, Chain[C, T], Chain[PC, T]]

  19. implicit def provideSimpleChainConcat[P <: Chain[_, _], SH, ST]: ChainConcat[P, Chain[SH, ST], Chain[Chain[P, SH], ST]]

  20. implicit def provideSimpleChainPrepend[P, A, B]: ChainPrepend[P, Chain[A, B], Chain[Chain[P, A], B]]

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. val ~: Chain.type

Inherited from AnyRef

Inherited from Any

Ungrouped