Package net.mamoe.mirai.console.command.descriptor
Types
当字符串内容为(不区分大小写) "true", "yes", "enabled", "on", "1"
使用 String.toByte 解析
指令参数环境, 即 CommandValueArgumentParser 的集合, 用于 CompositeCommand 和 SimpleCommand.
在解析参数时遇到的 正常 错误. 如参数不符合规范等.
Inherited instances must be CommandValueParameter or CommandReceiverParameter
指令签名. 表示指令定义的需要的参数.
来自 KFunction 反射得到的 CommandSignature
指令参数解析器. 用于解析字符串或 SingleMessage 到特定参数类型.
Inherited instances must be AbstractCommandValueParameter.
使用 String.toDouble 解析
解析参数为枚举 T
解析任意一个存在的好友.
解析任意一个存在的群.
解析任意一个群成员.
标记一个实验性的指令解释器 API.
使用 String.toFloat 解析
使用 String.toInt 解析
使用 String.toLong 解析
直接返回原始参数 MessageContent
使用 String.toShort 解析
直接返回 String, 或取用 SingleMessage.contentToString
解析参数为时间 T
Intrinsic variant of an CommandValueArgument.
Functions
合并两个 buildCommandArgumentContext, replacer 将会替换 this 中重复的 parser.