1// Copyright 2020 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include 'src/objects/js-list-format.h' 6 7type JSListFormatStyle extends int32 constexpr 'JSListFormat::Style'; 8type JSListFormatType extends int32 constexpr 'JSListFormat::Type'; 9bitfield struct JSListFormatFlags extends uint31 { 10 style: JSListFormatStyle: 2 bit; 11 Type: JSListFormatType: 2 bit; // "type" is a reserved word. 12} 13 14extern class JSListFormat extends JSObject { 15 locale: String; 16 icu_formatter: Foreign; // Managed<icu::ListFormatter> 17 flags: SmiTagged<JSListFormatFlags>; 18} 19