Skip to content

Commit bfa0ddc

Browse files
committed
Update generated files
1 parent c995494 commit bfa0ddc

File tree

2 files changed

+22
-51
lines changed

2 files changed

+22
-51
lines changed

Sources/SwiftSyntax/gyb_generated/syntax_nodes/SyntaxDeclNodes.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3484,8 +3484,7 @@ extension VariableDeclSyntax: CustomReflectable {
34843484
// MARK: - EnumCaseDeclSyntax
34853485

34863486
///
3487-
/// A `case` declaration of a Swift `enum`. It can have 1 or more
3488-
/// `EnumCaseElement`s inside, each declaring a different case of the
3487+
/// A `case` declaration of a Swift `enum`. It can have 1 or more `EnumCaseElement`s inside, each declaring a different case of the
34893488
/// enum.
34903489
///
34913490
public struct EnumCaseDeclSyntax: DeclSyntaxProtocol {
@@ -3870,8 +3869,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol {
38703869
}
38713870

38723871
///
3873-
/// The inheritance clause describing conformances or raw
3874-
/// values for this enum.
3872+
/// The inheritance clause describing conformances or raw values for this enum.
38753873
///
38763874
public var inheritanceClause: TypeInheritanceClauseSyntax? {
38773875
get {
@@ -3896,8 +3894,7 @@ public struct EnumDeclSyntax: DeclSyntaxProtocol {
38963894
}
38973895

38983896
///
3899-
/// The `where` clause that applies to the generic parameters of
3900-
/// this enum.
3897+
/// The `where` clause that applies to the generic parameters of this enum.
39013898
///
39023899
public var genericWhereClause: GenericWhereClauseSyntax? {
39033900
get {

Sources/SwiftSyntax/gyb_generated/syntax_nodes/SyntaxNodes.swift

Lines changed: 19 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -2671,8 +2671,7 @@ extension MemberDeclBlockSyntax: CustomReflectable {
26712671
// MARK: - MemberDeclListItemSyntax
26722672

26732673
///
2674-
/// A member declaration of a type consisting of a declaration and an
2675-
/// optional semicolon;
2674+
/// A member declaration of a type consisting of a declaration and an optional semicolon;
26762675
///
26772676
public struct MemberDeclListItemSyntax: SyntaxProtocol {
26782677
enum Cursor: Int {
@@ -3743,8 +3742,7 @@ extension PatternBindingSyntax: CustomReflectable {
37433742
// MARK: - EnumCaseElementSyntax
37443743

37453744
///
3746-
/// An element of an enum case, containing the name of the case and,
3747-
/// optionally, either associated values or an assignment to a raw value.
3745+
/// An element of an enum case, containing the name of the case and, optionally, either associated values or an assignment to a raw value.
37483746
///
37493747
public struct EnumCaseElementSyntax: SyntaxProtocol {
37503748
enum Cursor: Int {
@@ -3842,8 +3840,7 @@ public struct EnumCaseElementSyntax: SyntaxProtocol {
38423840
}
38433841

38443842
///
3845-
/// The trailing comma of this element, if the case has
3846-
/// multiple elements.
3843+
/// The trailing comma of this element, if the case has multiple elements.
38473844
///
38483845
public var trailingComma: TokenSyntax? {
38493846
get {
@@ -4685,9 +4682,7 @@ public struct AttributeSyntax: SyntaxProtocol {
46854682
}
46864683

46874684
///
4688-
/// The arguments of the attribute. In case the attribute
4689-
/// takes multiple arguments, they are gather in the
4690-
/// appropriate takes first.
4685+
/// The arguments of the attribute. In case the attribute takes multiple arguments, they are gather in the appropriate takes first.
46914686
///
46924687
public var argument: Syntax? {
46934688
get {
@@ -4794,8 +4789,7 @@ extension AttributeSyntax: CustomReflectable {
47944789
// MARK: - LabeledSpecializeEntrySyntax
47954790

47964791
///
4797-
/// A labeled argument for the `@_specialize` attribute like
4798-
/// `exported: true`
4792+
/// A labeled argument for the `@_specialize` attribute like `exported: true`
47994793
///
48004794
public struct LabeledSpecializeEntrySyntax: SyntaxProtocol {
48014795
enum Cursor: Int {
@@ -4928,9 +4922,7 @@ extension LabeledSpecializeEntrySyntax: CustomReflectable {
49284922
// MARK: - NamedAttributeStringArgumentSyntax
49294923

49304924
///
4931-
/// The argument for the `@_dynamic_replacement` or `@_private`
4932-
/// attribute of the form `for: "function()"` or `sourceFile:
4933-
/// "Src.swift"`
4925+
/// The argument for the `@_dynamic_replacement` or `@_private` attribute of the form `for: "function()"` or `sourceFile: "Src.swift"`
49344926
///
49354927
public struct NamedAttributeStringArgumentSyntax: SyntaxProtocol {
49364928
enum Cursor: Int {
@@ -5082,8 +5074,7 @@ public struct DeclNameSyntax: SyntaxProtocol {
50825074
}
50835075

50845076
///
5085-
/// The argument labels of the protocol's requirement if it
5086-
/// is a function requirement.
5077+
/// The argument labels of the protocol's requirement if it is a function requirement.
50875078
///
50885079
public var declNameArguments: DeclNameArgumentsSyntax? {
50895080
get {
@@ -5120,8 +5111,7 @@ extension DeclNameSyntax: CustomReflectable {
51205111
// MARK: - ImplementsAttributeArgumentsSyntax
51215112

51225113
///
5123-
/// The arguments for the `@_implements` attribute of the form
5124-
/// `Type, methodName(arg1Label:arg2Label:)`
5114+
/// The arguments for the `@_implements` attribute of the form `Type, methodName(arg1Label:arg2Label:)`
51255115
///
51265116
public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol {
51275117
enum Cursor: Int {
@@ -5149,8 +5139,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol {
51495139
}
51505140

51515141
///
5152-
/// The type for which the method with this attribute
5153-
/// implements a requirement.
5142+
/// The type for which the method with this attribute implements a requirement.
51545143
///
51555144
public var type: SimpleTypeIdentifierSyntax {
51565145
get {
@@ -5222,8 +5211,7 @@ public struct ImplementsAttributeArgumentsSyntax: SyntaxProtocol {
52225211
}
52235212

52245213
///
5225-
/// The argument labels of the protocol's requirement if it
5226-
/// is a function requirement.
5214+
/// The argument labels of the protocol's requirement if it is a function requirement.
52275215
///
52285216
public var declNameArguments: DeclNameArgumentsSyntax? {
52295217
get {
@@ -5262,9 +5250,7 @@ extension ImplementsAttributeArgumentsSyntax: CustomReflectable {
52625250
// MARK: - ObjCSelectorPieceSyntax
52635251

52645252
///
5265-
/// A piece of an Objective-C selector. Either consisiting of just an
5266-
/// identifier for a nullary selector, an identifier and a colon for a
5267-
/// labeled argument or just a colon for an unlabeled argument
5253+
/// A piece of an Objective-C selector. Either consisiting of just an identifier for a nullary selector, an identifier and a colon for a labeled argument or just a colon for an unlabeled argument
52685254
///
52695255
public struct ObjCSelectorPieceSyntax: SyntaxProtocol {
52705256
enum Cursor: Int {
@@ -8070,8 +8056,7 @@ extension TuplePatternElementSyntax: CustomReflectable {
80708056
// MARK: - AvailabilityArgumentSyntax
80718057

80728058
///
8073-
/// A single argument to an `@available` argument like `*`, `iOS 10.1`,
8074-
/// or `message: "This has been deprecated"`.
8059+
/// A single argument to an `@available` argument like `*`, `iOS 10.1`, or `message: "This has been deprecated"`.
80758060
///
80768061
public struct AvailabilityArgumentSyntax: SyntaxProtocol {
80778062
enum Cursor: Int {
@@ -8119,8 +8104,7 @@ public struct AvailabilityArgumentSyntax: SyntaxProtocol {
81198104
}
81208105

81218106
///
8122-
/// A trailing comma if the argument is followed by another
8123-
/// argument
8107+
/// A trailing comma if the argument is followed by another argument
81248108
///
81258109
public var trailingComma: TokenSyntax? {
81268110
get {
@@ -8157,8 +8141,7 @@ extension AvailabilityArgumentSyntax: CustomReflectable {
81578141
// MARK: - AvailabilityLabeledArgumentSyntax
81588142

81598143
///
8160-
/// A argument to an `@available` attribute that consists of a label and
8161-
/// a value, e.g. `message: "This has been deprecated"`.
8144+
/// A argument to an `@available` attribute that consists of a label and a value, e.g. `message: "This has been deprecated"`.
81628145
///
81638146
public struct AvailabilityLabeledArgumentSyntax: SyntaxProtocol {
81648147
enum Cursor: Int {
@@ -8264,8 +8247,7 @@ extension AvailabilityLabeledArgumentSyntax: CustomReflectable {
82648247
// MARK: - AvailabilityVersionRestrictionSyntax
82658248

82668249
///
8267-
/// An argument to `@available` that restricts the availability on a
8268-
/// certain platform to a version, e.g. `iOS 10` or `swift 3.4`.
8250+
/// An argument to `@available` that restricts the availability on a certain platform to a version, e.g. `iOS 10` or `swift 3.4`.
82698251
///
82708252
public struct AvailabilityVersionRestrictionSyntax: SyntaxProtocol {
82718253
enum Cursor: Int {
@@ -8291,9 +8273,7 @@ public struct AvailabilityVersionRestrictionSyntax: SyntaxProtocol {
82918273
}
82928274

82938275
///
8294-
/// The name of the OS on which the availability should be
8295-
/// restricted or 'swift' if the availability should be
8296-
/// restricted based on a Swift version.
8276+
/// The name of the OS on which the availability should be restricted or 'swift' if the availability should be restricted based on a Swift version.
82978277
///
82988278
public var platform: TokenSyntax {
82998279
get {
@@ -8350,8 +8330,7 @@ extension AvailabilityVersionRestrictionSyntax: CustomReflectable {
83508330
// MARK: - VersionTupleSyntax
83518331

83528332
///
8353-
/// A version number of the form major.minor.patch in which the minor
8354-
/// and patch part may be ommited.
8333+
/// A version number of the form major.minor.patch in which the minor and patch part may be ommited.
83558334
///
83568335
public struct VersionTupleSyntax: SyntaxProtocol {
83578336
enum Cursor: Int {
@@ -8378,11 +8357,7 @@ public struct VersionTupleSyntax: SyntaxProtocol {
83788357
}
83798358

83808359
///
8381-
/// In case the version consists only of the major version, an
8382-
/// integer literal that specifies the major version. In case
8383-
/// the version consists of major and minor version number, a
8384-
/// floating literal in which the decimal part is interpreted
8385-
/// as the minor version.
8360+
/// In case the version consists only of the major version, an integer literal that specifies the major version. In case the version consists of major and minor version number, a floating literal in which the decimal part is interpreted as the minor version.
83868361
///
83878362
public var majorMinor: Syntax {
83888363
get {
@@ -8406,8 +8381,7 @@ public struct VersionTupleSyntax: SyntaxProtocol {
84068381
}
84078382

84088383
///
8409-
/// If the version contains a patch number, the period
8410-
/// separating the minor from the patch number.
8384+
/// If the version contains a patch number, the period separating the minor from the patch number.
84118385
///
84128386
public var patchPeriod: TokenSyntax? {
84138387
get {

0 commit comments

Comments
 (0)