The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
debugger_fwd.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2009 - 2017 by Yurii Chernyi <terraninfo@terraninfo.net>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 /**
16  * @file
17  * Formula AI debugger, forward
18  *
19  */
20 
21 #pragma once
22 
23 #include <memory>
24 #include <string>
25 
26 
27 namespace wfl {
28 
29 class formula_debugger;
30 class debug_info;
31 class formula_expression;
32 class formula;
33 class formula_callable;
34 class variant;
35 
37 
38 typedef std::shared_ptr<base_breakpoint> breakpoint_ptr;
39 
40 formula_debugger* add_debug_info(formula_debugger *fdb, int arg_number, const std::string& f_name);
41 
42 variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables);
43 
45 
47 
48 
49 } // end of namespace wfl
std::vector< char_t > string
formula_debugger * add_debug_info(formula_debugger *fdb, int arg_number, const std::string &f_name)
std::shared_ptr< base_breakpoint > breakpoint_ptr
variant evaluate_arg_callback(formula_debugger &fdb, const formula_expression &expression, const formula_callable &variables)
variant evaluate_formula_callback(formula_debugger &fdb, const formula &f, const formula_callable &variables)
#define f
Definition: contexts.hpp:42