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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 // Internalized value (empty before internalized). | 236 // Internalized value (empty before internalized). |
237 Handle<Object> value_; | 237 Handle<Object> value_; |
238 }; | 238 }; |
239 | 239 |
240 | 240 |
241 // For generating constants. | 241 // For generating constants. |
242 #define STRING_CONSTANTS(F) \ | 242 #define STRING_CONSTANTS(F) \ |
243 F(anonymous_function, "(anonymous function)") \ | 243 F(anonymous_function, "(anonymous function)") \ |
244 F(arguments, "arguments") \ | 244 F(arguments, "arguments") \ |
| 245 F(async, "async") \ |
| 246 F(await, "await") \ |
245 F(constructor, "constructor") \ | 247 F(constructor, "constructor") \ |
246 F(default, "default") \ | 248 F(default, "default") \ |
247 F(done, "done") \ | 249 F(done, "done") \ |
248 F(dot, ".") \ | 250 F(dot, ".") \ |
249 F(dot_for, ".for") \ | 251 F(dot_for, ".for") \ |
250 F(dot_generator, ".generator") \ | 252 F(dot_generator, ".generator") \ |
251 F(dot_generator_object, ".generator_object") \ | 253 F(dot_generator_object, ".generator_object") \ |
252 F(dot_iterator, ".iterator") \ | 254 F(dot_iterator, ".iterator") \ |
253 F(dot_result, ".result") \ | 255 F(dot_result, ".result") \ |
254 F(dot_switch_tag, ".switch_tag") \ | 256 F(dot_switch_tag, ".switch_tag") \ |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
368 OTHER_CONSTANTS(F) | 370 OTHER_CONSTANTS(F) |
369 #undef F | 371 #undef F |
370 }; | 372 }; |
371 } // namespace internal | 373 } // namespace internal |
372 } // namespace v8 | 374 } // namespace v8 |
373 | 375 |
374 #undef STRING_CONSTANTS | 376 #undef STRING_CONSTANTS |
375 #undef OTHER_CONSTANTS | 377 #undef OTHER_CONSTANTS |
376 | 378 |
377 #endif // V8_AST_AST_VALUE_FACTORY_H_ | 379 #endif // V8_AST_AST_VALUE_FACTORY_H_ |
OLD | NEW |