mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.command.descriptor
/
CommandArgumentContext
/
ParserPair
Parser
Pair
data
class
ParserPair
<
T
:
Any
>
(
val
klass
:
KClass
<
T
>
,
val
parser
:
CommandValueArgumentParser
<
T
>
)
KClass
到
CommandValueArgumentParser
的匹配
Members
Members & Extensions
Constructors
Parser
Pair
Link copied to clipboard
constructor
(
klass
:
KClass
<
T
>
,
parser
:
CommandValueArgumentParser
<
T
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
to
Pair
Link copied to clipboard
@
JvmStatic
fun
<
T
:
Any
>
CommandArgumentContext.ParserPair
<
T
>
.
toPair
(
)
:
Pair
<
KClass
<
T
>
,
CommandValueArgumentParser
<
T
>
>
Properties
klass
Link copied to clipboard
val
klass
:
KClass
<
T
>
parser
Link copied to clipboard
val
parser
:
CommandValueArgumentParser
<
T
>