final case class NestedPathKeyParser[+H, TailParseAsType <: ParsedPathKey](head: ResourcePathParser[H], tail: PathKeyParser[TailParseAsType]) extends PathKeyParser[:::[H, TailParseAsType]] with Product with Serializable
HCons for parsers - includes an extra type parameter because we care about both the type we will parse as, as well as the type of the chain itself.
- H
The type the head of the chain will parse as.
- TailParseAsType
The tail of the chain will parse as this type
- head
All information needed to parse from a URL something of the type H
- tail
The rest of the parser chain.
- Alphabetic
- By Inheritance
- NestedPathKeyParser
- Serializable
- Serializable
- Product
- Equals
- PathKeyParser
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
NestedPathKeyParser(head: ResourcePathParser[H], tail: PathKeyParser[TailParseAsType])
- head
All information needed to parse from a URL something of the type H
- tail
The rest of the parser chain.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
::[H, TT >: :::[H, TailParseAsType] <: ParsedPathKey](resourcePath: ResourcePathParser[H]): NestedPathKeyParser[H, TT]
Concatenates a new parser on the front of the chain (nesting that parser underneath the others)
Concatenates a new parser on the front of the chain (nesting that parser underneath the others)
- H
The new resource has path parameters of this type.
- TT
This type parameter exists to work around the covariance/contravariance issues with the return type of this function.
- resourcePath
The resource path (and parse information) for the new resource.
- returns
The new chain.
- Definition Classes
- PathKeyParser
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val head: ResourcePathParser[H]
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse(path: String): UrlParseResult[:::[H, TailParseAsType]]
- Definition Classes
- NestedPathKeyParser → PathKeyParser
- def parseFinalLevel(path: String): UrlParseResult[:::[Option[H], TailParseAsType]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tail: PathKeyParser[TailParseAsType]
-
def
toString(): String
- Definition Classes
- NestedPathKeyParser → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )