You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SwiftSyntax/generated/syntaxNodes/SyntaxPatternNodes.swift
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,9 @@ public struct ExpressionPatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
37
37
self._syntaxNode =Syntax(data)
38
38
}
39
39
40
+
/// - Parameters:
41
+
/// - 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.
42
+
/// - 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.
@@ -119,6 +122,9 @@ public struct IdentifierPatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
119
122
self._syntaxNode =Syntax(data)
120
123
}
121
124
125
+
/// - Parameters:
126
+
/// - 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.
127
+
/// - 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.
@@ -202,6 +208,9 @@ public struct IsTypePatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
202
208
self._syntaxNode =Syntax(data)
203
209
}
204
210
211
+
/// - Parameters:
212
+
/// - 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.
213
+
/// - 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.
@@ -322,6 +331,10 @@ public struct MissingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
322
331
self._syntaxNode =Syntax(data)
323
332
}
324
333
334
+
/// - Parameters:
335
+
/// - 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.
336
+
/// - placeholder: A placeholder, i.e. `<#pattern#>` that can be inserted into the source code to represent the missing pattern.
337
+
/// - 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.
@@ -407,6 +420,9 @@ public struct TuplePatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
407
420
self._syntaxNode =Syntax(data)
408
421
}
409
422
423
+
/// - Parameters:
424
+
/// - 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.
425
+
/// - 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.
@@ -578,6 +594,9 @@ public struct ValueBindingPatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
578
594
self._syntaxNode =Syntax(data)
579
595
}
580
596
597
+
/// - Parameters:
598
+
/// - 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.
599
+
/// - 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.
@@ -699,6 +718,9 @@ public struct WildcardPatternSyntax: PatternSyntaxProtocol, SyntaxHashable {
699
718
self._syntaxNode =Syntax(data)
700
719
}
701
720
721
+
/// - Parameters:
722
+
/// - 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.
723
+
/// - 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.
Copy file name to clipboardExpand all lines: Sources/SwiftSyntax/generated/syntaxNodes/SyntaxStmtNodes.swift
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,9 @@ public struct BreakStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
38
38
self._syntaxNode =Syntax(data)
39
39
}
40
40
41
+
/// - Parameters:
42
+
/// - 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.
43
+
/// - 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.
@@ -159,6 +162,9 @@ public struct ContinueStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
159
162
self._syntaxNode =Syntax(data)
160
163
}
161
164
165
+
/// - Parameters:
166
+
/// - 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.
167
+
/// - 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.
@@ -280,6 +286,9 @@ public struct DeferStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
280
286
self._syntaxNode =Syntax(data)
281
287
}
282
288
289
+
/// - Parameters:
290
+
/// - 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.
291
+
/// - 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.
@@ -401,6 +410,9 @@ public struct DiscardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
401
410
self._syntaxNode =Syntax(data)
402
411
}
403
412
413
+
/// - Parameters:
414
+
/// - 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.
415
+
/// - 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.
@@ -523,6 +535,9 @@ public struct DoStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
523
535
self._syntaxNode =Syntax(data)
524
536
}
525
537
538
+
/// - Parameters:
539
+
/// - 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.
540
+
/// - 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.
@@ -693,6 +708,9 @@ public struct ExpressionStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
693
708
self._syntaxNode =Syntax(data)
694
709
}
695
710
711
+
/// - Parameters:
712
+
/// - 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.
713
+
/// - 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.
@@ -775,6 +793,9 @@ public struct FallthroughStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
775
793
self._syntaxNode =Syntax(data)
776
794
}
777
795
796
+
/// - Parameters:
797
+
/// - 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.
798
+
/// - 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.
@@ -866,6 +887,9 @@ public struct ForInStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
866
887
self._syntaxNode =Syntax(data)
867
888
}
868
889
890
+
/// - Parameters:
891
+
/// - 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.
892
+
/// - 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.
@@ -1197,6 +1221,9 @@ public struct GuardStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1197
1221
self._syntaxNode =Syntax(data)
1198
1222
}
1199
1223
1224
+
/// - Parameters:
1225
+
/// - 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.
1226
+
/// - 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.
@@ -1395,6 +1422,9 @@ public struct LabeledStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1395
1422
self._syntaxNode =Syntax(data)
1396
1423
}
1397
1424
1425
+
/// - Parameters:
1426
+
/// - 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.
1427
+
/// - 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.
@@ -1541,6 +1571,10 @@ public struct MissingStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1541
1571
self._syntaxNode =Syntax(data)
1542
1572
}
1543
1573
1574
+
/// - Parameters:
1575
+
/// - 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.
1576
+
/// - placeholder: A placeholder, i.e. `<#statement#>` that can be inserted into the source code to represent the missing pattern.
1577
+
/// - 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.
@@ -1627,6 +1661,9 @@ public struct RepeatWhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1627
1661
self._syntaxNode =Syntax(data)
1628
1662
}
1629
1663
1664
+
/// - Parameters:
1665
+
/// - 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.
1666
+
/// - 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.
@@ -1800,6 +1837,9 @@ public struct ReturnStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1800
1837
self._syntaxNode =Syntax(data)
1801
1838
}
1802
1839
1840
+
/// - Parameters:
1841
+
/// - 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.
1842
+
/// - 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.
@@ -1921,6 +1961,9 @@ public struct ThrowStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
1921
1961
self._syntaxNode =Syntax(data)
1922
1962
}
1923
1963
1964
+
/// - Parameters:
1965
+
/// - 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.
1966
+
/// - 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.
@@ -2043,6 +2086,9 @@ public struct WhileStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
2043
2086
self._syntaxNode =Syntax(data)
2044
2087
}
2045
2088
2089
+
/// - Parameters:
2090
+
/// - 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.
2091
+
/// - 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.
@@ -2256,6 +2302,9 @@ public struct YieldStmtSyntax: StmtSyntaxProtocol, SyntaxHashable {
2256
2302
self._syntaxNode =Syntax(data)
2257
2303
}
2258
2304
2305
+
/// - Parameters:
2306
+
/// - 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.
2307
+
/// - 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.
0 commit comments