Skip to content

Commit ed8ce55

Browse files
authored
Add .snippet and .snippetGroup kind (#15)
1 parent e84dde2 commit ed8ce55

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Sources/SymbolKit/SymbolGraph/Symbol/Symbol+KindIdentifier.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ extension SymbolGraph.Symbol {
2626
case method
2727
case property
2828
case `protocol`
29+
case snippet
30+
case snippetGroup
2931
case `struct`
3032
case `subscript`
3133
case typeMethod
@@ -54,6 +56,8 @@ extension SymbolGraph.Symbol {
5456
case .method: return "method"
5557
case .property: return "property"
5658
case .protocol: return "protocol"
59+
case .snippet: return "snippet"
60+
case .snippetGroup: return "snippetGroup"
5761
case .struct: return "struct"
5862
case .subscript: return "subscript"
5963
case .typeMethod: return "type.method"
@@ -85,6 +89,8 @@ extension SymbolGraph.Symbol {
8589
case "method": return .method
8690
case "property": return .property
8791
case "protocol": return .protocol
92+
case "snippet": return .snippet
93+
case "snippetGroup": return .snippetGroup
8894
case "struct": return .struct
8995
case "subscript": return .subscript
9096
case "type.method": return .typeMethod

0 commit comments

Comments
 (0)