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

Side by Side Diff: src/messages.h

Issue 2622833002: WIP [esnext] implement async iteration proposal (Closed)
Patch Set: simplify AsyncIteratorValueUnwrap Created 3 years, 11 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 | « src/interpreter/interpreter-intrinsics.cc ('k') | 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \ 466 T(StrictCannotAssign, "Cannot assign to read only '%' in strict mode") \
467 T(StrictDeleteProperty, "Cannot delete property '%' of %") \ 467 T(StrictDeleteProperty, "Cannot delete property '%' of %") \
468 T(StrictPoisonPill, \ 468 T(StrictPoisonPill, \
469 "'caller', 'callee', and 'arguments' properties may not be accessed on " \ 469 "'caller', 'callee', and 'arguments' properties may not be accessed on " \
470 "strict mode functions or the arguments objects for calls to them") \ 470 "strict mode functions or the arguments objects for calls to them") \
471 T(StrictReadOnlyProperty, \ 471 T(StrictReadOnlyProperty, \
472 "Cannot assign to read only property '%' of % '%'") \ 472 "Cannot assign to read only property '%' of % '%'") \
473 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \ 473 T(StrictCannotCreateProperty, "Cannot create property '%' on % '%'") \
474 T(SymbolIteratorInvalid, \ 474 T(SymbolIteratorInvalid, \
475 "Result of the Symbol.iterator method is not an object") \ 475 "Result of the Symbol.iterator method is not an object") \
476 T(SymbolAsyncIteratorInvalid, \
477 "Result of the Symbol.asyncIterator method is not an object") \
476 T(SymbolKeyFor, "% is not a symbol") \ 478 T(SymbolKeyFor, "% is not a symbol") \
477 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \ 479 T(SymbolToNumber, "Cannot convert a Symbol value to a number") \
478 T(SymbolToString, "Cannot convert a Symbol value to a string") \ 480 T(SymbolToString, "Cannot convert a Symbol value to a string") \
479 T(SimdToNumber, "Cannot convert a SIMD value to a number") \ 481 T(SimdToNumber, "Cannot convert a SIMD value to a number") \
480 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \ 482 T(ThrowMethodMissing, "The iterator does not provide a 'throw' method.") \
481 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \ 483 T(UndefinedOrNullToObject, "Cannot convert undefined or null to object") \
482 T(ValueAndAccessor, \ 484 T(ValueAndAccessor, \
483 "Invalid property descriptor. Cannot both specify accessors and a value " \ 485 "Invalid property descriptor. Cannot both specify accessors and a value " \
484 "or writable attribute, %") \ 486 "or writable attribute, %") \
485 T(VarRedeclaration, "Identifier '%' has already been declared") \ 487 T(VarRedeclaration, "Identifier '%' has already been declared") \
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
729 const MessageLocation* loc, 731 const MessageLocation* loc,
730 Handle<Object> message_obj, 732 Handle<Object> message_obj,
731 v8::Local<v8::Value> api_exception_obj); 733 v8::Local<v8::Value> api_exception_obj);
732 }; 734 };
733 735
734 736
735 } // namespace internal 737 } // namespace internal
736 } // namespace v8 738 } // namespace v8
737 739
738 #endif // V8_MESSAGES_H_ 740 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-intrinsics.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698