Skip to content

Commit 12399b8

Browse files
committed
Finalize changes for SE-0376 by renaming @_backDeploy(before:) to @backDeployed(before:).
Resolves rdar://102792909
1 parent cc8fc77 commit 12399b8

File tree

19 files changed

+129
-98
lines changed

19 files changed

+129
-98
lines changed

CodeGeneration/Sources/SyntaxSupport/KeywordSpec.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public let KEYWORDS: [KeywordSpec] = [
9797
KeywordSpec("availability"),
9898
KeywordSpec("available"),
9999
KeywordSpec("await"),
100+
KeywordSpec("backDeployed"),
100101
KeywordSpec("before"),
101102
KeywordSpec("block"),
102103
KeywordSpec("break", isLexerClassified: true, requiresTrailingSpace: true),

CodeGeneration/Sources/SyntaxSupport/gyb_generated/AttributeNodes.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public let ATTRIBUTE_NODES: [Node] = [
5050
kind: .node(kind: "DifferentiableAttributeArguments")),
5151
Child(name: "DerivativeRegistrationArguments",
5252
kind: .node(kind: "DerivativeRegistrationAttributeArguments")),
53-
Child(name: "BackDeployArguments",
54-
kind: .node(kind: "BackDeployAttributeSpecList")),
53+
Child(name: "BackDeployedArguments",
54+
kind: .node(kind: "BackDeployedAttributeSpecList")),
5555
Child(name: "ConventionArguments",
5656
kind: .node(kind: "ConventionAttributeArguments")),
5757
Child(name: "ConventionWitnessMethodArguments",
@@ -340,9 +340,9 @@ public let ATTRIBUTE_NODES: [Node] = [
340340
isOptional: true)
341341
]),
342342

