| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 T(ProxyHandlerNonObject, "Proxy.create called with non-object as handler") \ | 185 T(ProxyHandlerNonObject, "Proxy.create called with non-object as handler") \ |
| 186 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ | 186 T(ProxyHandlerReturned, "Proxy handler % returned % from '%' trap") \ |
| 187 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ | 187 T(ProxyHandlerTrapMissing, "Proxy handler % has no '%' trap") \ |
| 188 T(ProxyHandlerTrapMustBeCallable, \ | 188 T(ProxyHandlerTrapMustBeCallable, \ |
| 189 "Proxy handler %0 has non-callable '%' trap") \ | 189 "Proxy handler %0 has non-callable '%' trap") \ |
| 190 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ | 190 T(ProxyNonObjectPropNames, "Trap '%' returned non-object %") \ |
| 191 T(ProxyPropNotConfigurable, \ | 191 T(ProxyPropNotConfigurable, \ |
| 192 "Proxy handler % returned non-configurable descriptor for property '%' " \ | 192 "Proxy handler % returned non-configurable descriptor for property '%' " \ |
| 193 "from '%' trap") \ | 193 "from '%' trap") \ |
| 194 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ | 194 T(ProxyRepeatedPropName, "Trap '%' returned repeated property name '%'") \ |
| 195 T(ProxyTargetNotExtensible, "Proxy target is not extensible") \ |
| 195 T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \ | 196 T(ProxyTargetNonObject, "Proxy.% called with non-object as target") \ |
| 197 T(ProxyTargetPropNotConfigurable, \ |
| 198 "Proxy target property '%' is not configurable") \ |
| 196 T(ProxyTrapFunctionExpected, \ | 199 T(ProxyTrapFunctionExpected, \ |
| 197 "Proxy.createFunction called with non-function for '%' trap") \ | 200 "Proxy.createFunction called with non-function for '%' trap") \ |
| 198 T(RedefineDisallowed, "Cannot redefine property: %") \ | 201 T(RedefineDisallowed, "Cannot redefine property: %") \ |
| 199 T(RedefineExternalArray, \ | 202 T(RedefineExternalArray, \ |
| 200 "Cannot redefine a property of an object with external array elements") \ | 203 "Cannot redefine a property of an object with external array elements") \ |
| 201 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ | 204 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ |
| 202 T(RegExpFlags, \ | 205 T(RegExpFlags, \ |
| 203 "Cannot supply flags when constructing one RegExp from another") \ | 206 "Cannot supply flags when constructing one RegExp from another") \ |
| 204 T(RegExpNonObject, "% getter called on non-object %") \ | 207 T(RegExpNonObject, "% getter called on non-object %") \ |
| 205 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ | 208 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 501 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
| 499 Isolate* isolate, LookupIterator* property_lookup, | 502 Isolate* isolate, LookupIterator* property_lookup, |
| 500 Handle<String> default_value); | 503 Handle<String> default_value); |
| 501 | 504 |
| 502 List<Handle<JSObject> > visited_; | 505 List<Handle<JSObject> > visited_; |
| 503 }; | 506 }; |
| 504 } // namespace internal | 507 } // namespace internal |
| 505 } // namespace v8 | 508 } // namespace v8 |
| 506 | 509 |
| 507 #endif // V8_MESSAGES_H_ | 510 #endif // V8_MESSAGES_H_ |
| OLD | NEW |