Class ArgumentResolverChained<SENDER,T>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolverChained<SENDER,T>
- All Implemented Interfaces:
Matcher<SENDER,,T> ParserChained<SENDER,,T> ArgumentResolverBaseChained<SENDER,,T> MultipleArgumentResolverChained<SENDER,,T> SuggesterChained<SENDER,,T> Rangeable<Argument<T>>
- Direct Known Subclasses:
CompletableFutureResolver
@Experimental
public abstract class ArgumentResolverChained<SENDER,T>
extends Object
implements MultipleArgumentResolverChained<SENDER,T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Rangefinal booleanmatch(Invocation<SENDER> invocation, Argument<T> argument, RawInput input, ParserChainAccessor<SENDER> accessor) protected booleanmatch(Invocation<SENDER> invocation, Argument<T> context, String argument, ParserChainAccessor<SENDER> accessor) final ParseResult<T> parse(Invocation<SENDER> invocation, Argument<T> argument, RawInput input, ParserChainAccessor<SENDER> chainAccessor) protected abstract ParseResult<T> parse(Invocation<SENDER> invocation, Argument<T> argument, String input, ParserChainAccessor<SENDER> chainAccessor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolverChained
suggestMethods inherited from interface dev.rollczi.litecommands.argument.parser.ParserChained
canParse
-
Constructor Details
-
ArgumentResolverChained
public ArgumentResolverChained()
-
-
Method Details
-
parse
public final ParseResult<T> parse(Invocation<SENDER> invocation, Argument<T> argument, RawInput input, ParserChainAccessor<SENDER> chainAccessor) - Specified by:
parsein interfaceParserChained<SENDER,T>
-
parse
protected abstract ParseResult<T> parse(Invocation<SENDER> invocation, Argument<T> argument, String input, ParserChainAccessor<SENDER> chainAccessor) -
match
public final boolean match(Invocation<SENDER> invocation, Argument<T> argument, RawInput input, ParserChainAccessor<SENDER> accessor) - Specified by:
matchin interfaceParserChained<SENDER,T>
-
match
protected boolean match(Invocation<SENDER> invocation, Argument<T> context, String argument, ParserChainAccessor<SENDER> accessor) -
getRange
-