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

Side by Side Diff: src/scanner.h

Issue 561913002: Class syntax parsing (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: git rebase Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/prettyprinter.cc ('k') | src/scanner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Features shared by parsing and pre-parsing scanners. 5 // Features shared by parsing and pre-parsing scanners.
6 6
7 #ifndef V8_SCANNER_H_ 7 #ifndef V8_SCANNER_H_
8 #define V8_SCANNER_H_ 8 #define V8_SCANNER_H_
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 bool has_line_terminator_before_next_; 646 bool has_line_terminator_before_next_;
647 // Whether there is a multi-line comment that contains a 647 // Whether there is a multi-line comment that contains a
648 // line-terminator after the current token, and before the next. 648 // line-terminator after the current token, and before the next.
649 bool has_multiline_comment_before_next_; 649 bool has_multiline_comment_before_next_;
650 // Whether we scan 'let' as a keyword for harmony block-scoped let bindings. 650 // Whether we scan 'let' as a keyword for harmony block-scoped let bindings.
651 bool harmony_scoping_; 651 bool harmony_scoping_;
652 // Whether we scan 'module', 'import', 'export' as keywords. 652 // Whether we scan 'module', 'import', 'export' as keywords.
653 bool harmony_modules_; 653 bool harmony_modules_;
654 // Whether we scan 0o777 and 0b111 as numbers. 654 // Whether we scan 0o777 and 0b111 as numbers.
655 bool harmony_numeric_literals_; 655 bool harmony_numeric_literals_;
656 // Whether we scan 'super' as keyword. 656 // Whether we scan 'class', 'extends', 'static' and 'super' as keywords.
657 bool harmony_classes_; 657 bool harmony_classes_;
658 }; 658 };
659 659
660 } } // namespace v8::internal 660 } } // namespace v8::internal
661 661
662 #endif // V8_SCANNER_H_ 662 #endif // V8_SCANNER_H_
OLDNEW
« no previous file with comments | « src/prettyprinter.cc ('k') | src/scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698