E
- the elementpublic abstract class SimpleInputParser<E> extends InputParser<E>
worldEdit
Modifier | Constructor and Description |
---|---|
protected |
SimpleInputParser(WorldEdit worldEdit) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.String> |
getMatchedAliases()
The strings this parser matches.
|
java.lang.String |
getPrimaryMatcher()
Gets the primary name of this matcher.
|
java.util.stream.Stream<java.lang.String> |
getSuggestions(java.lang.String input)
Gets a stream of suggestions of input to this parser.
|
E |
parseFromInput(java.lang.String input,
ParserContext context) |
abstract E |
parseFromSimpleInput(java.lang.String input,
ParserContext context) |
protected SimpleInputParser(WorldEdit worldEdit)
public abstract java.util.List<java.lang.String> getMatchedAliases()
public E parseFromInput(java.lang.String input, ParserContext context) throws InputParseException
parseFromInput
in class InputParser<E>
InputParseException
public abstract E parseFromSimpleInput(java.lang.String input, ParserContext context) throws InputParseException
InputParseException
public java.lang.String getPrimaryMatcher()
public java.util.stream.Stream<java.lang.String> getSuggestions(java.lang.String input)
InputParser
getSuggestions
in class InputParser<E>