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

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

Issue 1027183002: [es6] call ToString() on template substitutions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Test ToString behaviour for tagged templates + String.raw Created 5 years, 9 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 F(make_reference_error, "MakeReferenceErrorEmbedded") \ 254 F(make_reference_error, "MakeReferenceErrorEmbedded") \
255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \ 255 F(make_syntax_error, "MakeSyntaxErrorEmbedded") \
256 F(make_type_error, "MakeTypeErrorEmbedded") \ 256 F(make_type_error, "MakeTypeErrorEmbedded") \
257 F(native, "native") \ 257 F(native, "native") \
258 F(new_target, "new.target") \ 258 F(new_target, "new.target") \
259 F(next, "next") \ 259 F(next, "next") \
260 F(proto, "__proto__") \ 260 F(proto, "__proto__") \
261 F(prototype, "prototype") \ 261 F(prototype, "prototype") \
262 F(this, "this") \ 262 F(this, "this") \
263 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \ 263 F(throw_iterator_result_not_an_object, "ThrowIteratorResultNotAnObject") \
264 F(to_string, "ToString") \
264 F(use_asm, "use asm") \ 265 F(use_asm, "use asm") \
265 F(use_strong, "use strong") \ 266 F(use_strong, "use strong") \
266 F(use_strict, "use strict") \ 267 F(use_strict, "use strict") \
267 F(value, "value") 268 F(value, "value")
268 269
269 #define OTHER_CONSTANTS(F) \ 270 #define OTHER_CONSTANTS(F) \
270 F(true_value) \ 271 F(true_value) \
271 F(false_value) \ 272 F(false_value) \
272 F(null_value) \ 273 F(null_value) \
273 F(undefined_value) \ 274 F(undefined_value) \
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 #define F(name) AstValue* name##_; 358 #define F(name) AstValue* name##_;
358 OTHER_CONSTANTS(F) 359 OTHER_CONSTANTS(F)
359 #undef F 360 #undef F
360 }; 361 };
361 } } // namespace v8::internal 362 } } // namespace v8::internal
362 363
363 #undef STRING_CONSTANTS 364 #undef STRING_CONSTANTS
364 #undef OTHER_CONSTANTS 365 #undef OTHER_CONSTANTS
365 366
366 #endif // V8_AST_VALUE_FACTORY_H_ 367 #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