summaryrefslogtreecommitdiff
path: root/deps/v8/src/objects/js-regexp-string-iterator.tq
blob: a5efd261445ed584181044781d22df83055f950f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2019 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.

bitfield struct JSRegExpStringIteratorFlags extends uint31 {
  done: bool: 1 bit;
  global: bool: 1 bit;
  unicode: bool: 1 bit;
}

extern class JSRegExpStringIterator extends JSObject {
  // The [[IteratingRegExp]] internal property.
  iterating_reg_exp: JSReceiver;
  // The [[IteratedString]] internal property.
  iterated_string: String;
  flags: SmiTagged<JSRegExpStringIteratorFlags>;
}