stick
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
stick
stick-core
/
com.zombachu.stick.element
/
Parameter
/
Size1
Size1
abstract
class
Size1
<
S
,
T
:
Any
>
(
id
:
TypedIdentifier
<
T
>
,
description
:
String
)
:
Parameter.FixedSize
<
S
,
T
>
Inheritors
BooleanParameter
EnumParameter
ListElementParameter
ListParameter
LiteralParameter
NumberParameter
StringParameter
UUIDParameter
Members
Constructors
Size1
Link copied to clipboard
constructor
(
id
:
TypedIdentifier
<
T
>
,
description
:
String
)
Properties
description
Link copied to clipboard
open
override
val
description
:
String
id
Link copied to clipboard
open
override
val
id
:
TypedIdentifier
<
T
>
size
Link copied to clipboard
open
override
val
size
:
Size.Fixed
type
Link copied to clipboard
open
override
val
type
:
ElementType
Functions
get
Grouped
Syntax
Link copied to clipboard
open
fun
getGroupedSyntax
(
sender
:
S
)
:
String
get
Syntax
Link copied to clipboard
open
override
fun
getSyntax
(
sender
:
S
)
:
String
parse
Link copied to clipboard
abstract
fun
parse
(
context
:
ExecutionContext
<
S
>
,
arg0
:
String
)
:
Result
<
out
T
>
override
fun
parse
(
context
:
ExecutionContext
<
S
>
,
args
:
List
<
String
>
)
:
Result
<
out
T
>