11cb0ef41Sopenharmony_ci// Copyright 2019 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_cibitfield struct JSRegExpStringIteratorFlags extends uint31 { 61cb0ef41Sopenharmony_ci done: bool: 1 bit; 71cb0ef41Sopenharmony_ci global: bool: 1 bit; 81cb0ef41Sopenharmony_ci unicode: bool: 1 bit; 91cb0ef41Sopenharmony_ci} 101cb0ef41Sopenharmony_ci 111cb0ef41Sopenharmony_ciextern class JSRegExpStringIterator extends JSObject { 121cb0ef41Sopenharmony_ci // The [[IteratingRegExp]] internal property. 131cb0ef41Sopenharmony_ci iterating_reg_exp: JSReceiver; 141cb0ef41Sopenharmony_ci // The [[IteratedString]] internal property. 151cb0ef41Sopenharmony_ci iterated_string: String; 161cb0ef41Sopenharmony_ci flags: SmiTagged<JSRegExpStringIteratorFlags>; 171cb0ef41Sopenharmony_ci} 18