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-segmenter.h' 6 7type JSSegmenterGranularity extends int32 8constexpr 'JSSegmenter::Granularity'; 9bitfield struct JSSegmenterFlags extends uint31 { 10 granularity: JSSegmenterGranularity: 2 bit; 11} 12 13extern class JSSegmenter extends JSObject { 14 locale: String; 15 icu_break_iterator: Foreign; // Managed<icu::BreakIterator> 16 flags: SmiTagged<JSSegmenterFlags>; 17} 18