- Type Parameters:
T
- The parsed type.
- All Superinterfaces:
ArgumentParser<Role,
,T> BiFunction<CommandContext,
,Role, Mono<T>> EntityArgumentParser<Role,
,T> InputParser<Role,
,T> ParserFunction<Role,
T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public non-sealed interface RoleArgumentParser<T extends @NonNull Object>
extends EntityArgumentParser<Role,T>
Parses Discord roles.
- 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