diff options
author | Matthew Olsson <matthewcolsson@gmail.com> | 2021-06-15 00:04:08 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-19 00:04:57 +0100 |
commit | 22b17219ff85f666f2ddc81347be8d6117740af6 (patch) | |
tree | a7aa282903bb27c01d027b96b31c23ff5f01ef37 /Userland/Libraries/LibJS/Forward.h | |
parent | b205c9814a34210b42b582ed36eb2ede008ebfa6 (diff) | |
download | serenity-22b17219ff85f666f2ddc81347be8d6117740af6.zip |
LibJS: Add the remaining generator objects
- %GeneratorFunction%
- %GeneratorFunction.prototype%
- %GeneratorFunction.prototype.prototype%
- %Generator%.prototype
Diffstat (limited to 'Userland/Libraries/LibJS/Forward.h')
-rw-r--r-- | Userland/Libraries/LibJS/Forward.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibJS/Forward.h b/Userland/Libraries/LibJS/Forward.h index 4a4dd1eb7a..a8fae90d78 100644 --- a/Userland/Libraries/LibJS/Forward.h +++ b/Userland/Libraries/LibJS/Forward.h @@ -36,6 +36,7 @@ __JS_ENUMERATE(Error, error, ErrorPrototype, ErrorConstructor, void) \ __JS_ENUMERATE(FinalizationRegistry, finalization_registry, FinalizationRegistryPrototype, FinalizationRegistryConstructor, void) \ __JS_ENUMERATE(Function, function, FunctionPrototype, FunctionConstructor, void) \ + __JS_ENUMERATE(GeneratorFunction, generator_function, GeneratorFunctionPrototype, GeneratorFunctionConstructor, void) \ __JS_ENUMERATE(Map, map, MapPrototype, MapConstructor, void) \ __JS_ENUMERATE(NumberObject, number, NumberPrototype, NumberConstructor, void) \ __JS_ENUMERATE(Object, object, ObjectPrototype, ObjectConstructor, void) \ @@ -159,6 +160,9 @@ struct PromiseCapability; class ProxyObject; class ProxyConstructor; +// Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor +class GeneratorObjectPrototype; + class TypedArrayConstructor; class TypedArrayPrototype; |