- Type Parameters:
P- The primitive type to be parsed.T- The type of argument that is provided.
- All Superinterfaces:
ArgumentParser<P,,T> BiFunction<CommandContext,,P, Mono<T>> ParserFunction<P,T>
- All Known Subinterfaces:
BooleanParser<T>,ChannelArgumentParser<C,,T> ChoicesParser<P,,T> EntityArgumentParser<E,,T> FloatParser<T>,IntegerParser<T>,ListParser<T>,MessageArgumentParser<T>,NumberParser<P,,T> RoleArgumentParser<T>,SnowflakeParser<T>,StringParser<T>,UserArgumentParser<T>
public sealed interface InputParser<P extends @NonNull Object,T extends @NonNull Object>
extends ArgumentParser<P,T>
permits BooleanParser<T>, ChoicesParser<P,T>, SnowflakeParser<T>, EntityArgumentParser<E,T>
Parses received input arguments.
- Since:
- 1.0
- Version:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
ParserFunction.PostParser<R extends @NonNull Object,I extends @NonNull Object, T extends @NonNull Object, P1 extends @NonNull ParserFunction<R, I>, P2 extends @NonNull ParserFunction<I, T>> -
Method Summary
Methods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ArgumentParser
parse, parseArgument, validateRawMethods inherited from interface java.util.function.BiFunction
andThenMethods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
apply, then