| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 Err* err); | 89 Err* err); |
| 90 | 90 |
| 91 extern const char kCopy[]; | 91 extern const char kCopy[]; |
| 92 extern const char kCopy_HelpShort[]; | 92 extern const char kCopy_HelpShort[]; |
| 93 extern const char kCopy_Help[]; | 93 extern const char kCopy_Help[]; |
| 94 Value RunCopy(const FunctionCallNode* function, | 94 Value RunCopy(const FunctionCallNode* function, |
| 95 const std::vector<Value>& args, | 95 const std::vector<Value>& args, |
| 96 Scope* block_scope, | 96 Scope* block_scope, |
| 97 Err* err); | 97 Err* err); |
| 98 | 98 |
| 99 extern const char kCopyBundleData[]; |
| 100 extern const char kCopyBundleData_HelpShort[]; |
| 101 extern const char kCopyBundleData_Help[]; |
| 102 Value RunCopyBundleData(const FunctionCallNode* function, |
| 103 const std::vector<Value>& args, |
| 104 Scope* block_scope, |
| 105 Err* err); |
| 106 |
| 99 extern const char kDeclareArgs[]; | 107 extern const char kDeclareArgs[]; |
| 100 extern const char kDeclareArgs_HelpShort[]; | 108 extern const char kDeclareArgs_HelpShort[]; |
| 101 extern const char kDeclareArgs_Help[]; | 109 extern const char kDeclareArgs_Help[]; |
| 102 Value RunDeclareArgs(Scope* scope, | 110 Value RunDeclareArgs(Scope* scope, |
| 103 const FunctionCallNode* function, | 111 const FunctionCallNode* function, |
| 104 const std::vector<Value>& args, | 112 const std::vector<Value>& args, |
| 105 BlockNode* block, | 113 BlockNode* block, |
| 106 Err* err); | 114 Err* err); |
| 107 | 115 |
| 108 extern const char kDefined[]; | 116 extern const char kDefined[]; |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 Scope* scope_; | 469 Scope* scope_; |
| 462 const FunctionCallNode* function_; | 470 const FunctionCallNode* function_; |
| 463 const char* type_description_; | 471 const char* type_description_; |
| 464 | 472 |
| 465 // Set to true when the key is added to the scope so we don't try to | 473 // 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. | 474 // delete nonexistant keys which will cause assertions. |
| 467 bool key_added_; | 475 bool key_added_; |
| 468 }; | 476 }; |
| 469 | 477 |
| 470 #endif // TOOLS_GN_FUNCTIONS_H_ | 478 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |