blob: 445bd0ed91cc450adc6c81281d7b3436c890beeb [file] [log] [blame]
// Copyright 2020 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-display-names.h'
type JSDisplayNamesStyle extends int32 constexpr 'JSDisplayNames::Style';
type JSDisplayNamesFallback extends int32
constexpr 'JSDisplayNames::Fallback';
type JSDisplayNamesLanguageDisplay extends int32
constexpr 'JSDisplayNames::LanguageDisplay';
bitfield struct JSDisplayNamesFlags extends uint31 {
style: JSDisplayNamesStyle: 2 bit;
fallback: JSDisplayNamesFallback: 1 bit;
language_display: JSDisplayNamesLanguageDisplay: 1 bit;
}
extern class JSDisplayNames extends JSObject {
internal: Foreign; // Managed<DisplayNamesInternal>
flags: SmiTagged<JSDisplayNamesFlags>;
}