| OLD | NEW |
| 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" |
| 11 #include "src/base/logging.h" |
| 11 #include "src/char-predicates.h" | 12 #include "src/char-predicates.h" |
| 12 #include "src/checks.h" | |
| 13 #include "src/globals.h" | 13 #include "src/globals.h" |
| 14 #include "src/hashmap.h" | 14 #include "src/hashmap.h" |
| 15 #include "src/list.h" | 15 #include "src/list.h" |
| 16 #include "src/token.h" | 16 #include "src/token.h" |
| 17 #include "src/unicode-inl.h" | 17 #include "src/unicode-inl.h" |
| 18 #include "src/utils.h" | 18 #include "src/utils.h" |
| 19 | 19 |
| 20 namespace v8 { | 20 namespace v8 { |
| 21 namespace internal { | 21 namespace internal { |
| 22 | 22 |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 bool harmony_scoping_; | 630 bool harmony_scoping_; |
| 631 // Whether we scan 'module', 'import', 'export' as keywords. | 631 // Whether we scan 'module', 'import', 'export' as keywords. |
| 632 bool harmony_modules_; | 632 bool harmony_modules_; |
| 633 // Whether we scan 0o777 and 0b111 as numbers. | 633 // Whether we scan 0o777 and 0b111 as numbers. |
| 634 bool harmony_numeric_literals_; | 634 bool harmony_numeric_literals_; |
| 635 }; | 635 }; |
| 636 | 636 |
| 637 } } // namespace v8::internal | 637 } } // namespace v8::internal |
| 638 | 638 |
| 639 #endif // V8_SCANNER_H_ | 639 #endif // V8_SCANNER_H_ |
| OLD | NEW |