• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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-display-names.h'
6
7type JSDisplayNamesStyle extends int32 constexpr 'JSDisplayNames::Style';
8type JSDisplayNamesFallback extends int32
9constexpr 'JSDisplayNames::Fallback';
10type JSDisplayNamesLanguageDisplay extends int32
11constexpr 'JSDisplayNames::LanguageDisplay';
12bitfield struct JSDisplayNamesFlags extends uint31 {
13  style: JSDisplayNamesStyle: 2 bit;
14  fallback: JSDisplayNamesFallback: 1 bit;
15  language_display: JSDisplayNamesLanguageDisplay: 1 bit;
16}
17
18extern class JSDisplayNames extends JSObject {
19  internal: Foreign;  // Managed<DisplayNamesInternal>
20  flags: SmiTagged<JSDisplayNamesFlags>;
21}
22