TransformLast2Results

zio.parser.internal.stacksafe.ParserOp.TransformLast2Results
final case class TransformLast2Results(strategy: PairTransformation) extends ParserOp

Pop the last two results from the stack and if both were success, create a single value based on the given strategy and push it back. If any of them failed, push back a single failure.

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