@@ -164,7 +164,7 @@ public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
164164 /// `nil` if the conversion is not possible.
165165 public init ? ( _ syntax: Syntax ) {
166166 switch syntax. raw. kind {
167- case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . awaitExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . poundFileIDExpr, . poundFilePathExpr, . poundFunctionExpr, . poundDsohandleExpr, . symbolicReferenceExpr, . prefixOperatorExpr, . binaryOperatorExpr, . arrowExpr, . floatLiteralExpr, . tupleExpr, . arrayExpr, . dictionaryExpr, . integerLiteralExpr, . booleanLiteralExpr, . ternaryExpr, . memberAccessExpr, . isExpr, . asExpr, . typeExpr, . closureExpr, . unresolvedPatternExpr, . functionCallExpr, . subscriptExpr, . optionalChainingExpr, . forcedValueExpr, . postfixUnaryExpr, . specializeExpr, . stringLiteralExpr, . keyPathExpr, . keyPathBaseExpr, . objcKeyPathExpr, . objcSelectorExpr, . postfixIfConfigExpr, . editorPlaceholderExpr, . objectLiteralExpr:
167+ case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . awaitExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . poundFileIDExpr, . poundFilePathExpr, . poundFunctionExpr, . poundDsohandleExpr, . symbolicReferenceExpr, . prefixOperatorExpr, . binaryOperatorExpr, . arrowExpr, . floatLiteralExpr, . tupleExpr, . arrayExpr, . dictionaryExpr, . integerLiteralExpr, . booleanLiteralExpr, . ternaryExpr, . memberAccessExpr, . isExpr, . asExpr, . typeExpr, . closureExpr, . unresolvedPatternExpr, . functionCallExpr, . subscriptExpr, . optionalChainingExpr, . forcedValueExpr, . postfixUnaryExpr, . specializeExpr, . stringLiteralExpr, . regexLiteralExpr , . keyPathExpr, . keyPathBaseExpr, . objcKeyPathExpr, . objcSelectorExpr, . postfixIfConfigExpr, . editorPlaceholderExpr, . objectLiteralExpr:
168168 self . _syntaxNode = syntax
169169 default :
170170 return nil
@@ -178,7 +178,7 @@ public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
178178 // Assert that the kind of the given data matches in debug builds.
179179#if DEBUG
180180 switch data. raw. kind {
181- case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . awaitExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . poundFileIDExpr, . poundFilePathExpr, . poundFunctionExpr, . poundDsohandleExpr, . symbolicReferenceExpr, . prefixOperatorExpr, . binaryOperatorExpr, . arrowExpr, . floatLiteralExpr, . tupleExpr, . arrayExpr, . dictionaryExpr, . integerLiteralExpr, . booleanLiteralExpr, . ternaryExpr, . memberAccessExpr, . isExpr, . asExpr, . typeExpr, . closureExpr, . unresolvedPatternExpr, . functionCallExpr, . subscriptExpr, . optionalChainingExpr, . forcedValueExpr, . postfixUnaryExpr, . specializeExpr, . stringLiteralExpr, . keyPathExpr, . keyPathBaseExpr, . objcKeyPathExpr, . objcSelectorExpr, . postfixIfConfigExpr, . editorPlaceholderExpr, . objectLiteralExpr:
181+ case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . awaitExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . poundFileIDExpr, . poundFilePathExpr, . poundFunctionExpr, . poundDsohandleExpr, . symbolicReferenceExpr, . prefixOperatorExpr, . binaryOperatorExpr, . arrowExpr, . floatLiteralExpr, . tupleExpr, . arrayExpr, . dictionaryExpr, . integerLiteralExpr, . booleanLiteralExpr, . ternaryExpr, . memberAccessExpr, . isExpr, . asExpr, . typeExpr, . closureExpr, . unresolvedPatternExpr, . functionCallExpr, . subscriptExpr, . optionalChainingExpr, . forcedValueExpr, . postfixUnaryExpr, . specializeExpr, . stringLiteralExpr, . regexLiteralExpr , . keyPathExpr, . keyPathBaseExpr, . objcKeyPathExpr, . objcSelectorExpr, . postfixIfConfigExpr, . editorPlaceholderExpr, . objectLiteralExpr:
182182 break
183183 default :
184184 fatalError ( " Unable to create ExprSyntax from \( data. raw. kind) " )
0 commit comments