| 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 "On strong object %, redefining writable, non-configurable property '%' " \ | 230 "On strong object %, redefining writable, non-configurable property '%' " \ |
| 231 "to be non-writable is deprecated") \ | 231 "to be non-writable is deprecated") \ |
| 232 T(StrongSetProto, \ | 232 T(StrongSetProto, \ |
| 233 "On strong object %, redefining the internal prototype is deprecated") \ | 233 "On strong object %, redefining the internal prototype is deprecated") \ |
| 234 T(SymbolKeyFor, "% is not a symbol") \ | 234 T(SymbolKeyFor, "% is not a symbol") \ |
| 235 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ | 235 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ |
| 236 T(SymbolToString, "Cannot convert a Symbol value to a string") \ | 236 T(SymbolToString, "Cannot convert a Symbol value to a string") \ |
| 237 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ | 237 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ |
| 238 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ | 238 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ |
| 239 T(ValueAndAccessor, \ | 239 T(ValueAndAccessor, \ |
| 240 "Invalid property. A property cannot both have accessors and be " \ | 240 "Invalid property descriptor. Cannot both specify accessors and a value " \ |
| 241 "writable or have a value, %") \ | 241 "or writable attribute, %") \ |
| 242 T(VarRedeclaration, "Identifier '%' has already been declared") \ | 242 T(VarRedeclaration, "Identifier '%' has already been declared") \ |
| 243 T(WithExpression, "% has no properties") \ | 243 T(WithExpression, "% has no properties") \ |
| 244 T(WrongArgs, "%: Arguments list has wrong type") \ | 244 T(WrongArgs, "%: Arguments list has wrong type") \ |
| 245 /* ReferenceError */ \ | 245 /* ReferenceError */ \ |
| 246 T(NonMethod, "'super' is referenced from non-method") \ | 246 T(NonMethod, "'super' is referenced from non-method") \ |
| 247 T(NotDefined, "% is not defined") \ | 247 T(NotDefined, "% is not defined") \ |
| 248 T(StrongSuperCallMissing, \ | 248 T(StrongSuperCallMissing, \ |
| 249 "In strong mode, invoking the super constructor in a subclass is " \ | 249 "In strong mode, invoking the super constructor in a subclass is " \ |
| 250 "required") \ | 250 "required") \ |
| 251 T(StrongUnboundGlobal, \ | 251 T(StrongUnboundGlobal, \ |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 494 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
| 495 Isolate* isolate, LookupIterator* property_lookup, | 495 Isolate* isolate, LookupIterator* property_lookup, |
| 496 Handle<String> default_value); | 496 Handle<String> default_value); |
| 497 | 497 |
| 498 List<Handle<JSObject> > visited_; | 498 List<Handle<JSObject> > visited_; |
| 499 }; | 499 }; |
| 500 } // namespace internal | 500 } // namespace internal |
| 501 } // namespace v8 | 501 } // namespace v8 |
| 502 | 502 |
| 503 #endif // V8_MESSAGES_H_ | 503 #endif // V8_MESSAGES_H_ |
| OLD | NEW |