implicit final class Lift2[T1, T2, R] extends AnyVal
- Alphabetic
- By Inheritance
- Lift2
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Lift2(f: (T1, T2) ⇒ R)
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
This constructor should not be called manually, it is designed to be used via Scala's implicit resolution.
- f
the function to apply to the parsers.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lift(p1: Parsley[T1], p2: ⇒ Parsley[T2]): Parsley[R]
This combinator executes each of its argument parsers in turn and applies this function to their results.
This combinator executes each of its argument parsers in turn and applies this function to their results.
Each of the given parsers is executed in sequence, each yielding a result. So long as every parser succeeded, the whole combinator succeeds and each of the results is fed into this function. The result of this application is returned by the combinator. If any of the given parsers fails then the whole combinator fails.
- returns
a parser that applies this function to the results of all the given parsers.
- See also
-
def
toString(): String
- Definition Classes
- Any