@@ -38,61 +38,30 @@ public let KEYWORDS: [KeywordSpec] = [
38
38
// Please keep these sorted alphabetically
39
39
40
40
KeywordSpec ( " __consuming " ) ,
41
- KeywordSpec ( " __objc_bridged " ) ,
42
41
KeywordSpec ( " __owned " ) ,
43
- KeywordSpec ( " __raw_doc_comment " ) ,
44
42
KeywordSpec ( " __setter_access " ) ,
45
43
KeywordSpec ( " __shared " ) ,
46
- KeywordSpec ( " __synthesized_protocol " ) ,
47
44
KeywordSpec ( " _alignment " ) ,
48
- KeywordSpec ( " _alwaysEmitConformanceMetadata " ) ,
49
- KeywordSpec ( " _alwaysEmitIntoClient " ) ,
50
- KeywordSpec ( " _assemblyVision " ) ,
51
45
KeywordSpec ( " _backDeploy " ) ,
52
46
KeywordSpec ( " _borrow " ) ,
53
- KeywordSpec ( " _borrowed " ) ,
54
47
KeywordSpec ( " _cdecl " ) ,
55
- KeywordSpec ( " _clangImporterSynthesizedType " ) ,
56
48
KeywordSpec ( " _Class " ) ,
57
49
KeywordSpec ( " _compilerInitialized " ) ,
58
50
KeywordSpec ( " _const " ) ,
59
- KeywordSpec ( " _custom " ) ,
60
- KeywordSpec ( " _disfavoredOverload " ) ,
61
51
KeywordSpec ( " _documentation " ) ,
62
52
KeywordSpec ( " _dynamicReplacement " ) ,
63
- KeywordSpec ( " _eagerMove " ) ,
64
53
KeywordSpec ( " _effects " ) ,
65
- KeywordSpec ( " _exported " ) ,
66
54
KeywordSpec ( " _expose " ) ,
67
- KeywordSpec ( " _fixed_layout " ) ,
68
- KeywordSpec ( " _forbidSerializingReference " ) ,
69
55
KeywordSpec ( " _forward " ) ,
70
- KeywordSpec ( " _frozen " ) ,
71
- KeywordSpec ( " _hasInitialValue " ) ,
72
- KeywordSpec ( " _hasMissingDesignatedInitializers " ) ,
73
- KeywordSpec ( " _hasStorage " ) ,
74
- KeywordSpec ( " _implementationOnly " ) ,
75
56
KeywordSpec ( " _implements " ) ,
76
- KeywordSpec ( " _implicitSelfCapture " ) ,
77
- KeywordSpec ( " _inheritActorContext " ) ,
78
- KeywordSpec ( " _inheritsConvenienceInitializers " ) ,
79
57
KeywordSpec ( " _linear " ) ,
80
58
KeywordSpec ( " _local " ) ,
81
- KeywordSpec ( " _marker " ) ,
82
59
KeywordSpec ( " _modify " ) ,
83
60
KeywordSpec ( " _move " ) ,
84
- KeywordSpec ( " _moveOnly " ) ,
85
61
KeywordSpec ( " _NativeClass " ) ,
86
62
KeywordSpec ( " _NativeRefCountedObject " ) ,
87
- KeywordSpec ( " _noAllocation " ) ,
88
- KeywordSpec ( " _noEagerMove " ) ,
89
- KeywordSpec ( " _noImplicitCopy " ) ,
90
- KeywordSpec ( " _noLocks " ) ,
91
63
KeywordSpec ( " _noMetadata " ) ,
92
- KeywordSpec ( " _nonEphemeral " ) ,
93
- KeywordSpec ( " _nonoverride " ) ,
94
64
KeywordSpec ( " _nonSendable " ) ,
95
- KeywordSpec ( " _objc_non_lazy_realization " ) ,
96
65
KeywordSpec ( " _objcImplementation " ) ,
97
66
KeywordSpec ( " _objcRuntimeName " ) ,
98
67
KeywordSpec ( " _opaqueReturnTypeOf " ) ,
@@ -103,25 +72,17 @@ public let KEYWORDS: [KeywordSpec] = [
103
72
KeywordSpec ( " _projectedValueProperty " ) ,
104
73
KeywordSpec ( " _read " ) ,
105
74
KeywordSpec ( " _RefCountedObject " ) ,
106
- KeywordSpec ( " _restatedObjCConformance " ) ,
107
75
KeywordSpec ( " _semantics " ) ,
108
- KeywordSpec ( " _show_in_interface " ) ,
109
76
KeywordSpec ( " _silgen_name " ) ,
110
77
KeywordSpec ( " _specialize " ) ,
111
- KeywordSpec ( " _specializeExtension " ) ,
112
78
KeywordSpec ( " _spi " ) ,
113
79
KeywordSpec ( " _spi_available " ) ,
114
- KeywordSpec ( " _spiOnly " ) ,
115
- KeywordSpec ( " _staticInitializeObjCMetadata " ) ,
116
80
KeywordSpec ( " _swift_native_objc_runtime_base " ) ,
117
- KeywordSpec ( " _transparent " ) ,
118
81
KeywordSpec ( " _Trivial " ) ,
119
82
KeywordSpec ( " _TrivialAtMost " ) ,
120
83
KeywordSpec ( " _typeEraser " ) ,
121
84
KeywordSpec ( " _unavailableFromAsync " ) ,
122
85
KeywordSpec ( " _UnknownLayout " ) ,
123
- KeywordSpec ( " _unsafeInheritExecutor " ) ,
124
- KeywordSpec ( " _weakLinked " ) ,
125
86
KeywordSpec ( " actor " ) ,
126
87
KeywordSpec ( " addressWithNativeOwner " ) ,
127
88
KeywordSpec ( " addressWithOwner " ) ,
@@ -136,6 +97,7 @@ public let KEYWORDS: [KeywordSpec] = [
136
97
KeywordSpec ( " availability " ) ,
137
98
KeywordSpec ( " available " ) ,
138
99
KeywordSpec ( " await " ) ,
100
+ KeywordSpec ( " before " ) ,
139
101
KeywordSpec ( " break " , isLexerClassified: true , requiresTrailingSpace: true ) ,
140
102
KeywordSpec ( " case " , isLexerClassified: true , requiresTrailingSpace: true ) ,
141
103
KeywordSpec ( " catch " , isLexerClassified: true , requiresLeadingSpace: true ) ,
@@ -150,12 +112,9 @@ public let KEYWORDS: [KeywordSpec] = [
150
112
KeywordSpec ( " derivative " ) ,
151
113
KeywordSpec ( " didSet " ) ,
152
114
KeywordSpec ( " differentiable " ) ,
153
- KeywordSpec ( " discardableResult " ) ,
154
115
KeywordSpec ( " distributed " ) ,
155
116
KeywordSpec ( " do " , isLexerClassified: true ) ,
156
117
KeywordSpec ( " dynamic " ) ,
157
- KeywordSpec ( " dynamicCallable " ) ,
158
- KeywordSpec ( " dynamicMemberLookup " ) ,
159
118
KeywordSpec ( " each " ) ,
160
119
KeywordSpec ( " else " , isLexerClassified: true , requiresTrailingSpace: true ) ,
161
120
KeywordSpec ( " enum " , isLexerClassified: true , requiresTrailingSpace: true ) ,
@@ -168,25 +127,16 @@ public let KEYWORDS: [KeywordSpec] = [
168
127
KeywordSpec ( " fileprivate " , isLexerClassified: true , requiresTrailingSpace: true ) ,
169
128
KeywordSpec ( " final " ) ,
170
129
KeywordSpec ( " for " , isLexerClassified: true , requiresTrailingSpace: true ) ,
171
- KeywordSpec ( " frozen " ) ,
172
130
KeywordSpec ( " func " , isLexerClassified: true , requiresTrailingSpace: true ) ,
173
131
KeywordSpec ( " get " ) ,
174
- KeywordSpec ( " GKInspectable " ) ,
175
- KeywordSpec ( " globalActor " ) ,
176
132
KeywordSpec ( " guard " , isLexerClassified: true , requiresTrailingSpace: true ) ,
177
133
KeywordSpec ( " higherThan " ) ,
178
- KeywordSpec ( " IBAction " ) ,
179
- KeywordSpec ( " IBDesignable " ) ,
180
- KeywordSpec ( " IBInspectable " ) ,
181
- KeywordSpec ( " IBOutlet " ) ,
182
- KeywordSpec ( " IBSegueAction " ) ,
183
134
KeywordSpec ( " if " , isLexerClassified: true , requiresTrailingSpace: true ) ,
184
135
KeywordSpec ( " import " , isLexerClassified: true , requiresTrailingSpace: true ) ,
185
136
KeywordSpec ( " in " , isLexerClassified: true , requiresLeadingSpace: true , requiresTrailingSpace: true ) ,
186
137
KeywordSpec ( " indirect " ) ,
187
138
KeywordSpec ( " infix " ) ,
188
139
KeywordSpec ( " init " , isLexerClassified: true , requiresTrailingSpace: true ) ,
189
- KeywordSpec ( " inlinable " ) ,
190
140
KeywordSpec ( " inline " ) ,
191
141
KeywordSpec ( " inout " , isLexerClassified: true , requiresTrailingSpace: true ) ,
192
142
KeywordSpec ( " internal " , isLexerClassified: true , requiresTrailingSpace: true ) ,
@@ -196,11 +146,11 @@ public let KEYWORDS: [KeywordSpec] = [
196
146
KeywordSpec ( " kind " ) ,
197
147
KeywordSpec ( " lazy " ) ,
198
148
KeywordSpec ( " let " , isLexerClassified: true , requiresTrailingSpace: true ) ,
199
- KeywordSpec ( " LLDBDebuggerFunction " ) ,
200
149
KeywordSpec ( " lowerThan " ) ,
201
150
KeywordSpec ( " macro " ) ,
202
- KeywordSpec ( " main " ) ,
203
151
KeywordSpec ( " message " ) ,
152
+ KeywordSpec ( " metadata " ) ,
153
+ KeywordSpec ( " module " ) ,
204
154
KeywordSpec ( " mutableAddressWithNativeOwner " ) ,
205
155
KeywordSpec ( " mutableAddressWithOwner " ) ,
206
156
KeywordSpec ( " mutating " ) ,
@@ -210,12 +160,7 @@ public let KEYWORDS: [KeywordSpec] = [
210
160
KeywordSpec ( " noescape " ) ,
211
161
KeywordSpec ( " nonisolated " ) ,
212
162
KeywordSpec ( " nonmutating " ) ,
213
- KeywordSpec ( " nonobjc " ) ,
214
- KeywordSpec ( " NSApplicationMain " ) ,
215
- KeywordSpec ( " NSCopying " ) ,
216
- KeywordSpec ( " NSManaged " ) ,
217
163
KeywordSpec ( " objc " ) ,
218
- KeywordSpec ( " objcMembers " ) ,
219
164
KeywordSpec ( " obsoleted " ) ,
220
165
KeywordSpec ( " of " ) ,
221
166
KeywordSpec ( " open " ) ,
@@ -225,29 +170,25 @@ public let KEYWORDS: [KeywordSpec] = [
225
170
KeywordSpec ( " package " ) ,
226
171
KeywordSpec ( " postfix " ) ,
227
172
KeywordSpec ( " precedencegroup " , isLexerClassified: true , requiresTrailingSpace: true ) ,
228
- KeywordSpec ( " preconcurrency " ) ,
229
173
KeywordSpec ( " prefix " ) ,
230
174
KeywordSpec ( " private " , isLexerClassified: true , requiresTrailingSpace: true ) ,
231
- KeywordSpec ( " propertyWrapper " ) ,
232
175
KeywordSpec ( " Protocol " ) ,
233
176
KeywordSpec ( " protocol " , isLexerClassified: true , requiresTrailingSpace: true ) ,
234
177
KeywordSpec ( " public " , isLexerClassified: true , requiresTrailingSpace: true ) ,
235
178
KeywordSpec ( " reasync " ) ,
236
179
KeywordSpec ( " renamed " ) ,
237
180
KeywordSpec ( " repeat " , isLexerClassified: true , requiresTrailingSpace: true ) ,
238
181
KeywordSpec ( " required " ) ,
239
- KeywordSpec ( " requires_stored_property_inits " ) ,
240
- KeywordSpec ( " resultBuilder " ) ,
241
182
KeywordSpec ( " rethrows " , isLexerClassified: true , requiresTrailingSpace: true ) ,
242
183
KeywordSpec ( " return " , isLexerClassified: true , requiresTrailingSpace: true ) ,
243
184
KeywordSpec ( " reverse " ) ,
244
- KeywordSpec ( " runtimeMetadata " ) ,
245
185
KeywordSpec ( " safe " ) ,
246
186
KeywordSpec ( " self " , isLexerClassified: true ) ,
247
187
KeywordSpec ( " Self " , isLexerClassified: true ) ,
248
188
KeywordSpec ( " Sendable " ) ,
249
189
KeywordSpec ( " set " ) ,
250
190
KeywordSpec ( " some " ) ,
191
+ KeywordSpec ( " sourceFile " ) ,
251
192
KeywordSpec ( " spi " ) ,
252
193
KeywordSpec ( " spiModule " ) ,
253
194
KeywordSpec ( " static " , isLexerClassified: true , requiresTrailingSpace: true ) ,
@@ -257,27 +198,21 @@ public let KEYWORDS: [KeywordSpec] = [
257
198
KeywordSpec ( " swift " ) ,
258
199
KeywordSpec ( " switch " , isLexerClassified: true , requiresTrailingSpace: true ) ,
259
200
KeywordSpec ( " target " ) ,
260
- KeywordSpec ( " testable " ) ,
261
201
KeywordSpec ( " throw " , isLexerClassified: true , requiresTrailingSpace: true ) ,
262
202
KeywordSpec ( " throws " , isLexerClassified: true , requiresTrailingSpace: true ) ,
263
203
KeywordSpec ( " transpose " ) ,
264
204
KeywordSpec ( " true " , isLexerClassified: true ) ,
265
205
KeywordSpec ( " try " , isLexerClassified: true , requiresTrailingSpace: true ) ,
266
206
KeywordSpec ( " Type " ) ,
267
207
KeywordSpec ( " typealias " , isLexerClassified: true , requiresTrailingSpace: true ) ,
268
- KeywordSpec ( " typeWrapper " ) ,
269
- KeywordSpec ( " typeWrapperIgnored " ) ,
270
- KeywordSpec ( " UIApplicationMain " ) ,
271
208
KeywordSpec ( " unavailable " ) ,
272
209
KeywordSpec ( " unchecked " ) ,
273
210
KeywordSpec ( " unowned " ) ,
274
211
KeywordSpec ( " unsafe " ) ,
275
- KeywordSpec ( " unsafe_no_objc_tagged_pointer " ) ,
276
212
KeywordSpec ( " unsafeAddress " ) ,
277
213
KeywordSpec ( " unsafeMutableAddress " ) ,
278
- KeywordSpec ( " usableFromInline " ) ,
279
214
KeywordSpec ( " var " , isLexerClassified: true , requiresTrailingSpace: true ) ,
280
- KeywordSpec ( " warn_unqualified_access " ) ,
215
+ KeywordSpec ( " visibility " ) ,
281
216
KeywordSpec ( " weak " ) ,
282
217
KeywordSpec ( " where " , isLexerClassified: true , requiresLeadingSpace: true , requiresTrailingSpace: true ) ,
283
218
KeywordSpec ( " while " , isLexerClassified: true , requiresTrailingSpace: true ) ,
0 commit comments