Interface MappedArgumentParser<C,I,O>

Type Parameters:
C - command sender type
I - base output type
O - mapped output type
All Superinterfaces:
ArgumentParser<C,O>, SuggestionProviderHolder<C>
All Known Implementing Classes:
MappedArgumentParserImpl

@API(status=STABLE) public interface MappedArgumentParser<C,I,O> extends ArgumentParser<C,O>
An argument parser which wraps another argument parser, converting the output type.
  • Method Details

    • baseParser

      @NonNull ArgumentParser<C,I> baseParser()
      Get the parser this one is derived from.
      Returns:
      the base parser