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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 T(ConstAssign, "Assignment to constant variable.") \ | 101 T(ConstAssign, "Assignment to constant variable.") \ |
102 T(ConstructorNonCallable, \ | 102 T(ConstructorNonCallable, \ |
103 "Class constructors cannot be invoked without 'new'") \ | 103 "Class constructors cannot be invoked without 'new'") \ |
104 T(ConstructorNotFunction, "Constructor % requires 'new'") \ | 104 T(ConstructorNotFunction, "Constructor % requires 'new'") \ |
105 T(CurrencyCode, "Currency code is required with currency style.") \ | 105 T(CurrencyCode, "Currency code is required with currency style.") \ |
106 T(DataViewNotArrayBuffer, \ | 106 T(DataViewNotArrayBuffer, \ |
107 "First argument to DataView constructor must be an ArrayBuffer") \ | 107 "First argument to DataView constructor must be an ArrayBuffer") \ |
108 T(DateType, "this is not a Date object.") \ | 108 T(DateType, "this is not a Date object.") \ |
109 T(DebuggerFrame, "Debugger: Invalid frame index.") \ | 109 T(DebuggerFrame, "Debugger: Invalid frame index.") \ |
110 T(DebuggerType, "Debugger: Parameters have wrong types.") \ | 110 T(DebuggerType, "Debugger: Parameters have wrong types.") \ |
| 111 T(DeclarationMissingInitializer, "Missing initializer in % declaration") \ |
111 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \ | 112 T(DefineDisallowed, "Cannot define property:%, object is not extensible.") \ |
112 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ | 113 T(DuplicateTemplateProperty, "Object template has duplicate property '%'") \ |
113 T(ExtendsValueGenerator, \ | 114 T(ExtendsValueGenerator, \ |
114 "Class extends value % may not be a generator function") \ | 115 "Class extends value % may not be a generator function") \ |
115 T(ExtendsValueNotFunction, \ | 116 T(ExtendsValueNotFunction, \ |
116 "Class extends value % is not a function or null") \ | 117 "Class extends value % is not a function or null") \ |
117 T(FirstArgumentNotRegExp, \ | 118 T(FirstArgumentNotRegExp, \ |
118 "First argument to % must not be a regular expression") \ | 119 "First argument to % must not be a regular expression") \ |
119 T(FlagsGetterNonObject, \ | 120 T(FlagsGetterNonObject, \ |
120 "RegExp.prototype.flags getter called on non-object %") \ | 121 "RegExp.prototype.flags getter called on non-object %") \ |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
498 Isolate* isolate, LookupIterator* property_lookup, | 499 Isolate* isolate, LookupIterator* property_lookup, |
499 Handle<String> default_value); | 500 Handle<String> default_value); |
500 | 501 |
501 List<Handle<JSObject> > visited_; | 502 List<Handle<JSObject> > visited_; |
502 }; | 503 }; |
503 } // namespace internal | 504 } // namespace internal |
504 } // namespace v8 | 505 } // namespace v8 |
505 | 506 |
506 #endif // V8_MESSAGES_H_ | 507 #endif // V8_MESSAGES_H_ |
OLD | NEW |