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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ | 260 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ |
261 T(InvalidHint, "Invalid hint: %") \ | 261 T(InvalidHint, "Invalid hint: %") \ |
262 T(InvalidLanguageTag, "Invalid language tag: %") \ | 262 T(InvalidLanguageTag, "Invalid language tag: %") \ |
263 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ | 263 T(InvalidWeakMapKey, "Invalid value used as weak map key") \ |
264 T(InvalidWeakSetValue, "Invalid value used in weak set") \ | 264 T(InvalidWeakSetValue, "Invalid value used in weak set") \ |
265 T(InvalidStringLength, "Invalid string length") \ | 265 T(InvalidStringLength, "Invalid string length") \ |
266 T(InvalidTimeValue, "Invalid time value") \ | 266 T(InvalidTimeValue, "Invalid time value") \ |
267 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ | 267 T(InvalidTypedArrayAlignment, "% of % should be a multiple of %") \ |
268 T(InvalidTypedArrayLength, "Invalid typed array length") \ | 268 T(InvalidTypedArrayLength, "Invalid typed array length") \ |
269 T(InvalidTypedArrayOffset, "Start offset is too large:") \ | 269 T(InvalidTypedArrayOffset, "Start offset is too large:") \ |
| 270 T(LetInLexicalBinding, "let is disallowed as a lexically bound name") \ |
270 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ | 271 T(LocaleMatcher, "Illegal value for localeMatcher:%") \ |
271 T(NormalizationForm, "The normalization form should be one of %.") \ | 272 T(NormalizationForm, "The normalization form should be one of %.") \ |
272 T(NumberFormatRange, "% argument must be between 0 and 20") \ | 273 T(NumberFormatRange, "% argument must be between 0 and 20") \ |
273 T(PropertyValueOutOfRange, "% value is out of range.") \ | 274 T(PropertyValueOutOfRange, "% value is out of range.") \ |
274 T(StackOverflow, "Maximum call stack size exceeded") \ | 275 T(StackOverflow, "Maximum call stack size exceeded") \ |
275 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ | 276 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ |
276 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ | 277 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ |
277 T(TypedArraySetNegativeOffset, "Start offset is negative") \ | 278 T(TypedArraySetNegativeOffset, "Start offset is negative") \ |
278 T(TypedArraySetSourceTooLarge, "Source is too large") \ | 279 T(TypedArraySetSourceTooLarge, "Source is too large") \ |
279 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ | 280 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 488 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
488 Isolate* isolate, LookupIterator* property_lookup, | 489 Isolate* isolate, LookupIterator* property_lookup, |
489 Handle<String> default_value); | 490 Handle<String> default_value); |
490 | 491 |
491 List<Handle<JSObject> > visited_; | 492 List<Handle<JSObject> > visited_; |
492 }; | 493 }; |
493 } // namespace internal | 494 } // namespace internal |
494 } // namespace v8 | 495 } // namespace v8 |
495 | 496 |
496 #endif // V8_MESSAGES_H_ | 497 #endif // V8_MESSAGES_H_ |
OLD | NEW |