p

bastion

package bastion

Linear Supertypes
DynamicReprTuples, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. bastion
  2. DynamicReprTuples
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class ConverterSyntax[A] extends AnyRef
  2. final case class CumulatedErrors(errors: List[DecodeError]) extends DecodeError with Product with Serializable

    Represents an accumulation of errors.

  3. trait Decode[T] extends AnyRef

    Typeclass representing a decoder from a DynamicRepr to a type T.

    Typeclass representing a decoder from a DynamicRepr to a type T. Attempting to decode may fail, resulting in DecodeError.

  4. sealed trait DecodeError extends AnyRef

    Mapping of type A to type B may result in errors, represented as DecodeError.

  5. sealed trait DynamicRepr extends Dynamic

    DynamicRepr is a simplistic representation of data, meant to be inspected at runtime.

    DynamicRepr is a simplistic representation of data, meant to be inspected at runtime. For data as product, fields are accessed dynamically using scala.language.dynamics.

  6. implicit class DynamicReprConverter extends AnyRef
  7. trait DynamicReprTuples extends AnyRef
  8. implicit class DynamicReprTuples1 extends AnyRef
    Definition Classes
    DynamicReprTuples
  9. implicit class DynamicReprTuples10 extends AnyRef
    Definition Classes
    DynamicReprTuples
  10. implicit class DynamicReprTuples11 extends AnyRef
    Definition Classes
    DynamicReprTuples
  11. implicit class DynamicReprTuples12 extends AnyRef
    Definition Classes
    DynamicReprTuples
  12. implicit class DynamicReprTuples13 extends AnyRef
    Definition Classes
    DynamicReprTuples
  13. implicit class DynamicReprTuples14 extends AnyRef
    Definition Classes
    DynamicReprTuples
  14. implicit class DynamicReprTuples15 extends AnyRef
    Definition Classes
    DynamicReprTuples
  15. implicit class DynamicReprTuples16 extends AnyRef
    Definition Classes
    DynamicReprTuples
  16. implicit class DynamicReprTuples17 extends AnyRef
    Definition Classes
    DynamicReprTuples
  17. implicit class DynamicReprTuples18 extends AnyRef
    Definition Classes
    DynamicReprTuples
  18. implicit class DynamicReprTuples19 extends AnyRef
    Definition Classes
    DynamicReprTuples
  19. implicit class DynamicReprTuples2 extends AnyRef
    Definition Classes
    DynamicReprTuples
  20. implicit class DynamicReprTuples20 extends AnyRef
    Definition Classes
    DynamicReprTuples
  21. implicit class DynamicReprTuples21 extends AnyRef
    Definition Classes
    DynamicReprTuples
  22. implicit class DynamicReprTuples22 extends AnyRef
    Definition Classes
    DynamicReprTuples
  23. implicit class DynamicReprTuples3 extends AnyRef
    Definition Classes
    DynamicReprTuples
  24. implicit class DynamicReprTuples4 extends AnyRef
    Definition Classes
    DynamicReprTuples
  25. implicit class DynamicReprTuples5 extends AnyRef
    Definition Classes
    DynamicReprTuples
  26. implicit class DynamicReprTuples6 extends AnyRef
    Definition Classes
    DynamicReprTuples
  27. implicit class DynamicReprTuples7 extends AnyRef
    Definition Classes
    DynamicReprTuples
  28. implicit class DynamicReprTuples8 extends AnyRef
    Definition Classes
    DynamicReprTuples
  29. implicit class DynamicReprTuples9 extends AnyRef
    Definition Classes
    DynamicReprTuples
  30. trait Encode[-A] extends AnyRef

    Typeclass representing an Encoder from a type A to DynamicRepr.

  31. case class FieldKeyRepr(s: String) extends Product with Serializable

    Internal class to encode field representation.

  32. final case class IncorrectPath(d: DynamicRepr, decodeType: String) extends DecodeError with Product with Serializable

    This error may occur when attempting to select an incorrect field on a DynamicRepr.

  33. final case class IterableDynamicRepr(items: Iterable[DynamicRepr]) extends DynamicRepr with Product with Serializable

    Data as a collection of DynamicRepr is encoded as IterableDynamicRepr.

    Data as a collection of DynamicRepr is encoded as IterableDynamicRepr. The data it encodes is the public field items.

  34. implicit class IterableOps[A] extends AnyRef
  35. abstract class ProductDynamicRepr[A] extends DynamicRepr

    Data as product of other DynamicRepr is encoded as ProductDynamicRepr.

    Data as product of other DynamicRepr is encoded as ProductDynamicRepr. The data it encodes is the public field a.

  36. type Result[T] = Either[DecodeError, T]
  37. final case class UnexpectedEncodeValue(d: DynamicRepr, decodeType: String) extends DecodeError with Product with Serializable

    This error may occur when attempting to decode a field on DynamicRepr with incorrect type.

  38. final case class ValueDynamicRepr[A](a: A) extends DynamicRepr with Product with Serializable

    Data as a single value of DynamicRepr is encoded as ValueDynamicRepr.

    Data as a single value of DynamicRepr is encoded as ValueDynamicRepr. The data it encodes is the public field a. Its selectDynamic method will always return NilDynamicRepr.

  39. final case class WrappedError[T](t: T) extends DecodeError with Product with Serializable

    This error encapsulate an error T into a DecodeError.

    This error encapsulate an error T into a DecodeError. It is used in DynamicReprTuples with all the 'apply' methods.

Value Members

  1. object Decode extends DecodeDerivation
  2. object Encode extends EncodeDerivation
  3. object IncorrectSubtype extends DecodeError with Product with Serializable

    Thi error may occur when decoding a DynamicRepr to an ADT, and no subtype suits.

  4. object NilDynamicRepr extends DynamicRepr with Product with Serializable

    The absence of data is encoded as NilDynamicRepr.

  5. object NilSmartConstructorError extends DecodeError with Product with Serializable

    This error is used in DynamicReprTuples when encapsulating a smart constructor with 'applyO' into a Decode.

  6. object ProductDynamicRepr
  7. object ResultFunctions
  8. object ResultProducts
  9. object StringCases

    Internal methods to compute string cases.

Inherited from DynamicReprTuples

Inherited from AnyRef

Inherited from Any

Ungrouped