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

Unified Diff: src/parsing/preparser.h

Issue 2703563002: [ESNext] Implement DynamicImportCall (Closed)
Patch Set: fix build Created 3 years, 9 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
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 2a8c349fb35aa9b761999974922fc3aa00970269..386d63169baf853a3ffec5a674f787db4305ee42 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -545,6 +545,11 @@ class PreParserFactory {
void set_zone(Zone* zone) { zone_ = zone; }
+ PreParserExpression NewStringLiteral(const AstRawString* identifier,
adamk 2017/03/15 21:36:44 Don't think you need this now, do you?
gsathya 2017/03/16 00:59:25 Done.
+ int pos) {
+ return PreParserExpression::Default();
+ }
+
PreParserExpression NewStringLiteral(PreParserIdentifier identifier,
int pos) {
// This is needed for object literal property names. Property names are
@@ -775,6 +780,11 @@ class PreParserFactory {
return PreParserExpression::Default();
}
+ PreParserExpression NewImportCallExpression(PreParserExpression args,
+ int pos) {
+ return PreParserExpression::Default();
+ }
+
// Return the object itself as AstVisitor and implement the needed
// dummy method right in this class.
PreParserFactory* visitor() { return this; }

Powered by Google App Engine
This is Rietveld 408576698