mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibJS: Start implementing Intl Segments objects
This commit is contained in:
committed by
Linus Groh
parent
891dfd9cbb
commit
bbacea255f
Notes:
sideshowbarker
2024-07-17 19:58:35 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/bbacea255fd Pull-request: https://github.com/SerenityOS/serenity/pull/12211 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/trflynn89 ✅
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user