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.
1 parent 950dba9 commit 7e79ddeCopy full SHA for 7e79dde
Sources/SwiftSyntaxBuilderGeneration/SyntaxNodes.swift
@@ -19,3 +19,8 @@ let SYNTAX_NODES: [Node] = COMMON_NODES
19
+ TYPE_NODES
20
+ PATTERN_NODES
21
+ AVAILABILITY_NODES
22
+
23
+/// A lookup table of nodes indexed by their kind.
24
+let SYNTAX_NODE_MAP: [String: Node] = Dictionary(
25
+ uniqueKeysWithValues: SYNTAX_NODES.map { node in (node.syntaxKind, node) }
26
+)
0 commit comments