Uses of Interface
dev.sympho.modular_commands.utils.parse.TryParser.Result
Packages that use TryParser.Result
-
Uses of TryParser.Result in dev.sympho.modular_commands.utils.parse
Classes in dev.sympho.modular_commands.utils.parse that implement TryParser.ResultModifier and TypeClassDescriptionstatic final recordTryParser.Failure<R extends @NonNull Object,T extends @NonNull Object> A result in which the item was invalid.static final recordTryParser.Success<R extends @NonNull Object,T extends @NonNull Object> A result in which the item was parsed successfully.Methods in dev.sympho.modular_commands.utils.parse that return types with arguments of type TryParser.ResultModifier and TypeMethodDescriptiondefault Mono<TryParser.Result<R,T>> TryParser.parse(CommandContext context, R item) Method parameters in dev.sympho.modular_commands.utils.parse with type arguments of type TryParser.ResultModifier and TypeMethodDescriptionTryParser.errors(List<TryParser.Result<R, T>> results) Extracts the items in a result list that had errors.TryParser.items(List<TryParser.Result<R, T>> results) Extracts the items in a result list that were successfully parsed.static <R extends @NonNull Object,T extends @NonNull Object>
Tuple2<List<T>,List<TryParser.Failure<R, T>>> TryParser.split(List<TryParser.Result<R, T>> results) Splits the given result list into a list of successfully parsed items and a list of failed items.