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
I played around withs some maximum line lengths and 160 seems to strike a good balance of prohibiting excessivly long lines while not forcing line wraps on lines that are more clearly represented on a single line.
documentation:"The base name of the protocol's requirement."
304
310
),
@@ -322,7 +328,8 @@ public let ATTRIBUTE_NODES: [Node] = [
322
328
kind:.derivativeRegistrationAttributeArguments,
323
329
base:.syntax,
324
330
nameForDiagnostics:"attribute arguments",
325
-
documentation:"The arguments for the '@derivative(of:)' and '@transpose(of:)' attributes: the 'of:' label, the original declaration name, and an optional differentiability parameter list.",
331
+
documentation:
332
+
"The arguments for the '@derivative(of:)' and '@transpose(of:)' attributes: the 'of:' label, the original declaration name, and an optional differentiability parameter list.",
326
333
children:[
327
334
Child(
328
335
name:"OfLabel",
@@ -461,7 +468,8 @@ public let ATTRIBUTE_NODES: [Node] = [
461
468
kind:.differentiableAttributeArguments,
462
469
base:.syntax,
463
470
nameForDiagnostics:"'@differentiable' arguments",
464
-
documentation:"The arguments for the `@differentiable` attribute: an optional differentiability kind, an optional differentiability parameter clause, and an optional 'where' clause.",
471
+
documentation:
472
+
"The arguments for the `@differentiable` attribute: an optional differentiability kind, an optional differentiability parameter clause, and an optional 'where' clause.",
465
473
children:[
466
474
Child(
467
475
name:"DiffKind",
@@ -515,7 +523,14 @@ public let ATTRIBUTE_NODES: [Node] = [
), // Keywords can be: public, internal, private, fileprivate, open
520
535
Child(
521
536
name:"String",
@@ -670,7 +685,8 @@ public let ATTRIBUTE_NODES: [Node] = [
670
685
kind:.objCSelectorPiece,
671
686
base:.syntax,
672
687
nameForDiagnostics:"Objective-C selector piece",
673
-
documentation:"A piece of an Objective-C selector. Either consisting 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",
688
+
documentation:
689
+
"A piece of an Objective-C selector. Either consisting 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",
674
690
children:[
675
691
Child(
676
692
name:"Name",
@@ -776,7 +792,13 @@ public let ATTRIBUTE_NODES: [Node] = [
documentation:"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.",
119
+
documentation:
120
+
"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.",
@@ -374,7 +392,8 @@ public let DECL_NODES: [Node] = [
374
392
Child(
375
393
name:"MemberBlock",
376
394
kind:.node(kind:.memberDeclBlock),
377
-
documentation:"The members of the class declaration. As class extension declarations may declare additional members, the contents of this member block isn't guaranteed to be a complete list of members for this type."
395
+
documentation:
396
+
"The members of the class declaration. As class extension declarations may declare additional members, the contents of this member block isn't guaranteed to be a complete list of members for this type."
378
397
),
379
398
]
380
399
),
@@ -767,7 +786,8 @@ public let DECL_NODES: [Node] = [
767
786
Child(
768
787
name:"MemberBlock",
769
788
kind:.node(kind:.memberDeclBlock),
770
-
documentation:"The cases and other members associated with this enum declaration. Because enum extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type."
789
+
documentation:
790
+
"The cases and other members associated with this enum declaration. Because enum extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type."
771
791
),
772
792
]
773
793
),
@@ -855,7 +875,12 @@ public let DECL_NODES: [Node] = [
documentation:"When true, an operator in the corresponding precedence group uses the same grouping rules during optional chaining as the assignment operators from the standard library. Otherwise, operators in the precedence group follows the same optional chaining rules as operators that don't perform assignment."
1695
+
documentation:
1696
+
"When true, an operator in the corresponding precedence group uses the same grouping rules during optional chaining as the assignment operators from the standard library. Otherwise, operators in the precedence group follows the same optional chaining rules as operators that don't perform assignment."
1657
1697
),
1658
1698
]
1659
1699
),
@@ -1678,7 +1718,8 @@ public let DECL_NODES: [Node] = [
documentation:"Operators that are `left`-associative group left-to-right. Operators that are `right`-associative group right-to-left. Operators that are specified with an associativity of `none` don't associate at all"
1721
+
documentation:
1722
+
"Operators that are `left`-associative group left-to-right. Operators that are `right`-associative group right-to-left. Operators that are specified with an associativity of `none` don't associate at all"
1682
1723
),
1683
1724
]
1684
1725
),
@@ -2032,7 +2073,8 @@ public let DECL_NODES: [Node] = [
2032
2073
Child(
2033
2074
name:"MemberBlock",
2034
2075
kind:.node(kind:.memberDeclBlock),
2035
-
documentation:"The members of the struct declaration. Because struct extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type."
2076
+
documentation:
2077
+
"The members of the struct declaration. Because struct extension declarations may declare additional members the contents of this member block isn't guaranteed to be a complete list of members for this type."
documentation:"If this is specified, it is the name by which the parameter can be referenced inside the closure body. If it is `nil`, the closure parameter is referenced by the first name.",
385
+
documentation:
386
+
"If this is specified, it is the name by which the parameter can be referenced inside the closure body. If it is `nil`, the closure parameter is referenced by the first name.",
386
387
isOptional:true
387
388
),
388
389
Child(
@@ -832,7 +833,14 @@ public let EXPR_NODES: [Node] = [
0 commit comments