Packages

case class UnpickleSuccess[+T](result: T) extends Unpickled[T] with Product with Serializable

A class representing successful unpicklings

T

the type of the unpickled value

result

the unpickled value

Source
Pickler.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnpickleSuccess
  2. Serializable
  3. Product
  4. Equals
  5. Unpickled
  6. AnyRef
  7. Any
Implicitly
  1. by TildeDecorator
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnpickleSuccess(result: T)

    result

    the unpickled value

Value Members

  1. def flatMap[U](f: (T) => Unpickled[U]): Unpickled[U]

    Transforms success values to successes or failures using given function, leaves failures alone.

    Transforms success values to successes or failures using given function, leaves failures alone.

    f

    the function to apply.

    Definition Classes
    Unpickled
  2. def map[U](f: (T) => U): Unpickled[U]

    Transforms success values to success values using given function, leaves failures alone

    Transforms success values to success values using given function, leaves failures alone

    f

    the function to apply.

    Definition Classes
    Unpickled
  3. def orElse[U >: T](alt: => Unpickled[U]): Unpickled[U]

    Tries alternate expression if current result is a failure

    Tries alternate expression if current result is a failure

    alt

    the alternate expression to be tried in case of failure

    Definition Classes
    Unpickled
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. def requireSuccess: UnpickleSuccess[T]

    Transforms failures into thrown MalformedInput exceptions.

    Transforms failures into thrown MalformedInput exceptions.

    Definition Classes
    Unpickled
    Exceptions thrown

    Lexer.MalformedInput if current result is a failure

  6. val result: T
  7. def ~[T](y: T): ~[UnpickleSuccess[T], T]

    Infix method that forms a ~-pair.

    Infix method that forms a ~-pair.

    Implicit
    This member is added by an implicit conversion from UnpickleSuccess[T] toTildeDecorator[UnpickleSuccess[T]] performed by method TildeDecorator in scala.tools.nsc.interactive.Pickler.
    Definition Classes
    TildeDecorator