File tree Expand file tree Collapse file tree 1 file changed +29
-24
lines changed Expand file tree Collapse file tree 1 file changed +29
-24
lines changed Original file line number Diff line number Diff line change @@ -253,69 +253,76 @@ enum TokenPrecedence: Comparable {
253
253
. unchecked:
254
254
self = . declKeyword
255
255
256
- case // Treat all other keywords as expression keywords in the absence of any better information.
257
- . __owned,
258
- . __shared,
259
- . _alignment,
256
+ case // `DeclarationAttributeWithSpecialSyntax`
257
+ . _alignment,
260
258
. _backDeploy,
261
259
. _cdecl,
262
- . _Class,
263
- . _compilerInitialized,
264
- . _const,
265
260
. _documentation,
266
261
. _dynamicReplacement,
267
262
. _effects,
268
263
. _expose,
269
- . _forward,
270
264
. _implements,
271
- . _linear,
272
- . _move,
273
- . _NativeClass,
274
- . _NativeRefCountedObject,
275
265
. _nonSendable,
276
266
. _objcImplementation,
277
267
. _objcRuntimeName,
278
268
. _optimize,
279
269
. _originallyDefinedIn,
280
- . _PackageDescription,
281
270
. _private,
282
271
. _projectedValueProperty,
283
- . _RefCountedObject,
284
272
. _semantics,
285
273
. _specialize,
286
274
. _spi,
287
275
. _spi_available,
288
276
. _swift_native_objc_runtime_base,
289
- . _Trivial,
290
- . _TrivialAtMost,
291
277
. _typeEraser,
292
278
. _unavailableFromAsync,
279
+ . `rethrows`,
280
+ . attached,
281
+ . available,
282
+ . backDeployed,
283
+ . derivative,
284
+ . differentiable,
285
+ . exclusivity,
286
+ . inline,
287
+ . objc,
288
+ . transpose:
289
+ self = . declKeyword
290
+
291
+ case // Treat all other keywords as expression keywords in the absence of any better information.
292
+ . __owned,
293
+ . __shared,
294
+ . _Class,
295
+ . _compilerInitialized,
296
+ . _const,
297
+ . _forward,
298
+ . _linear,
299
+ . _move,
300
+ . _NativeClass,
301
+ . _NativeRefCountedObject,
302
+ . _PackageDescription,
303
+ . _RefCountedObject,
304
+ . _Trivial,
305
+ . _TrivialAtMost,
293
306
. _underlyingVersion,
294
307
. _UnknownLayout,
295
308
. _version,
296
309
. accesses,
297
310
. any,
298
311
. assignment,
299
312
. associativity,
300
- . attached,
301
313
. availability,
302
- . available,
303
- . backDeployed,
304
314
. before,
305
315
. block,
306
316
. canImport,
307
317
. compiler,
308
318
. cType,
309
319
. deprecated,
310
- . derivative,
311
- . exclusivity,
312
320
. exported,
313
321
. file,
314
322
. discard,
315
323
. forward,
316
324
. higherThan,
317
325
. initializes,
318
- . inline,
319
326
. introduced,
320
327
. kind,
321
328
. left,
@@ -327,7 +334,6 @@ enum TokenPrecedence: Comparable {
327
334
. module,
328
335
. noasync,
329
336
. none,
330
- . objc,
331
337
. obsoleted,
332
338
. of,
333
339
. Protocol,
@@ -340,7 +346,6 @@ enum TokenPrecedence: Comparable {
340
346
. spiModule,
341
347
. swift,
342
348
. target,
343
- . transpose,
344
349
. Type,
345
350
. unavailable,
346
351
. unowned,
You can’t perform that action at this time.
0 commit comments