diff --git a/CodeGeneration/Sources/SyntaxSupport/ExprNodes.swift b/CodeGeneration/Sources/SyntaxSupport/ExprNodes.swift index 47f3d57817d..206f5fded9b 100644 --- a/CodeGeneration/Sources/SyntaxSupport/ExprNodes.swift +++ b/CodeGeneration/Sources/SyntaxSupport/ExprNodes.swift @@ -105,7 +105,7 @@ public let EXPR_NODES: [Node] = [ base: .expr, nameForDiagnostics: "'as'", documentation: """ - The cast of an expressison to a different type. + The cast of an expression to a different type. ### Examples @@ -1993,7 +1993,7 @@ public let EXPR_NODES: [Node] = [ } ``` - A switch ecpression may be declared without any cases. + A switch expression may be declared without any cases. """, traits: [ "Braced" @@ -2035,7 +2035,7 @@ public let EXPR_NODES: [Node] = [ Node( kind: .ternaryExpr, base: .expr, - nameForDiagnostics: "ternay expression", + nameForDiagnostics: "ternary expression", documentation: """ The ternary operator with operator precedences resolved. diff --git a/Sources/SwiftParserDiagnostics/generated/SyntaxKindNameForDiagnostics.swift b/Sources/SwiftParserDiagnostics/generated/SyntaxKindNameForDiagnostics.swift index 7fe6aeb6c0e..6e3216cdcb8 100644 --- a/Sources/SwiftParserDiagnostics/generated/SyntaxKindNameForDiagnostics.swift +++ b/Sources/SwiftParserDiagnostics/generated/SyntaxKindNameForDiagnostics.swift @@ -381,7 +381,7 @@ extension SyntaxKind { case .switchExpr: return "'switch' statement" case .ternaryExpr: - return "ternay expression" + return "ternary expression" case .thenStmt: return "'then' statement" case .throwStmt: diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesAB.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesAB.swift index d59177a6260..ae96eca8816 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesAB.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesAB.swift @@ -2295,7 +2295,7 @@ public struct ArrowExprSyntax: ExprSyntaxProtocol, SyntaxHashable, _LeafExprSynt // MARK: - AsExprSyntax -/// The cast of an expressison to a different type. +/// The cast of an expression to a different type. /// /// ### Examples /// diff --git a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift index e8af78d650f..1ad996a81d0 100644 --- a/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift +++ b/Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesQRS.swift @@ -4430,7 +4430,7 @@ public struct SwitchDefaultLabelSyntax: SyntaxProtocol, SyntaxHashable, _LeafSyn /// } /// ``` /// -/// A switch ecpression may be declared without any cases. +/// A switch expression may be declared without any cases. /// /// ### Children ///