OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 // The infrastructure used for (localized) message reporting in V8. | 5 // The infrastructure used for (localized) message reporting in V8. |
6 // | 6 // |
7 // Note: there's a big unresolved issue about ownership of the data | 7 // Note: there's a big unresolved issue about ownership of the data |
8 // structures used by this framework. | 8 // structures used by this framework. |
9 | 9 |
10 #ifndef V8_MESSAGES_H_ | 10 #ifndef V8_MESSAGES_H_ |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ | 250 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ |
251 T(InvalidArrayBufferLength, "Invalid array buffer length") \ | 251 T(InvalidArrayBufferLength, "Invalid array buffer length") \ |
252 T(InvalidArrayLength, "Invalid array length") \ | 252 T(InvalidArrayLength, "Invalid array length") \ |
253 T(InvalidCodePoint, "Invalid code point %") \ | 253 T(InvalidCodePoint, "Invalid code point %") \ |
254 T(InvalidCountValue, "Invalid count value") \ | 254 T(InvalidCountValue, "Invalid count value") \ |
255 T(InvalidCurrencyCode, "Invalid currency code: %") \ | 255 T(InvalidCurrencyCode, "Invalid currency code: %") \ |
256 T(InvalidDataViewAccessorOffset, \ | 256 T(InvalidDataViewAccessorOffset, \ |
257 "Offset is outside the bounds of the DataView") \ | 257 "Offset is outside the bounds of the DataView") \ |
258 T(InvalidDataViewLength, "Invalid data view length") \ | 258 T(InvalidDataViewLength, "Invalid data view length") \ |
259 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ | 259 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ |
| 260 T(InvalidHint, "Invalid hint: %") \ |
260 T(InvalidLanguageTag, "Invalid language tag: %") \ | 261 T(InvalidLanguageTag, "Invalid language tag: %") \ |
261 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ | 262 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ |
262 T(InvalidWeakSetValue, "Invalid value used in weak set") \ | 263 T(InvalidWeakSetValue, "Invalid value used in weak set") \ |
263 T(InvalidStringLength, "Invalid string length") \ | 264 T(InvalidStringLength, "Invalid string length") \ |
264 T(InvalidTimeValue, "Invalid time value") \ | 265 T(InvalidTimeValue, "Invalid time value") \ |
265 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ | 266 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ |
266 T(InvalidTypedArrayLength, "Invalid typed array length") \ | 267 T(InvalidTypedArrayLength, "Invalid typed array length") \ |
267 T(InvalidTypedArrayOffset, "Start offset is too large:") \ | 268 T(InvalidTypedArrayOffset, "Start offset is too large:") \ |
268 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ | 269 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ |
269 T(NormalizationForm, "The normalization form should be one of %.") \ | 270 T(NormalizationForm, "The normalization form should be one of %.") \ |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 483 |
483 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 484 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
484 Isolate* isolate, LookupIterator* property_lookup, | 485 Isolate* isolate, LookupIterator* property_lookup, |
485 Handle<String> default_value); | 486 Handle<String> default_value); |
486 | 487 |
487 List<Handle<JSObject> > visited_; | 488 List<Handle<JSObject> > visited_; |
488 }; | 489 }; |
489 } } // namespace v8::internal | 490 } } // namespace v8::internal |
490 | 491 |
491 #endif // V8_MESSAGES_H_ | 492 #endif // V8_MESSAGES_H_ |
OLD | NEW |