// Copyright 2019 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include 'src/objects/js-break-iterator.h' #include 'src/objects/js-collator.h' #include 'src/objects/js-number-format.h' #include 'src/objects/js-objects.h' #include 'src/objects/js-plural-rules.h' #include 'src/objects/js-relative-time-format.h' #include 'src/objects/js-date-time-format.h' #include 'src/objects/js-list-format.h' #include 'src/objects/js-locale.h' #include 'src/objects/js-segment-iterator.h' #include 'src/objects/js-segmenter.h' extern class JSDateTimeFormat extends JSObject { icu_locale: Foreign; // Managed icu_simple_date_format: Foreign; // Managed icu_date_interval_format: Foreign; // Managed bound_format: JSFunction | Undefined; flags: Smi; } extern class JSListFormat extends JSObject { locale: String; icu_formatter: Foreign; // Managed flags: Smi; } extern class JSNumberFormat extends JSObject { locale: String; icu_number_formatter: Foreign; // Managed bound_format: JSFunction | Undefined; flags: Smi; } extern class JSPluralRules extends JSObject { locale: String; flags: Smi; icu_plural_rules: Foreign; // Managed icu_number_formatter: Foreign; // Managed } extern class JSRelativeTimeFormat extends JSObject { locale: String; icu_formatter: Foreign; // Managed flags: Smi; } extern class JSLocale extends JSObject { icu_locale: Foreign; // Managed } extern class JSSegmenter extends JSObject { locale: String; icu_break_iterator: Foreign; // Managed flags: Smi; } extern class JSSegmentIterator extends JSObject { icu_break_iterator: Foreign; // Managed unicode_string: Foreign; // Managed flags: Smi; } extern class JSV8BreakIterator extends JSObject { locale: String; break_iterator: Foreign; // Managed; unicode_string: Foreign; // Managed; bound_adopt_text: Undefined | JSFunction; bound_first: Undefined | JSFunction; bound_next: Undefined | JSFunction; bound_current: Undefined | JSFunction; bound_break_type: Undefined | JSFunction; break_iterator_type: Smi; } extern class JSCollator extends JSObject { icu_collator: Foreign; // Managed bound_compare: Undefined | JSFunction; }