final case class Failure(errors: List[ParseError]) extends Parser[Nothing] with Product with Serializable
- Alphabetic
- By Inheritance
- Failure
- Serializable
- Product
- Equals
- Parser
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Failure(errors: List[ParseError])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def *(): Parser[List[Nothing]]
- Definition Classes
- Parser
- def +(): Parser[List[Nothing]]
- Definition Classes
- Parser
- final def <~[B](that: Parser[B])(implicit W: Whitespace): Parser[Nothing]
- Definition Classes
- Parser
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ?(): Parser[Option[Nothing]]
- Definition Classes
- Parser
- def ^^^[B](b: B): Parser[B]
- Definition Classes
- Parser
- def _derive(line: Line, table: MemoTable): Parser[Nothing]
- def _finish(seen: Set[ParserId[_]], table: MemoTable): Results.Failure
- final def apply[F[+_]](ls: LineStream[F])(implicit arg0: Monad[F], W: Whitespace): F[Either[List[ParseError], Catenable[Nothing]]]
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def derive(line: Line, table: MemoTable): Parser[Nothing]
- Attributes
- protected
- Definition Classes
- Parser
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errors: List[ParseError]
- def filter(p: (Nothing) => Boolean): Parser[Nothing]
- Definition Classes
- Parser
- def filterLeaveOne(p: (Nothing) => Boolean): Parser[Nothing]
- Definition Classes
- Parser
- final def finish(seen: Set[ParserId[_]], table: MemoTable): Results[Nothing]
- Attributes
- protected
- Definition Classes
- Parser
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def isNullable: Boolean
- def map[B](f: (Nothing) => B): Parser[B]
- Definition Classes
- Parser
- final def map2[B, C](that: Parser[B])(f: (Nothing, B) => C): Parser[C]
- Definition Classes
- Parser
- def mapWithLines[B](f: (List[Line], Nothing) => B): Parser[B]
- Definition Classes
- Parser
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val nullableMemo: Nullable
- Attributes
- protected
- Definition Classes
- Parser
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def ~[B](that: Parser[B])(implicit W: Whitespace): Parser[~[Nothing, B]]
- Definition Classes
- Parser
- final def ~!~[B](that: Parser[B]): Parser[~[Nothing, B]]
- Definition Classes
- Parser
- final def ~>[B](that: Parser[B])(implicit W: Whitespace): Parser[B]
- Definition Classes
- Parser
Deprecated Value Members
- 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.