summaryrefslogtreecommitdiffstats
path: root/js/src/frontend/Parser.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-14 09:22:48 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-17 06:25:28 -0500
commit5bdfdb678d4063f77392d5029b9803c8cdc6f248 (patch)
treee9edbaddf0c3cd48fe05765d519e665c019f3e02 /js/src/frontend/Parser.h
parent580dfb2afbef15764b56714f3eb690a67f0af9c1 (diff)
downloadUXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.gz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.lz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.tar.xz
UXP-5bdfdb678d4063f77392d5029b9803c8cdc6f248.zip
Bug 1331092 - Part 9: Implement for-await-of.
Tag #1287
Diffstat (limited to 'js/src/frontend/Parser.h')
-rw-r--r--js/src/frontend/Parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/frontend/Parser.h b/js/src/frontend/Parser.h
index 73c2817f4..243a77083 100644
--- a/js/src/frontend/Parser.h
+++ b/js/src/frontend/Parser.h
@@ -12,6 +12,7 @@
#include "mozilla/Array.h"
#include "mozilla/Maybe.h"
+#include "jsiter.h"
#include "jspubtd.h"
#include "frontend/BytecodeCompiler.h"
@@ -1196,6 +1197,7 @@ class Parser final : public ParserBase, private JS::AutoGCRooter
Node forStatement(YieldHandling yieldHandling);
bool forHeadStart(YieldHandling yieldHandling,
+ IteratorKind iterKind,
ParseNodeKind* forHeadKind,
Node* forInitialPart,
mozilla::Maybe<ParseContext::Scope>& forLetImpliedScope,