Package dev.sympho.modular_commands.utils.parse
package dev.sympho.modular_commands.utils.parse
Parsing utilities.
-
ClassDescriptionA parser that extracts a channel from a string.A parser for channel URLs.A parser that extracts an entity from a string.A parser for URLs of Discord entities.A parser for URL-based arguments that are independent from the invocation context.Parser that supports multiple URL types by delegating to one of a list of parsers.Base for a parser that supports multiple URL types by delegating to one of a list of parsers.FunctorUrlParser.PostParser<I extends @NonNull Object,
T extends @NonNull Object, P1 extends @NonNull FunctorUrlParser<I>, P2 extends @NonNull Parsers.Functor<I, T>> A composed parser that first applies this parser to one parser, and then applies the results to a second parser.MentionableParser<E extends Entity>A parser that extracts a mentionable entity from a string.A parser that extracts a message from a string.A parser for message URLs.Convenience functions for common parsers.Parser function that converts a string into one of the supported raw types.A parser that extracts a role from a string.Adapter that converts an existing parser into a string parser, by first pre-parsing the string into another raw type.A parser wrapper that tolerates errors by returning a result that reports either the parsed item or an encountered error.A result in which the item was invalid.The result of parsing.A result in which the item was parsed successfully.A parser for URL-based arguments.Parser that supports multiple URL types by delegating to one of a list of parsers.Base for a parser that supports multiple URL types by delegating to one of a list of parsers.UrlParser.PostParser<I extends @NonNull Object,T extends @NonNull Object, P1 extends @NonNull UrlParser<I>, P2 extends @NonNull ParserFunction<I, T>> A composed parser that first applies this parser to one parser, and then applies the results to a second parser.Convenience tools for implementing URL parsers.A parser that extracts an user from a string.