Index: src/parsing/parser.h |
diff --git a/src/parsing/parser.h b/src/parsing/parser.h |
index c37953f04ad3c24480d8f57303e2ade4340ae02c..2f0272bd3668fc4958233ec8f8b94bdef6105b5d 100644 |
--- a/src/parsing/parser.h |
+++ b/src/parsing/parser.h |
@@ -658,8 +658,14 @@ class ParserTraits { |
ObjectLiteralProperty* property, const ExpressionClassifier* classifier, |
bool* ok); |
+ Expression* RewriteYieldStar( |
+ Expression* generator, Expression* expression, int pos); |
+ |
private: |
Parser* parser_; |
+ |
+ void BuildIteratorClose(ZoneList<Statement*>* statements, Variable* iterator, |
+ Maybe<Variable*> input); |
}; |
@@ -756,6 +762,7 @@ class Parser : public ParserBase<ParserTraits> { |
ZoneList<const AstRawString*>* names, |
bool* ok); |
DoExpression* ParseDoExpression(bool* ok); |
+ Expression* ParseYieldStarExpression(bool* ok); |
struct DeclarationDescriptor { |
enum Kind { NORMAL, PARAMETER }; |