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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 | 298 |
299 extern const char kSourceSet[]; | 299 extern const char kSourceSet[]; |
300 extern const char kSourceSet_HelpShort[]; | 300 extern const char kSourceSet_HelpShort[]; |
301 extern const char kSourceSet_Help[]; | 301 extern const char kSourceSet_Help[]; |
302 Value RunSourceSet(Scope* scope, | 302 Value RunSourceSet(Scope* scope, |
303 const FunctionCallNode* function, | 303 const FunctionCallNode* function, |
304 const std::vector<Value>& args, | 304 const std::vector<Value>& args, |
305 BlockNode* block, | 305 BlockNode* block, |
306 Err* err); | 306 Err* err); |
307 | 307 |
| 308 extern const char kSplitList[]; |
| 309 extern const char kSplitList_HelpShort[]; |
| 310 extern const char kSplitList_Help[]; |
| 311 Value RunSplitList(Scope* scope, |
| 312 const FunctionCallNode* function, |
| 313 const ListNode* args_list, |
| 314 Err* err); |
| 315 |
308 extern const char kStaticLibrary[]; | 316 extern const char kStaticLibrary[]; |
309 extern const char kStaticLibrary_HelpShort[]; | 317 extern const char kStaticLibrary_HelpShort[]; |
310 extern const char kStaticLibrary_Help[]; | 318 extern const char kStaticLibrary_Help[]; |
311 Value RunStaticLibrary(Scope* scope, | 319 Value RunStaticLibrary(Scope* scope, |
312 const FunctionCallNode* function, | 320 const FunctionCallNode* function, |
313 const std::vector<Value>& args, | 321 const std::vector<Value>& args, |
314 BlockNode* block, | 322 BlockNode* block, |
315 Err* err); | 323 Err* err); |
316 | 324 |
317 extern const char kTarget[]; | 325 extern const char kTarget[]; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 Scope* scope_; | 495 Scope* scope_; |
488 const FunctionCallNode* function_; | 496 const FunctionCallNode* function_; |
489 const char* type_description_; | 497 const char* type_description_; |
490 | 498 |
491 // Set to true when the key is added to the scope so we don't try to | 499 // Set to true when the key is added to the scope so we don't try to |
492 // delete nonexistant keys which will cause assertions. | 500 // delete nonexistant keys which will cause assertions. |
493 bool key_added_; | 501 bool key_added_; |
494 }; | 502 }; |
495 | 503 |
496 #endif // TOOLS_GN_FUNCTIONS_H_ | 504 #endif // TOOLS_GN_FUNCTIONS_H_ |
OLD | NEW |