• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
11@generateCppClass
12extern class JSRegExpStringIterator extends JSObject {
13  // The [[IteratingRegExp]] internal property.
14  iterating_reg_exp: JSReceiver;
15  // The [[IteratedString]] internal property.
16  iterated_string: String;
17  flags: SmiTagged<JSRegExpStringIteratorFlags>;
18}
19