c

zio.parser.internal.stacksafe.ParserOp

TransformResultFlipped

final case class TransformResultFlipped(onSuccess: (Int, Any) => ParserError[Any], onFailure: (Int, ParserError[Any]) => Any) extends ParserOp with Product with Serializable

Pop the last result from the stack, transform it and with one of the functions and push back. It converts success to failure and failure to success.

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

Instance Constructors

  1. new TransformResultFlipped(onSuccess: (Int, Any) => ParserError[Any], onFailure: (Int, ParserError[Any]) => Any)

Value Members

  1. val needsEmptyResultSlot: Boolean
    Definition Classes
    TransformResultFlippedParserOp
  2. val onFailure: (Int, ParserError[Any]) => Any
  3. val onSuccess: (Int, Any) => ParserError[Any]
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product