Skip to main content

big_code_analysis_ast/languages/
language_objc.rs

1// See `src/languages/mod.rs` for the rationale behind the per-file
2// pedantic carve-outs below.
3#![allow(clippy::match_same_arms, clippy::too_many_lines)]
4// One variant per grammar kind id, named after the rule; the name is
5// the documentation and there is nothing per-variant to add.
6#![allow(missing_docs)]
7
8// Code generated; DO NOT EDIT.
9
10use num_derive::FromPrimitive;
11
12#[derive(Clone, Debug, PartialEq, Eq, FromPrimitive)]
13pub enum Objc {
14    End = 0,
15    Identifier = 1,
16    HASHinclude = 2,
17    HASHimport = 3,
18    PreprocIncludeToken3 = 4,
19    HASHdefine = 5,
20    LPAREN = 6,
21    DOTDOTDOT = 7,
22    COMMA = 8,
23    RPAREN = 9,
24    HASHif = 10,
25    LF = 11,
26    HASHendif = 12,
27    HASHifdef = 13,
28    HASHifndef = 14,
29    HASHelse = 15,
30    HASHelif = 16,
31    HASHelifdef = 17,
32    HASHelifndef = 18,
33    PreprocArg = 19,
34    PreprocDirective = 20,
35    LPAREN2 = 21,
36    Defined = 22,
37    BANG = 23,
38    TILDE = 24,
39    DASH = 25,
40    PLUS = 26,
41    STAR = 27,
42    SLASH = 28,
43    PERCENT = 29,
44    PIPEPIPE = 30,
45    AMPAMP = 31,
46    PIPE = 32,
47    CARET = 33,
48    AMP = 34,
49    EQEQ = 35,
50    BANGEQ = 36,
51    GT = 37,
52    GTEQ = 38,
53    LTEQ = 39,
54    LT = 40,
55    LTLT = 41,
56    GTGT = 42,
57    SEMI = 43,
58    Extension = 44,
59    Typedef = 45,
60    Extern = 46,
61    Attribute2 = 47,
62    Attribute3 = 48,
63    Noreturn = 49,
64    Nothrow = 50,
65    COLONCOLON = 51,
66    LBRACK = 52,
67    RBRACK = 53,
68    Declspec = 54,
69    Based = 55,
70    Cdecl = 56,
71    Clrcall = 57,
72    Stdcall = 58,
73    Fastcall = 59,
74    Thiscall = 60,
75    Vectorcall = 61,
76    MsRestrictModifier = 62,
77    MsUnsignedPtrModifier = 63,
78    MsSignedPtrModifier = 64,
79    Unaligned = 65,
80    Unaligned2 = 66,
81    LBRACE = 67,
82    RBRACE = 68,
83    Signed = 69,
84    Unsigned = 70,
85    Long = 71,
86    Short = 72,
87    Static = 73,
88    EQ = 74,
89    ATautoreleasepool = 75,
90    Auto = 76,
91    Register = 77,
92    Inline = 78,
93    Inline2 = 79,
94    Inline3 = 80,
95    Forceinline = 81,
96    ThreadLocal = 82,
97    Thread = 83,
98    CGEXTERN = 84,
99    CGINLINE = 85,
100    FOUNDATIONEXPORT = 86,
101    FOUNDATIONEXTERN = 87,
102    FOUNDATIONSTATICINLINE = 88,
103    IBOutlet = 89,
104    IBInspectable = 90,
105    IBDESIGNABLE = 91,
106    NSINLINE = 92,
107    NSVALIDUNTILENDOFSCOPE = 93,
108    OBJCEXPORT = 94,
109    OBJCROOTCLASS = 95,
110    UIKITEXTERN = 96,
111    Const = 97,
112    Constexpr = 98,
113    Volatile = 99,
114    Restrict = 100,
115    Restrict2 = 101,
116    Atomic = 102,
117    Noreturn2 = 103,
118    Nonnull = 104,
119    Nullable = 105,
120    Complex = 106,
121    Nullable2 = 107,
122    NullableResult = 108,
123    NullUnspecified = 109,
124    Autoreleasing = 110,
125    Block = 111,
126    Bridge = 112,
127    BridgeRetained = 113,
128    BridgeTransfer = 114,
129    Complex2 = 115,
130    Const2 = 116,
131    Imag = 117,
132    Kindof = 118,
133    Nonnull2 = 119,
134    Nullable3 = 120,
135    PtrauthObjcClassRo = 121,
136    PtrauthObjcIsaPointer = 122,
137    PtrauthObjcSuperPointer = 123,
138    Real = 124,
139    Strong = 125,
140    UnsafeUnretained = 126,
141    Unused = 127,
142    Weak = 128,
143    Alignas = 129,
144    Alignas2 = 130,
145    PrimitiveType = 131,
146    Enum = 132,
147    COLON = 133,
148    Struct = 134,
149    Union = 135,
150    If = 136,
151    Else = 137,
152    Switch = 138,
153    Case = 139,
154    Default = 140,
155    While = 141,
156    Do = 142,
157    For = 143,
158    In = 144,
159    Return = 145,
160    Break = 146,
161    Continue = 147,
162    Goto = 148,
163    QMARK = 149,
164    STAREQ = 150,
165    SLASHEQ = 151,
166    PERCENTEQ = 152,
167    PLUSEQ = 153,
168    DASHEQ = 154,
169    LTLTEQ = 155,
170    GTGTEQ = 156,
171    AMPEQ = 157,
172    CARETEQ = 158,
173    PIPEEQ = 159,
174    DASHDASH = 160,
175    PLUSPLUS = 161,
176    Sizeof = 162,
177    Alignof = 163,
178    Alignof2 = 164,
179    Alignof3 = 165,
180    Alignof4 = 166,
181    Alignof5 = 167,
182    Offsetof = 168,
183    Generic = 169,
184    Asm = 170,
185    Asm2 = 171,
186    Asm3 = 172,
187    Volatile2 = 173,
188    LT2 = 174,
189    DOT = 175,
190    DASHGT = 176,
191    NumberLiteral = 177,
192    LSQUOTE = 178,
193    USQUOTE = 179,
194    USQUOTE2 = 180,
195    U8SQUOTE = 181,
196    SQUOTE = 182,
197    Character = 183,
198    AT = 184,
199    DQUOTE = 185,
200    LDQUOTE = 186,
201    UDQUOTE = 187,
202    UDQUOTE2 = 188,
203    U8DQUOTE = 189,
204    StringContent = 190,
205    EscapeSequence = 191,
206    SystemLibString = 192,
207    True = 193,
208    False = 194,
209    NULL = 195,
210    Nullptr = 196,
211    Comment = 197,
212    ObjcBridgeRelated = 198,
213    Typeof = 199,
214    Typeof2 = 200,
215    Typeof3 = 201,
216    Availability2 = 202,
217    VersionNumber = 203,
218    Ios = 204,
219    Tvos = 205,
220    Macos = 206,
221    Macosx = 207,
222    Watchos = 208,
223    ATimport = 209,
224    HASHundef = 210,
225    HASH = 211,
226    NSAUTOMATEDREFCOUNTUNAVAILABLE = 212,
227    NSROOTCLASS = 213,
228    NSUNAVAILABLE = 214,
229    NSREQUIRESNILTERMINATION = 215,
230    CFRETURNSRETAINED = 216,
231    CFRETURNSNOTRETAINED = 217,
232    DEPRECATEDATTRIBUTE = 218,
233    UIAPPEARANCESELECTOR = 219,
234    UNAVAILABLEATTRIBUTE = 220,
235    CFFORMATFUNCTION = 221,
236    NSAVAILABLE = 222,
237    IOSAVAILABLE = 223,
238    NSAVAILABLEIOS = 224,
239    APIAVAILABLE = 225,
240    APIUNAVAILABLE = 226,
241    APIDEPRECATED = 227,
242    NSENUMAVAILABLEIOS = 228,
243    NSDEPRECATEDIOS = 229,
244    NSENUMDEPRECATEDIOS = 230,
245    NSFORMATFUNCTION = 231,
246    DEPRECATEDMSGATTRIBUTE = 232,
247    DeprecatedMsg = 233,
248    DeprecatedEnumMsg = 234,
249    NSSWIFTNAME = 235,
250    NSSWIFTUNAVAILABLE = 236,
251    NSEXTENSIONUNAVAILABLEIOS = 237,
252    NSCLASSAVAILABLEIOS = 238,
253    NSCLASSDEPRECATEDIOS = 239,
254    OSXAVAILABLESTARTING = 240,
255    ATprotocol = 241,
256    Class = 242,
257    ATend = 243,
258    ATinterface = 244,
259    ATimplementation = 245,
260    Covariant = 246,
261    Contravariant = 247,
262    ATprivate = 248,
263    ATprotected = 249,
264    ATpackage = 250,
265    ATpublic = 251,
266    ATcompatibilityAlias = 252,
267    AToptional = 253,
268    ATrequired = 254,
269    ATsynthesize = 255,
270    ATdynamic = 256,
271    LPARENclassRPAREN = 257,
272    ATproperty = 258,
273    ATtry = 259,
274    Try = 260,
275    ATcatch = 261,
276    Catch = 262,
277    ATfinally = 263,
278    Finally = 264,
279    ATthrow = 265,
280    ATselector = 266,
281    SelectorExpressionToken1 = 267,
282    ATavailable = 268,
283    BuiltinAvailable = 269,
284    VaArg = 270,
285    MsAsmBlockToken1 = 271,
286    ATencode = 272,
287    ATsynchronized = 273,
288    BOOL = 274,
289    IMP = 275,
290    SEL = 276,
291    Class2 = 277,
292    Id = 278,
293    ATdefs = 279,
294    Out = 280,
295    Inout = 281,
296    Bycopy = 282,
297    Byref = 283,
298    Oneway = 284,
299    COLON2 = 285,
300    TranslationUnit = 286,
301    TopLevelItem = 287,
302    BlockItem = 288,
303    PreprocInclude = 289,
304    PreprocDef = 290,
305    PreprocFunctionDef = 291,
306    PreprocParams = 292,
307    PreprocCall = 293,
308    PreprocIf = 294,
309    PreprocIfdef = 295,
310    PreprocElse = 296,
311    PreprocElif = 297,
312    PreprocElifdef = 298,
313    PreprocIf2 = 299,
314    PreprocIfdef2 = 300,
315    PreprocElse2 = 301,
316    PreprocElif2 = 302,
317    PreprocElifdef2 = 303,
318    PreprocExpression = 304,
319    ParenthesizedExpression = 305,
320    PreprocDefined = 306,
321    UnaryExpression = 307,
322    CallExpression = 308,
323    ArgumentList = 309,
324    BinaryExpression = 310,
325    FunctionDefinition = 311,
326    FunctionDefinition2 = 312,
327    Declaration = 313,
328    TypeDefinition = 314,
329    TypeDefinitionType = 315,
330    TypeDefinitionDeclarators = 316,
331    DeclarationModifiers = 317,
332    DeclarationSpecifiers = 318,
333    LinkageSpecification = 319,
334    AttributeSpecifier = 320,
335    Attribute = 321,
336    AttributeDeclaration = 322,
337    MsDeclspecModifier = 323,
338    MsBasedModifier = 324,
339    MsCallModifier = 325,
340    MsUnalignedPtrModifier = 326,
341    MsPointerModifier = 327,
342    DeclarationList = 328,
343    Declarator = 329,
344    FieldDeclarator = 330,
345    TypeDeclarator = 331,
346    AbstractDeclarator = 332,
347    ParenthesizedDeclarator = 333,
348    ParenthesizedDeclarator2 = 334,
349    ParenthesizedDeclarator3 = 335,
350    AbstractParenthesizedDeclarator = 336,
351    AttributedDeclarator = 337,
352    PointerDeclarator = 338,
353    PointerDeclarator2 = 339,
354    PointerDeclarator3 = 340,
355    AbstractPointerDeclarator = 341,
356    FunctionDeclarator = 342,
357    FunctionDeclarator2 = 343,
358    FunctionDeclarator3 = 344,
359    AbstractFunctionDeclarator = 345,
360    FunctionDeclarator4 = 346,
361    ArrayDeclarator = 347,
362    ArrayDeclarator2 = 348,
363    ArrayDeclarator3 = 349,
364    AbstractArrayDeclarator = 350,
365    InitDeclarator = 351,
366    CompoundStatement = 352,
367    StorageClassSpecifier = 353,
368    TypeQualifier = 354,
369    AlignasQualifier = 355,
370    TypeSpecifier = 356,
371    SizedTypeSpecifier = 357,
372    EnumSpecifier = 358,
373    EnumeratorList = 359,
374    StructSpecifier = 360,
375    UnionSpecifier = 361,
376    FieldDeclarationList = 362,
377    FieldDeclarationListItem = 363,
378    FieldDeclaration = 364,
379    BitfieldClause = 365,
380    Enumerator = 366,
381    VariadicParameter = 367,
382    ParameterList = 368,
383    ParameterList2 = 369,
384    ParameterDeclaration = 370,
385    AttributedStatement = 371,
386    Statement = 372,
387    TopLevelStatement = 373,
388    LabeledStatement = 374,
389    ExpressionStatement = 375,
390    ExpressionStatement2 = 376,
391    IfStatement = 377,
392    ElseClause = 378,
393    SwitchStatement = 379,
394    CaseStatement = 380,
395    WhileStatement = 381,
396    DoStatement = 382,
397    ForStatement = 383,
398    ForStatementBody = 384,
399    ReturnStatement = 385,
400    BreakStatement = 386,
401    ContinueStatement = 387,
402    GotoStatement = 388,
403    Expression = 389,
404    String = 390,
405    CommaExpression = 391,
406    ConditionalExpression = 392,
407    AssignmentExpression = 393,
408    PointerExpression = 394,
409    UnaryExpression2 = 395,
410    BinaryExpression2 = 396,
411    UpdateExpression = 397,
412    CastExpression = 398,
413    TypeDescriptor = 399,
414    SizeofExpression = 400,
415    AlignofExpression = 401,
416    OffsetofExpression = 402,
417    GenericExpression = 403,
418    SubscriptExpression = 404,
419    CallExpression2 = 405,
420    GnuAsmExpression = 406,
421    GnuAsmQualifier = 407,
422    GnuAsmOutputOperandList = 408,
423    GnuAsmOutputOperand = 409,
424    GnuAsmInputOperandList = 410,
425    GnuAsmInputOperand = 411,
426    GnuAsmClobberList = 412,
427    GnuAsmGotoList = 413,
428    ExtensionExpression = 414,
429    ArgumentList2 = 415,
430    FieldExpression = 416,
431    CompoundLiteralExpression = 417,
432    ParenthesizedExpression2 = 418,
433    InitializerList = 419,
434    InitializerPair = 420,
435    SubscriptDesignator = 421,
436    SubscriptRangeDesignator = 422,
437    FieldDesignator = 423,
438    CharLiteral = 424,
439    ConcatenatedString = 425,
440    StringLiteral = 426,
441    Null = 427,
442    EmptyDeclaration = 428,
443    MacroTypeSpecifier = 429,
444    ObjcBridge = 430,
445    TypeofSpecifier = 431,
446    Availability = 432,
447    Version = 433,
448    Platform = 434,
449    ModuleImport = 435,
450    PreprocIf3 = 436,
451    PreprocElse3 = 437,
452    PreprocElif3 = 438,
453    PreprocIf4 = 439,
454    PreprocElse4 = 440,
455    PreprocElif4 = 441,
456    PreprocIfdef3 = 442,
457    PreprocElse5 = 443,
458    PreprocElif5 = 444,
459    PreprocUndef = 445,
460    PreprocLinemarker = 446,
461    AvailabilityAttributeSpecifier = 447,
462    ProtocolForwardDeclaration = 448,
463    ClassDeclaration = 449,
464    ClassInterface = 450,
465    ClassInterfaceHeader = 451,
466    TypeParams = 452,
467    ClassInterfaceInheritance = 453,
468    ClassImplementation = 454,
469    ClassImplementationHeader = 455,
470    ClassImplementationInheritance = 456,
471    ProtocolReferenceList = 457,
472    ParameterizedArguments = 458,
473    GenericArguments = 459,
474    InstanceVariables = 460,
475    InstanceVariable = 461,
476    VisibilitySpecification = 462,
477    ProtocolDeclaration = 463,
478    CompatibilityAliasDeclaration = 464,
479    QualifiedProtocolInterfaceDeclaration = 465,
480    ImplementationDefinition = 466,
481    PropertyImplementation = 467,
482    MethodDefinition = 468,
483    MethodType = 469,
484    KeywordDeclarator = 470,
485    PropertyDeclaration = 471,
486    PropertyAttributesDeclaration = 472,
487    PropertyAttribute = 473,
488    MethodDeclaration = 474,
489    MethodParameter = 475,
490    MethodParameter2 = 476,
491    StructDeclaration = 477,
492    AtomicDeclaration = 478,
493    SpecifierQualifier = 479,
494    StructDeclarator = 480,
495    TryStatement = 481,
496    CatchClause = 482,
497    FinallyClause = 483,
498    ThrowStatement = 484,
499    SelectorExpression = 485,
500    AvailableExpression = 486,
501    RangeExpression = 487,
502    BlockLiteral = 488,
503    MessageExpression = 489,
504    VaArgExpression = 490,
505    MsAsmBlock = 491,
506    EncodeExpression = 492,
507    SynchronizedStatement = 493,
508    BlockPointerDeclarator = 494,
509    BlockPointerDeclarator2 = 495,
510    BlockPointerDeclarator3 = 496,
511    AbstractBlockPointerDeclarator = 497,
512    GenericSpecifier = 498,
513    TypedefedSpecifier = 499,
514    ArrayTypeSpecifier = 500,
515    AtdefField = 501,
516    ProtocolQualifier = 502,
517    TypeName = 503,
518    AtExpression = 504,
519    DictionaryLiteral = 505,
520    DictionaryPair = 506,
521    ArrayLiteral = 507,
522    MethodIdentifier = 508,
523    TranslationUnitRepeat1 = 509,
524    PreprocParamsRepeat1 = 510,
525    PreprocIfRepeat1 = 511,
526    PreprocIfInFieldDeclarationListRepeat1 = 512,
527    PreprocArgumentListRepeat1 = 513,
528    OldStyleFunctionDefinitionRepeat1 = 514,
529    DeclarationRepeat1 = 515,
530    TypeDefinitionTypeRepeat1 = 516,
531    TypeDefinitionDeclaratorsRepeat1 = 517,
532    DeclarationSpecifiersRepeat1 = 518,
533    AttributeSpecifierRepeat1 = 519,
534    AttributeRepeat1 = 520,
535    AttributeDeclarationRepeat1 = 521,
536    DeclarationListRepeat1 = 522,
537    AttributedFieldDeclaratorRepeat1 = 523,
538    PointerDeclaratorRepeat1 = 524,
539    FunctionDeclaratorRepeat1 = 525,
540    FunctionFieldDeclaratorRepeat1 = 526,
541    ArrayDeclaratorRepeat1 = 527,
542    SizedTypeSpecifierRepeat1 = 528,
543    EnumeratorListRepeat1 = 529,
544    FieldDeclarationRepeat1 = 530,
545    ParameterListRepeat1 = 531,
546    OldStyleParameterListRepeat1 = 532,
547    CaseStatementRepeat1 = 533,
548    GenericExpressionRepeat1 = 534,
549    GnuAsmExpressionRepeat1 = 535,
550    GnuAsmOutputOperandListRepeat1 = 536,
551    GnuAsmInputOperandListRepeat1 = 537,
552    GnuAsmClobberListRepeat1 = 538,
553    GnuAsmGotoListRepeat1 = 539,
554    ArgumentListRepeat1 = 540,
555    ArgumentListRepeat2 = 541,
556    InitializerListRepeat1 = 542,
557    InitializerPairRepeat1 = 543,
558    CharLiteralRepeat1 = 544,
559    ConcatenatedStringRepeat1 = 545,
560    StringLiteralRepeat1 = 546,
561    AvailabilityRepeat1 = 547,
562    VersionRepeat1 = 548,
563    ModuleImportRepeat1 = 549,
564    PreprocIfInImplementationDefinitionRepeat1 = 550,
565    PreprocIfInInterfaceDeclarationRepeat1 = 551,
566    PreprocIfdefInEnumeratorRepeat1 = 552,
567    AvailabilityAttributeSpecifierRepeat1 = 553,
568    ProtocolForwardDeclarationRepeat1 = 554,
569    ClassDeclarationRepeat1 = 555,
570    ClassInterfaceRepeat1 = 556,
571    ClassImplementationRepeat1 = 557,
572    ParameterizedArgumentsRepeat1 = 558,
573    ParameterizedArgumentsRepeat2 = 559,
574    GenericArgumentsRepeat1 = 560,
575    InstanceVariablesRepeat1 = 561,
576    ProtocolDeclarationRepeat1 = 562,
577    PropertyImplementationRepeat1 = 563,
578    MethodDefinitionRepeat1 = 564,
579    MethodDefinitionRepeat2 = 565,
580    MethodTypeRepeat1 = 566,
581    KeywordSelectorRepeat1 = 567,
582    PropertyAttributesDeclarationRepeat1 = 568,
583    MethodDeclarationRepeat1 = 569,
584    MethodDeclarationRepeat2 = 570,
585    CMethodParameterRepeat1 = 571,
586    StructDeclarationRepeat1 = 572,
587    StructDeclarationRepeat2 = 573,
588    TryStatementRepeat1 = 574,
589    SelectorExpressionRepeat1 = 575,
590    SelectorExpressionRepeat2 = 576,
591    AvailableExpressionRepeat1 = 577,
592    MessageExpressionRepeat1 = 578,
593    MessageExpressionRepeat2 = 579,
594    GenericSpecifierRepeat1 = 580,
595    TypeNameRepeat1 = 581,
596    DictionaryLiteralRepeat1 = 582,
597    MethodIdentifierRepeat1 = 583,
598    MethodIdentifierRepeat2 = 584,
599    FieldIdentifier = 585,
600    StatementIdentifier = 586,
601    TypeIdentifier = 587,
602    Error = 588,
603}
604
605/// Each runtime kind id of `Objc` with tree-sitter's `named` and
606/// `visible` flags, in id order. A label for the id the enum identifies,
607/// read by the role-coverage gate; the generator's ERROR sentinel has no
608/// entry.
609pub const OBJC_KIND_FLAGS: &[(u16, bool, bool)] = &[
610    (0, false, false),
611    (1, true, true),
612    (2, false, true),
613    (3, false, true),
614    (4, false, false),
615    (5, false, true),
616    (6, false, true),
617    (7, false, true),
618    (8, false, true),
619    (9, false, true),
620    (10, false, true),
621    (11, false, true),
622    (12, false, true),
623    (13, false, true),
624    (14, false, true),
625    (15, false, true),
626    (16, false, true),
627    (17, false, true),
628    (18, false, true),
629    (19, true, true),
630    (20, true, true),
631    (21, false, true),
632    (22, false, true),
633    (23, false, true),
634    (24, false, true),
635    (25, false, true),
636    (26, false, true),
637    (27, false, true),
638    (28, false, true),
639    (29, false, true),
640    (30, false, true),
641    (31, false, true),
642    (32, false, true),
643    (33, false, true),
644    (34, false, true),
645    (35, false, true),
646    (36, false, true),
647    (37, false, true),
648    (38, false, true),
649    (39, false, true),
650    (40, false, true),
651    (41, false, true),
652    (42, false, true),
653    (43, false, true),
654    (44, false, true),
655    (45, false, true),
656    (46, false, true),
657    (47, false, true),
658    (48, false, true),
659    (49, false, true),
660    (50, false, true),
661    (51, false, true),
662    (52, false, true),
663    (53, false, true),
664    (54, false, true),
665    (55, false, true),
666    (56, false, true),
667    (57, false, true),
668    (58, false, true),
669    (59, false, true),
670    (60, false, true),
671    (61, false, true),
672    (62, true, true),
673    (63, true, true),
674    (64, true, true),
675    (65, false, true),
676    (66, false, true),
677    (67, false, true),
678    (68, false, true),
679    (69, false, true),
680    (70, false, true),
681    (71, false, true),
682    (72, false, true),
683    (73, false, true),
684    (74, false, true),
685    (75, false, true),
686    (76, false, true),
687    (77, false, true),
688    (78, false, true),
689    (79, false, true),
690    (80, false, true),
691    (81, false, true),
692    (82, false, true),
693    (83, false, true),
694    (84, false, true),
695    (85, false, true),
696    (86, false, true),
697    (87, false, true),
698    (88, false, true),
699    (89, false, true),
700    (90, false, true),
701    (91, false, true),
702    (92, false, true),
703    (93, false, true),
704    (94, false, true),
705    (95, false, true),
706    (96, false, true),
707    (97, false, true),
708    (98, false, true),
709    (99, false, true),
710    (100, false, true),
711    (101, false, true),
712    (102, false, true),
713    (103, false, true),
714    (104, false, true),
715    (105, false, true),
716    (106, false, true),
717    (107, false, true),
718    (108, false, true),
719    (109, false, true),
720    (110, false, true),
721    (111, false, true),
722    (112, false, true),
723    (113, false, true),
724    (114, false, true),
725    (115, false, true),
726    (116, false, true),
727    (117, false, true),
728    (118, false, true),
729    (119, false, true),
730    (120, false, true),
731    (121, false, true),
732    (122, false, true),
733    (123, false, true),
734    (124, false, true),
735    (125, false, true),
736    (126, false, true),
737    (127, false, true),
738    (128, false, true),
739    (129, false, true),
740    (130, false, true),
741    (131, true, true),
742    (132, false, true),
743    (133, false, true),
744    (134, false, true),
745    (135, false, true),
746    (136, false, true),
747    (137, false, true),
748    (138, false, true),
749    (139, false, true),
750    (140, false, true),
751    (141, false, true),
752    (142, false, true),
753    (143, false, true),
754    (144, false, true),
755    (145, false, true),
756    (146, false, true),
757    (147, false, true),
758    (148, false, true),
759    (149, false, true),
760    (150, false, true),
761    (151, false, true),
762    (152, false, true),
763    (153, false, true),
764    (154, false, true),
765    (155, false, true),
766    (156, false, true),
767    (157, false, true),
768    (158, false, true),
769    (159, false, true),
770    (160, false, true),
771    (161, false, true),
772    (162, false, true),
773    (163, false, true),
774    (164, false, true),
775    (165, false, true),
776    (166, false, true),
777    (167, false, true),
778    (168, false, true),
779    (169, false, true),
780    (170, false, true),
781    (171, false, true),
782    (172, false, true),
783    (173, false, true),
784    (174, false, true),
785    (175, false, true),
786    (176, false, true),
787    (177, true, true),
788    (178, false, true),
789    (179, false, true),
790    (180, false, true),
791    (181, false, true),
792    (182, false, true),
793    (183, true, true),
794    (184, false, true),
795    (185, false, true),
796    (186, false, true),
797    (187, false, true),
798    (188, false, true),
799    (189, false, true),
800    (190, true, true),
801    (191, true, true),
802    (192, true, true),
803    (193, true, true),
804    (194, true, true),
805    (195, false, true),
806    (196, false, true),
807    (197, true, true),
808    (198, false, true),
809    (199, false, true),
810    (200, false, true),
811    (201, false, true),
812    (202, false, true),
813    (203, true, true),
814    (204, false, true),
815    (205, false, true),
816    (206, false, true),
817    (207, false, true),
818    (208, false, true),
819    (209, false, true),
820    (210, false, true),
821    (211, false, true),
822    (212, false, true),
823    (213, false, true),
824    (214, false, true),
825    (215, false, true),
826    (216, false, true),
827    (217, false, true),
828    (218, false, true),
829    (219, false, true),
830    (220, false, true),
831    (221, false, true),
832    (222, false, true),
833    (223, false, true),
834    (224, false, true),
835    (225, false, true),
836    (226, false, true),
837    (227, false, true),
838    (228, false, true),
839    (229, false, true),
840    (230, false, true),
841    (231, false, true),
842    (232, false, true),
843    (233, false, true),
844    (234, false, true),
845    (235, false, true),
846    (236, false, true),
847    (237, false, true),
848    (238, false, true),
849    (239, false, true),
850    (240, false, true),
851    (241, false, true),
852    (242, false, true),
853    (243, false, true),
854    (244, false, true),
855    (245, false, true),
856    (246, false, true),
857    (247, false, true),
858    (248, false, true),
859    (249, false, true),
860    (250, false, true),
861    (251, false, true),
862    (252, false, true),
863    (253, false, true),
864    (254, false, true),
865    (255, false, true),
866    (256, false, true),
867    (257, false, true),
868    (258, false, true),
869    (259, false, true),
870    (260, false, true),
871    (261, false, true),
872    (262, false, true),
873    (263, false, true),
874    (264, false, true),
875    (265, false, true),
876    (266, false, true),
877    (267, false, false),
878    (268, false, true),
879    (269, false, true),
880    (270, false, true),
881    (271, false, false),
882    (272, false, true),
883    (273, false, true),
884    (274, false, true),
885    (275, false, true),
886    (276, false, true),
887    (277, false, true),
888    (278, false, true),
889    (279, false, true),
890    (280, false, true),
891    (281, false, true),
892    (282, false, true),
893    (283, false, true),
894    (284, false, true),
895    (285, false, true),
896    (286, true, true),
897    (287, false, false),
898    (288, false, false),
899    (289, true, true),
900    (290, true, true),
901    (291, true, true),
902    (292, true, true),
903    (293, true, true),
904    (294, true, true),
905    (295, true, true),
906    (296, true, true),
907    (297, true, true),
908    (298, true, true),
909    (299, true, true),
910    (300, true, true),
911    (301, true, true),
912    (302, true, true),
913    (303, true, true),
914    (304, false, false),
915    (305, true, true),
916    (306, true, true),
917    (307, true, true),
918    (308, true, true),
919    (309, true, true),
920    (310, true, true),
921    (311, true, true),
922    (312, true, true),
923    (313, true, true),
924    (314, true, true),
925    (315, false, false),
926    (316, false, false),
927    (317, false, false),
928    (318, false, false),
929    (319, true, true),
930    (320, true, true),
931    (321, true, true),
932    (322, true, true),
933    (323, true, true),
934    (324, true, true),
935    (325, true, true),
936    (326, true, true),
937    (327, true, true),
938    (328, true, true),
939    (329, false, false),
940    (330, false, false),
941    (331, false, false),
942    (332, false, false),
943    (333, true, true),
944    (334, true, true),
945    (335, true, true),
946    (336, true, true),
947    (337, true, true),
948    (338, true, true),
949    (339, true, true),
950    (340, true, true),
951    (341, true, true),
952    (342, true, true),
953    (343, true, true),
954    (344, true, true),
955    (345, true, true),
956    (346, true, true),
957    (347, true, true),
958    (348, true, true),
959    (349, true, true),
960    (350, true, true),
961    (351, true, true),
962    (352, true, true),
963    (353, true, true),
964    (354, true, true),
965    (355, true, true),
966    (356, false, false),
967    (357, true, true),
968    (358, true, true),
969    (359, true, true),
970    (360, true, true),
971    (361, true, true),
972    (362, true, true),
973    (363, false, false),
974    (364, true, true),
975    (365, true, true),
976    (366, true, true),
977    (367, true, true),
978    (368, true, true),
979    (369, true, true),
980    (370, true, true),
981    (371, true, true),
982    (372, false, false),
983    (373, false, false),
984    (374, true, true),
985    (375, true, true),
986    (376, true, true),
987    (377, true, true),
988    (378, true, true),
989    (379, true, true),
990    (380, true, true),
991    (381, true, true),
992    (382, true, true),
993    (383, true, true),
994    (384, false, false),
995    (385, true, true),
996    (386, true, true),
997    (387, true, true),
998    (388, true, true),
999    (389, false, false),
1000    (390, false, false),
1001    (391, true, true),
1002    (392, true, true),
1003    (393, true, true),
1004    (394, true, true),
1005    (395, true, true),
1006    (396, true, true),
1007    (397, true, true),
1008    (398, true, true),
1009    (399, true, true),
1010    (400, true, true),
1011    (401, true, true),
1012    (402, true, true),
1013    (403, true, true),
1014    (404, true, true),
1015    (405, true, true),
1016    (406, true, true),
1017    (407, true, true),
1018    (408, true, true),
1019    (409, true, true),
1020    (410, true, true),
1021    (411, true, true),
1022    (412, true, true),
1023    (413, true, true),
1024    (414, true, true),
1025    (415, true, true),
1026    (416, true, true),
1027    (417, true, true),
1028    (418, true, true),
1029    (419, true, true),
1030    (420, true, true),
1031    (421, true, true),
1032    (422, true, true),
1033    (423, true, true),
1034    (424, true, true),
1035    (425, true, true),
1036    (426, true, true),
1037    (427, true, true),
1038    (428, false, false),
1039    (429, true, true),
1040    (430, true, true),
1041    (431, true, true),
1042    (432, true, true),
1043    (433, true, true),
1044    (434, true, true),
1045    (435, true, true),
1046    (436, true, true),
1047    (437, true, true),
1048    (438, true, true),
1049    (439, true, true),
1050    (440, true, true),
1051    (441, true, true),
1052    (442, true, true),
1053    (443, true, true),
1054    (444, true, true),
1055    (445, true, true),
1056    (446, true, true),
1057    (447, true, true),
1058    (448, true, true),
1059    (449, true, true),
1060    (450, true, true),
1061    (451, false, false),
1062    (452, false, false),
1063    (453, false, false),
1064    (454, true, true),
1065    (455, false, false),
1066    (456, false, false),
1067    (457, true, true),
1068    (458, true, true),
1069    (459, true, true),
1070    (460, true, true),
1071    (461, true, true),
1072    (462, true, true),
1073    (463, true, true),
1074    (464, true, true),
1075    (465, true, true),
1076    (466, true, true),
1077    (467, true, true),
1078    (468, true, true),
1079    (469, true, true),
1080    (470, true, true),
1081    (471, true, true),
1082    (472, true, true),
1083    (473, true, true),
1084    (474, true, true),
1085    (475, true, true),
1086    (476, true, true),
1087    (477, true, true),
1088    (478, true, true),
1089    (479, false, false),
1090    (480, true, true),
1091    (481, true, true),
1092    (482, true, true),
1093    (483, true, true),
1094    (484, true, true),
1095    (485, true, true),
1096    (486, true, true),
1097    (487, true, true),
1098    (488, true, true),
1099    (489, true, true),
1100    (490, true, true),
1101    (491, true, true),
1102    (492, true, true),
1103    (493, true, true),
1104    (494, true, true),
1105    (495, true, true),
1106    (496, true, true),
1107    (497, true, true),
1108    (498, true, true),
1109    (499, true, true),
1110    (500, true, true),
1111    (501, true, true),
1112    (502, true, true),
1113    (503, true, true),
1114    (504, true, true),
1115    (505, true, true),
1116    (506, true, true),
1117    (507, true, true),
1118    (508, true, true),
1119    (509, false, false),
1120    (510, false, false),
1121    (511, false, false),
1122    (512, false, false),
1123    (513, false, false),
1124    (514, false, false),
1125    (515, false, false),
1126    (516, false, false),
1127    (517, false, false),
1128    (518, false, false),
1129    (519, false, false),
1130    (520, false, false),
1131    (521, false, false),
1132    (522, false, false),
1133    (523, false, false),
1134    (524, false, false),
1135    (525, false, false),
1136    (526, false, false),
1137    (527, false, false),
1138    (528, false, false),
1139    (529, false, false),
1140    (530, false, false),
1141    (531, false, false),
1142    (532, false, false),
1143    (533, false, false),
1144    (534, false, false),
1145    (535, false, false),
1146    (536, false, false),
1147    (537, false, false),
1148    (538, false, false),
1149    (539, false, false),
1150    (540, false, false),
1151    (541, false, false),
1152    (542, false, false),
1153    (543, false, false),
1154    (544, false, false),
1155    (545, false, false),
1156    (546, false, false),
1157    (547, false, false),
1158    (548, false, false),
1159    (549, false, false),
1160    (550, false, false),
1161    (551, false, false),
1162    (552, false, false),
1163    (553, false, false),
1164    (554, false, false),
1165    (555, false, false),
1166    (556, false, false),
1167    (557, false, false),
1168    (558, false, false),
1169    (559, false, false),
1170    (560, false, false),
1171    (561, false, false),
1172    (562, false, false),
1173    (563, false, false),
1174    (564, false, false),
1175    (565, false, false),
1176    (566, false, false),
1177    (567, false, false),
1178    (568, false, false),
1179    (569, false, false),
1180    (570, false, false),
1181    (571, false, false),
1182    (572, false, false),
1183    (573, false, false),
1184    (574, false, false),
1185    (575, false, false),
1186    (576, false, false),
1187    (577, false, false),
1188    (578, false, false),
1189    (579, false, false),
1190    (580, false, false),
1191    (581, false, false),
1192    (582, false, false),
1193    (583, false, false),
1194    (584, false, false),
1195    (585, true, true),
1196    (586, true, true),
1197    (587, true, true),
1198];
1199
1200impl From<Objc> for &'static str {
1201    #[inline]
1202    fn from(tok: Objc) -> Self {
1203        match tok {
1204            Objc::End => "end",
1205            Objc::Identifier => "identifier",
1206            Objc::HASHinclude => "#include",
1207            Objc::HASHimport => "#import",
1208            Objc::PreprocIncludeToken3 => "preproc_include_token3",
1209            Objc::HASHdefine => "#define",
1210            Objc::LPAREN => "(",
1211            Objc::DOTDOTDOT => "...",
1212            Objc::COMMA => ",",
1213            Objc::RPAREN => ")",
1214            Objc::HASHif => "#if",
1215            Objc::LF => "\n",
1216            Objc::HASHendif => "#endif",
1217            Objc::HASHifdef => "#ifdef",
1218            Objc::HASHifndef => "#ifndef",
1219            Objc::HASHelse => "#else",
1220            Objc::HASHelif => "#elif",
1221            Objc::HASHelifdef => "#elifdef",
1222            Objc::HASHelifndef => "#elifndef",
1223            Objc::PreprocArg => "preproc_arg",
1224            Objc::PreprocDirective => "preproc_directive",
1225            Objc::LPAREN2 => "(",
1226            Objc::Defined => "defined",
1227            Objc::BANG => "!",
1228            Objc::TILDE => "~",
1229            Objc::DASH => "-",
1230            Objc::PLUS => "+",
1231            Objc::STAR => "*",
1232            Objc::SLASH => "/",
1233            Objc::PERCENT => "%",
1234            Objc::PIPEPIPE => "||",
1235            Objc::AMPAMP => "&&",
1236            Objc::PIPE => "|",
1237            Objc::CARET => "^",
1238            Objc::AMP => "&",
1239            Objc::EQEQ => "==",
1240            Objc::BANGEQ => "!=",
1241            Objc::GT => ">",
1242            Objc::GTEQ => ">=",
1243            Objc::LTEQ => "<=",
1244            Objc::LT => "<",
1245            Objc::LTLT => "<<",
1246            Objc::GTGT => ">>",
1247            Objc::SEMI => ";",
1248            Objc::Extension => "__extension__",
1249            Objc::Typedef => "typedef",
1250            Objc::Extern => "extern",
1251            Objc::Attribute2 => "__attribute__",
1252            Objc::Attribute3 => "__attribute",
1253            Objc::Noreturn => "noreturn",
1254            Objc::Nothrow => "nothrow",
1255            Objc::COLONCOLON => "::",
1256            Objc::LBRACK => "[",
1257            Objc::RBRACK => "]",
1258            Objc::Declspec => "__declspec",
1259            Objc::Based => "__based",
1260            Objc::Cdecl => "__cdecl",
1261            Objc::Clrcall => "__clrcall",
1262            Objc::Stdcall => "__stdcall",
1263            Objc::Fastcall => "__fastcall",
1264            Objc::Thiscall => "__thiscall",
1265            Objc::Vectorcall => "__vectorcall",
1266            Objc::MsRestrictModifier => "ms_restrict_modifier",
1267            Objc::MsUnsignedPtrModifier => "ms_unsigned_ptr_modifier",
1268            Objc::MsSignedPtrModifier => "ms_signed_ptr_modifier",
1269            Objc::Unaligned => "_unaligned",
1270            Objc::Unaligned2 => "__unaligned",
1271            Objc::LBRACE => "{",
1272            Objc::RBRACE => "}",
1273            Objc::Signed => "signed",
1274            Objc::Unsigned => "unsigned",
1275            Objc::Long => "long",
1276            Objc::Short => "short",
1277            Objc::Static => "static",
1278            Objc::EQ => "=",
1279            Objc::ATautoreleasepool => "@autoreleasepool",
1280            Objc::Auto => "auto",
1281            Objc::Register => "register",
1282            Objc::Inline => "inline",
1283            Objc::Inline2 => "__inline",
1284            Objc::Inline3 => "__inline__",
1285            Objc::Forceinline => "__forceinline",
1286            Objc::ThreadLocal => "thread_local",
1287            Objc::Thread => "__thread",
1288            Objc::CGEXTERN => "CG_EXTERN",
1289            Objc::CGINLINE => "CG_INLINE",
1290            Objc::FOUNDATIONEXPORT => "FOUNDATION_EXPORT",
1291            Objc::FOUNDATIONEXTERN => "FOUNDATION_EXTERN",
1292            Objc::FOUNDATIONSTATICINLINE => "FOUNDATION_STATIC_INLINE",
1293            Objc::IBOutlet => "IBOutlet",
1294            Objc::IBInspectable => "IBInspectable",
1295            Objc::IBDESIGNABLE => "IB_DESIGNABLE",
1296            Objc::NSINLINE => "NS_INLINE",
1297            Objc::NSVALIDUNTILENDOFSCOPE => "NS_VALID_UNTIL_END_OF_SCOPE",
1298            Objc::OBJCEXPORT => "OBJC_EXPORT",
1299            Objc::OBJCROOTCLASS => "OBJC_ROOT_CLASS",
1300            Objc::UIKITEXTERN => "UIKIT_EXTERN",
1301            Objc::Const => "const",
1302            Objc::Constexpr => "constexpr",
1303            Objc::Volatile => "volatile",
1304            Objc::Restrict => "restrict",
1305            Objc::Restrict2 => "__restrict__",
1306            Objc::Atomic => "_Atomic",
1307            Objc::Noreturn2 => "_Noreturn",
1308            Objc::Nonnull => "_Nonnull",
1309            Objc::Nullable => "nullable",
1310            Objc::Complex => "_Complex",
1311            Objc::Nullable2 => "_Nullable",
1312            Objc::NullableResult => "_Nullable_result",
1313            Objc::NullUnspecified => "_Null_unspecified",
1314            Objc::Autoreleasing => "__autoreleasing",
1315            Objc::Block => "__block",
1316            Objc::Bridge => "__bridge",
1317            Objc::BridgeRetained => "__bridge_retained",
1318            Objc::BridgeTransfer => "__bridge_transfer",
1319            Objc::Complex2 => "__complex",
1320            Objc::Const2 => "__const",
1321            Objc::Imag => "__imag",
1322            Objc::Kindof => "__kindof",
1323            Objc::Nonnull2 => "__nonnull",
1324            Objc::Nullable3 => "__nullable",
1325            Objc::PtrauthObjcClassRo => "__ptrauth_objc_class_ro",
1326            Objc::PtrauthObjcIsaPointer => "__ptrauth_objc_isa_pointer",
1327            Objc::PtrauthObjcSuperPointer => "__ptrauth_objc_super_pointer",
1328            Objc::Real => "__real",
1329            Objc::Strong => "__strong",
1330            Objc::UnsafeUnretained => "__unsafe_unretained",
1331            Objc::Unused => "__unused",
1332            Objc::Weak => "__weak",
1333            Objc::Alignas => "alignas",
1334            Objc::Alignas2 => "_Alignas",
1335            Objc::PrimitiveType => "primitive_type",
1336            Objc::Enum => "enum",
1337            Objc::COLON => ":",
1338            Objc::Struct => "struct",
1339            Objc::Union => "union",
1340            Objc::If => "if",
1341            Objc::Else => "else",
1342            Objc::Switch => "switch",
1343            Objc::Case => "case",
1344            Objc::Default => "default",
1345            Objc::While => "while",
1346            Objc::Do => "do",
1347            Objc::For => "for",
1348            Objc::In => "in",
1349            Objc::Return => "return",
1350            Objc::Break => "break",
1351            Objc::Continue => "continue",
1352            Objc::Goto => "goto",
1353            Objc::QMARK => "?",
1354            Objc::STAREQ => "*=",
1355            Objc::SLASHEQ => "/=",
1356            Objc::PERCENTEQ => "%=",
1357            Objc::PLUSEQ => "+=",
1358            Objc::DASHEQ => "-=",
1359            Objc::LTLTEQ => "<<=",
1360            Objc::GTGTEQ => ">>=",
1361            Objc::AMPEQ => "&=",
1362            Objc::CARETEQ => "^=",
1363            Objc::PIPEEQ => "|=",
1364            Objc::DASHDASH => "--",
1365            Objc::PLUSPLUS => "++",
1366            Objc::Sizeof => "sizeof",
1367            Objc::Alignof => "__alignof__",
1368            Objc::Alignof2 => "__alignof",
1369            Objc::Alignof3 => "_alignof",
1370            Objc::Alignof4 => "alignof",
1371            Objc::Alignof5 => "_Alignof",
1372            Objc::Offsetof => "offsetof",
1373            Objc::Generic => "_Generic",
1374            Objc::Asm => "asm",
1375            Objc::Asm2 => "__asm__",
1376            Objc::Asm3 => "__asm",
1377            Objc::Volatile2 => "__volatile__",
1378            Objc::LT2 => "<",
1379            Objc::DOT => ".",
1380            Objc::DASHGT => "->",
1381            Objc::NumberLiteral => "number_literal",
1382            Objc::LSQUOTE => "L'",
1383            Objc::USQUOTE => "u'",
1384            Objc::USQUOTE2 => "U'",
1385            Objc::U8SQUOTE => "u8'",
1386            Objc::SQUOTE => "'",
1387            Objc::Character => "character",
1388            Objc::AT => "@",
1389            Objc::DQUOTE => "\"",
1390            Objc::LDQUOTE => "L\"",
1391            Objc::UDQUOTE => "u\"",
1392            Objc::UDQUOTE2 => "U\"",
1393            Objc::U8DQUOTE => "u8\"",
1394            Objc::StringContent => "string_content",
1395            Objc::EscapeSequence => "escape_sequence",
1396            Objc::SystemLibString => "system_lib_string",
1397            Objc::True => "true",
1398            Objc::False => "false",
1399            Objc::NULL => "NULL",
1400            Objc::Nullptr => "nullptr",
1401            Objc::Comment => "comment",
1402            Objc::ObjcBridgeRelated => "objc_bridge_related",
1403            Objc::Typeof => "__typeof__",
1404            Objc::Typeof2 => "__typeof",
1405            Objc::Typeof3 => "typeof",
1406            Objc::Availability2 => "availability",
1407            Objc::VersionNumber => "version_number",
1408            Objc::Ios => "ios",
1409            Objc::Tvos => "tvos",
1410            Objc::Macos => "macos",
1411            Objc::Macosx => "macosx",
1412            Objc::Watchos => "watchos",
1413            Objc::ATimport => "@import",
1414            Objc::HASHundef => "#undef",
1415            Objc::HASH => "#",
1416            Objc::NSAUTOMATEDREFCOUNTUNAVAILABLE => "NS_AUTOMATED_REFCOUNT_UNAVAILABLE",
1417            Objc::NSROOTCLASS => "NS_ROOT_CLASS",
1418            Objc::NSUNAVAILABLE => "NS_UNAVAILABLE",
1419            Objc::NSREQUIRESNILTERMINATION => "NS_REQUIRES_NIL_TERMINATION",
1420            Objc::CFRETURNSRETAINED => "CF_RETURNS_RETAINED",
1421            Objc::CFRETURNSNOTRETAINED => "CF_RETURNS_NOT_RETAINED",
1422            Objc::DEPRECATEDATTRIBUTE => "DEPRECATED_ATTRIBUTE",
1423            Objc::UIAPPEARANCESELECTOR => "UI_APPEARANCE_SELECTOR",
1424            Objc::UNAVAILABLEATTRIBUTE => "UNAVAILABLE_ATTRIBUTE",
1425            Objc::CFFORMATFUNCTION => "CF_FORMAT_FUNCTION",
1426            Objc::NSAVAILABLE => "NS_AVAILABLE",
1427            Objc::IOSAVAILABLE => "__IOS_AVAILABLE",
1428            Objc::NSAVAILABLEIOS => "NS_AVAILABLE_IOS",
1429            Objc::APIAVAILABLE => "API_AVAILABLE",
1430            Objc::APIUNAVAILABLE => "API_UNAVAILABLE",
1431            Objc::APIDEPRECATED => "API_DEPRECATED",
1432            Objc::NSENUMAVAILABLEIOS => "NS_ENUM_AVAILABLE_IOS",
1433            Objc::NSDEPRECATEDIOS => "NS_DEPRECATED_IOS",
1434            Objc::NSENUMDEPRECATEDIOS => "NS_ENUM_DEPRECATED_IOS",
1435            Objc::NSFORMATFUNCTION => "NS_FORMAT_FUNCTION",
1436            Objc::DEPRECATEDMSGATTRIBUTE => "DEPRECATED_MSG_ATTRIBUTE",
1437            Objc::DeprecatedMsg => "__deprecated_msg",
1438            Objc::DeprecatedEnumMsg => "__deprecated_enum_msg",
1439            Objc::NSSWIFTNAME => "NS_SWIFT_NAME",
1440            Objc::NSSWIFTUNAVAILABLE => "NS_SWIFT_UNAVAILABLE",
1441            Objc::NSEXTENSIONUNAVAILABLEIOS => "NS_EXTENSION_UNAVAILABLE_IOS",
1442            Objc::NSCLASSAVAILABLEIOS => "NS_CLASS_AVAILABLE_IOS",
1443            Objc::NSCLASSDEPRECATEDIOS => "NS_CLASS_DEPRECATED_IOS",
1444            Objc::OSXAVAILABLESTARTING => "__OSX_AVAILABLE_STARTING",
1445            Objc::ATprotocol => "@protocol",
1446            Objc::Class => "class",
1447            Objc::ATend => "@end",
1448            Objc::ATinterface => "@interface",
1449            Objc::ATimplementation => "@implementation",
1450            Objc::Covariant => "__covariant",
1451            Objc::Contravariant => "__contravariant",
1452            Objc::ATprivate => "@private",
1453            Objc::ATprotected => "@protected",
1454            Objc::ATpackage => "@package",
1455            Objc::ATpublic => "@public",
1456            Objc::ATcompatibilityAlias => "@compatibility_alias",
1457            Objc::AToptional => "@optional",
1458            Objc::ATrequired => "@required",
1459            Objc::ATsynthesize => "@synthesize",
1460            Objc::ATdynamic => "@dynamic",
1461            Objc::LPARENclassRPAREN => "(class)",
1462            Objc::ATproperty => "@property",
1463            Objc::ATtry => "@try",
1464            Objc::Try => "__try",
1465            Objc::ATcatch => "@catch",
1466            Objc::Catch => "__catch",
1467            Objc::ATfinally => "@finally",
1468            Objc::Finally => "__finally",
1469            Objc::ATthrow => "@throw",
1470            Objc::ATselector => "@selector",
1471            Objc::SelectorExpressionToken1 => "selector_expression_token1",
1472            Objc::ATavailable => "@available",
1473            Objc::BuiltinAvailable => "__builtin_available",
1474            Objc::VaArg => "va_arg",
1475            Objc::MsAsmBlockToken1 => "ms_asm_block_token1",
1476            Objc::ATencode => "@encode",
1477            Objc::ATsynchronized => "@synchronized",
1478            Objc::BOOL => "BOOL",
1479            Objc::IMP => "IMP",
1480            Objc::SEL => "SEL",
1481            Objc::Class2 => "Class",
1482            Objc::Id => "id",
1483            Objc::ATdefs => "@defs",
1484            Objc::Out => "out",
1485            Objc::Inout => "inout",
1486            Objc::Bycopy => "bycopy",
1487            Objc::Byref => "byref",
1488            Objc::Oneway => "oneway",
1489            Objc::COLON2 => ":",
1490            Objc::TranslationUnit => "translation_unit",
1491            Objc::TopLevelItem => "_top_level_item",
1492            Objc::BlockItem => "_block_item",
1493            Objc::PreprocInclude => "preproc_include",
1494            Objc::PreprocDef => "preproc_def",
1495            Objc::PreprocFunctionDef => "preproc_function_def",
1496            Objc::PreprocParams => "preproc_params",
1497            Objc::PreprocCall => "preproc_call",
1498            Objc::PreprocIf => "preproc_if",
1499            Objc::PreprocIfdef => "preproc_ifdef",
1500            Objc::PreprocElse => "preproc_else",
1501            Objc::PreprocElif => "preproc_elif",
1502            Objc::PreprocElifdef => "preproc_elifdef",
1503            Objc::PreprocIf2 => "preproc_if",
1504            Objc::PreprocIfdef2 => "preproc_ifdef",
1505            Objc::PreprocElse2 => "preproc_else",
1506            Objc::PreprocElif2 => "preproc_elif",
1507            Objc::PreprocElifdef2 => "preproc_elifdef",
1508            Objc::PreprocExpression => "_preproc_expression",
1509            Objc::ParenthesizedExpression => "parenthesized_expression",
1510            Objc::PreprocDefined => "preproc_defined",
1511            Objc::UnaryExpression => "unary_expression",
1512            Objc::CallExpression => "call_expression",
1513            Objc::ArgumentList => "argument_list",
1514            Objc::BinaryExpression => "binary_expression",
1515            Objc::FunctionDefinition => "function_definition",
1516            Objc::FunctionDefinition2 => "function_definition",
1517            Objc::Declaration => "declaration",
1518            Objc::TypeDefinition => "type_definition",
1519            Objc::TypeDefinitionType => "_type_definition_type",
1520            Objc::TypeDefinitionDeclarators => "_type_definition_declarators",
1521            Objc::DeclarationModifiers => "_declaration_modifiers",
1522            Objc::DeclarationSpecifiers => "_declaration_specifiers",
1523            Objc::LinkageSpecification => "linkage_specification",
1524            Objc::AttributeSpecifier => "attribute_specifier",
1525            Objc::Attribute => "attribute",
1526            Objc::AttributeDeclaration => "attribute_declaration",
1527            Objc::MsDeclspecModifier => "ms_declspec_modifier",
1528            Objc::MsBasedModifier => "ms_based_modifier",
1529            Objc::MsCallModifier => "ms_call_modifier",
1530            Objc::MsUnalignedPtrModifier => "ms_unaligned_ptr_modifier",
1531            Objc::MsPointerModifier => "ms_pointer_modifier",
1532            Objc::DeclarationList => "declaration_list",
1533            Objc::Declarator => "_declarator",
1534            Objc::FieldDeclarator => "_field_declarator",
1535            Objc::TypeDeclarator => "_type_declarator",
1536            Objc::AbstractDeclarator => "_abstract_declarator",
1537            Objc::ParenthesizedDeclarator => "parenthesized_declarator",
1538            Objc::ParenthesizedDeclarator2 => "parenthesized_declarator",
1539            Objc::ParenthesizedDeclarator3 => "parenthesized_declarator",
1540            Objc::AbstractParenthesizedDeclarator => "abstract_parenthesized_declarator",
1541            Objc::AttributedDeclarator => "attributed_declarator",
1542            Objc::PointerDeclarator => "pointer_declarator",
1543            Objc::PointerDeclarator2 => "pointer_declarator",
1544            Objc::PointerDeclarator3 => "pointer_declarator",
1545            Objc::AbstractPointerDeclarator => "abstract_pointer_declarator",
1546            Objc::FunctionDeclarator => "function_declarator",
1547            Objc::FunctionDeclarator2 => "function_declarator",
1548            Objc::FunctionDeclarator3 => "function_declarator",
1549            Objc::AbstractFunctionDeclarator => "abstract_function_declarator",
1550            Objc::FunctionDeclarator4 => "function_declarator",
1551            Objc::ArrayDeclarator => "array_declarator",
1552            Objc::ArrayDeclarator2 => "array_declarator",
1553            Objc::ArrayDeclarator3 => "array_declarator",
1554            Objc::AbstractArrayDeclarator => "abstract_array_declarator",
1555            Objc::InitDeclarator => "init_declarator",
1556            Objc::CompoundStatement => "compound_statement",
1557            Objc::StorageClassSpecifier => "storage_class_specifier",
1558            Objc::TypeQualifier => "type_qualifier",
1559            Objc::AlignasQualifier => "alignas_qualifier",
1560            Objc::TypeSpecifier => "type_specifier",
1561            Objc::SizedTypeSpecifier => "sized_type_specifier",
1562            Objc::EnumSpecifier => "enum_specifier",
1563            Objc::EnumeratorList => "enumerator_list",
1564            Objc::StructSpecifier => "struct_specifier",
1565            Objc::UnionSpecifier => "union_specifier",
1566            Objc::FieldDeclarationList => "field_declaration_list",
1567            Objc::FieldDeclarationListItem => "_field_declaration_list_item",
1568            Objc::FieldDeclaration => "field_declaration",
1569            Objc::BitfieldClause => "bitfield_clause",
1570            Objc::Enumerator => "enumerator",
1571            Objc::VariadicParameter => "variadic_parameter",
1572            Objc::ParameterList => "parameter_list",
1573            Objc::ParameterList2 => "parameter_list",
1574            Objc::ParameterDeclaration => "parameter_declaration",
1575            Objc::AttributedStatement => "attributed_statement",
1576            Objc::Statement => "statement",
1577            Objc::TopLevelStatement => "_top_level_statement",
1578            Objc::LabeledStatement => "labeled_statement",
1579            Objc::ExpressionStatement => "expression_statement",
1580            Objc::ExpressionStatement2 => "expression_statement",
1581            Objc::IfStatement => "if_statement",
1582            Objc::ElseClause => "else_clause",
1583            Objc::SwitchStatement => "switch_statement",
1584            Objc::CaseStatement => "case_statement",
1585            Objc::WhileStatement => "while_statement",
1586            Objc::DoStatement => "do_statement",
1587            Objc::ForStatement => "for_statement",
1588            Objc::ForStatementBody => "_for_statement_body",
1589            Objc::ReturnStatement => "return_statement",
1590            Objc::BreakStatement => "break_statement",
1591            Objc::ContinueStatement => "continue_statement",
1592            Objc::GotoStatement => "goto_statement",
1593            Objc::Expression => "expression",
1594            Objc::String => "_string",
1595            Objc::CommaExpression => "comma_expression",
1596            Objc::ConditionalExpression => "conditional_expression",
1597            Objc::AssignmentExpression => "assignment_expression",
1598            Objc::PointerExpression => "pointer_expression",
1599            Objc::UnaryExpression2 => "unary_expression",
1600            Objc::BinaryExpression2 => "binary_expression",
1601            Objc::UpdateExpression => "update_expression",
1602            Objc::CastExpression => "cast_expression",
1603            Objc::TypeDescriptor => "type_descriptor",
1604            Objc::SizeofExpression => "sizeof_expression",
1605            Objc::AlignofExpression => "alignof_expression",
1606            Objc::OffsetofExpression => "offsetof_expression",
1607            Objc::GenericExpression => "generic_expression",
1608            Objc::SubscriptExpression => "subscript_expression",
1609            Objc::CallExpression2 => "call_expression",
1610            Objc::GnuAsmExpression => "gnu_asm_expression",
1611            Objc::GnuAsmQualifier => "gnu_asm_qualifier",
1612            Objc::GnuAsmOutputOperandList => "gnu_asm_output_operand_list",
1613            Objc::GnuAsmOutputOperand => "gnu_asm_output_operand",
1614            Objc::GnuAsmInputOperandList => "gnu_asm_input_operand_list",
1615            Objc::GnuAsmInputOperand => "gnu_asm_input_operand",
1616            Objc::GnuAsmClobberList => "gnu_asm_clobber_list",
1617            Objc::GnuAsmGotoList => "gnu_asm_goto_list",
1618            Objc::ExtensionExpression => "extension_expression",
1619            Objc::ArgumentList2 => "argument_list",
1620            Objc::FieldExpression => "field_expression",
1621            Objc::CompoundLiteralExpression => "compound_literal_expression",
1622            Objc::ParenthesizedExpression2 => "parenthesized_expression",
1623            Objc::InitializerList => "initializer_list",
1624            Objc::InitializerPair => "initializer_pair",
1625            Objc::SubscriptDesignator => "subscript_designator",
1626            Objc::SubscriptRangeDesignator => "subscript_range_designator",
1627            Objc::FieldDesignator => "field_designator",
1628            Objc::CharLiteral => "char_literal",
1629            Objc::ConcatenatedString => "concatenated_string",
1630            Objc::StringLiteral => "string_literal",
1631            Objc::Null => "null",
1632            Objc::EmptyDeclaration => "_empty_declaration",
1633            Objc::MacroTypeSpecifier => "macro_type_specifier",
1634            Objc::ObjcBridge => "objc_bridge",
1635            Objc::TypeofSpecifier => "typeof_specifier",
1636            Objc::Availability => "availability",
1637            Objc::Version => "version",
1638            Objc::Platform => "platform",
1639            Objc::ModuleImport => "module_import",
1640            Objc::PreprocIf3 => "preproc_if",
1641            Objc::PreprocElse3 => "preproc_else",
1642            Objc::PreprocElif3 => "preproc_elif",
1643            Objc::PreprocIf4 => "preproc_if",
1644            Objc::PreprocElse4 => "preproc_else",
1645            Objc::PreprocElif4 => "preproc_elif",
1646            Objc::PreprocIfdef3 => "preproc_ifdef",
1647            Objc::PreprocElse5 => "preproc_else",
1648            Objc::PreprocElif5 => "preproc_elif",
1649            Objc::PreprocUndef => "preproc_undef",
1650            Objc::PreprocLinemarker => "preproc_linemarker",
1651            Objc::AvailabilityAttributeSpecifier => "availability_attribute_specifier",
1652            Objc::ProtocolForwardDeclaration => "protocol_forward_declaration",
1653            Objc::ClassDeclaration => "class_declaration",
1654            Objc::ClassInterface => "class_interface",
1655            Objc::ClassInterfaceHeader => "_class_interface_header",
1656            Objc::TypeParams => "_type_params",
1657            Objc::ClassInterfaceInheritance => "_class_interface_inheritance",
1658            Objc::ClassImplementation => "class_implementation",
1659            Objc::ClassImplementationHeader => "_class_implementation_header",
1660            Objc::ClassImplementationInheritance => "_class_implementation_inheritance",
1661            Objc::ProtocolReferenceList => "protocol_reference_list",
1662            Objc::ParameterizedArguments => "parameterized_arguments",
1663            Objc::GenericArguments => "generic_arguments",
1664            Objc::InstanceVariables => "instance_variables",
1665            Objc::InstanceVariable => "instance_variable",
1666            Objc::VisibilitySpecification => "visibility_specification",
1667            Objc::ProtocolDeclaration => "protocol_declaration",
1668            Objc::CompatibilityAliasDeclaration => "compatibility_alias_declaration",
1669            Objc::QualifiedProtocolInterfaceDeclaration => {
1670                "qualified_protocol_interface_declaration"
1671            }
1672            Objc::ImplementationDefinition => "implementation_definition",
1673            Objc::PropertyImplementation => "property_implementation",
1674            Objc::MethodDefinition => "method_definition",
1675            Objc::MethodType => "method_type",
1676            Objc::KeywordDeclarator => "keyword_declarator",
1677            Objc::PropertyDeclaration => "property_declaration",
1678            Objc::PropertyAttributesDeclaration => "property_attributes_declaration",
1679            Objc::PropertyAttribute => "property_attribute",
1680            Objc::MethodDeclaration => "method_declaration",
1681            Objc::MethodParameter => "method_parameter",
1682            Objc::MethodParameter2 => "method_parameter",
1683            Objc::StructDeclaration => "struct_declaration",
1684            Objc::AtomicDeclaration => "atomic_declaration",
1685            Objc::SpecifierQualifier => "specifier_qualifier",
1686            Objc::StructDeclarator => "struct_declarator",
1687            Objc::TryStatement => "try_statement",
1688            Objc::CatchClause => "catch_clause",
1689            Objc::FinallyClause => "finally_clause",
1690            Objc::ThrowStatement => "throw_statement",
1691            Objc::SelectorExpression => "selector_expression",
1692            Objc::AvailableExpression => "available_expression",
1693            Objc::RangeExpression => "range_expression",
1694            Objc::BlockLiteral => "block_literal",
1695            Objc::MessageExpression => "message_expression",
1696            Objc::VaArgExpression => "va_arg_expression",
1697            Objc::MsAsmBlock => "ms_asm_block",
1698            Objc::EncodeExpression => "encode_expression",
1699            Objc::SynchronizedStatement => "synchronized_statement",
1700            Objc::BlockPointerDeclarator => "block_pointer_declarator",
1701            Objc::BlockPointerDeclarator2 => "block_pointer_declarator",
1702            Objc::BlockPointerDeclarator3 => "block_pointer_declarator",
1703            Objc::AbstractBlockPointerDeclarator => "abstract_block_pointer_declarator",
1704            Objc::GenericSpecifier => "generic_specifier",
1705            Objc::TypedefedSpecifier => "typedefed_specifier",
1706            Objc::ArrayTypeSpecifier => "array_type_specifier",
1707            Objc::AtdefField => "atdef_field",
1708            Objc::ProtocolQualifier => "protocol_qualifier",
1709            Objc::TypeName => "type_name",
1710            Objc::AtExpression => "at_expression",
1711            Objc::DictionaryLiteral => "dictionary_literal",
1712            Objc::DictionaryPair => "dictionary_pair",
1713            Objc::ArrayLiteral => "array_literal",
1714            Objc::MethodIdentifier => "method_identifier",
1715            Objc::TranslationUnitRepeat1 => "translation_unit_repeat1",
1716            Objc::PreprocParamsRepeat1 => "preproc_params_repeat1",
1717            Objc::PreprocIfRepeat1 => "preproc_if_repeat1",
1718            Objc::PreprocIfInFieldDeclarationListRepeat1 => {
1719                "preproc_if_in_field_declaration_list_repeat1"
1720            }
1721            Objc::PreprocArgumentListRepeat1 => "preproc_argument_list_repeat1",
1722            Objc::OldStyleFunctionDefinitionRepeat1 => "_old_style_function_definition_repeat1",
1723            Objc::DeclarationRepeat1 => "declaration_repeat1",
1724            Objc::TypeDefinitionTypeRepeat1 => "_type_definition_type_repeat1",
1725            Objc::TypeDefinitionDeclaratorsRepeat1 => "_type_definition_declarators_repeat1",
1726            Objc::DeclarationSpecifiersRepeat1 => "_declaration_specifiers_repeat1",
1727            Objc::AttributeSpecifierRepeat1 => "attribute_specifier_repeat1",
1728            Objc::AttributeRepeat1 => "attribute_repeat1",
1729            Objc::AttributeDeclarationRepeat1 => "attribute_declaration_repeat1",
1730            Objc::DeclarationListRepeat1 => "declaration_list_repeat1",
1731            Objc::AttributedFieldDeclaratorRepeat1 => "attributed_field_declarator_repeat1",
1732            Objc::PointerDeclaratorRepeat1 => "pointer_declarator_repeat1",
1733            Objc::FunctionDeclaratorRepeat1 => "function_declarator_repeat1",
1734            Objc::FunctionFieldDeclaratorRepeat1 => "function_field_declarator_repeat1",
1735            Objc::ArrayDeclaratorRepeat1 => "array_declarator_repeat1",
1736            Objc::SizedTypeSpecifierRepeat1 => "sized_type_specifier_repeat1",
1737            Objc::EnumeratorListRepeat1 => "enumerator_list_repeat1",
1738            Objc::FieldDeclarationRepeat1 => "field_declaration_repeat1",
1739            Objc::ParameterListRepeat1 => "parameter_list_repeat1",
1740            Objc::OldStyleParameterListRepeat1 => "_old_style_parameter_list_repeat1",
1741            Objc::CaseStatementRepeat1 => "case_statement_repeat1",
1742            Objc::GenericExpressionRepeat1 => "generic_expression_repeat1",
1743            Objc::GnuAsmExpressionRepeat1 => "gnu_asm_expression_repeat1",
1744            Objc::GnuAsmOutputOperandListRepeat1 => "gnu_asm_output_operand_list_repeat1",
1745            Objc::GnuAsmInputOperandListRepeat1 => "gnu_asm_input_operand_list_repeat1",
1746            Objc::GnuAsmClobberListRepeat1 => "gnu_asm_clobber_list_repeat1",
1747            Objc::GnuAsmGotoListRepeat1 => "gnu_asm_goto_list_repeat1",
1748            Objc::ArgumentListRepeat1 => "argument_list_repeat1",
1749            Objc::ArgumentListRepeat2 => "argument_list_repeat2",
1750            Objc::InitializerListRepeat1 => "initializer_list_repeat1",
1751            Objc::InitializerPairRepeat1 => "initializer_pair_repeat1",
1752            Objc::CharLiteralRepeat1 => "char_literal_repeat1",
1753            Objc::ConcatenatedStringRepeat1 => "concatenated_string_repeat1",
1754            Objc::StringLiteralRepeat1 => "string_literal_repeat1",
1755            Objc::AvailabilityRepeat1 => "availability_repeat1",
1756            Objc::VersionRepeat1 => "version_repeat1",
1757            Objc::ModuleImportRepeat1 => "module_import_repeat1",
1758            Objc::PreprocIfInImplementationDefinitionRepeat1 => {
1759                "preproc_if_in_implementation_definition_repeat1"
1760            }
1761            Objc::PreprocIfInInterfaceDeclarationRepeat1 => {
1762                "preproc_if_in_interface_declaration_repeat1"
1763            }
1764            Objc::PreprocIfdefInEnumeratorRepeat1 => "preproc_ifdef_in_enumerator_repeat1",
1765            Objc::AvailabilityAttributeSpecifierRepeat1 => {
1766                "availability_attribute_specifier_repeat1"
1767            }
1768            Objc::ProtocolForwardDeclarationRepeat1 => "protocol_forward_declaration_repeat1",
1769            Objc::ClassDeclarationRepeat1 => "class_declaration_repeat1",
1770            Objc::ClassInterfaceRepeat1 => "class_interface_repeat1",
1771            Objc::ClassImplementationRepeat1 => "class_implementation_repeat1",
1772            Objc::ParameterizedArgumentsRepeat1 => "parameterized_arguments_repeat1",
1773            Objc::ParameterizedArgumentsRepeat2 => "parameterized_arguments_repeat2",
1774            Objc::GenericArgumentsRepeat1 => "generic_arguments_repeat1",
1775            Objc::InstanceVariablesRepeat1 => "instance_variables_repeat1",
1776            Objc::ProtocolDeclarationRepeat1 => "protocol_declaration_repeat1",
1777            Objc::PropertyImplementationRepeat1 => "property_implementation_repeat1",
1778            Objc::MethodDefinitionRepeat1 => "method_definition_repeat1",
1779            Objc::MethodDefinitionRepeat2 => "method_definition_repeat2",
1780            Objc::MethodTypeRepeat1 => "method_type_repeat1",
1781            Objc::KeywordSelectorRepeat1 => "keyword_selector_repeat1",
1782            Objc::PropertyAttributesDeclarationRepeat1 => "property_attributes_declaration_repeat1",
1783            Objc::MethodDeclarationRepeat1 => "method_declaration_repeat1",
1784            Objc::MethodDeclarationRepeat2 => "method_declaration_repeat2",
1785            Objc::CMethodParameterRepeat1 => "c_method_parameter_repeat1",
1786            Objc::StructDeclarationRepeat1 => "struct_declaration_repeat1",
1787            Objc::StructDeclarationRepeat2 => "struct_declaration_repeat2",
1788            Objc::TryStatementRepeat1 => "try_statement_repeat1",
1789            Objc::SelectorExpressionRepeat1 => "selector_expression_repeat1",
1790            Objc::SelectorExpressionRepeat2 => "selector_expression_repeat2",
1791            Objc::AvailableExpressionRepeat1 => "available_expression_repeat1",
1792            Objc::MessageExpressionRepeat1 => "message_expression_repeat1",
1793            Objc::MessageExpressionRepeat2 => "message_expression_repeat2",
1794            Objc::GenericSpecifierRepeat1 => "generic_specifier_repeat1",
1795            Objc::TypeNameRepeat1 => "type_name_repeat1",
1796            Objc::DictionaryLiteralRepeat1 => "dictionary_literal_repeat1",
1797            Objc::MethodIdentifierRepeat1 => "method_identifier_repeat1",
1798            Objc::MethodIdentifierRepeat2 => "method_identifier_repeat2",
1799            Objc::FieldIdentifier => "field_identifier",
1800            Objc::StatementIdentifier => "statement_identifier",
1801            Objc::TypeIdentifier => "type_identifier",
1802            Objc::Error => "ERROR",
1803        }
1804    }
1805}
1806
1807impl From<u16> for Objc {
1808    #[inline]
1809    fn from(x: u16) -> Self {
1810        num_traits::FromPrimitive::from_u16(x).unwrap_or(Self::Error)
1811    }
1812}
1813
1814// Objc == u16
1815impl PartialEq<u16> for Objc {
1816    #[inline]
1817    fn eq(&self, x: &u16) -> bool {
1818        *self == Into::<Self>::into(*x)
1819    }
1820}
1821
1822// u16 == Objc
1823impl PartialEq<Objc> for u16 {
1824    #[inline]
1825    fn eq(&self, x: &Objc) -> bool {
1826        *x == *self
1827    }
1828}