AbstractCommandValueParameter
sealed class AbstractCommandValueParameter<T> : AbstractCommandParameter<T> , CommandValueParameter<T>
Inheritors
Types
Link copied to clipboard
Extended by CommandValueArgumentParser
Link copied to clipboard
data class StringConstant(val name: String?, val expectingValue: String, val ignoreCase: Boolean) : AbstractCommandValueParameter<String>
Link copied to clipboard
data class UserDefinedType<T>(val name: String?, val isOptional: Boolean, val isVararg: Boolean, val type: KType) : AbstractCommandValueParameter<T>
Functions
Link copied to clipboard
open override fun accepting(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): ArgumentAcceptance
Link copied to clipboard
open fun accepts(argument: CommandValueArgument, commandArgumentContext: CommandArgumentContext?): Boolean
Checks whether this CommandValueParameter accepts argument.