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

Side by Side Diff: src/messages.h

Issue 1429983002: [es6] early error when Identifier is an escaped reserved word (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 1 month 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/preparser.h » ('j') | src/preparser.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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 T(ForInOfLoopMultiBindings, \ 302 T(ForInOfLoopMultiBindings, \
303 "Invalid left-hand side in % loop: Must have a single binding.") \ 303 "Invalid left-hand side in % loop: Must have a single binding.") \
304 T(ForOfLoopInitializer, \ 304 T(ForOfLoopInitializer, \
305 "for-of loop variable declaration may not have an initializer.") \ 305 "for-of loop variable declaration may not have an initializer.") \
306 T(IllegalAccess, "Illegal access") \ 306 T(IllegalAccess, "Illegal access") \
307 T(IllegalBreak, "Illegal break statement") \ 307 T(IllegalBreak, "Illegal break statement") \
308 T(IllegalContinue, "Illegal continue statement") \ 308 T(IllegalContinue, "Illegal continue statement") \
309 T(IllegalLanguageModeDirective, \ 309 T(IllegalLanguageModeDirective, \
310 "Illegal '%' directive in function with non-simple parameter list") \ 310 "Illegal '%' directive in function with non-simple parameter list") \
311 T(IllegalReturn, "Illegal return statement") \ 311 T(IllegalReturn, "Illegal return statement") \
312 T(InvalidEscapedReservedWord, "Keyword must not contain escaped characters") \
312 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ 313 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \
313 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ 314 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \
314 T(InvalidLhsInPostfixOp, \ 315 T(InvalidLhsInPostfixOp, \
315 "Invalid left-hand side expression in postfix operation") \ 316 "Invalid left-hand side expression in postfix operation") \
316 T(InvalidLhsInPrefixOp, \ 317 T(InvalidLhsInPrefixOp, \
317 "Invalid left-hand side expression in prefix operation") \ 318 "Invalid left-hand side expression in prefix operation") \
318 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ 319 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \
319 T(LabelRedeclaration, "Label '%' has already been declared") \ 320 T(LabelRedeclaration, "Label '%' has already been declared") \
320 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ 321 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \
321 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ 322 T(MalformedRegExp, "Invalid regular expression: /%/: %") \
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 499 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
499 Isolate* isolate, LookupIterator* property_lookup, 500 Isolate* isolate, LookupIterator* property_lookup,
500 Handle<String> default_value); 501 Handle<String> default_value);
501 502
502 List<Handle<JSObject> > visited_; 503 List<Handle<JSObject> > visited_;
503 }; 504 };
504 } // namespace internal 505 } // namespace internal
505 } // namespace v8 506 } // namespace v8
506 507
507 #endif // V8_MESSAGES_H_ 508 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « no previous file | src/preparser.h » ('j') | src/preparser.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698