summaryrefslogtreecommitdiffstats
path: root/js/src/vm/CommonPropertyNames.h
blob: 7e81f4cb8af1bc6dd99972d2b07c5974c0760edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 * vim: set ts=8 sts=2 et sw=2 tw=80:
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* A higher-order macro for enumerating all cached property names. */

#ifndef vm_CommonPropertyNames_h
#define vm_CommonPropertyNames_h

// The following common atoms are reserved by the js::StaticStrigs /
// js::frontend::WellKnownParserAtoms{,_ROM} mechanisms. We still use a named
// reference for the parser and VM to use.
//
// Parameter list is (ID, TEXT).
//
// Each entry should use one of MACRO* based on the length of TEXT
//   * MACRO0: length-0 text
//   * MACRO1: length-1 text
//   * MACRO2: length-2 text
//   * MACRO_: other text
#define FOR_EACH_COMMON_PROPERTYNAME_(MACRO0, MACRO1, MACRO2, MACRO_)          \
  MACRO_(abort, "abort")                                                       \
  IF_DECORATORS(MACRO_(access, "access"))                                      \
  IF_DECORATORS(MACRO_(accessor, "accessor"))                                  \
  MACRO_(add, "add")                                                           \
  IF_DECORATORS(MACRO_(addInitializer, "addInitializer"))                      \
  MACRO_(allowContentIter, "allowContentIter")                                 \
  MACRO_(allowContentIterWith, "allowContentIterWith")                         \
  MACRO_(allowContentIterWithNext, "allowContentIterWithNext")                 \
  MACRO_(ambiguous, "ambiguous")                                               \
  MACRO_(anonymous, "anonymous")                                               \
  MACRO_(Any, "Any")                                                           \
  MACRO_(any, "any")                                                           \
  MACRO_(apply, "apply")                                                       \
  MACRO_(approximatelySign, "approximatelySign")                               \
  MACRO_(arguments, "arguments")                                               \
  MACRO_(ArgumentsLength, "ArgumentsLength")                                   \
  MACRO_(Array_Iterator_, "Array Iterator")                                    \
  MACRO_(ArrayIteratorNext, "ArrayIteratorNext")                               \
  MACRO_(ArraySort, "ArraySort")                                               \
  MACRO_(ArraySpeciesCreate, "ArraySpeciesCreate")                             \
  MACRO_(ArrayToLocaleString, "ArrayToLocaleString")                           \
  MACRO_(ArrayType, "ArrayType")                                               \
  MACRO2(as, "as")                                                             \
  MACRO_(assert_, "assert")                                                    \
  MACRO_(Async, "Async")                                                       \
  MACRO_(async, "async")                                                       \
  MACRO_(Async_from_Sync_Iterator_, "Async-from-Sync Iterator")                \
  MACRO_(AsyncFunctionNext, "AsyncFunctionNext")                               \
  MACRO_(AsyncFunctionThrow, "AsyncFunctionThrow")                             \
  MACRO_(AsyncGenerator, "AsyncGenerator")                                     \
  MACRO_(AsyncGeneratorNext, "AsyncGeneratorNext")                             \
  MACRO_(AsyncGeneratorReturn, "AsyncGeneratorReturn")                         \
  MACRO_(AsyncGeneratorThrow, "AsyncGeneratorThrow")                           \
  MACRO_(AsyncWrapped, "AsyncWrapped")                                         \
  MACRO2(at, "at")                                                             \
  MACRO_(autoAllocateChunkSize, "autoAllocateChunkSize")                       \
  MACRO_(await, "await")                                                       \
  MACRO_(bigint64, "bigint64")                                                 \
  MACRO_(biguint64, "biguint64")                                               \
  MACRO_(bound, "bound")                                                       \
  MACRO_(boundWithSpace_, "bound ")                                            \
  MACRO_(break_, "break")                                                      \
  MACRO_(breakdown, "breakdown")                                               \
  MACRO_(buffer, "buffer")                                                     \
  MACRO_(builder, "builder")                                                   \
  MACRO2(by, "by")                                                             \
  MACRO_(byob, "byob")                                                         \
  MACRO_(byteAlignment, "byteAlignment")                                       \
  MACRO_(byteLength, "byteLength")                                             \
  MACRO_(byteOffset, "byteOffset")                                             \
  MACRO_(bytes, "bytes")                                                       \
  MACRO_(BYTES_PER_ELEMENT, "BYTES_PER_ELEMENT")                               \
  MACRO_(calendar, "calendar")                                                 \
  MACRO_(calendarName, "calendarName")                                         \
  MACRO_(call, "call")                                                         \
  MACRO_(callContentFunction, "callContentFunction")                           \
  MACRO_(callee, "callee")                                                     \
  MACRO_(caller, "caller")                                                     \
  MACRO_(callFunction, "callFunction")                                         \
  MACRO_(cancel, "cancel")                                                     \
  MACRO_(case_, "case")                                                        \
  MACRO_(caseFirst, "caseFirst")                                               \
  MACRO_(catch_, "catch")                                                      \
  MACRO_(cause, "cause")                                                       \
  MACRO_(class_, "class")                                                      \
  MACRO_(cleanupSome, "cleanupSome")                                           \
  MACRO_(close, "close")                                                       \
  MACRO_(collation, "collation")                                               \
  MACRO_(collections, "collections")                                           \
  MACRO_(columnNumber, "columnNumber")                                         \
  MACRO1(comma_, ",")                                                          \
  MACRO_(compact, "compact")                                                   \
  MACRO_(compactDisplay, "compactDisplay")                                     \
  MACRO_(compare, "compare")                                                   \
  MACRO_(configurable, "configurable")                                         \
  MACRO_(const_, "const")                                                      \
  MACRO_(constrain, "constrain")                                               \
  MACRO_(construct, "construct")                                               \
  MACRO_(constructContentFunction, "constructContentFunction")                 \
  MACRO_(constructor, "constructor")                                           \
  MACRO_(continue_, "continue")                                                \
  MACRO_(CopyDataProperties, "CopyDataProperties")                             \
  MACRO_(CopyDataPropertiesUnfiltered, "CopyDataPropertiesUnfiltered")         \
  MACRO_(copyWithin, "copyWithin")                                             \
  MACRO_(count, "count")                                                       \
  MACRO_(CreateResolvingFunctions, "CreateResolvingFunctions")                 \
  MACRO_(currency, "currency")                                                 \
  MACRO_(currencyDisplay, "currencyDisplay")                                   \
  MACRO_(currencySign, "currencySign")                                         \
  MACRO_(date, "date")                                                         \
  MACRO_(dateAdd, "dateAdd")                                                   \
  MACRO_(dateFromFields, "dateFromFields")                                     \
  MACRO_(dateStyle, "dateStyle")                                               \
  MACRO_(dateUntil, "dateUntil")                                               \
  MACRO_(day, "day")                                                           \
  MACRO_(dayOfWeek, "dayOfWeek")                                               \
  MACRO_(dayOfYear, "dayOfYear")                                               \
  MACRO_(dayPeriod, "dayPeriod")                                               \
  MACRO_(days, "days")                                                         \
  MACRO_(daysInMonth, "daysInMonth")                                           \
  MACRO_(daysInWeek, "daysInWeek")                                             \
  MACRO_(daysInYear, "daysInYear")                                             \
  MACRO_(debugger, "debugger")                                                 \
  MACRO_(decimal, "decimal")                                                   \
  MACRO_(decodeURI, "decodeURI")                                               \
  MACRO_(decodeURIComponent, "decodeURIComponent")                             \
  MACRO_(default_, "default")                                                  \
  MACRO_(DefineDataProperty, "DefineDataProperty")                             \
  MACRO_(defineGetter_, "__defineGetter__")                                    \
  MACRO_(defineProperty, "defineProperty")                                     \
  MACRO_(defineSetter_, "__defineSetter__")                                    \
  MACRO_(delete_, "delete")                                                    \
  MACRO_(deleteProperty, "deleteProperty")                                     \
  MACRO_(detached, "detached")                                                 \
  MACRO_(difference, "difference")                                             \
  MACRO_(disambiguation, "disambiguation")                                     \
  MACRO_(displayURL, "displayURL")                                             \
  MACRO2(do_, "do")                                                            \
  MACRO_(dollar_ArrayBufferSpecies_, "$ArrayBufferSpecies")                    \
  MACRO_(dollar_ArraySpecies_, "$ArraySpecies")                                \
  MACRO_(dollar_ArrayValues_, "$ArrayValues")                                  \
  MACRO_(dollar_RegExpFlagsGetter_, "$RegExpFlagsGetter")                      \
  MACRO_(dollar_RegExpToString_, "$RegExpToString")                            \
  MACRO_(domNode, "domNode")                                                   \
  MACRO_(done, "done")                                                         \
  MACRO_(dotAll, "dotAll")                                                     \
  MACRO_(dot_args_, ".args")                                                   \
  MACRO_(dot_fieldKeys_, ".fieldKeys")                                         \
  MACRO_(dot_generator_, ".generator")                                         \
  MACRO_(dot_initializers_, ".initializers")                                   \
  IF_DECORATORS(                                                               \
      MACRO_(dot_instanceExtraInitializers_, ".instanceExtraInitializers"))    \
  MACRO_(dot_newTarget_, ".newTarget")                                         \
  MACRO_(dot_privateBrand_, ".privateBrand")                                   \
  MACRO_(dot_staticFieldKeys_, ".staticFieldKeys")                             \
  MACRO_(dot_staticInitializers_, ".staticInitializers")                       \
  MACRO_(dot_this_, ".this")                                                   \
  MACRO_(each, "each")                                                         \
  MACRO_(element, "element")                                                   \
  MACRO_(elementType, "elementType")                                           \
  MACRO_(else_, "else")                                                        \
  MACRO0(empty_, "")                                                           \
  MACRO_(emptyRegExp_, "(?:)")                                                 \
  MACRO_(encodeURI, "encodeURI")                                               \
  MACRO_(encodeURIComponent, "encodeURIComponent")                             \
  MACRO_(endRange, "endRange")                                                 \
  MACRO_(endTimestamp, "endTimestamp")                                         \
  MACRO_(entries, "entries")                                                   \
  MACRO_(enum_, "enum")                                                        \
  MACRO_(enumerable, "enumerable")                                             \
  MACRO_(enumerate, "enumerate")                                               \
  MACRO_(era, "era")                                                           \
  MACRO_(eraYear, "eraYear")                                                   \
  MACRO_(errors, "errors")                                                     \
  MACRO_(ErrorToStringWithTrailingNewline, "ErrorToStringWithTrailingNewline") \
  MACRO_(escape, "escape")                                                     \
  MACRO_(eval, "eval")                                                         \
  MACRO_(exec, "exec")                                                         \
  MACRO_(exponentInteger, "exponentInteger")                                   \
  MACRO_(exponentMinusSign, "exponentMinusSign")                               \
  MACRO_(exponentSeparator, "exponentSeparator")                               \
  MACRO_(export_, "export")                                                    \
  MACRO_(extends, "extends")                                                   \
  MACRO_(false_, "false")                                                      \
  MACRO_(few, "few")                                                           \
  IF_DECORATORS(MACRO_(field, "field"))                                        \
  MACRO_(fieldOffsets, "fieldOffsets")                                         \
  MACRO_(fields, "fields")                                                     \
  MACRO_(fieldTypes, "fieldTypes")                                             \
  MACRO_(fileName, "fileName")                                                 \
  MACRO_(fill, "fill")                                                         \
  MACRO_(finally_, "finally")                                                  \
  MACRO_(find, "find")                                                         \
  MACRO_(findIndex, "findIndex")                                               \
  MACRO_(findLast, "findLast")                                                 \
  MACRO_(findLastIndex, "findLastIndex")                                       \
  MACRO_(firstDayOfWeek, "firstDayOfWeek")                                     \
  MACRO_(fix, "fix")                                                           \
  MACRO_(flags, "flags")                                                       \
  MACRO_(flat, "flat")                                                         \
  MACRO_(flatMap, "flatMap")                                                   \
  MACRO_(float32, "float32")                                                   \
  MACRO_(float64, "float64")                                                   \
  MACRO_(for_, "for")                                                          \
  MACRO_(forceInterpreter, "forceInterpreter")                                 \
  MACRO_(forEach, "forEach")                                                   \
  MACRO_(format, "format")                                                     \
  MACRO_(fraction, "fraction")                                                 \
  MACRO_(fractionalSecond, "fractionalSecond")                                 \
  MACRO_(fractionalSecondDigits, "fractionalSecondDigits")                     \
  MACRO_(frame, "frame")                                                       \
  MACRO_(from, "from")                                                         \
  MACRO_(fromAsync, "fromAsync")                                               \
  MACRO_(fulfilled, "fulfilled")                                               \
  MACRO_(GatherAsyncParentCompletions, "GatherAsyncParentCompletions")         \
  MACRO_(gcCycleNumber, "gcCycleNumber")                                       \
  MACRO_(Generator, "Generator")                                               \
  MACRO_(GeneratorNext, "GeneratorNext")                                       \
  MACRO_(GeneratorReturn, "GeneratorReturn")                                   \
  MACRO_(GeneratorThrow, "GeneratorThrow")                                     \
  MACRO_(get, "get")                                                           \
  IF_DECORATORS(MACRO_(getter, "getter"))                                      \
  MACRO_(GetAggregateError, "GetAggregateError")                               \
  MACRO_(GetArgument, "GetArgument")                                           \
  MACRO_(getBigInt64, "getBigInt64")                                           \
  MACRO_(getBigUint64, "getBigUint64")                                         \
  MACRO_(GetBuiltinConstructor, "GetBuiltinConstructor")                       \
  MACRO_(GetBuiltinPrototype, "GetBuiltinPrototype")                           \
  MACRO_(GetBuiltinSymbol, "GetBuiltinSymbol")                                 \
  MACRO_(GetInternalError, "GetInternalError")                                 \
  MACRO_(getInternals, "getInternals")                                         \
  MACRO_(GetIterator, "GetIterator")                                           \
  MACRO_(GetModuleNamespace, "GetModuleNamespace")                             \
  MACRO_(getOffsetNanosecondsFor, "getOffsetNanosecondsFor")                   \
  MACRO_(getOwnPropertyDescriptor, "getOwnPropertyDescriptor")                 \
  MACRO_(getOwnPropertyNames, "getOwnPropertyNames")                           \
  MACRO_(getPossibleInstantsFor, "getPossibleInstantsFor")                     \
  MACRO_(getPropertySuper, "getPropertySuper")                                 \
  MACRO_(getPrototypeOf, "getPrototypeOf")                                     \
  MACRO_(GetTypeError, "GetTypeError")                                         \
  MACRO_(global, "global")                                                     \
  MACRO_(globalThis, "globalThis")                                             \
  MACRO_(granularity, "granularity")                                           \
  MACRO_(group, "group")                                                       \
  MACRO_(groupBy, "groupBy")                                                   \
  MACRO_(groups, "groups")                                                     \
  MACRO_(grow, "grow")                                                         \
  MACRO_(growable, "growable")                                                 \
  MACRO_(h11, "h11")                                                           \
  MACRO_(h12, "h12")                                                           \
  MACRO_(h23, "h23")                                                           \
  MACRO_(h24, "h24")                                                           \
  MACRO_(Handle, "Handle")                                                     \
  MACRO_(has, "has")                                                           \
  MACRO_(hash_constructor_, "#constructor")                                    \
  MACRO_(hasIndices, "hasIndices")                                             \
  MACRO_(hasOwn, "hasOwn")                                                     \
  MACRO_(hasOwnProperty, "hasOwnProperty")                                     \
  MACRO_(highWaterMark, "highWaterMark")                                       \
  MACRO_(hour, "hour")                                                         \
  MACRO_(hour12, "hour12")                                                     \
  MACRO_(hourCycle, "hourCycle")                                               \
  MACRO_(hours, "hours")                                                       \
  MACRO2(id, "id")                                                             \
  MACRO2(if_, "if")                                                            \
  MACRO_(ignoreCase, "ignoreCase")                                             \
  MACRO_(ignorePunctuation, "ignorePunctuation")                               \
  MACRO_(implements, "implements")                                             \
  MACRO_(import, "import")                                                     \
  MACRO2(in, "in")                                                             \
  MACRO_(includes, "includes")                                                 \
  MACRO_(incumbentGlobal, "incumbentGlobal")                                   \
  MACRO_(index, "index")                                                       \
  MACRO_(indices, "indices")                                                   \
  MACRO_(infinity, "infinity")                                                 \
  MACRO_(intersection, "intersection")                                         \
  MACRO_(Infinity, "Infinity")                                                 \
  IF_DECORATORS(MACRO_(init, "init"))                                          \
  MACRO_(initial, "initial")                                                   \
  MACRO_(InitializeCollator, "InitializeCollator")                             \
  MACRO_(InitializeDateTimeFormat, "InitializeDateTimeFormat")                 \
  MACRO_(InitializeDisplayNames, "InitializeDisplayNames")                     \
  MACRO_(InitializeListFormat, "InitializeListFormat")                         \
  MACRO_(InitializeLocale, "InitializeLocale")                                 \
  MACRO_(InitializeNumberFormat, "InitializeNumberFormat")                     \
  MACRO_(InitializePluralRules, "InitializePluralRules")                       \
  MACRO_(InitializeRelativeTimeFormat, "InitializeRelativeTimeFormat")         \
  MACRO_(InitializeSegmenter, "InitializeSegmenter")                           \
  IF_DECORATORS(MACRO_(initializer, "initializer"))                            \
  MACRO_(inLeapYear, "inLeapYear")                                             \
  MACRO_(innermost, "innermost")                                               \
  MACRO_(inNursery, "inNursery")                                               \
  MACRO_(input, "input")                                                       \
  MACRO_(instanceof, "instanceof")                                             \
  MACRO_(int8, "int8")                                                         \
  MACRO_(int16, "int16")                                                       \
  MACRO_(int32, "int32")                                                       \
  MACRO_(integer, "integer")                                                   \
  MACRO_(interface, "interface")                                               \
  MACRO_(InterpretGeneratorResume, "InterpretGeneratorResume")                 \
  MACRO_(Invalid_Date_, "Invalid Date")                                        \
  MACRO_(isBreakpoint, "isBreakpoint")                                         \
  IF_DECORATORS(MACRO_(IsCallable, "IsCallable"))                              \
  MACRO_(isDisjointFrom, "isDisjointFrom")                                     \
  MACRO_(isEntryPoint, "isEntryPoint")                                         \
  MACRO_(isExtensible, "isExtensible")                                         \
  MACRO_(isFinite, "isFinite")                                                 \
  MACRO_(isNaN, "isNaN")                                                       \
  MACRO_(IsNullOrUndefined, "IsNullOrUndefined")                               \
  MACRO_(isPrototypeOf, "isPrototypeOf")                                       \
  MACRO_(iso8601, "iso8601")                                                   \
  MACRO_(isoDay, "isoDay")                                                     \
  MACRO_(isoHour, "isoHour")                                                   \
  MACRO_(isoMicrosecond, "isoMicrosecond")                                     \
  MACRO_(isoMillisecond, "isoMillisecond")                                     \
  MACRO_(isoMinute, "isoMinute")                                               \
  MACRO_(isoMonth, "isoMonth")                                                 \
  MACRO_(isoNanosecond, "isoNanosecond")                                       \
  MACRO_(isoSecond, "isoSecond")                                               \
  MACRO_(isoYear, "isoYear")                                                   \
  MACRO_(isStepStart, "isStepStart")                                           \
  MACRO_(isSubsetOf, "isSubsetOf")                                             \
  MACRO_(isSupersetOf, "isSupersetOf")                                         \
  MACRO_(IterableToList, "IterableToList")                                     \
  MACRO_(IteratorClose, "IteratorClose")                                       \
  MACRO_(Iterator_Helper_, "Iterator Helper")                                  \
  MACRO_(IteratorNext, "IteratorNext")                                         \
  MACRO_(iterate, "iterate")                                                   \
  MACRO_(join, "join")                                                         \
  MACRO2(js, "js")                                                             \
  MACRO_(jsStringModule, "js-string")                                          \
  MACRO_(keys, "keys")                                                         \
  IF_DECORATORS(MACRO_(kind, "kind"))                                          \
  MACRO_(label, "label")                                                       \
  MACRO_(language, "language")                                                 \
  MACRO_(largestUnit, "largestUnit")                                           \
  MACRO_(lastIndex, "lastIndex")                                               \
  MACRO_(length, "length")                                                     \
  MACRO_(let, "let")                                                           \
  MACRO_(line, "line")                                                         \
  MACRO_(lineNumber, "lineNumber")                                             \
  MACRO_(literal, "literal")                                                   \
  MACRO_(loc, "loc")                                                           \
  MACRO_(locale, "locale")                                                     \
  MACRO_(lookupGetter_, "__lookupGetter__")                                    \
  MACRO_(lookupSetter_, "__lookupSetter__")                                    \
  MACRO_(many, "many")                                                         \
  MACRO_(MapConstructorInit, "MapConstructorInit")                             \
  MACRO_(Map_Iterator_, "Map Iterator")                                        \
  MACRO_(maxByteLength, "maxByteLength")                                       \
  MACRO_(maxColumn, "maxColumn")                                               \
  MACRO_(maximum, "maximum")                                                   \
  MACRO_(maximumFractionDigits, "maximumFractionDigits")                       \
  MACRO_(maximumSignificantDigits, "maximumSignificantDigits")                 \
  MACRO_(maxLine, "maxLine")                                                   \
  MACRO_(maxOffset, "maxOffset")                                               \
  MACRO_(mergeFields, "mergeFields")                                           \
  MACRO_(message, "message")                                                   \
  IF_DECORATORS(MACRO_(method, "method"))                                      \
  MACRO_(meta, "meta")                                                         \
  MACRO_(microsecond, "microsecond")                                           \
  MACRO_(microseconds, "microseconds")                                         \
  MACRO_(millisecond, "millisecond")                                           \
  MACRO_(milliseconds, "milliseconds")                                         \
  MACRO_(minColumn, "minColumn")                                               \
  MACRO_(minDays, "minDays")                                                   \
  MACRO_(minimum, "minimum")                                                   \
  MACRO_(minimumFractionDigits, "minimumFractionDigits")                       \
  MACRO_(minimumIntegerDigits, "minimumIntegerDigits")                         \
  MACRO_(minimumSignificantDigits, "minimumSignificantDigits")                 \
  MACRO_(minLine, "minLine")                                                   \
  MACRO_(minOffset, "minOffset")                                               \
  MACRO_(minusSign, "minusSign")                                               \
  MACRO_(minute, "minute")                                                     \
  MACRO_(minutes, "minutes")                                                   \
  MACRO_(missingArguments, "missingArguments")                                 \
  MACRO_(mode, "mode")                                                         \
  MACRO_(module, "module")                                                     \
  MACRO_(Module, "Module")                                                     \
  MACRO_(ModuleEvaluate, "ModuleEvaluate")                                     \
  MACRO_(ModuleInstantiate, "ModuleInstantiate")                               \
  MACRO_(month, "month")                                                       \
  MACRO_(monthCode, "monthCode")                                               \
  MACRO_(monthDayFromFields, "monthDayFromFields")                             \
  MACRO_(months, "months")                                                     \
  MACRO_(monthsInYear, "monthsInYear")                                         \
  MACRO_(multiline, "multiline")                                               \
  MACRO_(mutable_, "mutable")                                                  \
  MACRO_(name, "name")                                                         \
  MACRO_(nan, "nan")                                                           \
  MACRO_(NaN, "NaN")                                                           \
  MACRO_(nanosecond, "nanosecond")                                             \
  MACRO_(nanoseconds, "nanoseconds")                                           \
  MACRO_(NegativeInfinity_, "-Infinity")                                       \
  MACRO_(new_, "new")                                                          \
  MACRO_(next, "next")                                                         \
  MACRO_(nextMethod, "nextMethod")                                             \
  MACRO_(NFC, "NFC")                                                           \
  MACRO_(NFD, "NFD")                                                           \
  MACRO_(NFKC, "NFKC")                                                         \
  MACRO_(NFKD, "NFKD")                                                         \
  MACRO_(noFilename, "noFilename")                                             \
  MACRO_(nonincrementalReason, "nonincrementalReason")                         \
  MACRO_(NoPrivateGetter, "NoPrivateGetter")                                   \
  MACRO_(noStack, "noStack")                                                   \
  MACRO_(not_equal_, "not-equal")                                              \
  MACRO_(notation, "notation")                                                 \
  MACRO_(notes, "notes")                                                       \
  MACRO_(Now, "Now")                                                           \
  MACRO_(null, "null")                                                         \
  MACRO_(numberingSystem, "numberingSystem")                                   \
  MACRO_(numeric, "numeric")                                                   \
  MACRO_(object_Arguments_, "[object Arguments]")                              \
  MACRO_(object_Array_, "[object Array]")                                      \
  MACRO_(object_BigInt_, "[object BigInt]")                                    \
  MACRO_(object_Boolean_, "[object Boolean]")                                  \
  MACRO_(object_Date_, "[object Date]")                                        \
  MACRO_(object_Error_, "[object Error]")                                      \
  MACRO_(object_Function_, "[object Function]")                                \
  MACRO_(object_Null_, "[object Null]")                                        \
  MACRO_(object_Number_, "[object Number]")                                    \
  MACRO_(object_Object_, "[object Object]")                                    \
  IF_RECORD_TUPLE(MACRO_(object_Record_, "[object Record]"))                   \
  MACRO_(object_RegExp_, "[object RegExp]")                                    \
  MACRO_(object_String_, "[object String]")                                    \
  MACRO_(object_Symbol_, "[object Symbol]")                                    \
  IF_RECORD_TUPLE(MACRO_(object_Tuple_, "[object Tuple]"))                     \
  MACRO_(object_Undefined_, "[object Undefined]")                              \
  MACRO_(Object_valueOf, "Object_valueOf")                                     \
  MACRO_(objects, "objects")                                                   \
  MACRO2(of, "of")                                                             \
  MACRO_(offset, "offset")                                                     \
  MACRO2(ok, "ok")                                                             \
  MACRO_(one, "one")                                                           \
  MACRO_(optimizedOut, "optimizedOut")                                         \
  MACRO_(other, "other")                                                       \
  MACRO_(out_of_memory_, "out of memory")                                      \
  MACRO_(overflow, "overflow")                                                 \
  MACRO_(ownKeys, "ownKeys")                                                   \
  MACRO_(package, "package")                                                   \
  MACRO_(parameters, "parameters")                                             \
  MACRO_(parseFloat, "parseFloat")                                             \
  MACRO_(parseInt, "parseInt")                                                 \
  MACRO_(pattern, "pattern")                                                   \
  MACRO_(pending, "pending")                                                   \
  MACRO_(percentSign, "percentSign")                                           \
  MACRO_(pipeTo, "pipeTo")                                                     \
  MACRO_(plainDate, "plainDate")                                               \
  MACRO_(plainTime, "plainTime")                                               \
  MACRO_(plusSign, "plusSign")                                                 \
  MACRO_(preventAbort, "preventAbort")                                         \
  MACRO_(preventCancel, "preventCancel")                                       \
  MACRO_(preventClose, "preventClose")                                         \
  MACRO_(preventExtensions, "preventExtensions")                               \
  MACRO_(private_, "private")                                                  \
  MACRO_(promise, "promise")                                                   \
  MACRO_(propertyIsEnumerable, "propertyIsEnumerable")                         \
  MACRO_(protected_, "protected")                                              \
  MACRO_(proto_, "__proto__")                                                  \
  MACRO_(prototype, "prototype")                                               \
  MACRO_(proxy, "proxy")                                                       \
  MACRO_(public_, "public")                                                    \
  MACRO_(pull, "pull")                                                         \
  MACRO_(quarter, "quarter")                                                   \
  MACRO_(raw, "raw")                                                           \
  MACRO_(reason, "reason")                                                     \
  MACRO_(RegExp_String_Iterator_, "RegExp String Iterator")                    \
  MACRO_(RegExp_prototype_Exec, "RegExp_prototype_Exec")                       \
  MACRO_(region, "region")                                                     \
  MACRO_(register_, "register")                                                \
  MACRO_(Reify, "Reify")                                                       \
  MACRO_(reject, "reject")                                                     \
  MACRO_(rejected, "rejected")                                                 \
  MACRO_(relatedYear, "relatedYear")                                           \
  MACRO_(relativeTo, "relativeTo")                                             \
  MACRO_(RequireObjectCoercible, "RequireObjectCoercible")                     \
  MACRO_(resize, "resize")                                                     \
  MACRO_(resizable, "resizable")                                               \
  MACRO_(resolve, "resolve")                                                   \
  MACRO_(result, "result")                                                     \
  MACRO_(results, "results")                                                   \
  MACRO_(resumeGenerator, "resumeGenerator")                                   \
  MACRO_(return_, "return")                                                    \
  MACRO_(revoke, "revoke")                                                     \
  MACRO_(roundingIncrement, "roundingIncrement")                               \
  MACRO_(roundingMode, "roundingMode")                                         \
  MACRO_(roundingPriority, "roundingPriority")                                 \
  MACRO_(script, "script")                                                     \
  MACRO_(scripts, "scripts")                                                   \
  MACRO_(second, "second")                                                     \
  MACRO_(seconds, "seconds")                                                   \
  MACRO_(self_hosted_, "self-hosted")                                          \
  MACRO_(sensitivity, "sensitivity")                                           \
  MACRO_(set, "set")                                                           \
  IF_DECORATORS(MACRO_(setter, "setter"))                                      \
  MACRO_(setBigInt64, "setBigInt64")                                           \
  MACRO_(setBigUint64, "setBigUint64")                                         \
  MACRO_(SetCanonicalName, "SetCanonicalName")                                 \
  MACRO_(SetConstructorInit, "SetConstructorInit")                             \
  MACRO_(SetIsInlinableLargeFunction, "SetIsInlinableLargeFunction")           \
  MACRO_(Set_Iterator_, "Set Iterator")                                        \
  MACRO_(setPrototypeOf, "setPrototypeOf")                                     \
  MACRO_(shape, "shape")                                                       \
  MACRO_(shared, "shared")                                                     \
  MACRO_(signal, "signal")                                                     \
  MACRO_(signDisplay, "signDisplay")                                           \
  MACRO_(size, "size")                                                         \
  MACRO_(skeleton, "skeleton")                                                 \
  MACRO_(smallestUnit, "smallestUnit")                                         \
  MACRO_(source, "source")                                                     \
  MACRO_(SpeciesConstructor, "SpeciesConstructor")                             \
  MACRO_(stack, "stack")                                                       \
  MACRO_(star_namespace_star_, "*namespace*")                                  \
  MACRO_(start, "start")                                                       \
  MACRO_(startRange, "startRange")                                             \
  MACRO_(startTimestamp, "startTimestamp")                                     \
  MACRO_(state, "state")                                                       \
  MACRO_(static_, "static")                                                    \
  MACRO_(status, "status")                                                     \
  MACRO_(sticky, "sticky")                                                     \
  MACRO_(String_Iterator_, "String Iterator")                                  \
  MACRO_(strings, "strings")                                                   \
  MACRO_(String_split, "String_split")                                         \
  MACRO_(StructType, "StructType")                                             \
  MACRO_(style, "style")                                                       \
  MACRO_(super, "super")                                                       \
  MACRO_(switch_, "switch")                                                    \
  MACRO_(symmetricDifference, "symmetricDifference")                           \
  MACRO_(target, "target")                                                     \
  MACRO_(test, "test")                                                         \
  MACRO_(then, "then")                                                         \
  MACRO_(this_, "this")                                                        \
  MACRO_(throw_, "throw")                                                      \
  MACRO_(timed_out_, "timed-out")                                              \
  MACRO_(timestamp, "timestamp")                                               \
  MACRO_(timeStyle, "timeStyle")                                               \
  MACRO_(timeZone, "timeZone")                                                 \
  MACRO_(timeZoneName, "timeZoneName")                                         \
  MACRO_(toGMTString, "toGMTString")                                           \
  MACRO_(toISOString, "toISOString")                                           \
  MACRO_(toJSON, "toJSON")                                                     \
  MACRO_(toLocaleString, "toLocaleString")                                     \
  MACRO_(ToNumeric, "ToNumeric")                                               \
  MACRO_(toSource, "toSource")                                                 \
  MACRO_(toString, "toString")                                                 \
  MACRO_(ToString, "ToString")                                                 \
  MACRO_(toUTCString, "toUTCString")                                           \
  MACRO_(trailingZeroDisplay, "trailingZeroDisplay")                           \
  MACRO_(transfer, "transfer")                                                 \
  MACRO_(transferToFixedLength, "transferToFixedLength")                       \
  MACRO_(trimEnd, "trimEnd")                                                   \
  MACRO_(trimLeft, "trimLeft")                                                 \
  MACRO_(trimRight, "trimRight")                                               \
  MACRO_(trimStart, "trimStart")                                               \
  MACRO_(true_, "true")                                                        \
  MACRO_(try_, "try")                                                          \
  MACRO_(two, "two")                                                           \
  MACRO_(type, "type")                                                         \
  MACRO_(typeof_, "typeof")                                                    \
  MACRO_(uint8, "uint8")                                                       \
  MACRO_(uint8Clamped, "uint8Clamped")                                         \
  MACRO_(uint16, "uint16")                                                     \
  MACRO_(uint32, "uint32")                                                     \
  MACRO_(Uint8x16, "Uint8x16")                                                 \
  MACRO_(Uint16x8, "Uint16x8")                                                 \
  MACRO_(Uint32x4, "Uint32x4")                                                 \
  MACRO_(unescape, "unescape")                                                 \
  MACRO_(uneval, "uneval")                                                     \
  MACRO_(unicode, "unicode")                                                   \
  MACRO_(unicodeSets, "unicodeSets")                                           \
  MACRO_(uninitialized, "uninitialized")                                       \
  MACRO_(union_, "union")                                                      \
  MACRO_(unit, "unit")                                                         \
  MACRO_(unitDisplay, "unitDisplay")                                           \
  MACRO_(unknown, "unknown")                                                   \
  MACRO_(unregister, "unregister")                                             \
  MACRO_(UnsafeGetInt32FromReservedSlot, "UnsafeGetInt32FromReservedSlot")     \
  MACRO_(UnsafeGetObjectFromReservedSlot, "UnsafeGetObjectFromReservedSlot")   \
  MACRO_(UnsafeGetReservedSlot, "UnsafeGetReservedSlot")                       \
  MACRO_(UnsafeGetStringFromReservedSlot, "UnsafeGetStringFromReservedSlot")   \
  MACRO_(UnsafeSetReservedSlot, "UnsafeSetReservedSlot")                       \
  MACRO_(unsized, "unsized")                                                   \
  MACRO_(unwatch, "unwatch")                                                   \
  MACRO_(url, "url")                                                           \
  MACRO_(usage, "usage")                                                       \
  MACRO_(use_asm_, "use asm")                                                  \
  MACRO_(use_strict_, "use strict")                                            \
  MACRO_(useGrouping, "useGrouping")                                           \
  MACRO_(UTC, "UTC")                                                           \
  MACRO_(value, "value")                                                       \
  MACRO_(valueOf, "valueOf")                                                   \
  MACRO_(values, "values")                                                     \
  MACRO_(var, "var")                                                           \
  MACRO_(variable, "variable")                                                 \
  MACRO_(void_, "void")                                                        \
  MACRO_(void_0_, "(void 0)")                                                  \
  MACRO_(wasm, "wasm")                                                         \
  MACRO_(WasmAnyRef, "WasmAnyRef")                                             \
  MACRO_(wasmcall, "wasmcall")                                                 \
  MACRO_(watch, "watch")                                                       \
  MACRO_(WeakMapConstructorInit, "WeakMapConstructorInit")                     \
  MACRO_(WeakSetConstructorInit, "WeakSetConstructorInit")                     \
  MACRO_(WeakSet_add, "WeakSet_add")                                           \
  MACRO_(week, "week")                                                         \
  MACRO_(weekday, "weekday")                                                   \
  MACRO_(weekend, "weekend")                                                   \
  MACRO_(weekOfYear, "weekOfYear")                                             \
  MACRO_(weeks, "weeks")                                                       \
  MACRO_(while_, "while")                                                      \
  MACRO_(with, "with")                                                         \
  MACRO_(toReversed, "toReversed")                                             \
  MACRO_(toSorted, "toSorted")                                                 \
  MACRO_(toSpliced, "toSpliced")                                               \
  MACRO_(writable, "writable")                                                 \
  MACRO_(write, "write")                                                       \
  MACRO_(year, "year")                                                         \
  MACRO_(yearMonthFromFields, "yearMonthFromFields")                           \
  MACRO_(yearName, "yearName")                                                 \
  MACRO_(yearOfWeek, "yearOfWeek")                                             \
  MACRO_(years, "years")                                                       \
  MACRO_(yield, "yield")                                                       \
  MACRO_(zero, "zero")                                                         \
  /* Type names must be contiguous and ordered; see js::TypeName. */           \
  MACRO_(undefined, "undefined")                                               \
  MACRO_(object, "object")                                                     \
  MACRO_(function, "function")                                                 \
  MACRO_(string, "string")                                                     \
  MACRO_(number, "number")                                                     \
  MACRO_(boolean, "boolean")                                                   \
  MACRO_(symbol, "symbol")                                                     \
  MACRO_(bigint, "bigint")                                                     \
  IF_RECORD_TUPLE(MACRO_(record, "record"))                                    \
  IF_RECORD_TUPLE(MACRO_(tuple, "tuple"))

