Package dev.rollczi.litecommands.literal
Class LiteralArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.profile.ProfiledMultipleArgumentResolver<SENDER,String,LiteralProfile>
dev.rollczi.litecommands.literal.LiteralArgumentResolver<SENDER>
- All Implemented Interfaces:
Matcher<SENDER,,String> Parser<SENDER,,String> ArgumentResolverBase<SENDER,,String> MultipleArgumentResolver<SENDER,,String> Suggester<SENDER,,String> Rangeable<Argument<String>>
public class LiteralArgumentResolver<SENDER>
extends ProfiledMultipleArgumentResolver<SENDER,String,LiteralProfile>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRange(Argument<String> argument, LiteralProfile literalProfile) parse(Invocation<SENDER> invocation, Argument<String> argument, RawInput rawInput, LiteralProfile literalProfile) protected SuggestionResultsuggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context, LiteralProfile literalProfile)
-
Constructor Details
-
LiteralArgumentResolver
public LiteralArgumentResolver()
-
-
Method Details
-
parse
public ParseResult<String> parse(Invocation<SENDER> invocation, Argument<String> argument, RawInput rawInput, LiteralProfile literalProfile) - Specified by:
parsein classProfiledMultipleArgumentResolver<SENDER,String, LiteralProfile>
-
getRange
- Specified by:
getRangein classProfiledMultipleArgumentResolver<SENDER,String, LiteralProfile>
-
suggest
protected SuggestionResult suggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context, LiteralProfile literalProfile) - Overrides:
suggestin classProfiledMultipleArgumentResolver<SENDER,String, LiteralProfile>
-