343-
Node(name: "BackDeployAttributeSpecList",
344-
nameForDiagnostics: "'@_backDeploy' arguments",
345-
description: "A collection of arguments for the `@_backDeploy` attribute",
343+
Node(name: "BackDeployedAttributeSpecList",
344+
nameForDiagnostics: "'@backDeployed' arguments",
345+
description: "A collection of arguments for the `@backDeployed` attribute",
346346
kind: "Syntax",
347347
children: [
348348
Child(name: "BeforeLabel",

Sources/SwiftParser/Attributes.swift

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ extension Parser {
3232
/// Compiler-known attributes that take arguments.
3333
enum DeclarationAttributeWithSpecialSyntax: RawTokenKindSubset {
3434
case _alignment
35-
case _backDeploy
3635
case _cdecl
3736
case _documentation
3837
case _dynamicReplacement
@@ -56,6 +55,7 @@ extension Parser {
5655
case _unavailableFromAsync
5756
case `rethrows`
5857
case available
58+
case backDeployed
5959
case derivative
6060
case differentiable
6161
case exclusivity
@@ -66,7 +66,7 @@ extension Parser {
6666
init?(lexeme: Lexer.Lexeme) {
6767
switch lexeme {
6868
case RawTokenKindMatch(._alignment): self = ._alignment
69-
case RawTokenKindMatch(._backDeploy): self = ._backDeploy
69+
case RawTokenKindMatch(._backDeploy): self = .backDeployed
7070
case RawTokenKindMatch(._cdecl): self = ._cdecl
7171
case RawTokenKindMatch(._documentation): self = ._documentation
7272
case RawTokenKindMatch(._dynamicReplacement): self = ._dynamicReplacement
@@ -90,6 +90,7 @@ extension Parser {
9090
case RawTokenKindMatch(._unavailableFromAsync): self = ._unavailableFromAsync
9191
case RawTokenKindMatch(.`rethrows`): self = .rethrows
9292
case RawTokenKindMatch(.available): self = .available
93+
case RawTokenKindMatch(.backDeployed): self = .backDeployed
9394
case RawTokenKindMatch(.derivative): self = .derivative
9495
case RawTokenKindMatch(.differentiable): self = .differentiable
9596
case RawTokenKindMatch(.exclusivity): self = .exclusivity
@@ -104,7 +105,6 @@ extension Parser {
104105
var rawTokenKind: RawTokenKind {
105106
switch self {
106107
case ._alignment: return .keyword(._alignment)
107-
case ._backDeploy: return .keyword(._backDeploy)
108108
case ._cdecl: return .keyword(._cdecl)
109109
case ._documentation: return .keyword(._documentation)
110110
case ._dynamicReplacement: return .keyword(._dynamicReplacement)
@@ -128,6 +128,7 @@ extension Parser {
128128
case ._unavailableFromAsync: return .keyword(._unavailableFromAsync)
129129
case .`rethrows`: return .keyword(.rethrows)
130130
case .available: return .keyword(.available)
131+
case .backDeployed: return .keyword(.backDeployed)
131132
case .derivative: return .keyword(.derivative)
132133
case .differentiable: return .keyword(.differentiable)
133134
case .exclusivity: return .keyword(.exclusivity)
@@ -222,6 +223,10 @@ extension Parser {
222223
return parseAttribute(argumentMode: .required) { parser in
223224
return .availability(parser.parseAvailabilityArgumentSpecList())
224225
}
226+
case .backDeployed:
227+
return parseAttribute(argumentMode: .required) { parser in
228+
return .backDeployedArguments(parser.parseBackDeployedArguments())
229+
}
225230
case .differentiable:
226231
return parseAttribute(argumentMode: .required) { parser in
227232
return .differentiableArguments(parser.parseDifferentiableAttributeArguments())
@@ -294,10 +299,6 @@ extension Parser {
294299
return parseAttribute(argumentMode: .required) { parser in
295300
return .string(parser.parseStringLiteral())
296301
}
297-
case ._backDeploy:
298-
return parseAttribute(argumentMode: .required) { parser in
299-
return .backDeployArguments(parser.parseBackDeployArguments())
300-
}
301302
case ._expose:
302303
return parseAttribute(argumentMode: .required) { parser in
303304
return .exposeAttributeArguments(parser.parseExposeArguments())
@@ -920,7 +921,7 @@ extension Parser {
920921
}
921922

922923
extension Parser {
923-
mutating func parseBackDeployArguments() -> RawBackDeployAttributeSpecListSyntax {
924+
mutating func parseBackDeployedArguments() -> RawBackDeployedAttributeSpecListSyntax {
924925
let (unexpectedBeforeLabel, label) = self.expect(.keyword(.before))
925926
let (unexpectedBeforeColon, colon) = self.expect(.colon)
926927
var elements: [RawAvailabilityVersionRestrictionListEntrySyntax] = []
@@ -936,7 +937,7 @@ extension Parser {
936937
)
937938
)
938939
} while keepGoing != nil
939-
return RawBackDeployAttributeSpecListSyntax(
940+
return RawBackDeployedAttributeSpecListSyntax(
940941
unexpectedBeforeLabel,
941942
beforeLabel: label,
942943
unexpectedBeforeColon,

Sources/SwiftSyntax/Documentation.docc/gyb_generated/SwiftSyntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ allows Swift tools to parse, inspect, generate, and transform Swift source code.
355355
- <doc:SwiftSyntax/DifferentiabilityParamSyntax>
356356
- <doc:SwiftSyntax/DerivativeRegistrationAttributeArgumentsSyntax>
357357
- <doc:SwiftSyntax/QualifiedDeclNameSyntax>
358-
- <doc:SwiftSyntax/BackDeployAttributeSpecListSyntax>
358+
- <doc:SwiftSyntax/BackDeployedAttributeSpecListSyntax>
359359
- <doc:SwiftSyntax/AvailabilityVersionRestrictionListSyntax>
360360
- <doc:SwiftSyntax/AvailabilityVersionRestrictionListEntrySyntax>
361361
- <doc:SwiftSyntax/OpaqueReturnTypeOfAttributeArgumentsSyntax>

Sources/SwiftSyntax/Raw/gyb_generated/RawSyntaxNodes.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10573,7 +10573,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1057310573
case `implementsArguments`(RawImplementsAttributeArgumentsSyntax)
1057410574
case `differentiableArguments`(RawDifferentiableAttributeArgumentsSyntax)
1057510575
case `derivativeRegistrationArguments`(RawDerivativeRegistrationAttributeArgumentsSyntax)
10576-
case `backDeployArguments`(RawBackDeployAttributeSpecListSyntax)
10576+
case `backDeployedArguments`(RawBackDeployedAttributeSpecListSyntax)
1057710577
case `conventionArguments`(RawConventionAttributeArgumentsSyntax)
1057810578
case `conventionWitnessMethodArguments`(RawConventionWitnessMethodAttributeArgumentsSyntax)
1057910579
case `opaqueReturnTypeOfAttributeArguments`(RawOpaqueReturnTypeOfAttributeArgumentsSyntax)
@@ -10586,7 +10586,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1058610586
case `documentationArguments`(RawDocumentationAttributeArgumentsSyntax)
1058710587

1058810588
public static func isKindOf(_ raw: RawSyntax) -> Bool {
10589-
return RawTupleExprElementListSyntax.isKindOf(raw) || RawTokenSyntax.isKindOf(raw) || RawStringLiteralExprSyntax.isKindOf(raw) || RawAvailabilitySpecListSyntax.isKindOf(raw) || RawSpecializeAttributeSpecListSyntax.isKindOf(raw) || RawObjCSelectorSyntax.isKindOf(raw) || RawImplementsAttributeArgumentsSyntax.isKindOf(raw) || RawDifferentiableAttributeArgumentsSyntax.isKindOf(raw) || RawDerivativeRegistrationAttributeArgumentsSyntax.isKindOf(raw) || RawBackDeployAttributeSpecListSyntax.isKindOf(raw) || RawConventionAttributeArgumentsSyntax.isKindOf(raw) || RawConventionWitnessMethodAttributeArgumentsSyntax.isKindOf(raw) || RawOpaqueReturnTypeOfAttributeArgumentsSyntax.isKindOf(raw) || RawExposeAttributeArgumentsSyntax.isKindOf(raw) || RawOriginallyDefinedInArgumentsSyntax.isKindOf(raw) || RawUnderscorePrivateAttributeArgumentsSyntax.isKindOf(raw) || RawDynamicReplacementArgumentsSyntax.isKindOf(raw) || RawUnavailableFromAsyncArgumentsSyntax.isKindOf(raw) || RawEffectsArgumentsSyntax.isKindOf(raw) || RawDocumentationAttributeArgumentsSyntax.isKindOf(raw)
10589+
return RawTupleExprElementListSyntax.isKindOf(raw) || RawTokenSyntax.isKindOf(raw) || RawStringLiteralExprSyntax.isKindOf(raw) || RawAvailabilitySpecListSyntax.isKindOf(raw) || RawSpecializeAttributeSpecListSyntax.isKindOf(raw) || RawObjCSelectorSyntax.isKindOf(raw) || RawImplementsAttributeArgumentsSyntax.isKindOf(raw) || RawDifferentiableAttributeArgumentsSyntax.isKindOf(raw) || RawDerivativeRegistrationAttributeArgumentsSyntax.isKindOf(raw) || RawBackDeployedAttributeSpecListSyntax.isKindOf(raw) || RawConventionAttributeArgumentsSyntax.isKindOf(raw) || RawConventionWitnessMethodAttributeArgumentsSyntax.isKindOf(raw) || RawOpaqueReturnTypeOfAttributeArgumentsSyntax.isKindOf(raw) || RawExposeAttributeArgumentsSyntax.isKindOf(raw) || RawOriginallyDefinedInArgumentsSyntax.isKindOf(raw) || RawUnderscorePrivateAttributeArgumentsSyntax.isKindOf(raw) || RawDynamicReplacementArgumentsSyntax.isKindOf(raw) || RawUnavailableFromAsyncArgumentsSyntax.isKindOf(raw) || RawEffectsArgumentsSyntax.isKindOf(raw) || RawDocumentationAttributeArgumentsSyntax.isKindOf(raw)
1059010590
}
1059110591

1059210592
public var raw: RawSyntax {
@@ -10600,7 +10600,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1060010600
case .implementsArguments(let node): return node.raw
1060110601
case .differentiableArguments(let node): return node.raw
1060210602
case .derivativeRegistrationArguments(let node): return node.raw
10603-
case .backDeployArguments(let node): return node.raw
10603+
case .backDeployedArguments(let node): return node.raw
1060410604
case .conventionArguments(let node): return node.raw
1060510605
case .conventionWitnessMethodArguments(let node): return node.raw
1060610606
case .opaqueReturnTypeOfAttributeArguments(let node): return node.raw
@@ -10651,8 +10651,8 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1065110651
self = .derivativeRegistrationArguments(node)
1065210652
return
1065310653
}
10654-
if let node = RawBackDeployAttributeSpecListSyntax(other) {
10655-
self = .backDeployArguments(node)
10654+
if let node = RawBackDeployedAttributeSpecListSyntax(other) {
10655+
self = .backDeployedArguments(node)
1065610656
return
1065710657
}
1065810658
if let node = RawConventionAttributeArgumentsSyntax(other) {
@@ -11999,15 +11999,15 @@ public struct RawQualifiedDeclNameSyntax: RawSyntaxNodeProtocol {
1199911999
}
1200012000

1200112001
@_spi(RawSyntax)
12002-
public struct RawBackDeployAttributeSpecListSyntax: RawSyntaxNodeProtocol {
12002+
public struct RawBackDeployedAttributeSpecListSyntax: RawSyntaxNodeProtocol {
1200312003

1200412004
@_spi(RawSyntax)
1200512005
public var layoutView: RawSyntaxLayoutView {
1200612006
return raw.layoutView!
1200712007
}
1200812008

1200912009
public static func isKindOf(_ raw: RawSyntax) -> Bool {
12010-
return raw.kind == .backDeployAttributeSpecList
12010+
return raw.kind == .backDeployedAttributeSpecList
1201112011
}
1201212012

1201312013
public var raw: RawSyntax
@@ -12034,7 +12034,7 @@ public struct RawBackDeployAttributeSpecListSyntax: RawSyntaxNodeProtocol {
1203412034
assert(beforeLabel.tokenKind == .keyword(.before), "Received \(beforeLabel.tokenKind)")
1203512035
assert(colon.tokenKind.base == .colon, "Received \(colon.tokenKind)")
1203612036
let raw = RawSyntax.makeLayout(
12037-
kind: .backDeployAttributeSpecList, uninitializedCount: 7, arena: arena) { layout in
12037+
kind: .backDeployedAttributeSpecList, uninitializedCount: 7, arena: arena) { layout in
1203812038
layout.initialize(repeating: nil)
1203912039
layout[0] = unexpectedBeforeBeforeLabel?.raw
1204012040
layout[1] = beforeLabel.raw

Sources/SwiftSyntax/Raw/gyb_generated/RawSyntaxValidation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ func validateLayout(layout: RawSyntaxBuffer, as kind: SyntaxKind) {
17361736
assertNoError(kind, 7, verify(layout[7], as: RawDeclNameArgumentsSyntax?.self))
17371737
assertNoError(kind, 8, verify(layout[8], as: RawUnexpectedNodesSyntax?.self))
17381738
break
1739-
case .backDeployAttributeSpecList:
1739+
case .backDeployedAttributeSpecList:
17401740
assert(layout.count == 7)
17411741
assertNoError(kind, 0, verify(layout[0], as: RawUnexpectedNodesSyntax?.self))
17421742
assertNoError(kind, 1, verify(layout[1], as: RawTokenSyntax.self))

Sources/SwiftSyntax/generated/Keyword.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ public enum Keyword: UInt8, Hashable {
145145

146146
case await
147147

148+
case backDeployed
149+
148150
case before
149151

150152
case block
@@ -789,6 +791,8 @@ public enum Keyword: UInt8, Hashable {
789791
self = ._silgen_name
790792
case "availability":
791793
self = .availability
794+
case "backDeployed":
795+
self = .backDeployed
792796
case "noDerivative":
793797
self = .noDerivative
794798
default:
@@ -1096,6 +1100,7 @@ public enum Keyword: UInt8, Hashable {
10961100
"availability",
10971101
"available",
10981102
"await",
1103+
"backDeployed",
10991104
"before",
11001105
"block",
11011106
"break",

Sources/SwiftSyntax/generated/Misc.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extension Syntax {
4646
.node(AvailabilityVersionRestrictionListSyntax.self),
4747
.node(AvailabilityVersionRestrictionSyntax.self),
4848
.node(AwaitExprSyntax.self),
49-
.node(BackDeployAttributeSpecListSyntax.self),
49+
.node(BackDeployedAttributeSpecListSyntax.self),
5050
.node(BinaryOperatorExprSyntax.self),
5151
.node(BooleanLiteralExprSyntax.self),
5252
.node(BorrowExprSyntax.self),
@@ -340,8 +340,8 @@ extension SyntaxKind {
340340
return AvailabilityVersionRestrictionSyntax.self
341341
case .awaitExpr:
342342
return AwaitExprSyntax.self
343-
case .backDeployAttributeSpecList:
344-
return BackDeployAttributeSpecListSyntax.self
343+
case .backDeployedAttributeSpecList:
344+
return BackDeployedAttributeSpecListSyntax.self
345345
case .binaryOperatorExpr:
346346
return BinaryOperatorExprSyntax.self
347347
case .booleanLiteralExpr:
@@ -865,8 +865,8 @@ extension SyntaxKind {
865865
return "version restriction"
866866
case .awaitExpr:
867867
return "'await' expression"
868-
case .backDeployAttributeSpecList:
869-
return "'@_backDeploy' arguments"
868+
case .backDeployedAttributeSpecList:
869+
return "'@backDeployed' arguments"
870870
case .binaryOperatorExpr:
871871
return "operator"
872872
case .booleanLiteralExpr:

Sources/SwiftSyntax/generated/SyntaxAnyVisitor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,11 @@ open class SyntaxAnyVisitor: SyntaxVisitor {
273273
visitAnyPost(node._syntaxNode)
274274
}
275275

276-
override open func visit(_ node: BackDeployAttributeSpecListSyntax) -> SyntaxVisitorContinueKind {
276+
override open func visit(_ node: BackDeployedAttributeSpecListSyntax) -> SyntaxVisitorContinueKind {
277277
return visitAny(node._syntaxNode)
278278
}
279279

280-
override open func visitPost(_ node: BackDeployAttributeSpecListSyntax) {
280+
override open func visitPost(_ node: BackDeployedAttributeSpecListSyntax) {
281281
visitAnyPost(node._syntaxNode)
282282
}
283283

Sources/SwiftSyntax/generated/SyntaxEnum.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public enum SyntaxEnum {
7373

7474
case awaitExpr(AwaitExprSyntax)
7575

76-
case backDeployAttributeSpecList(BackDeployAttributeSpecListSyntax)
76+
case backDeployedAttributeSpecList(BackDeployedAttributeSpecListSyntax)
7777

7878
case binaryOperatorExpr(BinaryOperatorExprSyntax)
7979

@@ -598,8 +598,8 @@ public extension Syntax {
598598
return .availabilityVersionRestriction(AvailabilityVersionRestrictionSyntax(self)!)
599599
case .awaitExpr:
600600
return .awaitExpr(AwaitExprSyntax(self)!)
601-
case .backDeployAttributeSpecList:
602-
return .backDeployAttributeSpecList(BackDeployAttributeSpecListSyntax(self)!)
601+
case .backDeployedAttributeSpecList:
602+
return .backDeployedAttributeSpecList(BackDeployedAttributeSpecListSyntax(self)!)
603603
case .binaryOperatorExpr:
604604
return .binaryOperatorExpr(BinaryOperatorExprSyntax(self)!)
605605
case .booleanLiteralExpr:

Sources/SwiftSyntax/generated/SyntaxKind.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public enum SyntaxKind {
7373

7474
case awaitExpr
7575

76-
case backDeployAttributeSpecList
76+
case backDeployedAttributeSpecList
7777

7878
case binaryOperatorExpr
7979

Sources/SwiftSyntax/generated/SyntaxRewriter.swift

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,11 @@ open class SyntaxRewriter {
216216
return ExprSyntax(visitChildren(node))
217217
}
218218

219-
/// Visit a `BackDeployAttributeSpecListSyntax`.
219+
/// Visit a `BackDeployedAttributeSpecListSyntax`.
220220
/// - Parameter node: the node that is being visited
221221
/// - Returns: the rewritten node
222-
open func visit(_ node: BackDeployAttributeSpecListSyntax) -> BackDeployAttributeSpecListSyntax {
223-
return Syntax(visitChildren(node)).cast(BackDeployAttributeSpecListSyntax.self)
222+
open func visit(_ node: BackDeployedAttributeSpecListSyntax) -> BackDeployedAttributeSpecListSyntax {
223+
return Syntax(visitChildren(node)).cast(BackDeployedAttributeSpecListSyntax.self)
224224
}
225225

226226
/// Visit a `BinaryOperatorExprSyntax`.
@@ -2293,8 +2293,8 @@ open class SyntaxRewriter {
22932293
}
22942294

22952295
/// Implementation detail of visit(_:). Do not call directly.
2296-
private func visitImplBackDeployAttributeSpecListSyntax(_ data: SyntaxData) -> Syntax {
2297-
let node = BackDeployAttributeSpecListSyntax(data)
2296+
private func visitImplBackDeployedAttributeSpecListSyntax(_ data: SyntaxData) -> Syntax {
2297+
let node = BackDeployedAttributeSpecListSyntax(data)
22982298
// Accessing _syntaxNode directly is faster than calling Syntax(node)
22992299
visitPre(node._syntaxNode)
23002300
defer {
@@ -5636,8 +5636,8 @@ open class SyntaxRewriter {
56365636
return visitImplAvailabilityVersionRestrictionSyntax
56375637
case .awaitExpr:
56385638
return visitImplAwaitExprSyntax
5639-
case .backDeployAttributeSpecList:
5640-
return visitImplBackDeployAttributeSpecListSyntax
5639+
case .backDeployedAttributeSpecList:
5640+
return visitImplBackDeployedAttributeSpecListSyntax
56415641
case .binaryOperatorExpr:
56425642
return visitImplBinaryOperatorExprSyntax
56435643
case .booleanLiteralExpr:
@@ -6164,8 +6164,8 @@ open class SyntaxRewriter {
61646164
return visitImplAvailabilityVersionRestrictionSyntax(data)
61656165
case .awaitExpr:
61666166
return visitImplAwaitExprSyntax(data)
6167-
case .backDeployAttributeSpecList:
6168-
return visitImplBackDeployAttributeSpecListSyntax(data)
6167+
case .backDeployedAttributeSpecList:
6168+
return visitImplBackDeployedAttributeSpecListSyntax(data)
61696169
case .binaryOperatorExpr:
61706170
return visitImplBinaryOperatorExprSyntax(data)
61716171
case .booleanLiteralExpr:

Sources/SwiftSyntax/generated/SyntaxTransform.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ public protocol SyntaxTransformVisitor {
156156
/// - Returns: the sum of whatever the child visitors return.
157157
func visit(_ node: AwaitExprSyntax) -> ResultType
158158

159-
/// Visiting `BackDeployAttributeSpecListSyntax` specifically.
159+
/// Visiting `BackDeployedAttributeSpecListSyntax` specifically.
160160
/// - Parameter node: the node we are visiting.
161161
/// - Returns: the sum of whatever the child visitors return.
162-
func visit(_ node: BackDeployAttributeSpecListSyntax) -> ResultType
162+
func visit(_ node: BackDeployedAttributeSpecListSyntax) -> ResultType
163163

164164
/// Visiting `BinaryOperatorExprSyntax` specifically.
165165
/// - Parameter node: the node we are visiting.
@@ -1511,10 +1511,10 @@ extension SyntaxTransformVisitor {
15111511
visitAny(Syntax(node))
15121512
}
15131513

1514-
/// Visiting `BackDeployAttributeSpecListSyntax` specifically.
1514+
/// Visiting `BackDeployedAttributeSpecListSyntax` specifically.
15151515
/// - Parameter node: the node we are visiting.
15161516
/// - Returns: nil by default.
1517-
public func visit(_ node: BackDeployAttributeSpecListSyntax) -> ResultType {
1517+
public func visit(_ node: BackDeployedAttributeSpecListSyntax) -> ResultType {
15181518
visitAny(Syntax(node))
15191519
}
15201520

@@ -3193,7 +3193,7 @@ extension SyntaxTransformVisitor {
31933193
return visit(derived)
31943194
case .awaitExpr(let derived):
31953195
return visit(derived)
3196-
case .backDeployAttributeSpecList(let derived):
3196+
case .backDeployedAttributeSpecList(let derived):
31973197
return visit(derived)
31983198
case .binaryOperatorExpr(let derived):
31993199
return visit(derived)

0 commit comments

Comments
 (0)