| 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 #ifndef V8_SCANNER_CHARACTER_STREAMS_H_ | 5 #ifndef V8_PARSING_SCANNER_CHARACTER_STREAMS_H_ |
| 6 #define V8_SCANNER_CHARACTER_STREAMS_H_ | 6 #define V8_PARSING_SCANNER_CHARACTER_STREAMS_H_ |
| 7 | 7 |
| 8 #include "src/handles.h" | 8 #include "src/handles.h" |
| 9 #include "src/scanner.h" | 9 #include "src/parsing/scanner.h" |
| 10 #include "src/vector.h" | 10 #include "src/vector.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // Forward declarations. | 15 // Forward declarations. |
| 16 class ExternalTwoByteString; | 16 class ExternalTwoByteString; |
| 17 | 17 |
| 18 // A buffered character stream based on a random access character | 18 // A buffered character stream based on a random access character |
| 19 // source (ReadBlock can be called with pos_ pointing to any position, | 19 // source (ReadBlock can be called with pos_ pointing to any position, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 | 179 |
| 180 private: | 180 private: |
| 181 static const size_t kNoBookmark = -1; | 181 static const size_t kNoBookmark = -1; |
| 182 | 182 |
| 183 size_t bookmark_; | 183 size_t bookmark_; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // namespace internal | 186 } // namespace internal |
| 187 } // namespace v8 | 187 } // namespace v8 |
| 188 | 188 |
| 189 #endif // V8_SCANNER_CHARACTER_STREAMS_H_ | 189 #endif // V8_PARSING_SCANNER_CHARACTER_STREAMS_H_ |
| OLD | NEW |