object ParserError
- Alphabetic
- By Inheritance
- ParserError
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class AllBranchesFailed[Err](left: ParserError[Err], right: ParserError[Err]) extends ParserError[Err] with Product with Serializable
All branches failed in a sequence of orElse or orElseEither parsers.
All branches failed in a sequence of orElse or orElseEither parsers.
Every failed branch's failure is preserved.
- final case class Failure[Err](nameStack: List[String], position: Int, failure: Err) extends ParserError[Err] with Product with Serializable
User-defined parser error of type 'Err'
User-defined parser error of type 'Err'
- Err
Failure type
- nameStack
Stack of named parsers until reaching the failure
- position
Input stream position
- failure
The custom failure
- final case class NotConsumedAll[Err](lastFailure: Option[ParserError[Err]]) extends ParserError[Err] with Product with Serializable
The parser was supposed to consume the full input but it did not.
The parser was supposed to consume the full input but it did not.
- lastFailure
the last encountered failure, if any
- final case class UnknownFailure(nameStack: List[String], position: Int) extends ParserError[Nothing] with Product with Serializable
Unknown parser error.
Unknown parser error. This is only produced in exceptional cases that should not happen, for example if the unsafe regex variants encounter an error.
- nameStack
Stack of named parsers until reaching the failure
- position
Input stream position
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- case object UnexpectedEndOfInput extends ParserError[Nothing] with Product with Serializable
The input stream ended before the parser finished