mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
LibJS: Rename GeneratorObjectPrototype to GeneratorPrototype
Given we usually call objects Foo{Object,Constructor,Prototype} or Foo{,Constructor,Prototype}, this name was an odd choice. The new one matches the spec better, which calls it the "Generator Prototype Object", so we simply omit the Object suffix as usual as it's implied.
This commit is contained in:
parent
b76c66a9ed
commit
4ed49e05a9
10 changed files with 30 additions and 30 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
ProxyConstructor* proxy_constructor() { return m_proxy_constructor; }
|
||||
|
||||
// Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor
|
||||
GeneratorObjectPrototype* generator_object_prototype() { return m_generator_object_prototype; }
|
||||
GeneratorPrototype* generator_prototype() { return m_generator_prototype; }
|
||||
AsyncFromSyncIteratorPrototype* async_from_sync_iterator_prototype() { return m_async_from_sync_iterator_prototype; }
|
||||
|
||||
FunctionObject* array_prototype_values_function() const { return m_array_prototype_values_function; }
|
||||
|
@ -102,7 +102,7 @@ private:
|
|||
ProxyConstructor* m_proxy_constructor { nullptr };
|
||||
|
||||
// Not included in JS_ENUMERATE_NATIVE_OBJECTS due to missing distinct constructor
|
||||
GeneratorObjectPrototype* m_generator_object_prototype { nullptr };
|
||||
GeneratorPrototype* m_generator_prototype { nullptr };
|
||||
AsyncFromSyncIteratorPrototype* m_async_from_sync_iterator_prototype { nullptr };
|
||||
|
||||
FunctionObject* m_array_prototype_values_function { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue