|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Map | |
---|---|
org.codehaus.jparsec | Provides core Parser implementations for parser combinator logic. |
org.codehaus.jparsec.functors | Provides common functor interfaces, such as Map for mapping parser results as well as some common implementations. |
Uses of Map in org.codehaus.jparsec |
---|
Methods in org.codehaus.jparsec with parameters of type Map | ||
---|---|---|
static Terminals |
Terminals.caseInsensitive(Parser<String> wordScanner,
String[] ops,
String[] keywords,
Map<String,?> wordMap)
Deprecated. Use operators(ops)
.words(wordScanner)
.tokenizeWordsWith(wordMap)
.caseInsensitiveKeywords(keywords)
.build() instead. |
|
static Terminals |
Terminals.caseSensitive(Parser<String> wordScanner,
String[] ops,
String[] keywords,
Map<String,?> wordMap)
Deprecated. Use operators(ops)
.words(wordScanner)
.tokenizeWordsWith(wordMap)
.keywords(keywords)
.build() instead. |
|
|
Parser.ifelse(Map<? super T,? extends Parser<? extends R>> consequence,
Parser<? extends R> alternative)
A Parser that runs consequence if this succeeds, or alternative otherwise. |
|
|
Parser.map(Map<? super T,? extends R> map)
A Parser that runs this parser and transforms the return value using map . |
|
|
Parser.next(Map<? super T,? extends Parser<? extends To>> map)
A Parser that executes this , maps the result using map to another Parser object
to be executed as the next step. |
|
Terminals.Builder |
Terminals.Builder.tokenizeWordsWith(Map<String,?> wordMap)
Configures alternative tokenization strategy for words (except keywords). |
Method parameters in org.codehaus.jparsec with type arguments of type Map | |
---|---|
Parser<T> |
Parser.postfix(Parser<? extends Map<? super T,? extends T>> op)
A Parser that runs this and then runs op for 0 or more times greedily. |
OperatorTable<T> |
OperatorTable.postfix(Parser<? extends Map<? super T,? extends T>> parser,
int precedence)
Adds a postfix unary operator. |
Parser<T> |
Parser.prefix(Parser<? extends Map<? super T,? extends T>> op)
A Parser that runs op for 0 or more times greedily, then runs this . |
OperatorTable<T> |
OperatorTable.prefix(Parser<? extends Map<? super T,? extends T>> parser,
int precedence)
Adds a prefix unary operator. |
Uses of Map in org.codehaus.jparsec.functors |
---|
Subinterfaces of Map in org.codehaus.jparsec.functors | |
---|---|
interface |
Unary<T>
Represents a unary operation on the same type T . |
Fields in org.codehaus.jparsec.functors declared as Map | |
---|---|
static Map<String,Integer> |
Maps.TO_INTEGER
The Map that maps a String to Integer by calling
Integer.valueOf(String) . |
Methods in org.codehaus.jparsec.functors that return Map | ||
---|---|---|
static
|
Maps.constant(T v)
Returns a Map that always maps any object to v . |
|
static
|
Maps.map(Map<K,V> m)
Adapts a Map to Map . |
|
static
|
Maps.mapToString()
A Map instance that maps its parameter to a String by calling
Object.toString() against it. |
|
static
|
Maps.toEnum(Class<E> enumType)
Returns a Map that maps the string representation of an enum
to the corresponding enum value by calling Enum.valueOf(Class, String) . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |