| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  309   T(StrongDeleteProperty,                                                      \ |  309   T(StrongDeleteProperty,                                                      \ | 
|  310     "Deleting property '%' of strong object '%' is deprecated")                \ |  310     "Deleting property '%' of strong object '%' is deprecated")                \ | 
|  311   T(StrongExtendNull, "In strong mode, classes extending null are deprecated") \ |  311   T(StrongExtendNull, "In strong mode, classes extending null are deprecated") \ | 
|  312   T(StrongImplicitConversion,                                                  \ |  312   T(StrongImplicitConversion,                                                  \ | 
|  313     "In strong mode, implicit conversions are deprecated")                     \ |  313     "In strong mode, implicit conversions are deprecated")                     \ | 
|  314   T(StrongRedefineDisallowed,                                                  \ |  314   T(StrongRedefineDisallowed,                                                  \ | 
|  315     "On strong object %, redefining writable, non-configurable property '%' "  \ |  315     "On strong object %, redefining writable, non-configurable property '%' "  \ | 
|  316     "to be non-writable is deprecated")                                        \ |  316     "to be non-writable is deprecated")                                        \ | 
|  317   T(StrongSetProto,                                                            \ |  317   T(StrongSetProto,                                                            \ | 
|  318     "On strong object %, redefining the internal prototype is deprecated")     \ |  318     "On strong object %, redefining the internal prototype is deprecated")     \ | 
 |  319   T(SymbolIteratorInvalid,                                                     \ | 
 |  320     "Result of the Symbol.iterator method is not an object")                   \ | 
|  319   T(SymbolKeyFor, "% is not a symbol")                                         \ |  321   T(SymbolKeyFor, "% is not a symbol")                                         \ | 
|  320   T(SymbolToNumber, "Cannot convert a Symbol value to a number")               \ |  322   T(SymbolToNumber, "Cannot convert a Symbol value to a number")               \ | 
|  321   T(SymbolToString, "Cannot convert a Symbol value to a string")               \ |  323   T(SymbolToString, "Cannot convert a Symbol value to a string")               \ | 
|  322   T(SimdToNumber, "Cannot convert a SIMD value to a number")                   \ |  324   T(SimdToNumber, "Cannot convert a SIMD value to a number")                   \ | 
 |  325   T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.")     \ | 
|  323   T(UndefinedOrNullToObject, "Cannot convert undefined or null to object")     \ |  326   T(UndefinedOrNullToObject, "Cannot convert undefined or null to object")     \ | 
|  324   T(ValueAndAccessor,                                                          \ |  327   T(ValueAndAccessor,                                                          \ | 
|  325     "Invalid property descriptor. Cannot both specify accessors and a value "  \ |  328     "Invalid property descriptor. Cannot both specify accessors and a value "  \ | 
|  326     "or writable attribute, %")                                                \ |  329     "or writable attribute, %")                                                \ | 
|  327   T(VarRedeclaration, "Identifier '%' has already been declared")              \ |  330   T(VarRedeclaration, "Identifier '%' has already been declared")              \ | 
|  328   T(WrongArgs, "%: Arguments list has wrong type")                             \ |  331   T(WrongArgs, "%: Arguments list has wrong type")                             \ | 
|  329   /* ReferenceError */                                                         \ |  332   /* ReferenceError */                                                         \ | 
|  330   T(NonMethod, "'super' is referenced from non-method")                        \ |  333   T(NonMethod, "'super' is referenced from non-method")                        \ | 
|  331   T(NotDefined, "% is not defined")                                            \ |  334   T(NotDefined, "% is not defined")                                            \ | 
|  332   T(StrongSuperCallMissing,                                                    \ |  335   T(StrongSuperCallMissing,                                                    \ | 
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  557   static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); |  560   static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); | 
|  558   static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, |  561   static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, | 
|  559                                                            Handle<Object> data); |  562                                                            Handle<Object> data); | 
|  560 }; |  563 }; | 
|  561  |  564  | 
|  562  |  565  | 
|  563 }  // namespace internal |  566 }  // namespace internal | 
|  564 }  // namespace v8 |  567 }  // namespace v8 | 
|  565  |  568  | 
|  566 #endif  // V8_MESSAGES_H_ |  569 #endif  // V8_MESSAGES_H_ | 
| OLD | NEW |