Skip to content

Commit eef462c

Browse files
committed
[generated] Update generated code
1 parent 75b3b08 commit eef462c

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Sources/SwiftParserDiagnostics/generated/SyntaxKindNameForDiagnostics.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
import SwiftSyntax
15+
@_spi(ExperimentalLanguageFeatures) import SwiftSyntax
1616

1717
extension SyntaxKind {
1818
var nameForDiagnostics: String? {

Sources/SwiftSyntax/generated/SyntaxTransform.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15+
@_spi(SyntaxTransformVisitor)
1516
public protocol SyntaxTransformVisitor {
1617
associatedtype ResultType = Void
1718

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxExprNodes.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5731,9 +5731,10 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable
57315731
self._syntaxNode = node._syntaxNode
57325732
}
57335733

5734-
/// Creates a ``SimpleStringLiteralExprSyntax`` node from the given ``SyntaxData``. This assumes
5735-
/// that the `SyntaxData` is of the correct kind. If it is not, the behaviour
5736-
/// is undefined.
5734+
/// Creates a ``SimpleStringLiteralExprSyntax`` node from the given ``SyntaxData``.
5735+
///
5736+
/// - Warning: This assumes that the `SyntaxData` is of the correct kind.
5737+
/// If it is not, the behaviour is undefined.
57375738
internal init(_ data: SyntaxData) {
57385739
precondition(data.raw.kind == .simpleStringLiteralExpr)
57395740
self._syntaxNode = Syntax(data)
@@ -5830,6 +5831,7 @@ public struct SimpleStringLiteralExprSyntax: ExprSyntaxProtocol, SyntaxHashable
58305831

58315832
/// Adds the provided `element` to the node's `segments`
58325833
/// collection.
5834+
///
58335835
/// - param element: The new `Segment` to add to the node's
58345836
/// `segments` collection.
58355837
/// - returns: A copy of the receiver with the provided `Segment`

0 commit comments

Comments
 (0)