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

Unified Diff: src/scanner.h

Issue 1213813003: [es6] Remove harmony-classes flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove empty flags field from json Created 5 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/preparser.h ('k') | src/scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scanner.h
diff --git a/src/scanner.h b/src/scanner.h
index f387d84133f984ff5183b6b802d65cf5cb3293bb..5559b8424c389d763a4860656499ee0fb8ca4963 100644
--- a/src/scanner.h
+++ b/src/scanner.h
@@ -483,12 +483,7 @@ class Scanner {
void SetHarmonyModules(bool modules) {
harmony_modules_ = modules;
}
- bool HarmonyClasses() const {
- return harmony_classes_;
- }
- void SetHarmonyClasses(bool classes) {
- harmony_classes_ = classes;
- }
+
bool HarmonyUnicode() const { return harmony_unicode_; }
void SetHarmonyUnicode(bool unicode) { harmony_unicode_ = unicode; }
@@ -803,8 +798,6 @@ class Scanner {
bool has_multiline_comment_before_next_;
// Whether we scan 'module', 'import', 'export' as keywords.
bool harmony_modules_;
- // Whether we scan 'class', 'extends', 'static' and 'super' as keywords.
- bool harmony_classes_;
// Whether we allow \u{xxxxx}.
bool harmony_unicode_;
};
« no previous file with comments | « src/preparser.h ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698