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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SkipOnSuccess2
- Serializable
- Product
- Equals
- ParserOp
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected