diff options
author | Linus Groh <mail@linusgroh.de> | 2021-07-06 20:39:55 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-07-07 00:42:01 +0100 |
commit | 6735353b969e9709343209099a6c52effe71688f (patch) | |
tree | 76eb20c68ea7be4f44a84761b136164d06ad4e22 /Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h | |
parent | 7da1fcb2ef8b0a42d190aa73c770cc9edf4f6bb0 (diff) | |
download | serenity-6735353b969e9709343209099a6c52effe71688f.zip |
LibJS: Add preparation for Temporal constructors and prototypes
Add a JS_ENUMERATE_TEMPORAL_OBJECTS macro and use it to generate:
- Forward declarations
- CommonPropertyNames class name members
- Constructor and prototype GlobalObject members, getters, visitors,
and initialize_constructor() calls
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h index b792d0a5e4..35bdc71e9b 100644 --- a/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h +++ b/Userland/Libraries/LibJS/Runtime/CommonPropertyNames.h @@ -344,6 +344,9 @@ struct CommonPropertyNames { #define __JS_ENUMERATE(x, a, b, c, t) PropertyName x { #x, PropertyName::StringMayBeNumber::No }; JS_ENUMERATE_BUILTIN_TYPES #undef __JS_ENUMERATE +#define __JS_ENUMERATE(x, a, b, c) PropertyName x { #x, PropertyName::StringMayBeNumber::No }; + JS_ENUMERATE_TEMPORAL_OBJECTS +#undef __JS_ENUMERATE #define __JS_ENUMERATE(x, a) PropertyName x { #x, PropertyName::StringMayBeNumber::No }; JS_ENUMERATE_WELL_KNOWN_SYMBOLS #undef __JS_ENUMERATE |