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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 T(StrongDeleteProperty, \ | 219 T(StrongDeleteProperty, \ |
220 "Deleting property '%' of strong object '%' is deprecated") \ | 220 "Deleting property '%' of strong object '%' is deprecated") \ |
221 T(StrongExtendNull, "In strong mode, classes extending null are deprecated") \ | 221 T(StrongExtendNull, "In strong mode, classes extending null are deprecated") \ |
222 T(StrongImplicitConversion, \ | 222 T(StrongImplicitConversion, \ |
223 "In strong mode, implicit conversions are deprecated") \ | 223 "In strong mode, implicit conversions are deprecated") \ |
224 T(StrongRedefineDisallowed, \ | 224 T(StrongRedefineDisallowed, \ |
225 "On strong object %, redefining writable, non-configurable property '%' " \ | 225 "On strong object %, redefining writable, non-configurable property '%' " \ |
226 "to be non-writable is deprecated") \ | 226 "to be non-writable is deprecated") \ |
227 T(StrongSetProto, \ | 227 T(StrongSetProto, \ |
228 "On strong object %, redefining the internal prototype is deprecated") \ | 228 "On strong object %, redefining the internal prototype is deprecated") \ |
229 T(StrongWeakExtend, "Non-strong class % cannot extend a strong object") \ | |
230 T(SymbolKeyFor, "% is not a symbol") \ | 229 T(SymbolKeyFor, "% is not a symbol") \ |
231 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ | 230 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ |
232 T(SymbolToString, "Cannot convert a Symbol value to a string") \ | 231 T(SymbolToString, "Cannot convert a Symbol value to a string") \ |
233 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ | 232 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ |
234 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ | 233 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ |
235 T(ValueAndAccessor, \ | 234 T(ValueAndAccessor, \ |
236 "Invalid property. A property cannot both have accessors and be " \ | 235 "Invalid property. A property cannot both have accessors and be " \ |
237 "writable or have a value, %") \ | 236 "writable or have a value, %") \ |
238 T(VarRedeclaration, "Identifier '%' has already been declared") \ | 237 T(VarRedeclaration, "Identifier '%' has already been declared") \ |
239 T(WithExpression, "% has no properties") \ | 238 T(WithExpression, "% has no properties") \ |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 | 486 |
488 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 487 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
489 Isolate* isolate, LookupIterator* property_lookup, | 488 Isolate* isolate, LookupIterator* property_lookup, |
490 Handle<String> default_value); | 489 Handle<String> default_value); |
491 | 490 |
492 List<Handle<JSObject> > visited_; | 491 List<Handle<JSObject> > visited_; |
493 }; | 492 }; |
494 } } // namespace v8::internal | 493 } } // namespace v8::internal |
495 | 494 |
496 #endif // V8_MESSAGES_H_ | 495 #endif // V8_MESSAGES_H_ |
OLD | NEW |