Class SimpleInputParser<E>
java.lang.Object
com.sk89q.worldedit.internal.registry.InputParser<E>
com.sk89q.worldedit.internal.registry.SimpleInputParser<E>
- Type Parameters:
- E- the element
- All Implemented Interfaces:
- AliasedParser
- Direct Known Subclasses:
- AirMaskParser,- DarkenPatternParser,- ExistingMaskParser,- ExistingPatternParser,- ExpressionPatternParser,- FalseMaskParser,- HotbarParser,- LazyRegionMaskParser,- LightenPatternParser,- LiquidMaskParser,- RegionMaskParser,- SolidMaskParser,- SurfaceMaskParser,- TrueMaskParser,- WallMaskParser,- XAxisMaskParser,- YAxisMaskParser,- ZAxisMaskParser
An input parser that only performs a single function from aliases.
- 
Field SummaryFields inherited from class com.sk89q.worldedit.internal.registry.InputParserworldEdit
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the primary name of this matcher.getSuggestions(String input) Gets a stream of suggestions of input to this parser.parseFromInput(String input, ParserContext context) abstract EparseFromSimpleInput(String input, ParserContext context) Methods inherited from class com.sk89q.worldedit.internal.registry.InputParsergetSuggestionsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.fastasyncworldedit.core.extension.factory.parser.AliasedParsergetMatchedAliases
- 
Constructor Details- 
SimpleInputParser
 
- 
- 
Method Details- 
parseFromInput- Specified by:
- parseFromInputin class- InputParser<E>
- Throws:
- InputParseException
 
- 
parseFromSimpleInputpublic abstract E parseFromSimpleInput(String input, ParserContext context) throws InputParseException - Throws:
- InputParseException
 
- 
getPrimaryMatcherGets the primary name of this matcher.- Returns:
- the primary match
 
- 
getSuggestionsDescription copied from class:InputParserGets a stream of suggestions of input to this parser.- Overrides:
- getSuggestionsin class- InputParser<E>
- Returns:
- a stream of suggestions
 
 
-