summaryrefslogtreecommitdiffstats
path: root/js/src/jsiter.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-26 13:37:09 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-26 13:37:09 +0100
commit185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c (patch)
tree9b83879173624e3dcb5ba6d1404fb89f2c47cb66 /js/src/jsiter.h
parente8c40b0bc2aa25b9f85ddbe3949c296311cc0f3f (diff)
downloadUXP-185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c.tar
UXP-185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c.tar.gz
UXP-185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c.tar.lz
UXP-185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c.tar.xz
UXP-185a9a750878ed1d9705fbd162dbfe9bf2e4ea0c.zip
Issue #1302 - Add self-hosted implementation for string regex .matchAll
This resolves #1302.
Diffstat (limited to 'js/src/jsiter.h')
-rw-r--r--js/src/jsiter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jsiter.h b/js/src/jsiter.h
index a3035ddd0..52eb045c5 100644
--- a/js/src/jsiter.h
+++ b/js/src/jsiter.h
@@ -151,6 +151,12 @@ class StringIteratorObject : public JSObject
static const Class class_;
};
+class RegExpStringIteratorObject : public JSObject
+{
+ public:
+ static const Class class_;
+};
+
bool
GetIterator(JSContext* cx, HandleObject obj, unsigned flags, MutableHandleObject objp);