← ZIO Parser docs

PushResult

zio.parser.internal.stacksafe.ParserOp.PushResult
final case class PushResult(success: AnyRef, failure: ParserError[Any], popFirst: Boolean) extends ParserOp

Store a result. One of success or failure must be null. If popFirst is true, the last result will be replaced but only if it was a success.

Attributes

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

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

Attributes

Source
ParserOp.scala