Packages

final case class Union[+A](_left: () => Parser[A], _right: () => Parser[A]) extends Parser[A] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Parser[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Union
  2. Serializable
  3. Product
  4. Equals
  5. Parser
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Union(_left: () => Parser[A], _right: () => Parser[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def *(): Parser[List[A]]
    Definition Classes
    Parser
  4. def +(): Parser[List[A]]
    Definition Classes
    Parser
  5. final def <~[B](that: Parser[B])(implicit W: Whitespace): Parser[A]
    Definition Classes
    Parser
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def ?(): Parser[Option[A]]
    Definition Classes
    Parser
  8. def ^^^[B](b: B): Parser[B]
    Definition Classes
    Parser
  9. def _derive(line: Line, table: MemoTable): Parser[A]
    Attributes
    protected
    Definition Classes
    UnionParser
  10. def _finish(seen: Set[ParserId[_]], table: MemoTable): Results[A]
    Attributes
    protected
    Definition Classes
    UnionParser
  11. val _left: () => Parser[A]
  12. val _right: () => Parser[A]
  13. final def apply[F[+_]](ls: LineStream[F])(implicit arg0: Monad[F], W: Whitespace): F[Either[List[ParseError], Catenable[A]]]

    Among other things, it should be possible to instantiate F[_] with an fs2 Pull, which should allow fully generalizable, incremental parsing on an ephemeral stream.

    Among other things, it should be possible to instantiate F[_] with an fs2 Pull, which should allow fully generalizable, incremental parsing on an ephemeral stream. A prerequisite step would be to convert a Stream[Task, Bytes] (or whatever format and effect it is in) into a Stream[Task, Line], which could then in turn be converted pretty trivially into a Pull[Task, LineStream, Nothing].

    Please note that F[_] should be lazy and stack-safe. If F[_] is not stack-safe, this function will SOE on inputs with a very large number of lines.

    Definition Classes
    Parser
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  16. final def derive(line: Line, table: MemoTable): Parser[A]
    Attributes
    protected
    Definition Classes
    Parser
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def filter(p: (A) => Boolean): Parser[A]
    Definition Classes
    Parser
  19. def filterLeaveOne(p: (A) => Boolean): Parser[A]
    Definition Classes
    Parser
  20. final def finish(seen: Set[ParserId[_]], table: MemoTable): Results[A]
    Attributes
    protected
    Definition Classes
    Parser
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. final def isNullable: Boolean
    Attributes
    protected[parseback]
    Definition Classes
    Parser
  24. lazy val left: Parser[A]
  25. def map[B](f: (A) => B): Parser[B]
    Definition Classes
    Parser
  26. final def map2[B, C](that: Parser[B])(f: (A, B) => C): Parser[C]
    Definition Classes
    Parser
  27. def mapWithLines[B](f: (List[Line], A) => B): Parser[B]
    Definition Classes
    Parser
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  31. val nullableMemo: Nullable
    Attributes
    protected
    Definition Classes
    Parser
  32. def productElementNames: Iterator[String]
    Definition Classes
    Product
  33. lazy val right: Parser[A]
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def ~[B](that: Parser[B])(implicit W: Whitespace): Parser[~[A, B]]
    Definition Classes
    Parser
  39. final def ~!~[B](that: Parser[B]): Parser[~[A, B]]
    Definition Classes
    Parser
  40. final def ~>[B](that: Parser[B])(implicit W: Whitespace): Parser[B]
    Definition Classes
    Parser

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Parser[A]

Inherited from AnyRef

Inherited from Any

Ungrouped