final case class SkipOnSuccess2(checkBranchPosition: Boolean, transform: (Any) => Any) extends ParserOp with Product with Serializable

If the result is success, skip the next two parser operations. Optionally if the transform is not null, it replaces the result with the transform function applied to it. This can be used to shortcut the right side of an or operation. If checkBranchPosition is true, the last branch position will be popped and checked and if the position was moved the left failure is kept and the next operations get skipped.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SkipOnSuccess2
  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 SkipOnSuccess2(checkBranchPosition: Boolean, transform: (Any) => Any)

Value Members

  1. val checkBranchPosition: Boolean
  2. val needsEmptyResultSlot: Boolean
    Definition Classes
    SkipOnSuccess2ParserOp
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. val transform: (Any) => Any