11

有没有人对 SwiftLint 的 Opt-In 规则的 match_kinds 类型有更好的解释。文档给出了枚举类型,但除了名称之外没有任何解释。

match_kinds 类型包括:

参数,attribute.builtin,attribute.id,buildconfig.id,buildconfig.keyword,comment,comment.mark,comment.url,doccomment,doccomment.field,标识符,关键字,numberobjectliteral,参数,占位符,字符串,string_interpolation_anchor,typeidentifier

例如,我希望在特定命名函数之前搜索特定关键字的范围。

4

0 回答 0