有没有人对SwiftLint的Opt-In规则的match_kinds类型有更好的解释 . 文档提供了枚举类型,但没有名称以外的解释 .

match_kinds类型包括:

参数,attribute.builtin,attribute.id,buildconfig.id,buildconfig.keyword,comment,comment.mark,comment.url,doccomment,doccomment.field,identifier,keyword,numberobjectliteral,parameter,placeholder,string,string_interpolation_anchor,typeidentifier

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