ForRouteB

trait ForRouteB[A]
class Object
trait Matchable
class Any
class RouteB[A]

Value members

Inherited constructors

def this(regex: String, matchGroups: Int, parse: Int => String => Option[A], build: A => String)
Inherited from
RouteB

Concrete methods

inline def caseClass[B <: Product](using m: ProductOf[B]): RouteB[B]

Maps the captures values of the route to a case class.

Maps the captures values of the route to a case class.

inline def caseClassDebug[B <: Product](using m: ProductOf[B]): RouteB[B]

Same as caseClass except the code generated by the macro is printed to stdout.

Same as caseClass except the code generated by the macro is printed to stdout.

Inherited methods

def /[B](next: RouteB[B])(implicit c: Composition[A, B]): RouteB[C]
Inherited from
RouteB
final def const[B](b: B)(implicit ev: ValueOf[A]): R[B]
Inherited from
RouteCommon
final def filter(f: A => Boolean): R[A]
Inherited from
RouteCommon
final def mapInput[B >: A](f: B => A): R[B]
Inherited from
RouteCommon
final def mapParsed[B <: A](f: A => B): R[B]
Inherited from
RouteCommon
def option: RouteB[Option[A]]
Inherited from
RouteB
override def parseThen(f: Option[A] => Option[A]): RouteB[A]
Definition Classes
Inherited from
RouteB
override def pmap[B](b: A => Option[B])(a: B => A): RouteB[B]
Definition Classes
Inherited from
RouteB
final def route: Route[A]
Inherited from
RouteB
override def toString: String
Definition Classes
RouteB -> Any
Inherited from
RouteB
final def xmap[B](b: A => B)(a: B => A): R[B]

Exponential map.

Exponential map.

Any A can be turned into a B and vice versa.

Inherited from
RouteCommon
def ~[B](next: RouteB[B])(implicit c: Composition[A, B]): RouteB[C]
Inherited from
RouteB

Inherited fields

val build: A => String
Inherited from
RouteB
val matchGroups: Int
Inherited from
RouteB
val parse: Int => String => Option[A]
Inherited from
RouteB
val regex: String
Inherited from
RouteB