Packages

t

kantan.regex

MatchDecoderInstances

trait MatchDecoderInstances extends AnyRef

Declares default MatchDecoder instances.

Source
MatchDecoder.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MatchDecoderInstances
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. implicit def eitherMatch[A, B](implicit arg0: MatchDecoder[A], arg1: MatchDecoder[B]): MatchDecoder[Either[A, B]]

    Provides an instance of MatchDecoder for Either[A, B], provided both A and B have a MatchDecoder.

  2. implicit def fromCbf[F[_], A](implicit da: GroupDecoder[Option[A]], cbf: Factory[A, F[A]]): MatchDecoder[F[A]]
  3. implicit def fromGroup[A](implicit arg0: GroupDecoder[A]): MatchDecoder[A]

    Turns a GroupDecoder into a MatchDecoder by having it look at the entire match rather than a specific group.

  4. implicit def optMatch[A](implicit da: GroupDecoder[Option[A]]): MatchDecoder[Option[A]]

    Provides an instance of MatchDecoder for Option[A], provided A has a MatchDecoder.