Packages

final case class Filter[A](target: Parser[A], leaveOne: Boolean, p: (A) => Boolean) extends Parser[A] with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, Parser[A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filter
  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 Filter(target: Parser[A], leaveOne: Boolean, p: (A) => Boolean)

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