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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 "Duplicate __proto__ fields are not allowed in object literals") \ | 289 "Duplicate __proto__ fields are not allowed in object literals") \ |
290 T(ForInLoopInitializer, \ | 290 T(ForInLoopInitializer, \ |
291 "for-in loop variable declaration may not have an initializer.") \ | 291 "for-in loop variable declaration may not have an initializer.") \ |
292 T(ForInOfLoopMultiBindings, \ | 292 T(ForInOfLoopMultiBindings, \ |
293 "Invalid left-hand side in % loop: Must have a single binding.") \ | 293 "Invalid left-hand side in % loop: Must have a single binding.") \ |
294 T(ForOfLoopInitializer, \ | 294 T(ForOfLoopInitializer, \ |
295 "for-of loop variable declaration may not have an initializer.") \ | 295 "for-of loop variable declaration may not have an initializer.") \ |
296 T(IllegalAccess, "Illegal access") \ | 296 T(IllegalAccess, "Illegal access") \ |
297 T(IllegalBreak, "Illegal break statement") \ | 297 T(IllegalBreak, "Illegal break statement") \ |
298 T(IllegalContinue, "Illegal continue statement") \ | 298 T(IllegalContinue, "Illegal continue statement") \ |
| 299 T(IllegalLanguageModeDirective, \ |
| 300 "Illegal '%' directive in function with non-simple parameter list") \ |
299 T(IllegalReturn, "Illegal return statement") \ | 301 T(IllegalReturn, "Illegal return statement") \ |
300 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ | 302 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ |
301 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ | 303 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ |
302 T(InvalidLhsInPostfixOp, \ | 304 T(InvalidLhsInPostfixOp, \ |
303 "Invalid left-hand side expression in postfix operation") \ | 305 "Invalid left-hand side expression in postfix operation") \ |
304 T(InvalidLhsInPrefixOp, \ | 306 T(InvalidLhsInPrefixOp, \ |
305 "Invalid left-hand side expression in prefix operation") \ | 307 "Invalid left-hand side expression in prefix operation") \ |
306 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ | 308 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ |
307 T(LabelRedeclaration, "Label '%' has already been declared") \ | 309 T(LabelRedeclaration, "Label '%' has already been declared") \ |
308 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ | 310 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
479 | 481 |
480 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 482 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
481 Isolate* isolate, LookupIterator* property_lookup, | 483 Isolate* isolate, LookupIterator* property_lookup, |
482 Handle<String> default_value); | 484 Handle<String> default_value); |
483 | 485 |
484 List<Handle<JSObject> > visited_; | 486 List<Handle<JSObject> > visited_; |
485 }; | 487 }; |
486 } } // namespace v8::internal | 488 } } // namespace v8::internal |
487 | 489 |
488 #endif // V8_MESSAGES_H_ | 490 #endif // V8_MESSAGES_H_ |
OLD | NEW |