Unpack

org.parboiled2.support.Unpack
See theUnpack companion trait
object Unpack extends AlternativeUnpacks

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Unpack.type

Members list

Type members

Classlikes

sealed trait Aux[L <: HList, Out0]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object HNilUnpack.type
object HNilUnpack extends Aux[HNil, Unit]

Attributes

Supertypes
trait Aux[HNil, Unit]
class Object
trait Matchable
class Any
Self type
HNilUnpack.type

Implicits

Implicits

implicit def fromAux[L <: HList, Out0](implicit aux: Aux[L, Out0]): Unpack[L] { type Out = Out0; }
implicit def hnil[L <: HNil]: Aux[L, Unit]
implicit def single[T]: Aux[T :: HNil, T]

Inherited implicits

implicit def dontUnpack[L <: HList]: Aux[L, L]

Import if you'd like to always deliver the valueStack as an HList at the end of the parsing run, even if it has only zero or one element(s).

Import if you'd like to always deliver the valueStack as an HList at the end of the parsing run, even if it has only zero or one element(s).

Attributes

Inherited from:
AlternativeUnpacks