c

zio.parser.internal.stacksafe.ParserOp

TransformResultToOption

final case class TransformResultToOption(checkBranchPosition: Boolean) extends ParserOp with Product with Serializable

Pop the last result from the stack and if it was success, respush wrapped in Some, if it was failure, repush as a successful None. When checkBranchPosition is true, if position was moved compared to the last branch position then keep the failure.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransformResultToOption
  2. Serializable
  3. Product
  4. Equals
  5. ParserOp
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TransformResultToOption(checkBranchPosition: Boolean)

Value Members

  1. val checkBranchPosition: Boolean
  2. val needsEmptyResultSlot: Boolean
    Definition Classes
    TransformResultToOptionParserOp
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product