- Preparing search index...
- The search index is not available
Kombo - v3.0.0
- oneOf<A, CTX, PROBLEM>(one: Parser.Parser<A, CTX, PROBLEM>): Parser.Parser<A, CTX, PROBLEM>
-
Returns Parser.Parser<A, CTX, PROBLEM>
- oneOf<A, B, CTX1, CTX2, PROBLEM1, PROBLEM2>(one: Parser.Parser<A, CTX1, PROBLEM1>, two: Parser.Parser<B, CTX2, PROBLEM2>): Parser.Parser<A | B, CTX1 | CTX2, PROBLEM1 | PROBLEM2>
-
Type Parameters
-
A
-
B
-
CTX1
-
CTX2
-
PROBLEM1
-
PROBLEM2
Returns Parser.Parser<A | B, CTX1 | CTX2, PROBLEM1 | PROBLEM2>
- oneOf<A, B, C, CTX1, CTX2, CTX3, PROBLEM1, PROBLEM2, PROBLEM3>(one: Parser.Parser<A, CTX1, PROBLEM1>, two: Parser.Parser<B, CTX2, PROBLEM2>, three: Parser.Parser<C, CTX3, PROBLEM3>): Parser.Parser<A | B | C, CTX1 | CTX2 | CTX3, PROBLEM1 | PROBLEM2 | PROBLEM3>
-
Type Parameters
-
A
-
B
-
C
-
CTX1
-
CTX2
-
CTX3
-
PROBLEM1
-
PROBLEM2
-
PROBLEM3
Returns Parser.Parser<A | B | C, CTX1 | CTX2 | CTX3, PROBLEM1 | PROBLEM2 | PROBLEM3>
- oneOf<A, B, C, D, CTX1, CTX2, CTX3, CTX4, PROBLEM1, PROBLEM2, PROBLEM3, PROBLEM4>(one: Parser.Parser<A, CTX1, PROBLEM1>, two: Parser.Parser<B, CTX2, PROBLEM2>, three: Parser.Parser<C, CTX3, PROBLEM3>, four: Parser.Parser<D, CTX4, PROBLEM4>): Parser.Parser<A | B | C | D, CTX1 | CTX2 | CTX3 | CTX4, PROBLEM1 | PROBLEM2 | PROBLEM3 | PROBLEM4>
-
Type Parameters
-
A
-
B
-
C
-
D
-
CTX1
-
CTX2
-
CTX3
-
CTX4
-
PROBLEM1
-
PROBLEM2
-
PROBLEM3
-
PROBLEM4
Returns Parser.Parser<A | B | C | D, CTX1 | CTX2 | CTX3 | CTX4, PROBLEM1 | PROBLEM2 | PROBLEM3 | PROBLEM4>
- oneOf<A, B, C, D, E, CTX1, CTX2, CTX3, CTX4, CTX5, PROBLEM1, PROBLEM2, PROBLEM3, PROBLEM4, PROBLEM5>(one: Parser.Parser<A, CTX1, PROBLEM1>, two: Parser.Parser<B, CTX2, PROBLEM2>, three: Parser.Parser<C, CTX3, PROBLEM3>, four: Parser.Parser<D, CTX4, PROBLEM4>, five: Parser.Parser<E, CTX5, PROBLEM5>): Parser.Parser<A | B | C | D | E, CTX1 | CTX2 | CTX3 | CTX4 | CTX5, PROBLEM1 | PROBLEM2 | PROBLEM3 | PROBLEM4 | PROBLEM5>
-
Type Parameters
-
A
-
B
-
C
-
D
-
E
-
CTX1
-
CTX2
-
CTX3
-
CTX4
-
CTX5
-
PROBLEM1
-
PROBLEM2
-
PROBLEM3
-
PROBLEM4
-
PROBLEM5
Parameters
-
one: Parser.Parser<A, CTX1, PROBLEM1>
-
two: Parser.Parser<B, CTX2, PROBLEM2>
-
three: Parser.Parser<C, CTX3, PROBLEM3>
-
four: Parser.Parser<D, CTX4, PROBLEM4>
-
five: Parser.Parser<E, CTX5, PROBLEM5>
Returns Parser.Parser<A | B | C | D | E, CTX1 | CTX2 | CTX3 | CTX4 | CTX5, PROBLEM1 | PROBLEM2 | PROBLEM3 | PROBLEM4 | PROBLEM5>
Just like Simple.oneOf
See
oneOf