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