Class InputParser<E>
java.lang.Object
com.sk89q.worldedit.internal.registry.InputParser<E>
- Type Parameters:
E- the element
- Direct Known Subclasses:
BiomeMaskParser,BlockCategoryMaskParser,BlockCategoryPatternParser,BlocksMaskParser,BlockStateMaskParser,ClipboardPatternParser,DefaultBlockParser,DefaultItemParser,ExpressionMaskParser,FaweParser,NegateMaskParser,NoiseMaskParser,OffsetMaskParser,RandomPatternParser,RandomStatePatternParser,RandomTransformParser,RichParser,SimpleInputParser,SingleBlockPatternParser,TypeOrStateApplyingPatternParser
Input parser interface for
AbstractFactory.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSuggestions(String input) Deprecated.getSuggestions(String input, ParserContext context) Gets a stream of suggestions of input to this parser.abstract EparseFromInput(String input, ParserContext context)
-
Field Details
-
worldEdit
-
-
Constructor Details
-
InputParser
-
-
Method Details
-
parseFromInput
- Throws:
InputParseException
-
getSuggestions
Deprecated.Use the version that takes aParserContext,getSuggestions(String, ParserContext)Gets a stream of suggestions of input to this parser.- Returns:
- a stream of suggestions
-
getSuggestions
Gets a stream of suggestions of input to this parser.- Parameters:
input- The string inputcontext- The parser context- Returns:
- a stream of suggestions
-
ParserContext,getSuggestions(String, ParserContext)