Class ExpressionConverter
java.lang.Object
com.sk89q.worldedit.command.argument.ExpressionConverter
- All Implemented Interfaces:
org.enginehub.piston.converter.ArgumentConverter<Expression>
,org.enginehub.piston.converter.Converter<Expression>
,org.enginehub.piston.converter.SuggestionProvider
public class ExpressionConverter
extends Object
implements org.enginehub.piston.converter.ArgumentConverter<Expression>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.enginehub.piston.converter.ConversionResult
<Expression> com.sk89q.worldedit.util.formatting.text.Component
static void
register
(org.enginehub.piston.CommandManager commandManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.enginehub.piston.converter.ArgumentConverter
getSuggestions
-
Constructor Details
-
ExpressionConverter
public ExpressionConverter()
-
-
Method Details
-
register
public static void register(org.enginehub.piston.CommandManager commandManager) -
describeAcceptableArguments
public com.sk89q.worldedit.util.formatting.text.Component describeAcceptableArguments()- Specified by:
describeAcceptableArguments
in interfaceorg.enginehub.piston.converter.ArgumentConverter<Expression>
-
convert
public org.enginehub.piston.converter.ConversionResult<Expression> convert(String s, org.enginehub.piston.inject.InjectedValueAccess injectedValueAccess) - Specified by:
convert
in interfaceorg.enginehub.piston.converter.Converter<Expression>
-