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

Unified Diff: src/parser.h

Issue 887843002: Implement new syntax for ImportDeclarations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add more negative tests Created 5 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 | « no previous file | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parser.h
diff --git a/src/parser.h b/src/parser.h
index e9987718312098175fe66a3641fa403a1781bfb3..7e0e154be69453f96b7f28061944d9c9fecd64d1 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -755,8 +755,9 @@ class Parser : public ParserBase<ParserTraits> {
Statement* ParseImportDeclaration(bool* ok);
Statement* ParseExportDeclaration(bool* ok);
Statement* ParseExportDefault(bool* ok);
- void* ParseModuleDeclarationClause(ZoneList<const AstRawString*>* names,
- bool* ok);
+ void* ParseExportClause(ZoneList<const AstRawString*>* names,
+ Scanner::Location* reserved_loc, bool* ok);
+ void* ParseNamedImports(ZoneList<const AstRawString*>* names, bool* ok);
Statement* ParseStatement(ZoneList<const AstRawString*>* labels, bool* ok);
Statement* ParseFunctionDeclaration(ZoneList<const AstRawString*>* names,
bool* ok);
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698