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

Side by Side Diff: src/messages.h

Issue 2362083002: [modules] Do basic linking. (Closed)
Patch Set: Created 4 years, 2 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/ast/modules.cc ('k') | src/objects.h » ('j') | src/objects.cc » ('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 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 T(UnexpectedTailCallInForInOf, "Tail call expression in for-in/of body") \ 604 T(UnexpectedTailCallInForInOf, "Tail call expression in for-in/of body") \
605 T(UnexpectedTailCallInTryBlock, "Tail call expression in try block") \ 605 T(UnexpectedTailCallInTryBlock, "Tail call expression in try block") \
606 T(UnexpectedTailCallOfEval, "Tail call of a direct eval is not allowed") \ 606 T(UnexpectedTailCallOfEval, "Tail call of a direct eval is not allowed") \
607 T(UnexpectedTemplateString, "Unexpected template string") \ 607 T(UnexpectedTemplateString, "Unexpected template string") \
608 T(UnexpectedToken, "Unexpected token %") \ 608 T(UnexpectedToken, "Unexpected token %") \
609 T(UnexpectedTokenIdentifier, "Unexpected identifier") \ 609 T(UnexpectedTokenIdentifier, "Unexpected identifier") \
610 T(UnexpectedTokenNumber, "Unexpected number") \ 610 T(UnexpectedTokenNumber, "Unexpected number") \
611 T(UnexpectedTokenString, "Unexpected string") \ 611 T(UnexpectedTokenString, "Unexpected string") \
612 T(UnexpectedTokenRegExp, "Unexpected regular expression") \ 612 T(UnexpectedTokenRegExp, "Unexpected regular expression") \
613 T(UnknownLabel, "Undefined label '%'") \ 613 T(UnknownLabel, "Undefined label '%'") \
614 T(UnresolvableExport, "Module does not provide an export named '%'") \
adamk 2016/09/23 00:39:10 Can we not provide the module name along with the
neis 2016/09/23 17:40:33 Not without extra work. As discussed offline, we'l
614 T(UnterminatedArgList, "missing ) after argument list") \ 615 T(UnterminatedArgList, "missing ) after argument list") \
615 T(UnterminatedRegExp, "Invalid regular expression: missing /") \ 616 T(UnterminatedRegExp, "Invalid regular expression: missing /") \
616 T(UnterminatedTemplate, "Unterminated template literal") \ 617 T(UnterminatedTemplate, "Unterminated template literal") \
617 T(UnterminatedTemplateExpr, "Missing } in template expression") \ 618 T(UnterminatedTemplateExpr, "Missing } in template expression") \
618 T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \ 619 T(FoundNonCallableHasInstance, "Found non-callable @@hasInstance") \
619 T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \ 620 T(InvalidHexEscapeSequence, "Invalid hexadecimal escape sequence") \
620 T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \ 621 T(InvalidUnicodeEscapeSequence, "Invalid Unicode escape sequence") \
621 T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \ 622 T(UndefinedUnicodeCodePoint, "Undefined Unicode code-point") \
622 T(YieldInParameter, "Yield expression not allowed in formal parameter") \ 623 T(YieldInParameter, "Yield expression not allowed in formal parameter") \
623 /* EvalError */ \ 624 /* EvalError */ \
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 688 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
688 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate, 689 static std::unique_ptr<char[]> GetLocalizedMessage(Isolate* isolate,
689 Handle<Object> data); 690 Handle<Object> data);
690 }; 691 };
691 692
692 693
693 } // namespace internal 694 } // namespace internal
694 } // namespace v8 695 } // namespace v8
695 696
696 #endif // V8_MESSAGES_H_ 697 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/ast/modules.cc ('k') | src/objects.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698