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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 "On strong object %, redefining the internal prototype is deprecated") \ | 245 "On strong object %, redefining the internal prototype is deprecated") \ |
246 T(SymbolKeyFor, "% is not a symbol") \ | 246 T(SymbolKeyFor, "% is not a symbol") \ |
247 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ | 247 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ |
248 T(SymbolToString, "Cannot convert a Symbol value to a string") \ | 248 T(SymbolToString, "Cannot convert a Symbol value to a string") \ |
249 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ | 249 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ |
250 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ | 250 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ |
251 T(ValueAndAccessor, \ | 251 T(ValueAndAccessor, \ |
252 "Invalid property descriptor. Cannot both specify accessors and a value " \ | 252 "Invalid property descriptor. Cannot both specify accessors and a value " \ |
253 "or writable attribute, %") \ | 253 "or writable attribute, %") \ |
254 T(VarRedeclaration, "Identifier '%' has already been declared") \ | 254 T(VarRedeclaration, "Identifier '%' has already been declared") \ |
255 T(WithExpression, "% has no properties") \ | |
256 T(WrongArgs, "%: Arguments list has wrong type") \ | 255 T(WrongArgs, "%: Arguments list has wrong type") \ |
257 /* ReferenceError */ \ | 256 /* ReferenceError */ \ |
258 T(NonMethod, "'super' is referenced from non-method") \ | 257 T(NonMethod, "'super' is referenced from non-method") \ |
259 T(NotDefined, "% is not defined") \ | 258 T(NotDefined, "% is not defined") \ |
260 T(StrongSuperCallMissing, \ | 259 T(StrongSuperCallMissing, \ |
261 "In strong mode, invoking the super constructor in a subclass is " \ | 260 "In strong mode, invoking the super constructor in a subclass is " \ |
262 "required") \ | 261 "required") \ |
263 T(StrongUnboundGlobal, \ | 262 T(StrongUnboundGlobal, \ |
264 "In strong mode, using an undeclared global variable '%' is not allowed") \ | 263 "In strong mode, using an undeclared global variable '%' is not allowed") \ |
265 T(UnsupportedSuper, "Unsupported reference to 'super'") \ | 264 T(UnsupportedSuper, "Unsupported reference to 'super'") \ |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
510 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 509 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
511 Isolate* isolate, LookupIterator* property_lookup, | 510 Isolate* isolate, LookupIterator* property_lookup, |
512 Handle<String> default_value); | 511 Handle<String> default_value); |
513 | 512 |
514 List<Handle<JSObject> > visited_; | 513 List<Handle<JSObject> > visited_; |
515 }; | 514 }; |
516 } // namespace internal | 515 } // namespace internal |
517 } // namespace v8 | 516 } // namespace v8 |
518 | 517 |
519 #endif // V8_MESSAGES_H_ | 518 #endif // V8_MESSAGES_H_ |
OLD | NEW |