implicit final class Zipped10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends AnyVal
- Alphabetic
- By Inheritance
- Zipped10
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Zipped10(t: (Parsley[T1], Parsley[T2], Parsley[T3], Parsley[T4], Parsley[T5], Parsley[T6], Parsley[T7], Parsley[T8], Parsley[T9], Parsley[T10]))
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.
- t
the ten parsers whose results should be zipped together.
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
toString(): String
- Definition Classes
- Any
-
def
zipped: Parsley[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]
This combinator executes each of these parsers and pairs all their results together.
This combinator executes each of these parsers and pairs all their results together.
Each of these parsers is executed in turn, each yielding a result. So long as every parser succeeded, the whole combinator succeeds. The pair formed from all of the results is returned by the parser. If any of these parsers fail, the whole combinator fails.
- returns
a parser that seqeunces each of these parsers and pairs them all together.
-
def
zipped[R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ R): Parsley[R]
This combinator executes each of these parsers and combines their results with a given function.
This combinator executes each of these parsers and combines their results with a given function.
Each of these parsers is executed in turn, each yielding a result. So long as every parser succeeded, the whole combinator succeeds and each of the results is fed into the function
f. The result of applyingfto the results is returned by the combinator. If any of these parsers fail, the whole combinator fails.- f
the function to apply across the results of all the parsers.
- returns
a parser that seqeunces each of these parsers and combines their results with the function
f.