| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef TOOLS_GN_FUNCTIONS_H_ | 5 #ifndef TOOLS_GN_FUNCTIONS_H_ |
| 6 #define TOOLS_GN_FUNCTIONS_H_ | 6 #define TOOLS_GN_FUNCTIONS_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 Err* err); | 73 Err* err); |
| 74 | 74 |
| 75 extern const char kAssert[]; | 75 extern const char kAssert[]; |
| 76 extern const char kAssert_HelpShort[]; | 76 extern const char kAssert_HelpShort[]; |
| 77 extern const char kAssert_Help[]; | 77 extern const char kAssert_Help[]; |
| 78 Value RunAssert(Scope* scope, | 78 Value RunAssert(Scope* scope, |
| 79 const FunctionCallNode* function, | 79 const FunctionCallNode* function, |
| 80 const std::vector<Value>& args, | 80 const std::vector<Value>& args, |
| 81 Err* err); | 81 Err* err); |
| 82 | 82 |
| 83 extern const char kBundleData[]; |
| 84 extern const char kBundleData_HelpShort[]; |
| 85 extern const char kBundleData_Help[]; |
| 86 Value RunBundleData(Scope* scope, |
| 87 const FunctionCallNode* function, |
| 88 const std::vector<Value>& args, |
| 89 BlockNode* block, |
| 90 Err* err); |
| 91 |
| 83 extern const char kConfig[]; | 92 extern const char kConfig[]; |
| 84 extern const char kConfig_HelpShort[]; | 93 extern const char kConfig_HelpShort[]; |
| 85 extern const char kConfig_Help[]; | 94 extern const char kConfig_Help[]; |
| 86 Value RunConfig(const FunctionCallNode* function, | 95 Value RunConfig(const FunctionCallNode* function, |
| 87 const std::vector<Value>& args, | 96 const std::vector<Value>& args, |
| 88 Scope* block_scope, | 97 Scope* block_scope, |
| 89 Err* err); | 98 Err* err); |
| 90 | 99 |
| 91 extern const char kCopy[]; | 100 extern const char kCopy[]; |
| 92 extern const char kCopy_HelpShort[]; | 101 extern const char kCopy_HelpShort[]; |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 Scope* scope_; | 470 Scope* scope_; |
| 462 const FunctionCallNode* function_; | 471 const FunctionCallNode* function_; |
| 463 const char* type_description_; | 472 const char* type_description_; |
| 464 | 473 |
| 465 // Set to true when the key is added to the scope so we don't try to | 474 // Set to true when the key is added to the scope so we don't try to |
| 466 // delete nonexistant keys which will cause assertions. | 475 // delete nonexistant keys which will cause assertions. |
| 467 bool key_added_; | 476 bool key_added_; |
| 468 }; | 477 }; |
| 469 | 478 |
| 470 #endif // TOOLS_GN_FUNCTIONS_H_ | 479 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |