|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Unary | |
---|---|
org.codehaus.jparsec.functors | Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations. |
org.codehaus.jparsec.misc | Provides optional convenience API built around core jparsec (Extra dependency on cglib is required). |
Uses of Unary in org.codehaus.jparsec.functors |
---|
Fields in org.codehaus.jparsec.functors declared as Unary | |
---|---|
static Unary<String> |
Maps.TO_LOWER_CASE
The Unary that maps a String to lower case using Locale.US . |
static Unary<String> |
Maps.TO_UPPER_CASE
The Unary that maps a String to upper case using Locale.US . |
Methods in org.codehaus.jparsec.functors that return Unary | ||
---|---|---|
static
|
Maps.identity()
Returns an identity map that maps parameter to itself. |
|
static Unary<String> |
Maps.toLowerCase(Locale locale)
Returns a Unary that maps a String to lower case using locale . |
|
static Unary<String> |
Maps.toUpperCase(Locale locale)
Returns a Unary that maps a String to upper case using locale . |
Uses of Unary in org.codehaus.jparsec.misc |
---|
Methods in org.codehaus.jparsec.misc that return types with arguments of type Unary | |
---|---|
Parser<Unary<T>> |
Mapper.postfix(Parser<?>... operator)
A Parser that runs operator sequentially and returns a Unary instance,
which will pass along its only parameter followed by the return values of operator
to the underlying map method or curried constructor. |
Parser<Unary<T>> |
Mapper.postfix(Parser<?> operator)
A Parser that runs operator and returns a Unary instance,
which will pass along its only parameter followed by the return value of operator
to the underlying map method or curried constructor. |
Parser<Unary<T>> |
Mapper.prefix(Parser<?>... operator)
A Parser that runs operator sequentially and returns a Unary instance,
which will pass along the return values of operator followed by its only parameter
to the underlying map method or curried constructor. |
Parser<Unary<T>> |
Mapper.prefix(Parser<?> operator)
A Parser that runs operator and returns a Unary instance,
which will pass along the return value of operator followed by its only parameter
to the underlying map method or curried constructor. |
Parser<Unary<T>> |
Mapper.unary()
A Parser that returns a Unary instance that invokes the underlying
map method or curried constructor with the only parameter of the
Map.map(Object) method. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |