| 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 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ | 335 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ |
| 336 T(NotAnIterator, "% is not an iterator") \ | 336 T(NotAnIterator, "% is not an iterator") \ |
| 337 T(NotAPromise, "% is not a promise") \ | 337 T(NotAPromise, "% is not a promise") \ |
| 338 T(NotConstructor, "% is not a constructor") \ | 338 T(NotConstructor, "% is not a constructor") \ |
| 339 T(NotDateObject, "this is not a Date object.") \ | 339 T(NotDateObject, "this is not a Date object.") \ |
| 340 T(NotIntlObject, "% is not an i18n object.") \ | 340 T(NotIntlObject, "% is not an i18n object.") \ |
| 341 T(NotGeneric, "% is not generic") \ | 341 T(NotGeneric, "% is not generic") \ |
| 342 T(NotIterable, "% is not iterable") \ | 342 T(NotIterable, "% is not iterable") \ |
| 343 T(NotPropertyName, "% is not a valid property name") \ | 343 T(NotPropertyName, "% is not a valid property name") \ |
| 344 T(NotTypedArray, "this is not a typed array.") \ | 344 T(NotTypedArray, "this is not a typed array.") \ |
| 345 T(NotSharedTypedArray, "% is not a shared typed array.") \ | 345 T(NotSuperConstructor, "Super constructor % of % is not a constructor") \ |
| 346 T(NotSuperConstructorAnonymousClass, \ |
| 347 "Super constructor % of anonymous class is not a constructor") \ |
| 346 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ | 348 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ |
| 347 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ | 349 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ |
| 348 T(ObjectGetterExpectingFunction, \ | 350 T(ObjectGetterExpectingFunction, \ |
| 349 "Object.prototype.__defineGetter__: Expecting function") \ | 351 "Object.prototype.__defineGetter__: Expecting function") \ |
| 350 T(ObjectGetterCallable, "Getter must be a function: %") \ | 352 T(ObjectGetterCallable, "Getter must be a function: %") \ |
| 351 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ | 353 T(ObjectNotExtensible, "Can't add property %, object is not extensible") \ |
| 352 T(ObjectSetterExpectingFunction, \ | 354 T(ObjectSetterExpectingFunction, \ |
| 353 "Object.prototype.__defineSetter__: Expecting function") \ | 355 "Object.prototype.__defineSetter__: Expecting function") \ |
| 354 T(ObjectSetterCallable, "Setter must be a function: %") \ | 356 T(ObjectSetterCallable, "Setter must be a function: %") \ |
| 355 T(OrdinaryFunctionCalledAsConstructor, \ | 357 T(OrdinaryFunctionCalledAsConstructor, \ |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 const MessageLocation* loc, | 733 const MessageLocation* loc, |
| 732 Handle<Object> message_obj, | 734 Handle<Object> message_obj, |
| 733 v8::Local<v8::Value> api_exception_obj); | 735 v8::Local<v8::Value> api_exception_obj); |
| 734 }; | 736 }; |
| 735 | 737 |
| 736 | 738 |
| 737 } // namespace internal | 739 } // namespace internal |
| 738 } // namespace v8 | 740 } // namespace v8 |
| 739 | 741 |
| 740 #endif // V8_MESSAGES_H_ | 742 #endif // V8_MESSAGES_H_ |
| OLD | NEW |