IntParameter

open class IntParameter<S>(id: TypedIdentifier<Int>, description: String, min: Int, max: Int) : NumberParameter<S, Int>

Constructors

Link copied to clipboard
constructor(id: TypedIdentifier<Int>, description: String, min: Int, max: Int)

Properties

Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
open override val id: TypedIdentifier<Int>
Link copied to clipboard
val max: Int
Link copied to clipboard
val min: Int
Link copied to clipboard
open override val size: Size.Fixed
Link copied to clipboard
val toOrNull: String.() -> Int?
Link copied to clipboard
open override val type: ElementType

Functions

Link copied to clipboard
open fun getGroupedSyntax(sender: S): String
Link copied to clipboard
open override fun getSyntax(sender: S): String
Link copied to clipboard
override fun parse(context: ExecutionContext<S>, args: List<String>): Result<out Int>
open override fun parse(context: ExecutionContext<S>, arg0: String): Result<Int>