Packages

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'

Err

Failure type

nameStack

Stack of named parsers until reaching the failure

position

Input stream position

failure

The custom failure

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Failure
  2. Serializable
  3. Product
  4. Equals
  5. ParserError
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Failure(nameStack: List[String], position: Int, failure: Err)

    nameStack

    Stack of named parsers until reaching the failure

    position

    Input stream position

    failure

    The custom failure

Value Members

  1. def addFailedBranch[Err2 >: Err](error: ParserError[Err2]): ParserError[Err2]
    Definition Classes
    ParserError
  2. val failure: Err
  3. def map[Err2](f: (Err) => Err2): ParserError[Err2]
    Definition Classes
    ParserError
  4. val nameStack: List[String]
  5. val position: Int
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product