1// Copyright 2018 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
5#ifndef V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_H_
6#define V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_H_
7
8#include "src/objects/js-objects.h"
9#include "torque-generated/bit-fields.h"
10
11// Has to be the last include (doesn't have include guards):
12#include "src/objects/object-macros.h"
13
14namespace v8 {
15namespace internal {
16
17#include "torque-generated/src/objects/js-regexp-string-iterator-tq.inc"
18
19class JSRegExpStringIterator
20    : public TorqueGeneratedJSRegExpStringIterator<JSRegExpStringIterator,
21                                                   JSObject> {
22 public:
23  // [boolean]: The [[Done]] internal property.
24  DECL_BOOLEAN_ACCESSORS(done)
25
26  // [boolean]: The [[Global]] internal property.
27  DECL_BOOLEAN_ACCESSORS(global)
28
29  // [boolean]: The [[Unicode]] internal property.
30  DECL_BOOLEAN_ACCESSORS(unicode)
31
32  DECL_PRINTER(JSRegExpStringIterator)
33
34  DEFINE_TORQUE_GENERATED_JS_REG_EXP_STRING_ITERATOR_FLAGS()
35
36  TQ_OBJECT_CONSTRUCTORS(JSRegExpStringIterator)
37};
38
39}  // namespace internal
40}  // namespace v8
41
42#include "src/objects/object-macros-undef.h"
43
44#endif  // V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_H_
45