- Type Parameters:
E
- The entity type.T
- The parsed type.
- All Superinterfaces:
ArgumentParser<E,
,T> BiFunction<CommandContext,
,E, Mono<T>> InputParser<E,
,T> ParserFunction<E,
T>
- All Known Subinterfaces:
ChannelArgumentParser<C,
,T> MessageArgumentParser<T>
,RoleArgumentParser<T>
,UserArgumentParser<T>
public sealed interface EntityArgumentParser<E extends @NonNull Entity,T extends @NonNull Object>
extends InputParser<E,T>
permits UserArgumentParser<T>, RoleArgumentParser<T>, ChannelArgumentParser<C,T>, MessageArgumentParser<T>
Parses Discord entities.
- 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, validateRaw
Methods inherited from interface java.util.function.BiFunction
andThen
Methods inherited from interface dev.sympho.modular_commands.api.command.parameter.parse.ParserFunction
apply, then