summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibJS/Forward.h')
-rw-r--r--Libraries/LibJS/Forward.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Libraries/LibJS/Forward.h b/Libraries/LibJS/Forward.h
index 833206e001..1883c67417 100644
--- a/Libraries/LibJS/Forward.h
+++ b/Libraries/LibJS/Forward.h
@@ -67,6 +67,10 @@
__JS_ENUMERATE(TypeError, type_error, TypeErrorPrototype, TypeErrorConstructor) \
__JS_ENUMERATE(URIError, uri_error, URIErrorPrototype, URIErrorConstructor)
+#define JS_ENUMERATE_ITERATOR_PROTOTYPES \
+ __JS_ENUMERATE(Iterator, iterator) \
+ __JS_ENUMERATE(ArrayIterator, array_iterator)
+
#define JS_ENUMERATE_BUILTIN_TYPES \
JS_ENUMERATE_NATIVE_OBJECTS \
JS_ENUMERATE_ERROR_SUBCLASSES