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/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/token.h" |
17 #include "src/unicode-inl.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; |
27 class ParserRecorder; | 27 class ParserRecorder; |
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 // inside multiline comments. | 785 // inside multiline comments. |
786 bool has_line_terminator_before_next_; | 786 bool has_line_terminator_before_next_; |
787 // Whether there is a multi-line comment that contains a | 787 // Whether there is a multi-line comment that contains a |
788 // line-terminator after the current token, and before the next. | 788 // line-terminator after the current token, and before the next. |
789 bool has_multiline_comment_before_next_; | 789 bool has_multiline_comment_before_next_; |
790 }; | 790 }; |
791 | 791 |
792 } } // namespace v8::internal | 792 } } // namespace v8::internal |
793 | 793 |
794 #endif // V8_SCANNER_H_ | 794 #endif // V8_SCANNER_H_ |
OLD | NEW |