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

Unified Diff: src/parsing/preparser.h

Issue 1567603005: Set up rewriting triggers (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« src/parsing/parser-base.h ('K') | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparser.h
diff --git a/src/parsing/preparser.h b/src/parsing/preparser.h
index 9253ad5e518f93b9cfc08393a475912eb6377e85..7bc0a2530a6eb2e886a2b4f7810092b12a443053 100644
--- a/src/parsing/preparser.h
+++ b/src/parsing/preparser.h
@@ -926,6 +926,14 @@ class PreParserTraits {
void SetFunctionNameFromPropertyName(PreParserExpression,
PreParserIdentifier) {}
+ inline PreParserExpression RewriteExpression(PreParserExpression expr) {
+ return expr;
+ }
+ inline PreParserExpression RewriteObjectLiteralProperty(
+ PreParserExpression property) {
+ return property;
+ }
+
private:
PreParser* pre_parser_;
};
« src/parsing/parser-base.h ('K') | « src/parsing/parser-base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698