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
Members list
In this article