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_PARSING_SCANNER_H_ |
8 #define V8_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/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/parsing/token.h" |
17 #include "src/unicode.h" | 17 #include "src/unicode.h" |
18 #include "src/unicode-decoder.h" | 18 #include "src/unicode-decoder.h" |
19 #include "src/utils.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; |
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 // inside multiline comments. | 761 // inside multiline comments. |
762 bool has_line_terminator_before_next_; | 762 bool has_line_terminator_before_next_; |
763 // Whether there is a multi-line comment that contains a | 763 // Whether there is a multi-line comment that contains a |
764 // line-terminator after the current token, and before the next. | 764 // line-terminator after the current token, and before the next. |
765 bool has_multiline_comment_before_next_; | 765 bool has_multiline_comment_before_next_; |
766 }; | 766 }; |
767 | 767 |
768 } // namespace internal | 768 } // namespace internal |
769 } // namespace v8 | 769 } // namespace v8 |
770 | 770 |
771 #endif // V8_SCANNER_H_ | 771 #endif // V8_PARSING_SCANNER_H_ |
OLD | NEW |