Skip to content

Commit 296ac23

Browse files
Revert "Add in documentation for AttributeNodes"
This reverts commit 80e91bd.
1 parent 918bb96 commit 296ac23

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

CodeGeneration/Sources/SyntaxSupport/AttributeNodes.swift

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ public let ATTRIBUTE_NODES: [Node] = [
199199
Child(
200200
name: "platformVersion",
201201
deprecatedName: "availabilityVersionRestriction",
202-
documentation: "The platform/version pair, e.g. `iOS 10.1`",
203202
kind: .node(kind: .platformVersion)
204203
),
205204
Child(
@@ -285,19 +284,15 @@ public let ATTRIBUTE_NODES: [Node] = [
285284
children: [
286285
Child(
287286
name: "witnessMethodLabel",
288-
kind: .token(choices: [.keyword(.witness_method)]),
289-
documentation: "The \"witnessMethod\" label."
287+
kind: .token(choices: [.keyword(.witness_method)])
290288
),
291289
Child(
292290
name: "colon",
293-
kind: .token(choices: [.token(.colon)]),
294-
documentation: "The colon separating the \"witnessMethod\" label and the original protocol name."
295-
291+
kind: .token(choices: [.token(.colon)])
296292
),
297293
Child(
298294
name: "protocolName",
299-
kind: .token(choices: [.token(.identifier)]),
300-
documentation: "The original protocol name."
295+
kind: .token(choices: [.token(.identifier)])
301296
),
302297
]
303298
),
@@ -450,7 +445,6 @@ public let ATTRIBUTE_NODES: [Node] = [
450445
name: "kindSpecifier",
451446
deprecatedName: "diffKind",
452447
kind: .token(choices: [.keyword(._forward), .keyword(.reverse), .keyword(._linear)]),
453-
documentation: "The differentiability kind, if it exists.",
454448
isOptional: true
455449
),
456450
Child(
@@ -464,7 +458,6 @@ public let ATTRIBUTE_NODES: [Node] = [
464458
name: "arguments",
465459
deprecatedName: "diffParams",
466460
kind: .node(kind: .differentiabilityWithRespectToArgument),
467-
documentation: "The differentiability arguments, if any exist.",
468461
isOptional: true
469462
),
470463
Child(
@@ -672,13 +665,11 @@ public let ATTRIBUTE_NODES: [Node] = [
672665
name: "name",
673666
kind: .node(kind: .token),
674667
nameForDiagnostics: "name",
675-
documentation: "The identifier name for a nullary selection, if it exists.",
676668
isOptional: true
677669
),
678670
Child(
679671
name: "colon",
680672
kind: .token(choices: [.token(.colon)]),
681-
documentation: "The colon separating the label and the value or a colon representing an unlabeled argument",
682673
isOptional: true
683674
),
684675
]

0 commit comments

Comments
 (0)