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_PARSING_SCANNER_H_ | 7 #ifndef V8_PARSING_SCANNER_H_ |
8 #define V8_PARSING_SCANNER_H_ | 8 #define V8_PARSING_SCANNER_H_ |
9 | 9 |
10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
11 #include "src/base/logging.h" | 11 #include "src/base/logging.h" |
12 #include "src/char-predicates.h" | 12 #include "src/char-predicates.h" |
| 13 #include "src/collector.h" |
13 #include "src/globals.h" | 14 #include "src/globals.h" |
14 #include "src/hashmap.h" | 15 #include "src/hashmap.h" |
15 #include "src/list.h" | 16 #include "src/list.h" |
16 #include "src/parsing/token.h" | 17 #include "src/parsing/token.h" |
17 #include "src/unicode.h" | 18 #include "src/unicode.h" |
18 #include "src/unicode-decoder.h" | 19 #include "src/unicode-decoder.h" |
19 #include "src/utils.h" | |
20 | 20 |
21 namespace v8 { | 21 namespace v8 { |
22 namespace internal { | 22 namespace internal { |
23 | 23 |
24 | 24 |
25 class AstRawString; | 25 class AstRawString; |
26 class AstValueFactory; | 26 class AstValueFactory; |
27 class ParserRecorder; | 27 class ParserRecorder; |
28 class UnicodeCache; | 28 class UnicodeCache; |
29 | 29 |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 bool has_multiline_comment_before_next_; | 757 bool has_multiline_comment_before_next_; |
758 | 758 |
759 // Whether this scanner encountered an HTML comment. | 759 // Whether this scanner encountered an HTML comment. |
760 bool found_html_comment_; | 760 bool found_html_comment_; |
761 }; | 761 }; |
762 | 762 |
763 } // namespace internal | 763 } // namespace internal |
764 } // namespace v8 | 764 } // namespace v8 |
765 | 765 |
766 #endif // V8_PARSING_SCANNER_H_ | 766 #endif // V8_PARSING_SCANNER_H_ |
OLD | NEW |