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> 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.
|
Modifier and Type | Method and Description |
---|---|
static <A,B,C,D,R> |
Parsers.map4(Parser<A> p1,
Parser<B> p2,
Parser<C> p3,
Parser<D> p4,
Map4<? super A,? super B,? super C,? super D,R> m4)
Run 4 Parsers sequentially and transform the return values to a new value.
|
static <A,B,C,D,R> |
Parsers.map4(java.lang.String name,
Parser<A> p1,
Parser<B> p2,
Parser<C> p3,
Parser<D> p4,
Map4<? super A,? super B,? super C,? super D,R> m4)
Run 4 Parsers sequentially and transform the return values to a new value.
|