1// Copyright 2019 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 5bitfield struct JSRegExpStringIteratorFlags extends uint31 { 6 done: bool: 1 bit; 7 global: bool: 1 bit; 8 unicode: bool: 1 bit; 9} 10 11extern class JSRegExpStringIterator extends JSObject { 12 // The [[IteratingRegExp]] internal property. 13 iterating_reg_exp: JSReceiver; 14 // The [[IteratedString]] internal property. 15 iterated_string: String; 16 flags: SmiTagged<JSRegExpStringIteratorFlags>; 17} 18