Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: src/messages.h

Issue 2775303002: [regexp] Named capture support for string replacements (Closed)
Patch Set: Only cast if not undefined Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 "prototype on the non-extensible proxy target") \ 449 "prototype on the non-extensible proxy target") \
450 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \ 450 T(ProxyTrapReturnedFalsish, "'%' on proxy: trap returned falsish") \
451 T(ProxyTrapReturnedFalsishFor, \ 451 T(ProxyTrapReturnedFalsishFor, \
452 "'%' on proxy: trap returned falsish for property '%'") \ 452 "'%' on proxy: trap returned falsish for property '%'") \
453 T(RedefineDisallowed, "Cannot redefine property: %") \ 453 T(RedefineDisallowed, "Cannot redefine property: %") \
454 T(RedefineExternalArray, \ 454 T(RedefineExternalArray, \
455 "Cannot redefine a property of an object with external array elements") \ 455 "Cannot redefine a property of an object with external array elements") \
456 T(ReduceNoInitial, "Reduce of empty array with no initial value") \ 456 T(ReduceNoInitial, "Reduce of empty array with no initial value") \
457 T(RegExpFlags, \ 457 T(RegExpFlags, \
458 "Cannot supply flags when constructing one RegExp from another") \ 458 "Cannot supply flags when constructing one RegExp from another") \
459 T(RegExpInvalidReplaceString, "Invalid replacement string: '%'") \
459 T(RegExpNonObject, "% getter called on non-object %") \ 460 T(RegExpNonObject, "% getter called on non-object %") \
460 T(RegExpNonRegExp, "% getter called on non-RegExp object") \ 461 T(RegExpNonRegExp, "% getter called on non-RegExp object") \
461 T(ReinitializeIntl, "Trying to re-initialize % object.") \ 462 T(ReinitializeIntl, "Trying to re-initialize % object.") \
462 T(ResolverNotAFunction, "Promise resolver % is not a function") \ 463 T(ResolverNotAFunction, "Promise resolver % is not a function") \
463 T(RestrictedFunctionProperties, \ 464 T(RestrictedFunctionProperties, \
464 "'caller' and 'arguments' are restricted function properties and cannot " \ 465 "'caller' and 'arguments' are restricted function properties and cannot " \
465 "be accessed in this context.") \ 466 "be accessed in this context.") \
466 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \ 467 T(ReturnMethodNotCallable, "The iterator's 'return' method is not callable") \
467 T(SharedArrayBufferTooShort, \ 468 T(SharedArrayBufferTooShort, \
468 "Derived SharedArrayBuffer constructor created a buffer which was too " \ 469 "Derived SharedArrayBuffer constructor created a buffer which was too " \
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 const MessageLocation* loc, 745 const MessageLocation* loc,
745 Handle<Object> message_obj, 746 Handle<Object> message_obj,
746 v8::Local<v8::Value> api_exception_obj); 747 v8::Local<v8::Value> api_exception_obj);
747 }; 748 };
748 749
749 750
750 } // namespace internal 751 } // namespace internal
751 } // namespace v8 752 } // namespace v8
752 753
753 #endif // V8_MESSAGES_H_ 754 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698