Package org.incendo.cloud.parser
Interface MappedArgumentParser<C,I,O>
- Type Parameters:
C- command sender typeI- base output typeO- mapped output type
- All Superinterfaces:
ArgumentParser<C,,O> SuggestionProviderHolder<C>
- All Known Implementing Classes:
MappedArgumentParserImpl
An argument parser which wraps another argument parser, converting the output type.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.incendo.cloud.parser.ArgumentParser
ArgumentParser.FutureArgumentParser<C,T> -
Method Summary
Modifier and TypeMethodDescriptionGet the parser this one is derived from.Methods inherited from interface org.incendo.cloud.parser.ArgumentParser
flatMap, flatMapSuccess, mapSuccess, parse, parseFuture, suggestionProvider
-
Method Details
-
baseParser
@NonNull ArgumentParser<C,I> baseParser()Get the parser this one is derived from.- Returns:
- the base parser
-