| 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 "allocation.h" | 10 #include "src/allocation.h" | 
| 11 #include "char-predicates.h" | 11 #include "src/char-predicates.h" | 
| 12 #include "checks.h" | 12 #include "src/checks.h" | 
| 13 #include "globals.h" | 13 #include "src/globals.h" | 
| 14 #include "hashmap.h" | 14 #include "src/hashmap.h" | 
| 15 #include "list.h" | 15 #include "src/list.h" | 
| 16 #include "token.h" | 16 #include "src/token.h" | 
| 17 #include "unicode-inl.h" | 17 #include "src/unicode-inl.h" | 
| 18 #include "utils.h" | 18 #include "src/utils.h" | 
| 19 | 19 | 
| 20 namespace v8 { | 20 namespace v8 { | 
| 21 namespace internal { | 21 namespace internal { | 
| 22 | 22 | 
| 23 | 23 | 
| 24 class ParserRecorder; | 24 class ParserRecorder; | 
| 25 | 25 | 
| 26 | 26 | 
| 27 // Returns the value (0 .. 15) of a hexadecimal character c. | 27 // Returns the value (0 .. 15) of a hexadecimal character c. | 
| 28 // If c is not a legal hexadecimal character, returns a value < 0. | 28 // If c is not a legal hexadecimal character, returns a value < 0. | 
| (...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 629   bool harmony_scoping_; | 629   bool harmony_scoping_; | 
| 630   // Whether we scan 'module', 'import', 'export' as keywords. | 630   // Whether we scan 'module', 'import', 'export' as keywords. | 
| 631   bool harmony_modules_; | 631   bool harmony_modules_; | 
| 632   // Whether we scan 0o777 and 0b111 as numbers. | 632   // Whether we scan 0o777 and 0b111 as numbers. | 
| 633   bool harmony_numeric_literals_; | 633   bool harmony_numeric_literals_; | 
| 634 }; | 634 }; | 
| 635 | 635 | 
| 636 } }  // namespace v8::internal | 636 } }  // namespace v8::internal | 
| 637 | 637 | 
| 638 #endif  // V8_SCANNER_H_ | 638 #endif  // V8_SCANNER_H_ | 
| OLD | NEW | 
|---|