final case class TransformResult(onSuccess: (Any) => Any, onFailure: (ParserError[Any]) => ParserError[Any]) extends ParserOp with Product with Serializable
Pop the last result from the stack, transform it and with one of the functions and push back. It is possible to pass null to onSuccess or onFailure in which case it does not touch the result.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TransformResult
- Serializable
- Product
- Equals
- ParserOp
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TransformResult(onSuccess: (Any) => Any, onFailure: (ParserError[Any]) => ParserError[Any])
Value Members
- val needsEmptyResultSlot: Boolean
- Definition Classes
- TransformResult → ParserOp
- val onFailure: (ParserError[Any]) => ParserError[Any]
- val onSuccess: (Any) => Any
- def productElementNames: Iterator[String]
- Definition Classes
- Product