Uses of Interface
dev.sympho.modular_commands.utils.parse.UrlParser
Packages that use UrlParser
Package
Description
Parsing utilities.
Parsers for Discord entities.
-
Uses of UrlParser in dev.sympho.modular_commands.utils.parse
Classes in dev.sympho.modular_commands.utils.parse with type parameters of type UrlParserModifier and TypeClassDescriptionstatic classUrlParser.ChoiceBase<T extends @NonNull Object,P extends UrlParser<T>> Base for a parser that supports multiple URL types by delegating to one of a list of parsers.static classUrlParser.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.Subinterfaces of UrlParser in dev.sympho.modular_commands.utils.parseModifier and TypeInterfaceDescriptioninterfaceFunctorUrlParser<T extends @NonNull Object>A parser for URL-based arguments that are independent from the invocation context.Classes in dev.sympho.modular_commands.utils.parse that implement UrlParserModifier and TypeClassDescriptionstatic classFunctorUrlParser.Choice<T extends @NonNull Object>Parser that supports multiple URL types by delegating to one of a list of parsers.static classFunctorUrlParser.ChoiceBase<T extends @NonNull Object,P extends FunctorUrlParser<T>> Base for a parser that supports multiple URL types by delegating to one of a list of parsers.static classFunctorUrlParser.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.static classUrlParser.Choice<T extends @NonNull Object>Parser that supports multiple URL types by delegating to one of a list of parsers.static classUrlParser.ChoiceBase<T extends @NonNull Object,P extends UrlParser<T>> Base for a parser that supports multiple URL types by delegating to one of a list of parsers.static classUrlParser.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.Methods in dev.sympho.modular_commands.utils.parse with type parameters of type UrlParserModifier and TypeMethodDescriptionUrlParserUtils.toHostMapper(Map<String, ? extends P> parsers) Creates a delegate parser mapper where the parser choice depends on the host of the URL, using the given host-parser mappings.UrlParserUtils.toMapper(Collection<? extends P> parsers) Creates a delegate parser mapper where the parser choice is defined as the first parser in the iteration order of the given collection for whichsupports(URL)returnstruefor the URL being parsed.Methods in dev.sympho.modular_commands.utils.parse that return UrlParserModifier and TypeMethodDescriptionCreates a parser that delegates to the given parsers.UrlParser.choice(Collection<? extends UrlParser<T>> parsers) Creates a parser that delegates to the given parsers.Creates a parser that delegates to other parsers, chosen by the given mapping function based on the URL to parse.UrlParser.choiceHost(Map<String, ? extends UrlParser<T>> parsers) Creates a parser that delegates to a parser depending on the host of the URL, using the given host-parser mappings.FunctorUrlParser.then(Parsers.Functor<T, V> after) Returns a composed parser that first applies this parser to its input, and then applies the after parser to the result.UrlParser.then(ParserFunction<T, V> after) Returns a composed parser that first applies this parser to its input, and then applies the after parser to the result.Methods in dev.sympho.modular_commands.utils.parse with parameters of type UrlParserModifier and TypeMethodDescriptionCreates a parser that delegates to the given parsers.Method parameters in dev.sympho.modular_commands.utils.parse with type arguments of type UrlParserModifier and TypeMethodDescriptionUrlParser.choice(Collection<? extends UrlParser<T>> parsers) Creates a parser that delegates to the given parsers.Creates a parser that delegates to other parsers, chosen by the given mapping function based on the URL to parse.UrlParser.choiceHost(Map<String, ? extends UrlParser<T>> parsers) Creates a parser that delegates to a parser depending on the host of the URL, using the given host-parser mappings.Constructor parameters in dev.sympho.modular_commands.utils.parse with type arguments of type UrlParser -
Uses of UrlParser in dev.sympho.modular_commands.utils.parse.entity
Classes in dev.sympho.modular_commands.utils.parse.entity that implement UrlParserModifier and TypeClassDescriptionclassChannelRefUrlParser<C extends @NonNull Channel>A reference parser for channel URLs.classChannelUrlParser<C extends @NonNull Channel>A parser for channel URLs.classEntityRefUrlParser<R extends EntityRef<? extends @NonNull Entity>>A parser for URLs of Discord entities to references.classEntityUrlParser<E extends @NonNull Entity>A parser for URLs of Discord entities.classA parser for message URLs.classA parser for message URLs.