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

Side by Side Diff: src/messages.h

Issue 1411203002: [es6] implement destructuring assignment [clean diff] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rename `recorded_first()` to `FirstRecorded()` because non-accessor 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 | « src/flag-definitions.h ('k') | src/parser.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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 "Invalid left-hand side in % loop: Must have a single binding.") \ 302 "Invalid left-hand side in % loop: Must have a single binding.") \
303 T(ForOfLoopInitializer, \ 303 T(ForOfLoopInitializer, \
304 "for-of loop variable declaration may not have an initializer.") \ 304 "for-of loop variable declaration may not have an initializer.") \
305 T(IllegalAccess, "Illegal access") \ 305 T(IllegalAccess, "Illegal access") \
306 T(IllegalBreak, "Illegal break statement") \ 306 T(IllegalBreak, "Illegal break statement") \
307 T(IllegalContinue, "Illegal continue statement") \ 307 T(IllegalContinue, "Illegal continue statement") \
308 T(IllegalLanguageModeDirective, \ 308 T(IllegalLanguageModeDirective, \
309 "Illegal '%' directive in function with non-simple parameter list") \ 309 "Illegal '%' directive in function with non-simple parameter list") \
310 T(IllegalReturn, "Illegal return statement") \ 310 T(IllegalReturn, "Illegal return statement") \
311 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \ 311 T(InvalidLhsInAssignment, "Invalid left-hand side in assignment") \
312 T(InvalidCoverInitializedName, "Invalid shorthand property initializer") \
313 T(InvalidDestructuringTarget, "Invalid destructuring assignment target") \
312 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \ 314 T(InvalidLhsInFor, "Invalid left-hand side in for-loop") \
313 T(InvalidLhsInPostfixOp, \ 315 T(InvalidLhsInPostfixOp, \
314 "Invalid left-hand side expression in postfix operation") \ 316 "Invalid left-hand side expression in postfix operation") \
315 T(InvalidLhsInPrefixOp, \ 317 T(InvalidLhsInPrefixOp, \
316 "Invalid left-hand side expression in prefix operation") \ 318 "Invalid left-hand side expression in prefix operation") \
317 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \ 319 T(InvalidRegExpFlags, "Invalid flags supplied to RegExp constructor '%'") \
318 T(LabelRedeclaration, "Label '%' has already been declared") \ 320 T(LabelRedeclaration, "Label '%' has already been declared") \
319 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \ 321 T(MalformedArrowFunParamList, "Malformed arrow function parameter list") \
320 T(MalformedRegExp, "Invalid regular expression: /%/: %") \ 322 T(MalformedRegExp, "Invalid regular expression: /%/: %") \
321 T(MalformedRegExpFlags, "Invalid regular expression flags") \ 323 T(MalformedRegExpFlags, "Invalid regular expression flags") \
322 T(ModuleExportUndefined, "Export '%' is not defined in module") \ 324 T(ModuleExportUndefined, "Export '%' is not defined in module") \
323 T(MultipleDefaultsInSwitch, \ 325 T(MultipleDefaultsInSwitch, \
324 "More than one default clause in switch statement") \ 326 "More than one default clause in switch statement") \
325 T(NewlineAfterThrow, "Illegal newline after throw") \ 327 T(NewlineAfterThrow, "Illegal newline after throw") \
326 T(NoCatchOrFinally, "Missing catch or finally after try") \ 328 T(NoCatchOrFinally, "Missing catch or finally after try") \
327 T(NotIsvar, "builtin %%IS_VAR: not a variable") \ 329 T(NotIsvar, "builtin %%IS_VAR: not a variable") \
328 T(ParamAfterRest, "Rest parameter must be last formal parameter") \ 330 T(ParamAfterRest, "Rest parameter must be last formal parameter") \
329 T(PushPastSafeLength, \ 331 T(PushPastSafeLength, \
330 "Pushing % elements on an array-like of length % " \ 332 "Pushing % elements on an array-like of length % " \
331 "is disallowed, as the total surpasses 2**53-1") \ 333 "is disallowed, as the total surpasses 2**53-1") \
334 T(ElementAfterRest, "Rest element must be last element in array") \
335 T(InvalidRestInitializer, "Invalid rest element initializer") \
332 T(BadSetterRestParameter, \ 336 T(BadSetterRestParameter, \
333 "Setter function argument must not be a rest parameter") \ 337 "Setter function argument must not be a rest parameter") \
334 T(ParamDupe, "Duplicate parameter name not allowed in this context") \ 338 T(ParamDupe, "Duplicate parameter name not allowed in this context") \
335 T(ParenthesisInArgString, "Function arg string contains parenthesis") \ 339 T(ParenthesisInArgString, "Function arg string contains parenthesis") \
336 T(SingleFunctionLiteral, "Single function literal required") \ 340 T(SingleFunctionLiteral, "Single function literal required") \
337 T(SloppyLexical, \ 341 T(SloppyLexical, \
338 "Block-scoped declarations (let, const, function, class) not yet " \ 342 "Block-scoped declarations (let, const, function, class) not yet " \
339 "supported outside strict mode") \ 343 "supported outside strict mode") \
340 T(StrictDelete, "Delete of an unqualified identifier in strict mode.") \ 344 T(StrictDelete, "Delete of an unqualified identifier in strict mode.") \
341 T(StrictEvalArguments, "Unexpected eval or arguments in strict mode") \ 345 T(StrictEvalArguments, "Unexpected eval or arguments in strict mode") \
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty( 501 static MUST_USE_RESULT MaybeHandle<String> GetStringifiedProperty(
498 Isolate* isolate, LookupIterator* property_lookup, 502 Isolate* isolate, LookupIterator* property_lookup,
499 Handle<String> default_value); 503 Handle<String> default_value);
500 504
501 List<Handle<JSObject> > visited_; 505 List<Handle<JSObject> > visited_;
502 }; 506 };
503 } // namespace internal 507 } // namespace internal
504 } // namespace v8 508 } // namespace v8
505 509
506 #endif // V8_MESSAGES_H_ 510 #endif // V8_MESSAGES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698