| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 T(ForInOfLoopMultiBindings, \ | 301 T(ForInOfLoopMultiBindings, \ |
| 302 "Invalid left-hand side in % loop: Must have a single binding.") \ | 302 "Invalid left-hand side in % loop: Must have a single binding.") \ |
| 303 T(ForOfLoopInitializer, \ | 303 T(ForOfLoopInitializer, \ |
| 304 "for-of loop variable declaration may not have an initializer.") \ | 304 "for-of loop variable declaration may not have an initializer.") \ |
| 305 T(IllegalAccess, "Illegal access") \ | 305 T(IllegalAccess, "Illegal access") \ |
| 306 T(IllegalBreak, "Illegal break statement") \ | 306 T(IllegalBreak, "Illegal break statement") \ |
| 307 T(IllegalContinue, "Illegal continue statement") \ | 307 T(IllegalContinue, "Illegal continue statement") \ |
| 308 T(IllegalLanguageModeDirective, \ | 308 T(IllegalLanguageModeDirective, \ |
| 309 "Illegal '%' directive in function with non-simple parameter list") \ | 309 "Illegal '%' directive in function with non-simple parameter list") \ |
| 310 T(IllegalReturn, "Illegal return statement") \ | 310 T(IllegalReturn, "Illegal return statement") \ |
| 311 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \ |
| 311 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ | 312 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ |
| 312 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ | 313 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ |
| 313 T(InvalidLhsInPostfixOp, \ | 314 T(InvalidLhsInPostfixOp, \ |
| 314 "Invalid left-hand side expression in postfix operation") \ | 315 "Invalid left-hand side expression in postfix operation") \ |
| 315 T(InvalidLhsInPrefixOp, \ | 316 T(InvalidLhsInPrefixOp, \ |
| 316 "Invalid left-hand side expression in prefix operation") \ | 317 "Invalid left-hand side expression in prefix operation") \ |
| 317 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ | 318 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ |
| 318 T(LabelRedeclaration, "Label '%' has already been declared") \ | 319 T(LabelRedeclaration, "Label '%' has already been declared") \ |
| 319 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ | 320 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ |
| 320 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ | 321 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ |
| (...skipping 176 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 |