Class FaweParser<T>
java.lang.Object
com.sk89q.worldedit.internal.registry.InputParser<T>
com.fastasyncworldedit.core.extension.factory.parser.FaweParser<T>
- All Implemented Interfaces:
AliasedParser
- Direct Known Subclasses:
RichMaskParser
,RichPatternParser
,RichTransformParser
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.sk89q.worldedit.internal.registry.InputParser
worldEdit
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected PlatformCommandManager
static List<Map.Entry<FaweParser.ParseEntry,
List<String>>> Parse an input into a list ofMap.Entry
ofFaweParser.ParseEntry
and a list of the given arguments, where arguments are given in square brackets, e.g.Methods inherited from class com.sk89q.worldedit.internal.registry.InputParser
getSuggestions, parseFromInput
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.core.extension.factory.parser.AliasedParser
getMatchedAliases
-
Constructor Details
-
FaweParser
-
-
Method Details
-
parse
public static List<Map.Entry<FaweParser.ParseEntry,List<String>>> parse(String toParse) throws InputParseException Parse an input into a list ofMap.Entry
ofFaweParser.ParseEntry
and a list of the given arguments, where arguments are given in square brackets, e.g.#offset[2][10][2]
. Different entries may be separated by , or & (OR and AND respectively)- Parameters:
toParse
- the string to parse- Returns:
- a list of parsed entries and their arguments
- Throws:
InputParseException
- if the input is not complete (has dangling characters)
-
getPlatform
-