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_INL_H_ 6 #define V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_INL_H_ 7 8 #include "src/objects/js-regexp-string-iterator.h" 9 10 #include "src/objects/objects-inl.h" // Needed for write barriers 11 12 // Has to be the last include (doesn't have include guards): 13 #include "src/objects/object-macros.h" 14 15 namespace v8 { 16 namespace internal { 17 18 #include "torque-generated/src/objects/js-regexp-string-iterator-tq-inl.inc" 19 20 TQ_OBJECT_CONSTRUCTORS_IMPL(JSRegExpStringIterator) 21 22 BOOL_ACCESSORS(JSRegExpStringIterator, flags, done, DoneBit::kShift) 23 BOOL_ACCESSORS(JSRegExpStringIterator, flags, global, GlobalBit::kShift) 24 BOOL_ACCESSORS(JSRegExpStringIterator, flags, unicode, UnicodeBit::kShift) 25 26 } // namespace internal 27 } // namespace v8 28 29 #include "src/objects/object-macros-undef.h" 30 31 #endif // V8_OBJECTS_JS_REGEXP_STRING_ITERATOR_INL_H_ 32