Index: src/parser.h |
diff --git a/src/parser.h b/src/parser.h |
index ae600d6753e0b974639952deb96619fe9b0d6738..b7e0700009f6ff56cbe92ce48b9fb5788d5cd2e9 100644 |
--- a/src/parser.h |
+++ b/src/parser.h |
@@ -688,6 +688,12 @@ class Parser BASE_EMBEDDED { |
// in the object literal boilerplate. |
Handle<Object> GetBoilerplateValue(Expression* expression); |
+ // Initialize the components of a for-in / for-of statement. |
+ void InitializeForEachStatement(ForEachStatement* stmt, |
+ Expression* each, |
+ Expression* subject, |
+ Statement* body); |
+ |
ZoneList<Expression*>* ParseArguments(bool* ok); |
FunctionLiteral* ParseFunctionLiteral(Handle<String> var_name, |
bool name_is_reserved, |