Skip to content

Commit f5f14f2

Browse files
Breaking things is fun
1 parent 19de198 commit f5f14f2

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesC.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4522,6 +4522,9 @@ public struct ConventionWitnessMethodAttributeArgumentsSyntax: SyntaxProtocol, S
45224522

45234523
/// - Parameters:
45244524
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
4525+
/// - witnessMethodLabel: The "witnessMethod" label.
4526+
/// - colon: The colon separating the "witnessMethod" label and the original protocol name.
4527+
/// - protocolName: The original protocol name.
45254528
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
45264529
public init(
45274530
leadingTrivia: Trivia? = nil,
@@ -4576,6 +4579,8 @@ public struct ConventionWitnessMethodAttributeArgumentsSyntax: SyntaxProtocol, S
45764579
}
45774580
}
45784581

4582+
/// The "witnessMethod" label.
4583+
///
45794584
/// ### Tokens
45804585
///
45814586
/// For syntax trees generated by the parser, this is guaranteed to be `witness_method`.
@@ -4597,6 +4602,8 @@ public struct ConventionWitnessMethodAttributeArgumentsSyntax: SyntaxProtocol, S
45974602
}
45984603
}
45994604

4605+
/// The colon separating the "witnessMethod" label and the original protocol name.
4606+
///
46004607
/// ### Tokens
46014608
///
46024609
/// For syntax trees generated by the parser, this is guaranteed to be `:`.
@@ -4618,6 +4625,8 @@ public struct ConventionWitnessMethodAttributeArgumentsSyntax: SyntaxProtocol, S
46184625
}
46194626
}
46204627

4628+
/// The original protocol name.
4629+
///
46214630
/// ### Tokens
46224631
///
46234632
/// For syntax trees generated by the parser, this is guaranteed to be `<identifier>`.

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesD.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2813,7 +2813,9 @@ public struct DifferentiableAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHash
28132813

28142814
/// - Parameters:
28152815
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
2816+
/// - kindSpecifier: The differentiability kind, if it exists.
28162817
/// - kindSpecifierComma: The comma following the differentiability kind, if it exists.
2818+
/// - arguments: The differentiability arguments, if any exists.
28172819
/// - argumentsComma: The comma following the differentiability arguments clause, if it exists.
28182820
/// - genericWhereClause: A `where` clause that places additional constraints on generic parameters like `where T: Differentiable`.
28192821
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
@@ -2882,6 +2884,8 @@ public struct DifferentiableAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHash
28822884
}
28832885
}
28842886

2887+
/// The differentiability kind, if it exists.
2888+
///
28852889
/// ### Tokens
28862890
///
28872891
/// For syntax trees generated by the parser, this is guaranteed to be one of the following kinds:
@@ -2929,6 +2933,7 @@ public struct DifferentiableAttributeArgumentsSyntax: SyntaxProtocol, SyntaxHash
29292933
}
29302934
}
29312935

2936+
/// The differentiability arguments, if any exists.
29322937
public var arguments: DifferentiabilityWithRespectToArgumentSyntax? {
29332938
get {
29342939
return Syntax(self).child(at: 5)?.cast(DifferentiabilityWithRespectToArgumentSyntax.self)

Sources/SwiftSyntax/generated/syntaxNodes/SyntaxNodesOP.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynt
3636

3737
/// - Parameters:
3838
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
39+
/// - name: The identifier name for a nullary selection, if it exists.
40+
/// - colon: The colon separating the label and the value or a colon representing an unlabeled argument
3941
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
4042
public init(
4143
leadingTrivia: Trivia? = nil,
@@ -84,6 +86,7 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynt
8486
}
8587
}
8688

89+
/// The identifier name for a nullary selection, if it exists.
8790
public var name: TokenSyntax? {
8891
get {
8992
return Syntax(self).child(at: 1)?.cast(TokenSyntax.self)
@@ -102,6 +105,8 @@ public struct ObjCSelectorPieceSyntax: SyntaxProtocol, SyntaxHashable, _LeafSynt
102105
}
103106
}
104107

108+
/// The colon separating the label and the value or a colon representing an unlabeled argument
109+
///
105110
/// ### Tokens
106111
///
107112
/// For syntax trees generated by the parser, this is guaranteed to be `:`.
@@ -2101,6 +2106,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable, _LeafSy
21012106

21022107
/// - Parameters:
21032108
/// - leadingTrivia: Trivia to be prepended to the leading trivia of the node’s first token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
2109+
/// - platformVersion: The platform/version pair, e.g. `iOS 10.1`
21042110
/// - trailingComma: A trailing comma if the argument is followed by another argument
21052111
/// - trailingTrivia: Trivia to be appended to the trailing trivia of the node’s last token. If the node is empty, there is no token to attach the trivia to and the parameter is ignored.
21062112
public init(
@@ -2150,6 +2156,7 @@ public struct PlatformVersionItemSyntax: SyntaxProtocol, SyntaxHashable, _LeafSy
21502156
}
21512157
}
21522158

2159+
/// The platform/version pair, e.g. `iOS 10.1`
21532160
public var platformVersion: PlatformVersionSyntax {
21542161
get {
21552162
return Syntax(self).child(at: 1)!.cast(PlatformVersionSyntax.self)

0 commit comments

Comments
 (0)