Object/Trait

com.rayrobdod.json.union

ParserRetVal

Related Docs: trait ParserRetVal | package union

Permalink

object ParserRetVal

A container for the types of ParserRetVals

Source
ParserRetVal.scala
Version

3.0.1

Since

3.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ParserRetVal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Complex[+C](x: C) extends ParserRetVal[C, Nothing] with Product with Serializable

    Permalink

    Represents a value that was produced via consultation of a builder

  2. final class ComplexProjection[+C, +P] extends AnyRef

    Permalink

    A projection as if the ParserRetVal were a Complex

  3. final case class Failure(msg: String, idx: Int) extends ParserRetVal[Nothing, Nothing] with Product with Serializable

    Permalink

    Represents an attempt at parsing that was unsuccessful

    Represents an attempt at parsing that was unsuccessful

    msg

    a string describing the failure

    idx

    the location in the input of the error. The meaning of idx depends on the Parser's Input; if the Input is a character sequence, then idx might be the index of the character that caused a problem.

  4. final case class Primitive[+P](x: P) extends ParserRetVal[Nothing, P] with Product with Serializable

    Permalink

    Represents a value that was produced by the parser without builder consultation

  5. final class PrimitiveProjection[+C, +P] extends AnyRef

    Permalink

    A projection as if the ParserRetVal were a primitive

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def eitherToComplex[A](a: Either[(String, Int), A]): ParserRetVal[A, Nothing]

    Permalink

    Convert a Left to a Failure and a Right to a Complex

  7. def eitherToPrimitive[A](a: Either[(String, Int), A]): ParserRetVal[Nothing, A]

    Permalink

    Convert a Left to a Failure and a Right to a Primitive

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped