TransformResultFlipped

zio.parser.internal.stacksafe.ParserOp.TransformResultFlipped
final case class TransformResultFlipped(onSuccess: (Int, Any) => ParserError[Any], onFailure: (Int, ParserError[Any]) => Any) extends ParserOp

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.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait ParserOp
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

override val needsEmptyResultSlot: Boolean