Package dev.rollczi.litecommands.quoted
Class QuotedStringArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.profile.ProfiledMultipleArgumentResolver<SENDER,String,QuotedProfile>
dev.rollczi.litecommands.quoted.QuotedStringArgumentResolver<SENDER>
- All Implemented Interfaces:
Matcher<SENDER,,String> Parser<SENDER,,String> ArgumentResolverBase<SENDER,,String> MultipleArgumentResolver<SENDER,,String> Suggester<SENDER,,String> Rangeable<Argument<String>>
public class QuotedStringArgumentResolver<SENDER>
extends ProfiledMultipleArgumentResolver<SENDER,String,QuotedProfile>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuotedStringArgumentResolver(SuggesterRegistry<SENDER> suggesterRegistry) QuotedStringArgumentResolver(SuggesterRegistry<SENDER> suggesterRegistry, char quote) -
Method Summary
Modifier and TypeMethodDescriptiongetRange(Argument<String> argument, QuotedProfile quotedProfile) parse(Invocation<SENDER> invocation, Argument<String> argument, RawInput rawInput, QuotedProfile quotedProfile) suggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context, QuotedProfile quotedProfile)
-
Field Details
-
QUOTE_ESCAPE
public static final char QUOTE_ESCAPE- See Also:
-
-
Constructor Details
-
QuotedStringArgumentResolver
-
QuotedStringArgumentResolver
-
-
Method Details
-
parse
public ParseCompletedResult<String> parse(Invocation<SENDER> invocation, Argument<String> argument, RawInput rawInput, QuotedProfile quotedProfile) - Specified by:
parsein classProfiledMultipleArgumentResolver<SENDER,String, QuotedProfile>
-
suggest
public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<String> argument, SuggestionContext context, QuotedProfile quotedProfile) - Overrides:
suggestin classProfiledMultipleArgumentResolver<SENDER,String, QuotedProfile>
-
getRange
- Specified by:
getRangein classProfiledMultipleArgumentResolver<SENDER,String, QuotedProfile>
-