Keyword

interface Keyword(source)

一组用于匹配的关键词。

Author

ForteScarlet

See also

Inheritors

Properties

Link copied to clipboard
open val isStrict: Boolean

此关键词匹配是否预期为严格匹配。 完全匹配(例如 equals, matches)则被视为严格匹配, 模糊匹配(例如 contains, find)则被视为非严格匹配。

Link copied to clipboard
abstract val regex: Regex

关键词文本 text 转化后的正则类型。

Link copied to clipboard

基于正则 regex 的匹配与参数提取器。

Link copied to clipboard
abstract val text: String

关键词的字符串文本。