TransformResult

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

Pop the last result from the stack, transform it and with one of the functions and push back. It is possible to pass null to onSuccess or onFailure in which case it does not touch the result.

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