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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 | 236 |
237 // For generating string constants. | 237 // For generating string constants. |
238 #define STRING_CONSTANTS(F) \ | 238 #define STRING_CONSTANTS(F) \ |
239 F(anonymous_function, "(anonymous function)") \ | 239 F(anonymous_function, "(anonymous function)") \ |
240 F(arguments, "arguments") \ | 240 F(arguments, "arguments") \ |
241 F(done, "done") \ | 241 F(done, "done") \ |
242 F(dot, ".") \ | 242 F(dot, ".") \ |
243 F(dot_for, ".for") \ | 243 F(dot_for, ".for") \ |
244 F(dot_generator, ".generator") \ | 244 F(dot_generator, ".generator") \ |
245 F(dot_generator_object, ".generator_object") \ | 245 F(dot_generator_object, ".generator_object") \ |
246 F(dot_iterable, ".iterable") \ | |
247 F(dot_iterator, ".iterator") \ | 246 F(dot_iterator, ".iterator") \ |
248 F(dot_module, ".module") \ | 247 F(dot_module, ".module") \ |
249 F(dot_result, ".result") \ | 248 F(dot_result, ".result") \ |
250 F(empty, "") \ | 249 F(empty, "") \ |
251 F(eval, "eval") \ | 250 F(eval, "eval") \ |
252 F(initialize_const_global, "initializeConstGlobal") \ | 251 F(initialize_const_global, "initializeConstGlobal") \ |
253 F(initialize_var_global, "initializeVarGlobal") \ | 252 F(initialize_var_global, "initializeVarGlobal") \ |
254 F(make_reference_error, "MakeReferenceError") \ | 253 F(make_reference_error, "MakeReferenceError") \ |
255 F(make_syntax_error, "MakeSyntaxError") \ | 254 F(make_syntax_error, "MakeSyntaxError") \ |
256 F(make_type_error, "MakeTypeError") \ | 255 F(make_type_error, "MakeTypeError") \ |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 const AstRawString* name##_string_; | 335 const AstRawString* name##_string_; |
337 STRING_CONSTANTS(F) | 336 STRING_CONSTANTS(F) |
338 #undef F | 337 #undef F |
339 }; | 338 }; |
340 | 339 |
341 } } // namespace v8::internal | 340 } } // namespace v8::internal |
342 | 341 |
343 #undef STRING_CONSTANTS | 342 #undef STRING_CONSTANTS |
344 | 343 |
345 #endif // V8_AST_VALUE_FACTORY_H_ | 344 #endif // V8_AST_VALUE_FACTORY_H_ |
OLD | NEW |