| 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(NonObjectInInstanceOfCheck, \ | 335 T(NonObjectInInstanceOfCheck, \ |
| 336 "Right-hand side of 'instanceof' is not an object") \ | 336 "Right-hand side of 'instanceof' is not an object") \ |
| 337 T(NonObjectPropertyLoad, "Cannot read property '%' of %") \ | 337 T(NonObjectPropertyLoad, "Cannot read property '%' of %") \ |
| 338 T(NonObjectPropertyStore, "Cannot set property '%' of %") \ | 338 T(NonObjectPropertyStore, "Cannot set property '%' of %") \ |
| 339 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ | 339 T(NoSetterInCallback, "Cannot set property % of % which has only a getter") \ |
| 340 T(NotAnIterator, "% is not an iterator") \ | 340 T(NotAnIterator, "% is not an iterator") \ |
| 341 T(NotAPromise, "% is not a promise") \ | 341 T(NotAPromise, "% is not a promise") \ |
| 342 T(NotConstructor, "% is not a constructor") \ | 342 T(NotConstructor, "% is not a constructor") \ |
| 343 T(NotDateObject, "this is not a Date object.") \ | 343 T(NotDateObject, "this is not a Date object.") \ |
| 344 T(NotIntlObject, "% is not an i18n object.") \ | 344 T(NotIntlObject, "% is not an i18n object.") \ |
| 345 T(NotGeneric, "% is not generic") \ | 345 T(NotGeneric, "% requires that 'this' be a %") \ |
| 346 T(NotIterable, "% is not iterable") \ | 346 T(NotIterable, "% is not iterable") \ |
| 347 T(NotPropertyName, "% is not a valid property name") \ | 347 T(NotPropertyName, "% is not a valid property name") \ |
| 348 T(NotTypedArray, "this is not a typed array.") \ | 348 T(NotTypedArray, "this is not a typed array.") \ |
| 349 T(NotSuperConstructor, "Super constructor % of % is not a constructor") \ | 349 T(NotSuperConstructor, "Super constructor % of % is not a constructor") \ |
| 350 T(NotSuperConstructorAnonymousClass, \ | 350 T(NotSuperConstructorAnonymousClass, \ |
| 351 "Super constructor % of anonymous class is not a constructor") \ | 351 "Super constructor % of anonymous class is not a constructor") \ |
| 352 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ | 352 T(NotIntegerSharedTypedArray, "% is not an integer shared typed array.") \ |
| 353 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ | 353 T(NotInt32SharedTypedArray, "% is not an int32 shared typed array.") \ |
| 354 T(ObjectGetterExpectingFunction, \ | 354 T(ObjectGetterExpectingFunction, \ |
| 355 "Object.prototype.__defineGetter__: Expecting function") \ | 355 "Object.prototype.__defineGetter__: Expecting function") \ |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 752 const MessageLocation* loc, | 752 const MessageLocation* loc, |
| 753 Handle<Object> message_obj, | 753 Handle<Object> message_obj, |
| 754 v8::Local<v8::Value> api_exception_obj); | 754 v8::Local<v8::Value> api_exception_obj); |
| 755 }; | 755 }; |
| 756 | 756 |
| 757 | 757 |
| 758 } // namespace internal | 758 } // namespace internal |
| 759 } // namespace v8 | 759 } // namespace v8 |
| 760 | 760 |
| 761 #endif // V8_MESSAGES_H_ | 761 #endif // V8_MESSAGES_H_ |
| OLD | NEW |