Package | Description |
---|---|
jfun.parsec |
Provides classes and interfaces for parser combinator logic and basic parsers.
|
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D,E> |
Tuples.tuple(A a,
B b,
C c,
D d,
E e)
Create a 5-object tuple.
|
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D,E> |
Maps.id5()
Create a Map5 object that stores the 5 objects into a Tuple5 object.
|
static <A,B,C,D,E> |
Parsers.tuple(Parser<A> p1,
Parser<B> p2,
Parser<C> p3,
Parser<D> p4,
Parser<E> p5)
Sequentially run 5 parser objects and collect the results in a Tuple5 object.
|
static <A,B,C,D,E> |
Parsers.tuple(java.lang.String name,
Parser<A> p1,
Parser<B> p2,
Parser<C> p3,
Parser<D> p4,
Parser<E> p5)
Sequentially run 5 parser objects and collect the results in a Tuple5 object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Tuple5.equals(Tuple5 other) |