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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 T(StrongSuperCallMissing, \ | 246 T(StrongSuperCallMissing, \ |
247 "In strong mode, invoking the super constructor in a subclass is " \ | 247 "In strong mode, invoking the super constructor in a subclass is " \ |
248 "required") \ | 248 "required") \ |
249 T(StrongUnboundGlobal, \ | 249 T(StrongUnboundGlobal, \ |
250 "In strong mode, using an undeclared global variable '%' is not allowed") \ | 250 "In strong mode, using an undeclared global variable '%' is not allowed") \ |
251 T(UnsupportedSuper, "Unsupported reference to 'super'") \ | 251 T(UnsupportedSuper, "Unsupported reference to 'super'") \ |
252 /* RangeError */ \ | 252 /* RangeError */ \ |
253 T(DateRange, "Provided date is not in valid range.") \ | 253 T(DateRange, "Provided date is not in valid range.") \ |
254 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ | 254 T(ExpectedLocation, "Expected Area/Location for time zone, got %") \ |
255 T(InvalidArrayBufferLength, "Invalid array buffer length") \ | 255 T(InvalidArrayBufferLength, "Invalid array buffer length") \ |
| 256 T(ArrayBufferAllocationFailed, "Array buffer allocation failed") \ |
256 T(InvalidArrayLength, "Invalid array length") \ | 257 T(InvalidArrayLength, "Invalid array length") \ |
257 T(InvalidCodePoint, "Invalid code point %") \ | 258 T(InvalidCodePoint, "Invalid code point %") \ |
258 T(InvalidCountValue, "Invalid count value") \ | 259 T(InvalidCountValue, "Invalid count value") \ |
259 T(InvalidCurrencyCode, "Invalid currency code: %") \ | 260 T(InvalidCurrencyCode, "Invalid currency code: %") \ |
260 T(InvalidDataViewAccessorOffset, \ | 261 T(InvalidDataViewAccessorOffset, \ |
261 "Offset is outside the bounds of the DataView") \ | 262 "Offset is outside the bounds of the DataView") \ |
262 T(InvalidDataViewLength, "Invalid data view length") \ | 263 T(InvalidDataViewLength, "Invalid data view length") \ |
263 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ | 264 T(InvalidDataViewOffset, "Start offset is outside the bounds of the buffer") \ |
264 T(InvalidHint, "Invalid hint: %") \ | 265 T(InvalidHint, "Invalid hint: %") \ |
265 T(InvalidLanguageTag, "Invalid language tag: %") \ | 266 T(InvalidLanguageTag, "Invalid language tag: %") \ |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 492 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
492 Isolate* isolate, LookupIterator* property_lookup, | 493 Isolate* isolate, LookupIterator* property_lookup, |
493 Handle<String> default_value); | 494 Handle<String> default_value); |
494 | 495 |
495 List<Handle<JSObject> > visited_; | 496 List<Handle<JSObject> > visited_; |
496 }; | 497 }; |
497 } // namespace internal | 498 } // namespace internal |
498 } // namespace v8 | 499 } // namespace v8 |
499 | 500 |
500 #endif // V8_MESSAGES_H_ | 501 #endif // V8_MESSAGES_H_ |
OLD | NEW |