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

Side by Side Diff: src/messages.h

Issue 1700123003: [parser] unify metaproperty parsing and require unescaped property name (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: more oops Created 4 years, 10 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/parsing/parser-base.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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 "% loop variable declaration may not have an initializer.") \ 390 "% loop variable declaration may not have an initializer.") \
391 T(ForInOfLoopMultiBindings, \ 391 T(ForInOfLoopMultiBindings, \
392 "Invalid left-hand side in % loop: Must have a single binding.") \ 392 "Invalid left-hand side in % loop: Must have a single binding.") \
393 T(IllegalAccess, "Illegal access") \ 393 T(IllegalAccess, "Illegal access") \
394 T(IllegalBreak, "Illegal break statement") \ 394 T(IllegalBreak, "Illegal break statement") \
395 T(IllegalContinue, "Illegal continue statement") \ 395 T(IllegalContinue, "Illegal continue statement") \
396 T(IllegalLanguageModeDirective, \ 396 T(IllegalLanguageModeDirective, \
397 "Illegal '%' directive in function with non-simple parameter list") \ 397 "Illegal '%' directive in function with non-simple parameter list") \
398 T(IllegalReturn, "Illegal return statement") \ 398 T(IllegalReturn, "Illegal return statement") \
399 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \ 399 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \
400 T(InvalidEscapedMetaProperty, "'%' must not contain escaped characters") \
400 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ 401 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \
401 T(InvalidCoverInitializedName, "Invalid shorthand property initializer") \ 402 T(InvalidCoverInitializedName, "Invalid shorthand property initializer") \
402 T(InvalidDestructuringTarget, "Invalid destructuring assignment target") \ 403 T(InvalidDestructuringTarget, "Invalid destructuring assignment target") \
403 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ 404 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \
404 T(InvalidLhsInPostfixOp, \ 405 T(InvalidLhsInPostfixOp, \
405 "Invalid left-hand side expression in postfix operation") \ 406 "Invalid left-hand side expression in postfix operation") \
406 T(InvalidLhsInPrefixOp, \ 407 T(InvalidLhsInPrefixOp, \
407 "Invalid left-hand side expression in prefix operation") \ 408 "Invalid left-hand side expression in prefix operation") \
408 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ 409 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \
409 T(JsonParseUnexpectedEOS, "Unexpected end of JSON input") \ 410 T(JsonParseUnexpectedEOS, "Unexpected end of JSON input") \
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data); 564 static Handle<String> GetMessage(Isolate* isolate, Handle<Object> data);
564 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate, 565 static base::SmartArrayPointer<char> GetLocalizedMessage(Isolate* isolate,
565 Handle<Object> data); 566 Handle<Object> data);
566 }; 567 };
567 568
568 569
569 } // namespace internal 570 } // namespace internal
570 } // namespace v8 571 } // namespace v8
571 572
572 #endif // V8_MESSAGES_H_ 573 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/parsing/parser-base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698