summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/js-segments.tq
blob: 868dd8a1d9bde2a53e67fe4eed978c7d89447e64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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-segments.h'

bitfield struct JSSegmentsFlags extends uint31 {
  granularity: JSSegmenterGranularity: 2 bit;
}

extern class JSSegments extends JSObject {
  icu_break_iterator: Foreign;  // Managed<icu::BreakIterator>
  unicode_string: Foreign;      // Managed<icu::UnicodeString>
  flags: SmiTagged<JSSegmentsFlags>;
}