|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Map2 | |
---|---|
jfun.parsec | Provides classes and interfaces for parser combinator logic and basic parsers. |
Uses of Map2 in jfun.parsec |
---|
Subinterfaces of Map2 in jfun.parsec | |
---|---|
interface |
Binary<T>
This interface represents a binary operation on the same type. |
Methods in jfun.parsec that return Map2 | ||
---|---|---|
static
|
Maps.id2()
Create a Map2 object that stores the two objects into a Pair object. |
Methods in jfun.parsec with parameters of type Map2 | ||
---|---|---|
|
Parser.and(Parser<T> p,
Map2<? super Type,? super T,R> m)
it sequentially run this and p, and then transforms the two return values with m to a new return value. |
|
|
Parser.and(java.lang.String name,
Parser<T> p,
Map2<? super Type,? super T,R> m)
it sequentially run this and p, and then transforms the two return values with m to a new return value. |
|
static
|
Parsers.map2(Parser<A> p1,
Parser<B> p2,
Map2<? super A,? super B,R> m2)
Run 2 Parsers sequentially and transform the return values to a new value. |
|
static
|
Parsers.map2(java.lang.String name,
Parser<A> p1,
Parser<B> p2,
Map2<? super A,? super B,R> m2)
Run 2 Parsers sequentially and transform the return values to a new value. |
Method parameters in jfun.parsec with type arguments of type Map2 | ||
---|---|---|
OperatorTable<E> |
OperatorTable.infixl(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix left-associative binary operator. |
|
static
|
Parsers.infixl(Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> p)
Left associative infix operator. |
|
static
|
Parsers.infixl(java.lang.String name,
Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> p)
Left associative infix operator. |
|
OperatorTable<E> |
OperatorTable.infixn(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix non-associative binary operator. |
|
static
|
Parsers.infixn(Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> operand)
Non-associative infix operator. |
|
static
|
Parsers.infixn(java.lang.String name,
Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> operand)
Non-associative infix operator. |
|
OperatorTable<E> |
OperatorTable.infixr(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix right-associative binary operator. |
|
static
|
Parsers.infixr(Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> p)
Right associative infix operator. |
|
static
|
Parsers.infixr(java.lang.String name,
Parser<? extends Map2<? super T,? super T,T>> op,
Parser<? extends T> p)
Right associative infix operator. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |