Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index 5c12aeb8d0f7fc9f364e78a24a6ee22bb2ced0d8..a9e6986cf547ea9a12e5dbf6cf89f0a49b0e5255 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -401,10 +401,15 @@ class Parser : public ParserBase<Parser> { |
Expression* iterable, Statement* body, |
bool finalize, |
int next_result_pos = kNoSourcePosition); |
+ Block* RewriteForVarInLegacy(ForInfo* for_info); |
+ std::pair<Block*, Expression*> DesugarBindingInForEachStatement( |
+ ForInfo* for_info, bool* ok); |
+ Block* CreateForEachStatementTDZ(Block* init_block, ForInfo* for_info, |
+ bool* ok); |
+ |
Statement* DesugarLexicalBindingsInForStatement( |
- Scope* inner_scope, VariableMode mode, |
- ZoneList<const AstRawString*>* names, ForStatement* loop, Statement* init, |
- Expression* cond, Statement* next, Statement* body, bool* ok); |
+ ForStatement* loop, Statement* init, Expression* cond, Statement* next, |
+ Statement* body, Scope* inner_scope, ForInfo* for_info, bool* ok); |
void DesugarAsyncFunctionBody(Scope* scope, ZoneList<Statement*>* body, |
FunctionKind kind, FunctionBodyType type, |