GeneratorParser

class GeneratorParser<C> : ArgumentParser<C, GeneratorData> , BlockingSuggestionProvider.Strings<CommandSender> , KoinComponent

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@API(status = API.Status.STABLE)
open fun <O : Any> flatMap(mapper: MappedArgumentParser.Mapper<C, GeneratorData, O>): @NonNull ArgumentParser.FutureArgumentParser<C, O>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun <O : Any> flatMapSuccess(mapper: @NonNull BiFunction<CommandContext<C>, GeneratorData, CompletableFuture<ArgumentParseResult<O>>>): @NonNull ArgumentParser.FutureArgumentParser<C, O>
Link copied to clipboard
open fun getKoin(): Koin
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun <O : Any> mapSuccess(mapper: @NonNull BiFunction<CommandContext<C>, GeneratorData, CompletableFuture<O>>): @NonNull ArgumentParser.FutureArgumentParser<C, O>
Link copied to clipboard
open override fun parse(commandContext: CommandContext<C & Any>, commandInput: CommandInput): ArgumentParseResult<GeneratorData>
Link copied to clipboard
@API(status = API.Status.STABLE)
open fun parseFuture(commandContext: @NonNull CommandContext<C>, commandInput: @NonNull CommandInput): @NonNull CompletableFuture<@NonNull ArgumentParseResult<GeneratorData>>
Link copied to clipboard
open override fun stringSuggestions(commandContext: CommandContext<CommandSender?>, input: CommandInput): Iterable<String>
Link copied to clipboard
open override fun suggestionProvider(): @NonNull SuggestionProvider<C>
Link copied to clipboard
open override fun suggestions(context: @NonNull CommandContext<CommandSender>, input: @NonNull CommandInput): @NonNull MutableIterable<@NonNull Suggestion>
Link copied to clipboard
open override fun suggestionsFuture(context: @NonNull CommandContext<CommandSender>, input: @NonNull CommandInput): @NonNull CompletableFuture<out @NonNull MutableIterable<@NonNull Suggestion>>