Skip to content

Commit a004786

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

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("break", isLexerClassified: true, requiresTrailingSpace: true),
102103
KeywordSpec("case", 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
@@ -59,8 +59,8 @@ public let ATTRIBUTE_NODES: [Node] = [
5959
kind: "DifferentiableAttributeArguments"),
6060
Child(name: "DerivativeRegistrationArguments",
6161
kind: "DerivativeRegistrationAttributeArguments"),
62-
Child(name: "BackDeployArguments",
63-
kind: "BackDeployAttributeSpecList"),
62+
Child(name: "BackDeployedArguments",
63+
kind: "BackDeployedAttributeSpecList"),
6464
Child(name: "ConventionArguments",
6565
kind: "ConventionAttributeArguments"),
6666
Child(name: "ConventionWitnessMethodArguments",
@@ -461,9 +461,9 @@ public let ATTRIBUTE_NODES: [Node] = [
461461
isOptional: true)
462462
]),
463463

464-
Node(name: "BackDeployAttributeSpecList",
465-
nameForDiagnostics: "'@_backDeploy' arguments",
466-
description: "A collection of arguments for the `@_backDeploy` attribute",
464+
Node(name: "BackDeployedAttributeSpecList",
465+
nameForDiagnostics: "'@backDeployed' arguments",
466+
description: "A collection of arguments for the `@backDeployed` attribute",
467467
kind: "Syntax",
468468
children: [
469469
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())
@@ -916,7 +917,7 @@ extension Parser {
916917
}
917918

918919
extension Parser {
919-
mutating func parseBackDeployArguments() -> RawBackDeployAttributeSpecListSyntax {
920+
mutating func parseBackDeployedArguments() -> RawBackDeployedAttributeSpecListSyntax {
920921
let (unexpectedBeforeLabel, label) = self.expect(.keyword(.before), remapping: .identifier)
921922
let (unexpectedBeforeColon, colon) = self.expect(.colon)
922923
var elements: [RawAvailabilityVersionRestrictionListEntrySyntax] = []
@@ -932,7 +933,7 @@ extension Parser {
932933
)
933934
)
934935
} while keepGoing != nil
935-
return RawBackDeployAttributeSpecListSyntax(
936+
return RawBackDeployedAttributeSpecListSyntax(
936937
unexpectedBeforeLabel,
937938
beforeLabel: label,
938939
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
@@ -10388,7 +10388,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1038810388
case `implementsArguments`(RawImplementsAttributeArgumentsSyntax)
1038910389
case `differentiableArguments`(RawDifferentiableAttributeArgumentsSyntax)
1039010390
case `derivativeRegistrationArguments`(RawDerivativeRegistrationAttributeArgumentsSyntax)
10391-
case `backDeployArguments`(RawBackDeployAttributeSpecListSyntax)
10391+
case `backDeployedArguments`(RawBackDeployedAttributeSpecListSyntax)
1039210392
case `conventionArguments`(RawConventionAttributeArgumentsSyntax)
1039310393
case `conventionWitnessMethodArguments`(RawConventionWitnessMethodAttributeArgumentsSyntax)
1039410394
case `opaqueReturnTypeOfAttributeArguments`(RawOpaqueReturnTypeOfAttributeArgumentsSyntax)
@@ -10401,7 +10401,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1040110401
case `documentationArguments`(RawDocumentationAttributeArgumentsSyntax)
1040210402

1040310403
public static func isKindOf(_ raw: RawSyntax) -> Bool {
10404-
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)
10404+
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)
1040510405
}
1040610406

1040710407
public var raw: RawSyntax {
@@ -10415,7 +10415,7 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1041510415
case .implementsArguments(let node): return node.raw
1041610416
case .differentiableArguments(let node): return node.raw
1041710417
case .derivativeRegistrationArguments(let node): return node.raw
10418-
case .backDeployArguments(let node): return node.raw
10418+
case .backDeployedArguments(let node): return node.raw
1041910419
case .conventionArguments(let node): return node.raw
1042010420
case .conventionWitnessMethodArguments(let node): return node.raw
1042110421
case .opaqueReturnTypeOfAttributeArguments(let node): return node.raw
@@ -10466,8 +10466,8 @@ public struct RawAttributeSyntax: RawSyntaxNodeProtocol {
1046610466
self = .derivativeRegistrationArguments(node)
1046710467
return
1046810468
}
10469-
if let node = RawBackDeployAttributeSpecListSyntax(other) {
10470-
self = .backDeployArguments(node)
10469+
if let node = RawBackDeployedAttributeSpecListSyntax(other) {
10470+
self = .backDeployedArguments(node)
1047110471
return
1047210472
}
1047310473
if let node = RawConventionAttributeArgumentsSyntax(other) {
@@ -11782,15 +11782,15 @@ public struct RawQualifiedDeclNameSyntax: RawSyntaxNodeProtocol {
1178211782
}
1178311783

1178411784
@_spi(RawSyntax)
11785-
public struct RawBackDeployAttributeSpecListSyntax: RawSyntaxNodeProtocol {
11785+
public struct RawBackDeployedAttributeSpecListSyntax: RawSyntaxNodeProtocol {
1178611786

1178711787
@_spi(RawSyntax)
1178811788
public var layoutView: RawSyntaxLayoutView {
1178911789
return raw.layoutView!
1179011790
}
1179111791

1179211792
public static func isKindOf(_ raw: RawSyntax) -> Bool {
11793-
return raw.kind == .backDeployAttributeSpecList
11793+
return raw.kind == .backDeployedAttributeSpecList
1179411794
}
1179511795

1179611796
public var raw: RawSyntax
@@ -11815,7 +11815,7 @@ public struct RawBackDeployAttributeSpecListSyntax: RawSyntaxNodeProtocol {
1181511815
arena: __shared SyntaxArena
1181611816
) {
1181711817
let raw = RawSyntax.makeLayout(
11818-
kind: .backDeployAttributeSpecList, uninitializedCount: 7, arena: arena) { layout in
11818+
kind: .backDeployedAttributeSpecList, uninitializedCount: 7, arena: arena) { layout in
1181911819
layout.initialize(repeating: nil)
1182011820
layout[0] = unexpectedBeforeBeforeLabel?.raw
1182111821
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 `break`
@@ -753,6 +755,8 @@ public enum Keyword: UInt8, Hashable {
753755
self = ._silgen_name
754756
case "availability":
755757
self = .availability
758+
case "backDeployed":
759+
self = .backDeployed
756760
case "noDerivative":
757761
self = .noDerivative
758762
default:
@@ -1060,6 +1064,7 @@ public enum Keyword: UInt8, Hashable {
10601064
"availability",
10611065
"available",
10621066
"await",
1067+
"backDeployed",
10631068
"before",
10641069
"break",
10651070
"case",

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 nil
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)