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

Side by Side Diff: src/messages.h

Issue 2362153003: [modules] Support star exports. (Closed)
Patch Set: Created 4 years, 3 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/api.cc ('k') | src/objects.h » ('j') | src/objects.h » ('J')
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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 T(NumberFormatRange, "% argument must be between 0 and 20") \ 491 T(NumberFormatRange, "% argument must be between 0 and 20") \
492 T(PropertyValueOutOfRange, "% value is out of range.") \ 492 T(PropertyValueOutOfRange, "% value is out of range.") \
493 T(StackOverflow, "Maximum call stack size exceeded") \ 493 T(StackOverflow, "Maximum call stack size exceeded") \
494 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \ 494 T(ToPrecisionFormatRange, "toPrecision() argument must be between 1 and 21") \
495 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \ 495 T(ToRadixFormatRange, "toString() radix argument must be between 2 and 36") \
496 T(TypedArraySetNegativeOffset, "Start offset is negative") \ 496 T(TypedArraySetNegativeOffset, "Start offset is negative") \
497 T(TypedArraySetSourceTooLarge, "Source is too large") \ 497 T(TypedArraySetSourceTooLarge, "Source is too large") \
498 T(UnsupportedTimeZone, "Unsupported time zone specified %") \ 498 T(UnsupportedTimeZone, "Unsupported time zone specified %") \
499 T(ValueOutOfRange, "Value % out of range for % options property %") \ 499 T(ValueOutOfRange, "Value % out of range for % options property %") \
500 /* SyntaxError */ \ 500 /* SyntaxError */ \
501 T(AmbiguousExport, "Multiple star exports provide name '%'") \
501 T(BadGetterArity, "Getter must not have any formal parameters.") \ 502 T(BadGetterArity, "Getter must not have any formal parameters.") \
502 T(BadSetterArity, "Setter must have exactly one formal parameter.") \ 503 T(BadSetterArity, "Setter must have exactly one formal parameter.") \
503 T(ConstructorIsAccessor, "Class constructor may not be an accessor") \ 504 T(ConstructorIsAccessor, "Class constructor may not be an accessor") \
504 T(ConstructorIsGenerator, "Class constructor may not be a generator") \ 505 T(ConstructorIsGenerator, "Class constructor may not be a generator") \
505 T(ConstructorIsAsync, "Class constructor may not be an async method") \ 506 T(ConstructorIsAsync, "Class constructor may not be an async method") \
506 T(DerivedConstructorReturn, \ 507 T(DerivedConstructorReturn, \
507 "Derived constructors may only return object or undefined") \ 508 "Derived constructors may only return object or undefined") \
508 T(DuplicateConstructor, "A class may only have one constructor") \ 509 T(DuplicateConstructor, "A class may only have one constructor") \
509 T(DuplicateExport, "Duplicate export of '%'") \ 510 T(DuplicateExport, "Duplicate export of '%'") \
510 T(DuplicateProto, \ 511 T(DuplicateProto, \
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 689 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
689 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, 690 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate,
690 Handle<Object> data); 691 Handle<Object> data);
691 }; 692 };
692 693
693 694
694 } // namespace internal 695 } // namespace internal
695 } // namespace v8 696 } // namespace v8
696 697
697 #endif // V8_MESSAGES_H_ 698 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/objects.h » ('j') | src/objects.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698