#define PROPERTY_NAME_IGNORE(ID, TEXT)

#define FOR_EACH_LENGTH1_PROPERTYNAME(MACRO)                 \
  FOR_EACH_COMMON_PROPERTYNAME_(PROPERTY_NAME_IGNORE, MACRO, \
                                PROPERTY_NAME_IGNORE, PROPERTY_NAME_IGNORE)

#define FOR_EACH_LENGTH2_PROPERTYNAME(MACRO)                                \
  FOR_EACH_COMMON_PROPERTYNAME_(PROPERTY_NAME_IGNORE, PROPERTY_NAME_IGNORE, \
                                MACRO, PROPERTY_NAME_IGNORE)

#define FOR_EACH_NON_EMPTY_TINY_PROPERTYNAME(MACRO)                 \
  FOR_EACH_COMMON_PROPERTYNAME_(PROPERTY_NAME_IGNORE, MACRO, MACRO, \
                                PROPERTY_NAME_IGNORE)

#define FOR_EACH_TINY_PROPERTYNAME(MACRO) \
  FOR_EACH_COMMON_PROPERTYNAME_(MACRO, MACRO, MACRO, PROPERTY_NAME_IGNORE)

#define FOR_EACH_NONTINY_COMMON_PROPERTYNAME(MACRO)                         \
  FOR_EACH_COMMON_PROPERTYNAME_(PROPERTY_NAME_IGNORE, PROPERTY_NAME_IGNORE, \
                                PROPERTY_NAME_IGNORE, MACRO)

#define FOR_EACH_COMMON_PROPERTYNAME(MACRO) \
  FOR_EACH_COMMON_PROPERTYNAME_(MACRO, MACRO, MACRO, MACRO)

#endif /* vm_CommonPropertyNames_h */