Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: src/parsing/parser.h

Issue 1564083002: Add spread rewriting (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase to remove things added in separate CLs Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ast/ast.h ('k') | src/parsing/parser.cc » ('j') | src/parsing/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/parser.h
diff --git a/src/parsing/parser.h b/src/parsing/parser.h
index d1063b0215fdcdb54159dae13c7fd0f5f43a75c7..9b65258e84bb79e649d888b7c2eb74c909a4317c 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -1008,6 +1008,9 @@ class Parser : public ParserBase<ParserTraits> {
V8_INLINE void RewriteDestructuringAssignments();
+ friend class SpreadRewriter;
+ V8_INLINE Expression* RewriteSpreads(ArrayLiteral* lit);
+
V8_INLINE Expression* RewriteExpression(Expression* expr);
V8_INLINE ObjectLiteralProperty* RewriteObjectLiteralProperty(
ObjectLiteralProperty* property);
« no previous file with comments | « src/ast/ast.h ('k') | src/parsing/parser.cc » ('j') | src/parsing/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698