@@ -199,6 +199,7 @@ public let ATTRIBUTE_NODES: [Node] = [
199
199
Child (
200
200
name: " platformVersion " ,
201
201
deprecatedName: " availabilityVersionRestriction " ,
202
+ documentation: " The platform/version pair, e.g. `iOS 10.1` " ,
202
203
kind: . node( kind: . platformVersion)
203
204
) ,
204
205
Child (
@@ -284,15 +285,19 @@ public let ATTRIBUTE_NODES: [Node] = [
284
285
children: [
285
286
Child (
286
287
name: " witnessMethodLabel " ,
287
- kind: . token( choices: [ . keyword( . witness_method) ] )
288
+ kind: . token( choices: [ . keyword( . witness_method) ] ) ,
289
+ documentation: " The \" witnessMethod \" label. "
288
290
) ,
289
291
Child (
290
292
name: " colon " ,
291
- kind: . token( choices: [ . token( . colon) ] )
293
+ kind: . token( choices: [ . token( . colon) ] ) ,
294
+ documentation: " The colon separating the \" witnessMethod \" label and the original protocol name. "
295
+
292
296
) ,
293
297
Child (
294
298
name: " protocolName " ,
295
- kind: . token( choices: [ . token( . identifier) ] )
299
+ kind: . token( choices: [ . token( . identifier) ] ) ,
300
+ documentation: " The original protocol name. "
296
301
) ,
297
302
]
298
303
) ,
@@ -445,6 +450,7 @@ public let ATTRIBUTE_NODES: [Node] = [
445
450
name: " kindSpecifier " ,
446
451
deprecatedName: " diffKind " ,
447
452
kind: . token( choices: [ . keyword( . _forward) , . keyword( . reverse) , . keyword( . _linear) ] ) ,
453
+ documentation: " The differentiability kind, if it exists. " ,
448
454
isOptional: true
449
455
) ,
450
456
Child (
@@ -458,6 +464,7 @@ public let ATTRIBUTE_NODES: [Node] = [
458
464
name: " arguments " ,
459
465
deprecatedName: " diffParams " ,
460
466
kind: . node( kind: . differentiabilityWithRespectToArgument) ,
467
+ documentation: " The differentiability arguments, if any exist. " ,
461
468
isOptional: true
462
469
) ,
463
470
Child (
@@ -665,11 +672,13 @@ public let ATTRIBUTE_NODES: [Node] = [
665
672
name: " name " ,
666
673
kind: . node( kind: . token) ,
667
674
nameForDiagnostics: " name " ,
675
+ documentation: " The identifier name for a nullary selection, if it exists. " ,
668
676
isOptional: true
669
677
) ,
670
678
Child (
671
679
name: " colon " ,
672
680
kind: . token( choices: [ . token( . colon) ] ) ,
681
+ documentation: " The colon separating the label and the value or a colon representing an unlabeled argument " ,
673
682
isOptional: true
674
683
) ,
675
684
]
0 commit comments