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

Side by Side Diff: src/ast-value-factory.h

Issue 1315483004: [es6] Implement destructuring for `catch` (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/parser.cc » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 242
243 // For generating constants. 243 // For generating constants.
244 #define STRING_CONSTANTS(F) \ 244 #define STRING_CONSTANTS(F) \
245 F(anonymous_function, "(anonymous function)") \ 245 F(anonymous_function, "(anonymous function)") \
246 F(arguments, "arguments") \ 246 F(arguments, "arguments") \
247 F(concat_iterable_to_array, "$concatIterableToArray") \ 247 F(concat_iterable_to_array, "$concatIterableToArray") \
248 F(constructor, "constructor") \ 248 F(constructor, "constructor") \
249 F(default, "default") \ 249 F(default, "default") \
250 F(done, "done") \ 250 F(done, "done") \
251 F(dot, ".") \ 251 F(dot, ".") \
252 F(dot_catch, ".catch") \
252 F(dot_for, ".for") \ 253 F(dot_for, ".for") \
253 F(dot_generator, ".generator") \ 254 F(dot_generator, ".generator") \
254 F(dot_generator_object, ".generator_object") \ 255 F(dot_generator_object, ".generator_object") \
255 F(dot_iterator, ".iterator") \ 256 F(dot_iterator, ".iterator") \
256 F(dot_module, ".module") \ 257 F(dot_module, ".module") \
257 F(dot_result, ".result") \ 258 F(dot_result, ".result") \
258 F(empty, "") \ 259 F(empty, "") \
259 F(eval, "eval") \ 260 F(eval, "eval") \
260 F(get_template_callsite, "$getTemplateCallSite") \ 261 F(get_template_callsite, "$getTemplateCallSite") \
261 F(initialize_const_global, "initializeConstGlobal") \ 262 F(initialize_const_global, "initializeConstGlobal") \
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 #define F(name) AstValue* name##_; 376 #define F(name) AstValue* name##_;
376 OTHER_CONSTANTS(F) 377 OTHER_CONSTANTS(F)
377 #undef F 378 #undef F
378 }; 379 };
379 } } // namespace v8::internal 380 } } // namespace v8::internal
380 381
381 #undef STRING_CONSTANTS 382 #undef STRING_CONSTANTS
382 #undef OTHER_CONSTANTS 383 #undef OTHER_CONSTANTS
383 384
384 #endif // V8_AST_VALUE_FACTORY_H_ 385 #endif // V8_AST_VALUE_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698