@@ -146,7 +146,7 @@ public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
146146 /// `nil` if the conversion is not possible.
147147 public init ? ( _ syntax: Syntax ) {
148148 switch syntax. raw. kind {
149- case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . 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, . editorPlaceholderExpr, . objectLiteralExpr:
149+ case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . 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, . editorPlaceholderExpr, . objectLiteralExpr:
150150 self . _syntaxNode = syntax
151151 default :
152152 return nil
@@ -160,7 +160,7 @@ public struct ExprSyntax: ExprSyntaxProtocol, SyntaxHashable {
160160 // Assert that the kind of the given data matches in debug builds.
161161#if DEBUG
162162 switch data. raw. kind {
163- case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . 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, . editorPlaceholderExpr, . objectLiteralExpr:
163+ case . unknownExpr, . inOutExpr, . poundColumnExpr, . tryExpr, . identifierExpr, . superRefExpr, . nilLiteralExpr, . discardAssignmentExpr, . assignmentExpr, . sequenceExpr, . poundLineExpr, . poundFileExpr, . 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, . editorPlaceholderExpr, . objectLiteralExpr:
164164 break
165165 default :
166166 fatalError ( " Unable to create ExprSyntax from \( data. raw. kind) " )
0 commit comments