@@ -39,19 +39,19 @@ public let ATTRIBUTE_NODES: [Node] = [
39
39
Child (
40
40
name: " AtSignToken " ,
41
41
kind: . token( choices: [ . token( tokenKind: " AtSignToken " ) ] ) ,
42
- description : " The `@` sign. "
42
+ documentation : " The `@` sign. "
43
43
) ,
44
44
Child (
45
45
name: " AttributeName " ,
46
46
kind: . node( kind: . type) ,
47
47
nameForDiagnostics: " name " ,
48
- description : " The name of the attribute. " ,
48
+ documentation : " The name of the attribute. " ,
49
49
classification: " Attribute "
50
50
) ,
51
51
Child (
52
52
name: " LeftParen " ,
53
53
kind: . token( choices: [ . token( tokenKind: " LeftParenToken " ) ] ) ,
54
- description : " If the attribute takes arguments, the opening parenthesis. " ,
54
+ documentation : " If the attribute takes arguments, the opening parenthesis. " ,
55
55
isOptional: true
56
56
) ,
57
57
Child (
@@ -138,13 +138,13 @@ public let ATTRIBUTE_NODES: [Node] = [
138
138
kind: . node( kind: . documentationAttributeArguments)
139
139
) ,
140
140
] ) ,
141
- description : " The arguments of the attribute. In case the attribute takes multiple arguments, they are gather in the appropriate takes first. " ,
141
+ documentation : " The arguments of the attribute. In case the attribute takes multiple arguments, they are gather in the appropriate takes first. " ,
142
142
isOptional: true
143
143
) ,
144
144
Child (
145
145
name: " RightParen " ,
146
146
kind: . token( choices: [ . token( tokenKind: " RightParenToken " ) ] ) ,
147
- description : " If the attribute takes arguments, the closing parenthesis. " ,
147
+ documentation : " If the attribute takes arguments, the closing parenthesis. " ,
148
148
isOptional: true
149
149
) ,
150
150
]
@@ -160,12 +160,12 @@ public let ATTRIBUTE_NODES: [Node] = [
160
160
name: " Label " ,
161
161
kind: . token( choices: [ . keyword( text: " availability " ) ] ) ,
162
162
nameForDiagnostics: " label " ,
163
- description : " The label of the argument "
163
+ documentation : " The label of the argument "
164
164
) ,
165
165
Child (
166
166
name: " Colon " ,
167
167
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
168
- description : " The colon separating the label and the value "
168
+ documentation : " The colon separating the label and the value "
169
169
) ,
170
170
Child (
171
171
name: " AvailabilityList " ,
@@ -193,7 +193,7 @@ public let ATTRIBUTE_NODES: [Node] = [
193
193
Child (
194
194
name: " TrailingComma " ,
195
195
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
196
- description : " A trailing comma if the argument is followed by another argument " ,
196
+ documentation : " A trailing comma if the argument is followed by another argument " ,
197
197
isOptional: true
198
198
) ,
199
199
]
@@ -219,17 +219,17 @@ public let ATTRIBUTE_NODES: [Node] = [
219
219
Child (
220
220
name: " BeforeLabel " ,
221
221
kind: . token( choices: [ . keyword( text: " before " ) ] ) ,
222
- description : " The \" before \" label. "
222
+ documentation : " The \" before \" label. "
223
223
) ,
224
224
Child (
225
225
name: " Colon " ,
226
226
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
227
- description : " The colon separating \" before \" and the parameter list. "
227
+ documentation : " The colon separating \" before \" and the parameter list. "
228
228
) ,
229
229
Child (
230
230
name: " VersionList " ,
231
231
kind: . collection( kind: . availabilityVersionRestrictionList, collectionElementName: " Availability " ) ,
232
- description : " The list of OS versions in which the declaration became ABI stable. "
232
+ documentation : " The list of OS versions in which the declaration became ABI stable. "
233
233
) ,
234
234
]
235
235
) ,
@@ -244,7 +244,7 @@ public let ATTRIBUTE_NODES: [Node] = [
244
244
Child (
245
245
name: " ConventionLabel " ,
246
246
kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) ] ) ,
247
- description : " The convention label. "
247
+ documentation : " The convention label. "
248
248
) ,
249
249
Child (
250
250
name: " Comma " ,
@@ -300,13 +300,13 @@ public let ATTRIBUTE_NODES: [Node] = [
300
300
name: " DeclBaseName " ,
301
301
kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . token( tokenKind: " BinaryOperatorToken " ) , . keyword( text: " init " ) , . keyword( text: " self " ) , . keyword( text: " Self " ) ] ) ,
302
302
nameForDiagnostics: " base name " ,
303
- description : " The base name of the protocol's requirement. "
303
+ documentation : " The base name of the protocol's requirement. "
304
304
) ,
305
305
Child (
306
306
name: " DeclNameArguments " ,
307
307
kind: . node( kind: . declNameArguments) ,
308
308
nameForDiagnostics: " arguments " ,
309
- description : " The argument labels of the protocol's requirement if it is a function requirement. " ,
309
+ documentation : " The argument labels of the protocol's requirement if it is a function requirement. " ,
310
310
isOptional: true
311
311
) ,
312
312
]
@@ -327,28 +327,28 @@ public let ATTRIBUTE_NODES: [Node] = [
327
327
Child (
328
328
name: " OfLabel " ,
329
329
kind: . token( choices: [ . keyword( text: " of " ) ] ) ,
330
- description : " The \" of \" label. "
330
+ documentation : " The \" of \" label. "
331
331
) ,
332
332
Child (
333
333
name: " Colon " ,
334
334
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
335
- description : " The colon separating the \" of \" label and the original declaration name. "
335
+ documentation : " The colon separating the \" of \" label and the original declaration name. "
336
336
) ,
337
337
Child (
338
338
name: " OriginalDeclName " ,
339
339
kind: . node( kind: . qualifiedDeclName) ,
340
- description : " The referenced original declaration name. "
340
+ documentation : " The referenced original declaration name. "
341
341
) ,
342
342
Child (
343
343
name: " Period " ,
344
344
kind: . token( choices: [ . token( tokenKind: " PeriodToken " ) ] ) ,
345
- description : " The period separating the original declaration name and the accessor name. " ,
345
+ documentation : " The period separating the original declaration name and the accessor name. " ,
346
346
isOptional: true
347
347
) ,
348
348
Child (
349
349
name: " AccessorKind " ,
350
350
kind: . token( choices: [ . keyword( text: " get " ) , . keyword( text: " set " ) ] ) ,
351
- description : " The accessor name. " ,
351
+ documentation : " The accessor name. " ,
352
352
isOptional: true
353
353
) ,
354
354
Child (
@@ -406,12 +406,12 @@ public let ATTRIBUTE_NODES: [Node] = [
406
406
Child (
407
407
name: " WrtLabel " ,
408
408
kind: . token( choices: [ . keyword( text: " wrt " ) ] ) ,
409
- description : " The \" wrt \" label. "
409
+ documentation : " The \" wrt \" label. "
410
410
) ,
411
411
Child (
412
412
name: " Colon " ,
413
413
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
414
- description : " The colon separating \" wrt \" and the parameter list. "
414
+ documentation : " The colon separating \" wrt \" and the parameter list. "
415
415
) ,
416
416
Child (
417
417
name: " Parameters " ,
@@ -444,7 +444,7 @@ public let ATTRIBUTE_NODES: [Node] = [
444
444
Child (
445
445
name: " DiffParams " ,
446
446
kind: . collection( kind: . differentiabilityParamList, collectionElementName: " DifferentiabilityParam " ) ,
447
- description : " The parameters for differentiation. "
447
+ documentation : " The parameters for differentiation. "
448
448
) ,
449
449
Child (
450
450
name: " RightParen " ,
@@ -471,7 +471,7 @@ public let ATTRIBUTE_NODES: [Node] = [
471
471
Child (
472
472
name: " DiffKindComma " ,
473
473
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
474
- description : " The comma following the differentiability kind, if it exists. " ,
474
+ documentation : " The comma following the differentiability kind, if it exists. " ,
475
475
isOptional: true
476
476
) ,
477
477
Child (
@@ -482,7 +482,7 @@ public let ATTRIBUTE_NODES: [Node] = [
482
482
Child (
483
483
name: " DiffParamsComma " ,
484
484
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
485
- description : " The comma following the differentiability parameters clause, if it exists. " ,
485
+ documentation : " The comma following the differentiability parameters clause, if it exists. " ,
486
486
isOptional: true
487
487
) ,
488
488
Child (
@@ -526,7 +526,7 @@ public let ATTRIBUTE_NODES: [Node] = [
526
526
Child (
527
527
name: " TrailingComma " ,
528
528
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
529
- description : " A trailing comma if this argument is followed by another one " ,
529
+ documentation : " A trailing comma if this argument is followed by another one " ,
530
530
isOptional: true
531
531
) ,
532
532
]
@@ -605,24 +605,24 @@ public let ATTRIBUTE_NODES: [Node] = [
605
605
name: " Type " ,
606
606
kind: . node( kind: . type) ,
607
607
nameForDiagnostics: " type " ,
608
- description : " The type for which the method with this attribute implements a requirement. "
608
+ documentation : " The type for which the method with this attribute implements a requirement. "
609
609
) ,
610
610
Child (
611
611
name: " Comma " ,
612
612
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
613
- description : " The comma separating the type and method name "
613
+ documentation : " The comma separating the type and method name "
614
614
) ,
615
615
Child (
616
616
name: " DeclBaseName " ,
617
617
kind: . node( kind: . token) ,
618
618
nameForDiagnostics: " declaration base name " ,
619
- description : " The base name of the protocol's requirement. "
619
+ documentation : " The base name of the protocol's requirement. "
620
620
) ,
621
621
Child (
622
622
name: " DeclNameArguments " ,
623
623
kind: . node( kind: . declNameArguments) ,
624
624
nameForDiagnostics: " declaration name arguments " ,
625
- description : " The argument labels of the protocol's requirement if it is a function requirement. " ,
625
+ documentation : " The argument labels of the protocol's requirement if it is a function requirement. " ,
626
626
isOptional: true
627
627
) ,
628
628
]
@@ -643,23 +643,23 @@ public let ATTRIBUTE_NODES: [Node] = [
643
643
name: " Label " ,
644
644
kind: . node( kind: . token) ,
645
645
nameForDiagnostics: " label " ,
646
- description : " The label of the argument "
646
+ documentation : " The label of the argument "
647
647
) ,
648
648
Child (
649
649
name: " Colon " ,
650
650
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
651
- description : " The colon separating the label and the value "
651
+ documentation : " The colon separating the label and the value "
652
652
) ,
653
653
Child (
654
654
name: " Value " ,
655
655
kind: . node( kind: . token) ,
656
656
nameForDiagnostics: " value " ,
657
- description : " The value for this argument "
657
+ documentation : " The value for this argument "
658
658
) ,
659
659
Child (
660
660
name: " TrailingComma " ,
661
661
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
662
- description : " A trailing comma if this argument is followed by another one " ,
662
+ documentation : " A trailing comma if this argument is followed by another one " ,
663
663
isOptional: true
664
664
) ,
665
665
]
@@ -704,7 +704,7 @@ public let ATTRIBUTE_NODES: [Node] = [
704
704
Child (
705
705
name: " MangledName " ,
706
706
kind: . node( kind: . stringLiteralExpr) ,
707
- description : " The mangled name of a declaration. "
707
+ documentation : " The mangled name of a declaration. "
708
708
) ,
709
709
Child (
710
710
name: " Comma " ,
@@ -713,7 +713,7 @@ public let ATTRIBUTE_NODES: [Node] = [
713
713
Child (
714
714
name: " Ordinal " ,
715
715
kind: . token( choices: [ . token( tokenKind: " IntegerLiteralToken " ) ] ) ,
716
- description : " The ordinal corresponding to the 'some' keyword that introduced this opaque type. "
716
+ documentation : " The ordinal corresponding to the 'some' keyword that introduced this opaque type. "
717
717
) ,
718
718
]
719
719
) ,
@@ -766,7 +766,7 @@ public let ATTRIBUTE_NODES: [Node] = [
766
766
name: " BaseType " ,
767
767
kind: . node( kind: . type) ,
768
768
nameForDiagnostics: " base type " ,
769
- description : " The base type of the qualified name, optionally specified. " ,
769
+ documentation : " The base type of the qualified name, optionally specified. " ,
770
770
isOptional: true
771
771
) ,
772
772
Child (
@@ -778,13 +778,13 @@ public let ATTRIBUTE_NODES: [Node] = [
778
778
name: " Name " ,
779
779
kind: . token( choices: [ . token( tokenKind: " IdentifierToken " ) , . keyword( text: " self " ) , . keyword( text: " Self " ) , . keyword( text: " init " ) , . token( tokenKind: " BinaryOperatorToken " ) ] ) ,
780
780
nameForDiagnostics: " base name " ,
781
- description : " The base name of the referenced function. "
781
+ documentation : " The base name of the referenced function. "
782
782
) ,
783
783
Child (
784
784
name: " Arguments " ,
785
785
kind: . node( kind: . declNameArguments) ,
786
786
nameForDiagnostics: " arguments " ,
787
- description : " The argument labels of the referenced function, optionally specified. " ,
787
+ documentation : " The argument labels of the referenced function, optionally specified. " ,
788
788
isOptional: true
789
789
) ,
790
790
]
@@ -818,23 +818,23 @@ public let ATTRIBUTE_NODES: [Node] = [
818
818
name: " Label " ,
819
819
kind: . token( choices: [ . keyword( text: " target " ) ] ) ,
820
820
nameForDiagnostics: " label " ,
821
- description : " The label of the argument "
821
+ documentation : " The label of the argument "
822
822
) ,
823
823
Child (
824
824
name: " Colon " ,
825
825
kind: . token( choices: [ . token( tokenKind: " ColonToken " ) ] ) ,
826
- description : " The colon separating the label and the value "
826
+ documentation : " The colon separating the label and the value "
827
827
) ,
828
828
Child (
829
829
name: " Declname " ,
830
830
kind: . node( kind: . declName) ,
831
831
nameForDiagnostics: " declaration name " ,
832
- description : " The value for this argument "
832
+ documentation : " The value for this argument "
833
833
) ,
834
834
Child (
835
835
name: " TrailingComma " ,
836
836
kind: . token( choices: [ . token( tokenKind: " CommaToken " ) ] ) ,
837
- description : " A trailing comma if this argument is followed by another one " ,
837
+ documentation : " A trailing comma if this argument is followed by another one " ,
838
838
isOptional: true
839
839
) ,
840
840
]
0 commit comments