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