We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TokenKind
Hashable
1 parent 2ff1171 commit ba99a6aCopy full SHA for ba99a6a
Sources/SwiftSyntax/TokenKind.swift.gyb
@@ -18,7 +18,7 @@
18
//===----------------------------------------------------------------------===//
19
20
/// Enumerates the kinds of tokens in the Swift language.
21
-public enum TokenKind {
+public enum TokenKind: Hashable {
22
case eof
23
% for token in SYNTAX_TOKENS:
24
% kind = token.swift_kind()
Sources/SwiftSyntax/gyb_generated/TokenKind.swift
@@ -13,7 +13,7 @@
13
14
15
16
17
case associatedtypeKeyword
case classKeyword
0 commit comments