Uses of Interface
dev.sympho.modular_commands.api.command.parameter.parse.ListParser
Packages that use ListParser
Package
Description
Interfaces defining how received arguments are parsed.
Parsing utilities.
-
Uses of ListParser in dev.sympho.modular_commands.api.command.parameter.parse
Methods in dev.sympho.modular_commands.api.command.parameter.parse that return ListParserModifier and TypeMethodDescriptionstatic ListParser<String>Parsers.list()Creates a list parser with string items.static ListParser<String>Parsers.list(@org.checkerframework.common.value.qual.IntRange(from=0L, to=2147483647L) int minItems, @org.checkerframework.common.value.qual.IntRange(from=1L, to=2147483647L) int maxItems) Creates a list parser with string items.static <T extends @NonNull Object>
ListParser<T>Parsers.list(ParserFunction<String, T> parser) Creates a list parser that uses the given function to parse items.static <T extends @NonNull Object>
ListParser<T>Parsers.list(ParserFunction<String, T> parser, @org.checkerframework.common.value.qual.IntRange(from=0L, to=2147483647L) int minItems, @org.checkerframework.common.value.qual.IntRange(from=1L, to=2147483647L) int maxItems) Creates a list parser that uses the given function to parse items. -
Uses of ListParser in dev.sympho.modular_commands.utils.parse
Methods in dev.sympho.modular_commands.utils.parse that return ListParserModifier and TypeMethodDescriptionstatic <C extends Channel>
ListParser<C>A parser that parses a list of channels.static ListParser<Double>ParseUtils.floats()A parser that parses a list of floats.static ListParser<Long>ParseUtils.integers()A parser that parses a list of integers.static ListParser<Message>ParseUtils.messages()A parser that parses a list of messages.static ListParser<Role>ParseUtils.roles()A parser that parses a list of roles.static ListParser<Snowflake>ParseUtils.snowflakes()A parser that parses a list of snowflake IDs.static ListParser<User>ParseUtils.users()A parser that parses a list of users.