| // 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-segment-iterator.h' |
| |
| bitfield struct JSSegmentIteratorFlags extends uint31 { |
| granularity: JSSegmenterGranularity: 2 bit; |
| } |
| |
| @generateCppClass |
| extern class JSSegmentIterator extends JSObject { |
| icu_break_iterator: Foreign; // Managed<icu::BreakIterator> |
| unicode_string: Foreign; // Managed<icu::UnicodeString> |
| flags: SmiTagged<JSSegmentIteratorFlags>; |
| } |