E
- the elementpublic abstract class SimpleInputParser<E> extends InputParser<E>
worldEdit
Constructor and Description |
---|
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.List<java.lang.String> |
getSuggestions()
Gets a list of suggestions of input to this parser.
|
E |
parseFromInput(java.lang.String input,
ParserContext context) |
abstract E |
parseFromSimpleInput(java.lang.String input,
ParserContext context) |
public 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.List<java.lang.String> getSuggestions()
InputParser
getSuggestions
in class InputParser<E>