| 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" |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 | 756 |
| 757 // Whether there is a line terminator whitespace character after | 757 // Whether there is a line terminator whitespace character after |
| 758 // the current token, and before the next. Does not count newlines | 758 // the current token, and before the next. Does not count newlines |
| 759 // inside multiline comments. | 759 // inside multiline comments. |
| 760 bool has_line_terminator_before_next_; | 760 bool has_line_terminator_before_next_; |
| 761 // Whether there is a multi-line comment that contains a | 761 // Whether there is a multi-line comment that contains a |
| 762 // line-terminator after the current token, and before the next. | 762 // line-terminator after the current token, and before the next. |
| 763 bool has_multiline_comment_before_next_; | 763 bool has_multiline_comment_before_next_; |
| 764 }; | 764 }; |
| 765 | 765 |
| 766 } } // namespace v8::internal | 766 } // namespace internal |
| 767 } // namespace v8 |
| 767 | 768 |
| 768 #endif // V8_SCANNER_H_ | 769 #endif // V8_SCANNER_H_ |
| OLD | NEW |