| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 extern const char kBundleData[]; | 83 extern const char kBundleData[]; |
| 84 extern const char kBundleData_HelpShort[]; | 84 extern const char kBundleData_HelpShort[]; |
| 85 extern const char kBundleData_Help[]; | 85 extern const char kBundleData_Help[]; |
| 86 Value RunBundleData(Scope* scope, | 86 Value RunBundleData(Scope* scope, |
| 87 const FunctionCallNode* function, | 87 const FunctionCallNode* function, |
| 88 const std::vector<Value>& args, | 88 const std::vector<Value>& args, |
| 89 BlockNode* block, | 89 BlockNode* block, |
| 90 Err* err); | 90 Err* err); |
| 91 | 91 |
| 92 extern const char kCreateBundle[]; |
| 93 extern const char kCreateBundle_HelpShort[]; |
| 94 extern const char kCreateBundle_Help[]; |
| 95 Value RunCreateBundle(Scope* scope, |
| 96 const FunctionCallNode* function, |
| 97 const std::vector<Value>& args, |
| 98 BlockNode* block, |
| 99 Err* err); |
| 100 |
| 92 extern const char kConfig[]; | 101 extern const char kConfig[]; |
| 93 extern const char kConfig_HelpShort[]; | 102 extern const char kConfig_HelpShort[]; |
| 94 extern const char kConfig_Help[]; | 103 extern const char kConfig_Help[]; |
| 95 Value RunConfig(const FunctionCallNode* function, | 104 Value RunConfig(const FunctionCallNode* function, |
| 96 const std::vector<Value>& args, | 105 const std::vector<Value>& args, |
| 97 Scope* block_scope, | 106 Scope* block_scope, |
| 98 Err* err); | 107 Err* err); |
| 99 | 108 |
| 100 extern const char kCopy[]; | 109 extern const char kCopy[]; |
| 101 extern const char kCopy_HelpShort[]; | 110 extern const char kCopy_HelpShort[]; |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 Scope* scope_; | 479 Scope* scope_; |
| 471 const FunctionCallNode* function_; | 480 const FunctionCallNode* function_; |
| 472 const char* type_description_; | 481 const char* type_description_; |
| 473 | 482 |
| 474 // Set to true when the key is added to the scope so we don't try to | 483 // Set to true when the key is added to the scope so we don't try to |
| 475 // delete nonexistant keys which will cause assertions. | 484 // delete nonexistant keys which will cause assertions. |
| 476 bool key_added_; | 485 bool key_added_; |
| 477 }; | 486 }; |
| 478 | 487 |
| 479 #endif // TOOLS_GN_FUNCTIONS_H_ | 488 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |