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

Unified Diff: src/parsing/parser.h

Issue 2111153002: [modules] Refactor parsing of anonymous declarations in default exports. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Nits and remove TODOs for now. Created 4 years, 6 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-value-factory.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »
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 fcf90bab22954321689e149331a0bbc651b1dc95..3f2c488f09879257d89c09caece5a0d554413f06 100644
--- a/src/parsing/parser.h
+++ b/src/parsing/parser.h
@@ -782,18 +782,15 @@ class Parser : public ParserBase<ParserTraits> {
bool* ok);
Statement* ParseFunctionDeclaration(bool* ok);
Statement* ParseHoistableDeclaration(ZoneList<const AstRawString*>* names,
- bool* ok);
+ bool default_export, bool* ok);
Statement* ParseHoistableDeclaration(int pos, ParseFunctionFlags flags,
ZoneList<const AstRawString*>* names,
- bool* ok);
+ bool default_export, bool* ok);
Statement* ParseAsyncFunctionDeclaration(ZoneList<const AstRawString*>* names,
- bool* ok);
+ bool default_export, bool* ok);
Expression* ParseAsyncFunctionExpression(bool* ok);
- Statement* ParseFunctionDeclaration(int pos, bool is_generator,
- ZoneList<const AstRawString*>* names,
- bool* ok);
Statement* ParseClassDeclaration(ZoneList<const AstRawString*>* names,
- bool* ok);
+ bool default_export, bool* ok);
Statement* ParseNativeDeclaration(bool* ok);
Block* ParseBlock(ZoneList<const AstRawString*>* labels, bool* ok);
Block* ParseBlock(ZoneList<const AstRawString*>* labels,
« no previous file with comments | « src/ast/ast-value-factory.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698