| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 214 |
| 215 extern const char kLoadableModule[]; | 215 extern const char kLoadableModule[]; |
| 216 extern const char kLoadableModule_HelpShort[]; | 216 extern const char kLoadableModule_HelpShort[]; |
| 217 extern const char kLoadableModule_Help[]; | 217 extern const char kLoadableModule_Help[]; |
| 218 Value RunLoadableModule(Scope* scope, | 218 Value RunLoadableModule(Scope* scope, |
| 219 const FunctionCallNode* function, | 219 const FunctionCallNode* function, |
| 220 const std::vector<Value>& args, | 220 const std::vector<Value>& args, |
| 221 BlockNode* block, | 221 BlockNode* block, |
| 222 Err* err); | 222 Err* err); |
| 223 | 223 |
| 224 extern const char kNotNeeded[]; |
| 225 extern const char kNotNeeded_HelpShort[]; |
| 226 extern const char kNotNeeded_Help[]; |
| 227 Value RunNotNeeded(Scope* scope, |
| 228 const FunctionCallNode* function, |
| 229 const ListNode* args_list, |
| 230 Err* err); |
| 231 |
| 224 extern const char kPool[]; | 232 extern const char kPool[]; |
| 225 extern const char kPool_HelpShort[]; | 233 extern const char kPool_HelpShort[]; |
| 226 extern const char kPool_Help[]; | 234 extern const char kPool_Help[]; |
| 227 Value RunPool(const FunctionCallNode* function, | 235 Value RunPool(const FunctionCallNode* function, |
| 228 const std::vector<Value>& args, | 236 const std::vector<Value>& args, |
| 229 Scope* block_scope, | 237 Scope* block_scope, |
| 230 Err* err); | 238 Err* err); |
| 231 | 239 |
| 232 extern const char kPrint[]; | 240 extern const char kPrint[]; |
| 233 extern const char kPrint_HelpShort[]; | 241 extern const char kPrint_HelpShort[]; |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 Scope* scope_; | 503 Scope* scope_; |
| 496 const FunctionCallNode* function_; | 504 const FunctionCallNode* function_; |
| 497 const char* type_description_; | 505 const char* type_description_; |
| 498 | 506 |
| 499 // Set to true when the key is added to the scope so we don't try to | 507 // Set to true when the key is added to the scope so we don't try to |
| 500 // delete nonexistant keys which will cause assertions. | 508 // delete nonexistant keys which will cause assertions. |
| 501 bool key_added_; | 509 bool key_added_; |
| 502 }; | 510 }; |
| 503 | 511 |
| 504 #endif // TOOLS_GN_FUNCTIONS_H_ | 512 #endif // TOOLS_GN_FUNCTIONS_H_ |
| OLD | NEW |