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
documentation:"A trailing comma if the argument is followed by another argument",
53
53
isOptional:true
@@ -64,7 +64,7 @@ public let AVAILABILITY_NODES: [Node] = [
64
64
documentation:"An argument to an `@available` attribute that consists of a label and a value, e.g. `message: \"This has been deprecated\"`.",
65
65
children:[
66
66
Child(
67
-
name:"Label",
67
+
name:"label",
68
68
kind:.token(choices:[
69
69
.keyword(text:"message"),
70
70
.keyword(text:"renamed"),
@@ -76,19 +76,19 @@ public let AVAILABILITY_NODES: [Node] = [
76
76
documentation:"The label of the argument"
77
77
),
78
78
Child(
79
-
name:"Colon",
79
+
name:"colon",
80
80
kind:.token(choices:[.token(.colon)]),
81
81
documentation:"The colon separating label and value"
82
82
),
83
83
Child(
84
-
name:"Value",
84
+
name:"value",
85
85
kind:.nodeChoices(choices:[
86
86
Child(
87
-
name:"String",
87
+
name:"string",
88
88
kind:.node(kind:.simpleStringLiteralExpr)
89
89
),
90
90
Child(
91
-
name:"Version",
91
+
name:"version",
92
92
kind:.node(kind:.versionTuple)
93
93
),
94
94
]),
@@ -115,14 +115,14 @@ public let AVAILABILITY_NODES: [Node] = [
115
115
documentation:"An argument to `@available` that restricts the availability on a certain platform to a version, e.g. `iOS 10` or `swift 3.4`.",
116
116
children:[
117
117
Child(
118
-
name:"Platform",
118
+
name:"platform",
119
119
kind:.token(choices:[.token(.identifier)]),
120
120
nameForDiagnostics:"platform",
121
121
documentation:
122
122
"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."
123
123
),
124
124
Child(
125
-
name:"Version",
125
+
name:"version",
126
126
kind:.node(kind:.versionTuple),
127
127
nameForDiagnostics:"version",
128
128
documentation:"""
@@ -145,12 +145,12 @@ public let AVAILABILITY_NODES: [Node] = [
145
145
documentation:"An element to represent a single component in a version, like `.1`.",
146
146
children:[
147
147
Child(
148
-
name:"Period",
148
+
name:"period",
149
149
kind:.token(choices:[.token(.period)]),
150
150
documentation:"The period of this version component"
151
151
),
152
152
Child(
153
-
name:"Number",
153
+
name:"number",
154
154
kind:.token(choices:[.token(.integerLiteral)]),
155
155
documentation:"The version number of this component"
156
156
),
@@ -173,12 +173,12 @@ public let AVAILABILITY_NODES: [Node] = [
173
173
documentation:"A version number like `1.2.0`. Only the first version component is required. There might be an arbitrary number of following components.",
0 commit comments