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_SCANNER_CHARACTER_STREAMS_H_ |
6 #define V8_SCANNER_CHARACTER_STREAMS_H_ | 6 #define V8_SCANNER_CHARACTER_STREAMS_H_ |
7 | 7 |
8 #include "src/handles.h" | 8 #include "src/handles.h" |
9 #include "src/scanner.h" | 9 #include "src/scanner.h" |
10 #include "src/vector.h" | 10 #include "src/vector.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 } | 176 } |
177 Handle<ExternalTwoByteString> source_; | 177 Handle<ExternalTwoByteString> source_; |
178 const uc16* raw_data_; // Pointer to the actual array of characters. | 178 const uc16* raw_data_; // Pointer to the actual array of characters. |
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 v8::internal | 186 } // namespace internal |
| 187 } // namespace v8 |
187 | 188 |
188 #endif // V8_SCANNER_CHARACTER_STREAMS_H_ | 189 #endif // V8_SCANNER_CHARACTER_STREAMS_H_ |
OLD | NEW |