1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:57:45 +00:00

LibJS: Start implementing Intl Segments objects

This commit is contained in:
Idan Horowitz 2022-01-30 01:08:42 +02:00 committed by Linus Groh
parent 891dfd9cbb
commit bbacea255f
8 changed files with 136 additions and 0 deletions

View file

@ -38,6 +38,9 @@ public:
GeneratorPrototype* generator_prototype() { return m_generator_prototype; }
AsyncFromSyncIteratorPrototype* async_from_sync_iterator_prototype() { return m_async_from_sync_iterator_prototype; }
// Not included in JS_ENUMERATE_INTL_OBJECTS due to missing distinct constructor
Intl::SegmentsPrototype* intl_segments_prototype() { return m_intl_segments_prototype; }
FunctionObject* array_prototype_values_function() const { return m_array_prototype_values_function; }
FunctionObject* date_constructor_now_function() const { return m_date_constructor_now_function; }
FunctionObject* eval_function() const { return m_eval_function; }
@ -106,6 +109,9 @@ private:
GeneratorPrototype* m_generator_prototype { nullptr };
AsyncFromSyncIteratorPrototype* m_async_from_sync_iterator_prototype { nullptr };
// Not included in JS_ENUMERATE_INTL_OBJECTS due to missing distinct constructor
Intl::SegmentsPrototype* m_intl_segments_prototype { nullptr };
FunctionObject* m_array_prototype_values_function { nullptr };
FunctionObject* m_date_constructor_now_function { nullptr };
FunctionObject* m_eval_function { nullptr };