| 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 T(ForInOfLoopMultiBindings, \ | 302 T(ForInOfLoopMultiBindings, \ |
| 303 "Invalid left-hand side in % loop: Must have a single binding.") \ | 303 "Invalid left-hand side in % loop: Must have a single binding.") \ |
| 304 T(ForOfLoopInitializer, \ | 304 T(ForOfLoopInitializer, \ |
| 305 "for-of loop variable declaration may not have an initializer.") \ | 305 "for-of loop variable declaration may not have an initializer.") \ |
| 306 T(IllegalAccess, "Illegal access") \ | 306 T(IllegalAccess, "Illegal access") \ |
| 307 T(IllegalBreak, "Illegal break statement") \ | 307 T(IllegalBreak, "Illegal break statement") \ |
| 308 T(IllegalContinue, "Illegal continue statement") \ | 308 T(IllegalContinue, "Illegal continue statement") \ |
| 309 T(IllegalLanguageModeDirective, \ | 309 T(IllegalLanguageModeDirective, \ |
| 310 "Illegal '%' directive in function with non-simple parameter list") \ | 310 "Illegal '%' directive in function with non-simple parameter list") \ |
| 311 T(IllegalReturn, "Illegal return statement") \ | 311 T(IllegalReturn, "Illegal return statement") \ |
| 312 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \ |
| 312 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ | 313 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ |
| 313 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ | 314 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ |
| 314 T(InvalidLhsInPostfixOp, \ | 315 T(InvalidLhsInPostfixOp, \ |
| 315 "Invalid left-hand side expression in postfix operation") \ | 316 "Invalid left-hand side expression in postfix operation") \ |
| 316 T(InvalidLhsInPrefixOp, \ | 317 T(InvalidLhsInPrefixOp, \ |
| 317 "Invalid left-hand side expression in prefix operation") \ | 318 "Invalid left-hand side expression in prefix operation") \ |
| 318 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ | 319 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ |
| 319 T(LabelRedeclaration, "Label '%' has already been declared") \ | 320 T(LabelRedeclaration, "Label '%' has already been declared") \ |
| 320 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ | 321 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ |
| 321 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ | 322 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( | 499 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( |
| 499 Isolate* isolate, LookupIterator* property_lookup, | 500 Isolate* isolate, LookupIterator* property_lookup, |
| 500 Handle<String> default_value); | 501 Handle<String> default_value); |
| 501 | 502 |
| 502 List<Handle<JSObject> > visited_; | 503 List<Handle<JSObject> > visited_; |
| 503 }; | 504 }; |
| 504 } // namespace internal | 505 } // namespace internal |
| 505 } // namespace v8 | 506 } // namespace v8 |
| 506 | 507 |
| 507 #endif // V8_MESSAGES_H_ | 508 #endif // V8_MESSAGES_H_ |
| OLD | NEW |