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