OLD | NEW |
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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // For generating constants. | 276 // For generating constants. |
277 #define STRING_CONSTANTS(F) \ | 277 #define STRING_CONSTANTS(F) \ |
278 F(anonymous_function, "(anonymous function)") \ | 278 F(anonymous_function, "(anonymous function)") \ |
279 F(arguments, "arguments") \ | 279 F(arguments, "arguments") \ |
280 F(async, "async") \ | 280 F(async, "async") \ |
281 F(await, "await") \ | 281 F(await, "await") \ |
282 F(constructor, "constructor") \ | 282 F(constructor, "constructor") \ |
283 F(default, "default") \ | 283 F(default, "default") \ |
284 F(done, "done") \ | 284 F(done, "done") \ |
285 F(dot, ".") \ | 285 F(dot, ".") \ |
| 286 F(dot_class_field_init, ".class-field-init") \ |
286 F(dot_debug_is_active, ".debug_is_active") \ | 287 F(dot_debug_is_active, ".debug_is_active") \ |
287 F(dot_for, ".for") \ | 288 F(dot_for, ".for") \ |
288 F(dot_generator, ".generator") \ | 289 F(dot_generator, ".generator") \ |
289 F(dot_generator_object, ".generator_object") \ | 290 F(dot_generator_object, ".generator_object") \ |
290 F(dot_iterator, ".iterator") \ | 291 F(dot_iterator, ".iterator") \ |
291 F(dot_promise, ".promise") \ | 292 F(dot_promise, ".promise") \ |
292 F(dot_result, ".result") \ | 293 F(dot_result, ".result") \ |
293 F(dot_switch_tag, ".switch_tag") \ | 294 F(dot_switch_tag, ".switch_tag") \ |
294 F(dot_catch, ".catch") \ | 295 F(dot_catch, ".catch") \ |
295 F(empty, "") \ | 296 F(empty, "") \ |
296 F(eval, "eval") \ | 297 F(eval, "eval") \ |
297 F(function, "function") \ | 298 F(function, "function") \ |
298 F(get_space, "get ") \ | 299 F(get_space, "get ") \ |
| 300 F(length, "length") \ |
299 F(let, "let") \ | 301 F(let, "let") \ |
300 F(native, "native") \ | 302 F(native, "native") \ |
301 F(new_target, ".new.target") \ | 303 F(new_target, ".new.target") \ |
302 F(next, "next") \ | 304 F(next, "next") \ |
303 F(proto, "__proto__") \ | 305 F(proto, "__proto__") \ |
304 F(prototype, "prototype") \ | 306 F(prototype, "prototype") \ |
305 F(return, "return") \ | 307 F(return, "return") \ |
306 F(set_space, "set ") \ | 308 F(set_space, "set ") \ |
307 F(star_default_star, "*default*") \ | 309 F(star_default_star, "*default*") \ |
308 F(this, "this") \ | 310 F(this, "this") \ |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 OTHER_CONSTANTS(F) | 437 OTHER_CONSTANTS(F) |
436 #undef F | 438 #undef F |
437 }; | 439 }; |
438 } // namespace internal | 440 } // namespace internal |
439 } // namespace v8 | 441 } // namespace v8 |
440 | 442 |
441 #undef STRING_CONSTANTS | 443 #undef STRING_CONSTANTS |
442 #undef OTHER_CONSTANTS | 444 #undef OTHER_CONSTANTS |
443 | 445 |
444 #endif // V8_AST_AST_VALUE_FACTORY_H_ | 446 #endif // V8_AST_AST_VALUE_FACTORY_H_ |
OLD | NEW |